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
  compiling a new kernel for overclocking on arch Mentaluproar 2 198 07-15-2021, 10:16 AM
Last Post: Mentaluproar
  Other boot options than Sdcard for linux 5.x kernel? MisterA 2 191 07-14-2021, 02:37 PM
Last Post: TRS-80
Brick Maintained Linux booting from eMMC ootoovak 5 413 07-06-2021, 02:28 PM
Last Post: TRS-80
  Booting Linux/Debian from the eMMC linuxha 4 903 03-02-2021, 07:01 PM
Last Post: linuxha
  Xen EFI with Alpine Linux dom0 sir.lami 0 1,001 08-26-2020, 12:25 PM
Last Post: sir.lami
  Linux Host - QEMU Android Guest? rik-shaw 0 868 07-09-2020, 08:02 PM
Last Post: rik-shaw
  Official Debian release won't boot!?! Faradn 4 2,659 07-06-2020, 09:29 AM
Last Post: Bullet64
  RETRO GAMING BATOCERA LINUX + ROSHAMBO CASE - Tutoriel Fr TheMiniCakeTV 0 1,729 07-02-2020, 12:45 PM
Last Post: TheMiniCakeTV
  Arch Linux on RockPro64 mmatyas 30 24,462 05-30-2020, 12:08 PM
Last Post: mmatyas
  RockPro64 Linux Manjaro HDMI 4K mkne 12 5,573 05-03-2020, 07:23 AM
Last Post: PakoSt

Forum Jump:


Users browsing this thread: 1 Guest(s)