2025-04-02 16:32:03 +02:00
2022-10-10 13:24:22 +01:00
2023-08-05 15:53:59 +02:00

ATF for BPI-R64/BPI-R3

based on https://github.com/mtk-openwrt/arm-trusted-firmware

https://forum.banana-pi.org/t/tutorial-build-customize-and-use-mediatek-open-source-u-boot-and-atf/13785

build u-boot first

create a build.conf containing board and maybe bootdevice (if not sd)

board=[bpi-r64|bpi-r3] device=[sdmmc|emmc|spim-nand|nor]

then run

./build.sh
./build.sh rename

and for sdcard-creation maybe

./build.sh createimg

sdcard-image can be flashed with this command:

gunzip -c bpi-r64_sdmmc.img.gz | sudo dd of=/dev/sdb bs=1M status=progress
Languages
C 94.4%
Python 3%
Assembly 0.7%
Makefile 0.6%
Perl 0.4%
Other 0.7%