Debian Jessie LXDE (ROCK64) 20170809 [Aug 16] | Armbian - Xenial (SOPINE) 5.30 [Aug 16] | Armbian (PINE A64(+)) 5.30 [Aug 16] | openHAB 2 (PINE A64(+)) v1.3 [Aug 16] | motionEyeOS (PINE A64(+)) 20170710 [Aug 16] | Volumio (PINE A64(+)) 2.166 [Aug 16] | FalconGate (PINE A64(+)) 20170705 [Aug 16] | Android Images (ROCK64) 20170804 [Aug 8] | Linux Images (ROCK64) 0.4.16-83 [Aug 4]

Getting Started | Visit the WIKI | IRC Logs | Forum Rules/Policy


OpenWRT supports ARMv8 - arm64, u-boot problem?
#1
Hello everyone,

  I was compiling OpenWRT today for one SoC and I notice that OpenWRT is supporting ARMv8 / arm64 for Allwinner.
  I compiled it for testing in Pine64, but the problem is the u-boot. Even reading longsleep post, I'm not sure if I did the right thing.

 So, anyone already make anything about OpenWRT (or tired) for pine64?


Thanks in advance.
Reply
#2
You can probably just stick your OpenWRT rootfs on one of the Ubuntu images replacing the rootfs provided by longsleep, but it needs to use legacy kernel (3.10.x) for that to work since u-boot for mainline is different.
Come have a chat in the Pine A64 IRC channel >>
Reply
#3
Ok, I will try.
Just curious, what changed between the legacy and the mainline? The DRM drivers or something more?

Thanks!
Reply
#4
In short, the legacy u-boot and kernel (3.10.x) from the BSP boot differently compared to upstream mainline u-boot and kernel. BSP uses a binary blob (boot0) to initialize DRAM and then u-boot in 32bit mode, mainline uses an open u-boot spl loader and u-boot in 64bit mode which also changes how the kernel is entered.
Come have a chat in the Pine A64 IRC channel >>
Reply
#5
Hello, which version do you recommend for testing? I download the oldest one that has no u-boot file.
I have already an .image file ready to test (I tested in QEMU and works).

PS: If you could provide a link with the longsleep ubuntu/debian image so I can replace the rootfs image, I would be glad, some old links are not working.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Can't boot headless after running update_uboot.sh Borglesnorgle Williams 2 36 Yesterday, 04:08 AM
Last Post: Borglesnorgle Williams
Exclamation Pine A64 Plus Fails to Boot grobbs 35 1,791 06-28-2017, 08:53 AM
Last Post: sarav_sara
  Boot issues: What todo when you muck up your FSTAB file Dagremote 1 282 04-16-2017, 10:28 PM
Last Post: pfeerick
Question Pine64 cannot boot jamiechang917 6 728 04-16-2017, 10:21 PM
Last Post: pfeerick
  U-Boot for A64 git longsleep 37 12,438 03-21-2017, 01:59 PM
Last Post: longsleep
  USB OTG Boot devilsclaw 25 5,104 03-01-2017, 03:22 PM
Last Post: CaptainZalo
Big Grin Docker image based on gentoo crossdev arm64 and distcc uulaoba 0 507 11-19-2016, 09:34 AM
Last Post: uulaoba
  Pine64_health.sh problem jl_678 3 742 08-26-2016, 06:08 AM
Last Post: pfeerick
  Vagrant arm64/libvirt agc 1 453 07-18-2016, 12:42 AM
Last Post: vinodmenon80
  How to boot alternative kernel image with u-boot? zhouer 3 910 06-27-2016, 04:15 AM
Last Post: ssvb

Forum Jump:


Users browsing this thread: 1 Guest(s)