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.
#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 IRC channel >>
#3
Ok, I will try.
Just curious, what changed between the legacy and the mainline? The DRM drivers or something more?

Thanks!
#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 IRC channel >>
#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.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pine Board using linux stuck during boot sequence ktaragorn 4 9,073 03-30-2019, 06:48 AM
Last Post: ktaragorn
  openwrt tinysun 8 12,712 07-19-2018, 04:06 PM
Last Post: mido2018
  OpenWRT installation guide Sander 0 3,387 07-09-2018, 09:42 AM
Last Post: Sander
  need help, looking to setup NAS server over OpenWRT subbu 0 2,817 05-26-2018, 07:48 AM
Last Post: subbu
  Secure boot & OTP efuse program devangpanchal90 0 2,806 05-25-2018, 01:59 AM
Last Post: devangpanchal90
  boot process for pine a64 awaysu 1 4,757 01-24-2018, 05:09 AM
Last Post: xalius
  pine64 problem reboot ludo77 1 4,196 10-23-2017, 04:47 PM
Last Post: tllim
  problem pine64 when reboot ludo77 2 5,024 10-23-2017, 02:37 AM
Last Post: Luke
  Can't boot headless after running update_uboot.sh Borglesnorgle Williams 2 4,724 08-17-2017, 04:08 AM
Last Post: Borglesnorgle Williams
Exclamation Pine A64 Plus Fails to Boot grobbs 35 46,030 06-28-2017, 08:53 AM
Last Post: sarav_sara

Forum Jump:


Users browsing this thread: 1 Guest(s)