[BPI-R3] Imagebuilder R3 Archlinux - Work In Progress

Updated my installscript so it can build an image for BPI-R3 too. :slight_smile:

Here I start a topic for R3 related issues with the script.

It is only in an early alfa stage…

What works so far:

  • Boot from ATF version 2.8, directly in to linux kernel. Although it is also possible to change the linux image path to u-boot image path and boot into u-boot this way.

  • Boot a kernel until the prompt.

  • Use overlays from source (.dts located on /boot/, applied into .dtb in FIP).

That’s about it for now… All kernel / userspace settings / issues need to be set and resolved. Expect many changes still to the script.

Some technical details:

  • BL31 image is loaded together with the BL2 image. It does not need to be on the FIP partition (but if it is it will be used from FIP).

  • FIP partition does not need to be at specific sectors. ATF just uses the partition label, same as the ATF of the R64.


Prebuild atf images in the bpir-atf-git-xxxx-.pkg.gz ftp://ftp.woudstra.mywire.org/repo/aarch64

Script that builds images here: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=bpir64-atf-git

Script that installs images here: https://aur.archlinux.org/cgit/aur.git/tree/bpir-writefip?h=bpir64-atf-git

1 Like