Updated my installscript so it can build an image for BPI-R3 too.
Here I start a topic for R3 related issues with the script.
It is nearly finished, almost all things work now with many new extra’s.
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.
ATF can load from fat32 boot partition, tool includes option to change from fip <-> boot partition.
Use overlays from source (.dts located on /boot/, applied into .dtb in fip/boot partition).
Added working LAN (non sfp ports)
Added wlan0 and wlan1 setup.
Added correct setup of initrd, keep ‘x’ pressed to run busybox ash.
Possibility to flash emmc, when booting up from SD card. No NAND/NOR needed.
Possibility to use U-Boot.
Kernel version is following linux rolling stable and is now at 6.3.3. Within 24 hours of new version on git, it should be ready for update through normal package update. No need to build kernel yourself, but it is possible if you want with a very simple command, just like any archlinux (AUR) package.
- Only real issue so far is EMMC not running at HS400, but on HS200. See separate topic for more info what’s going wrong…
Some technical details:
BL31 image is loaded together with the BL2 image. It does not need to be on the fip/boot partition (but if it is it will be used from fip/boot).
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