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
Exclamation eMMC boot issue jwillmer 0 66 07-19-2019, 03:16 PM
Last Post: jwillmer
  Problems flashing u-boot on RockPRO64 eMMC mau-tux 1 194 05-28-2019, 07:15 AM
Last Post: CrystalGamma
  NEMS Linux for RockPro64 pineadmin 0 345 05-09-2019, 05:51 PM
Last Post: pineadmin
  Help at prompts during first boot. Diesel141 0 102 04-24-2019, 01:15 PM
Last Post: Diesel141
  RockPro64 won't boot. Faradn 6 384 03-28-2019, 04:18 AM
Last Post: karcsika
  Unable to boot ayufan images vman 0 143 03-27-2019, 02:06 AM
Last Post: vman
  Arch Linux on RockPro64 mmatyas 24 7,553 02-27-2019, 06:07 PM
Last Post: mmatyas
Star 0.7.9 Linux release from ayufan Luke 48 16,171 02-25-2019, 02:55 PM
Last Post: Luke
  IMX214 Linux driver development anykey 0 203 01-26-2019, 07:37 AM
Last Post: anykey
  Linux Server OS Eldin 3 337 01-22-2019, 10:02 PM
Last Post: evilbunny

Forum Jump:


Users browsing this thread: 1 Guest(s)