PINE64

Full Version: u-boot for Arch Linux Arm
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
(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/
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.
(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.