u-boot for Arch Linux Arm
#1
Hi all,

I've put together a PKGBUILD for building u-boot for the rockpro64.

I have some instructions and the uboot binary and boot.scr here:
https://github.com/prw/PKGBUILDs/release...ot_testing

The mainline linux-aarch64 kernel is functional but is definitely not optimal for this board.
The kernel is quite slow to boot and takes 3-5 minutes. 

U-boot is based on ayufan's linux-u-boot.

I hope someone finds this useful.
  Reply
#2
(07-19-2019, 10:00 PM)prw Wrote: Hi all,

I've put together a PKGBUILD for building u-boot for the rockpro64.

I have some instructions and the uboot binary and boot.scr here:
https://github.com/prw/PKGBUILDs/release...ot_testing

The mainline linux-aarch64 kernel is functional but is definitely not optimal for this board.
The kernel is quite slow to boot and takes 3-5 minutes. 

U-boot is based on ayufan's linux-u-boot.

I hope someone finds this useful.

Thats great as a big fan of Arch and will be having a look at how you did PKGBUILD.
Manjaro in a way have pipped you to the post though as 
https://forum.manjaro.org/t/manjaro-arm-...ased/91858

The minimal version has sort of already been done for us
https://osdn.net/projects/manjaro-arm/st...mal/19.06/
  Reply
#3
Ahhh, I did not know about the manjaro port when I started working on this. Thanks for pointing this out.


Unfortunately I believe they have built their uboot incorrectly.
The board can easily be crashed by reading 3-4GB of data.

I can crash the manjaro image by running: dd if=/dev/mmcblk0 of=/dev/null bs=1M

It crashes after reading ~3.4GB.

uboot is not correctly initializing the memory controller properly and the kernel crashes once enough cache is used.
  Reply
#4
(07-20-2019, 10:18 AM)prw Wrote: Ahhh, I did not know about the manjaro port when I started working on this. Thanks for pointing this out.


Unfortunately I believe they have built their uboot incorrectly.
The board can easily be crashed by reading 3-4GB of data.

I can crash the manjaro image by running: dd if=/dev/mmcblk0 of=/dev/null bs=1M

It crashes after reading ~3.4GB.

uboot is not correctly initializing the memory controller properly and the kernel crashes once enough cache is used.

Uboot is pure mainline as far as I know
https://forum.manjaro.org/t/manjaro-arm-...ased/91858
Go tell the devs as they will be happy for the info.
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Arch Linux on RockPro64 mmatyas 30 11,029 05-30-2020, 12:08 PM
Last Post: mmatyas
  RockPro64 Linux Manjaro HDMI 4K mkne 12 320 05-03-2020, 07:23 AM
Last Post: PakoSt
  Mainline U-Boot with Arch Linux PKGBUILD mmatyas 0 94 04-17-2020, 03:49 AM
Last Post: mmatyas
  Slow/dead ethernet on (non-Ayufan) Linux Mainline (fixed) mmatyas 1 142 04-17-2020, 02:53 AM
Last Post: Thra11
  Rockpro64 and stock arch linux TaborFife 6 1,041 01-15-2020, 05:17 PM
Last Post: dragop
  Problem with compiling ayufans linux kernel voegelit 4 347 01-14-2020, 07:38 AM
Last Post: patstew
  Ayufan 5.4.0 rc1 release - cannot boot Mentaluproar 2 428 01-05-2020, 02:39 PM
Last Post: mmiigg
  Upgrade Debian kernel on a SD/SATA drive boot combo. linuxha 6 308 12-12-2019, 04:43 AM
Last Post: dukla2000
  new rockpro64: images won't boot [solved] new-rockpro-user 0 185 11-20-2019, 12:42 PM
Last Post: new-rockpro-user
  Could someone explain the boot partition to me? Mentaluproar 2 240 11-15-2019, 08:33 PM
Last Post: Mentaluproar

Forum Jump:


Users browsing this thread: 1 Guest(s)