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.
#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/
#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.
#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.


Possibly Related Threads…
Thread Author Replies Views Last Post
  irradium (based on crux linux) RockPro64 riscv64, aarch64 mara 7 1,862 Yesterday, 03:53 PM
Last Post: mara
  Boot/Shutdown on timer captainmorgan 8 7,544 11-01-2023, 12:08 PM
Last Post: Nikolay_Po
Exclamation Ethernet regression on Linux Kernel 6.5.4? Deathcrow 3 1,481 09-22-2023, 04:27 AM
Last Post: diederik
  Installing CH431SER on Ayufan 0.9.14: gitlab-ci-linux-build-159 Thisone 4 2,264 07-14-2023, 04:22 AM
Last Post: hunderteins
Question How do I compile an arbitrary kernel for U-Boot? Valenoern 3 1,831 06-16-2023, 10:54 AM
Last Post: CounterPillow
  Linux laptop does not detect the board when plugged in via USB soupy 1 4,488 04-13-2023, 03:01 AM
Last Post: Reynold Grady
  RockPro64 boot questions misterc 3 2,318 01-13-2023, 06:21 PM
Last Post: misterc
  Is some u-boot required on the SPI for installing debian with the official installer? callegar 1 1,733 10-25-2022, 10:07 AM
Last Post: ratzzupaltuff
  RockPro64 linux console video mode callegar 0 1,129 09-06-2022, 02:32 PM
Last Post: callegar
Brick Maintained Linux booting from eMMC ootoovak 10 9,889 04-30-2022, 03:57 PM
Last Post: TRS-80

Forum Jump:


Users browsing this thread: 1 Guest(s)