U-Boot for A64 git
#5
(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.


Messages In This Thread
U-Boot for A64 git - by longsleep - 01-09-2016, 01:11 AM
RE: U-Boot for A64 git - by longsleep - 02-07-2016, 11:44 AM
RE: U-Boot for A64 git - by taros - 02-08-2016, 04:48 PM
RE: U-Boot for A64 git - by taros - 02-07-2016, 04:39 PM
RE: U-Boot for A64 git - by longsleep - 02-08-2016, 02:52 PM
RE: U-Boot for A64 git - by longsleep - 02-08-2016, 05:17 PM
RE: U-Boot for A64 git - by patrickhwood - 02-08-2016, 11:08 PM
RE: U-Boot for A64 git - by taros - 02-09-2016, 10:39 AM
RE: U-Boot for A64 git - by longsleep - 02-09-2016, 04:19 PM
RE: U-Boot for A64 git - by longsleep - 02-14-2016, 02:48 AM
RE: U-Boot for A64 git - by longsleep - 02-21-2016, 06:27 AM
RE: U-Boot for A64 git - by longsleep - 02-27-2016, 06:46 AM
RE: U-Boot for A64 git - by tllim - 02-27-2016, 02:14 PM
RE: U-Boot for A64 git - by longsleep - 03-04-2016, 03:23 PM
RE: U-Boot for A64 git - by longsleep - 03-06-2016, 10:09 AM
RE: U-Boot for A64 git - by longsleep - 03-12-2016, 03:25 AM
RE: U-Boot for A64 git - by longsleep - 03-19-2016, 03:40 PM
RE: U-Boot for A64 git - by longsleep - 04-03-2016, 04:59 AM
RE: U-Boot for A64 git - by longsleep - 04-23-2016, 01:29 PM
RE: U-Boot for A64 git - by rahlquist - 04-23-2016, 02:17 PM
RE: U-Boot for A64 git - by rhkean - 04-29-2016, 01:57 PM
RE: U-Boot for A64 git - by longsleep - 04-29-2016, 02:02 PM
RE: U-Boot for A64 git - by rhkean - 04-29-2016, 05:17 PM
RE: U-Boot for A64 git - by rhkean - 04-29-2016, 08:16 PM
RE: U-Boot for A64 git - by rhkean - 05-02-2016, 07:21 AM
RE: U-Boot for A64 git - by spezi - 05-10-2016, 01:13 PM
RE: U-Boot for A64 git - by longsleep - 05-10-2016, 01:29 PM
RE: U-Boot for A64 git - by spezi - 05-11-2016, 01:03 PM
RE: U-Boot for A64 git - by jozzy - 05-12-2016, 02:45 AM
RE: U-Boot for A64 git - by mont3z - 05-29-2016, 10:59 AM
RE: U-Boot for A64 git - by longsleep - 05-29-2016, 11:02 AM
RE: U-Boot for A64 git - by mont3z - 05-29-2016, 08:17 PM
RE: U-Boot for A64 git - by mont3z - 06-02-2016, 12:26 PM
RE: U-Boot for A64 git - by longsleep - 06-19-2016, 09:34 AM
RE: U-Boot for A64 git - by longsleep - 03-11-2017, 12:10 PM
RE: U-Boot for A64 git - by ak_hepcat - 03-21-2017, 12:36 PM
RE: U-Boot for A64 git - by longsleep - 03-21-2017, 01:59 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pine Board using linux stuck during boot sequence ktaragorn 4 8,171 03-30-2019, 06:48 AM
Last Post: ktaragorn
  Secure boot & OTP efuse program devangpanchal90 0 2,599 05-25-2018, 01:59 AM
Last Post: devangpanchal90
  boot process for pine a64 awaysu 1 4,405 01-24-2018, 05:09 AM
Last Post: xalius
  Can't boot headless after running update_uboot.sh Borglesnorgle Williams 2 4,266 08-17-2017, 04:08 AM
Last Post: Borglesnorgle Williams
Exclamation Pine A64 Plus Fails to Boot grobbs 35 41,182 06-28-2017, 08:53 AM
Last Post: sarav_sara
  Boot issues: What todo when you muck up your FSTAB file Dagremote 1 3,769 04-16-2017, 10:28 PM
Last Post: pfeerick
Question Pine64 cannot boot jamiechang917 6 9,650 04-16-2017, 10:21 PM
Last Post: pfeerick
  OpenWRT supports ARMv8 - arm64, u-boot problem? rgdonato 4 6,763 03-20-2017, 03:59 PM
Last Post: rgdonato
  USB OTG Boot devilsclaw 25 39,096 03-01-2017, 03:22 PM
Last Post: CaptainZalo
  How to boot alternative kernel image with u-boot? zhouer 3 6,815 06-27-2016, 04:15 AM
Last Post: ssvb

Forum Jump:


Users browsing this thread: 3 Guest(s)