02-08-2016, 04:48 PM
(02-07-2016, 11:44 AM)longsleep Wrote: I made good progress. If you want to have a adventure, see https://github.com/longsleep/build-pine64-image and build U-Boot, ATF, Kernel and Initrd yourself. Proprietary parts used as binary blob (due to lack of full source) are boot0 and SCP firmware - everything else is compiled from source.
Full boot log of what you get:
http://paste.ubuntu.com/14966003/
This is work in progress and i will be adding more docs over the next couple of days.
I have been trying to recreate the image and I stumbled on building u-boot (https://github.com/longsleep/u-boot-pine64.git):
Code:
$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-
GEN include/autoconf.mk.dep
In file included from include/linux/compiler.h:40:0,
from include/linux/byteorder/little_endian.h:12,
from /home/dev/Repositories/build-pine64-image/u-boot-pine64/arch/arm/include/asm/byteorder.h:29,
from include/compiler.h:112,
from include/image.h:19,
from /home/dev/Repositories/build-pine64-image/u-boot-pine64/include/common.h:94:
include/linux/compiler-gcc.h:93:30: fatal error: linux/compiler-gcc5.h: No such file or directory
compilation terminated.
...
I tried both the Ubuntu gcc for arm, and also the one from Linaro.
On the Internet it suggests to use the gcc4 version of the file. However, there is a preprocessor error when making the change.