Simon Glass 9056392f74 uboot-mtk-20220606: image: Allow loading a FIT image for a particular phase
Add support for filtering out FIT images by phase. Rather than adding yet
another argument to this already overloaded function, use a composite
value, where the phase is only added in if needed.

The FIT config is still selected (and verified) as normal, but the images
are selected based on the phase.

Tests for this come in a little later, as part of the updated VPL test.

Signed-off-by: Simon Glass <sjg@chromium.org>
2024-09-10 16:39:17 +08:00
2023-07-20 18:45:58 +08:00
2024-01-28 16:02:38 +08:00
2024-08-22 00:32:20 +08:00
2022-09-07 16:43:31 +08:00

ATF and u-boot for mt798x

About bl-mt798x

Prepare

sudo apt install gcc-aarch64-linux-gnu build-essential flex bison libssl-dev device-tree-compiler

Build

Usage: SOC=[mt7981|mt7986] BOARD=<board name> MULTI_LAYOUT=[0|1] ./build.sh
eg: SOC=mt7981 BOARD=360t7 ./build.sh
eg: SOC=mt7981 BOARD=wr30u MULTI_LAYOUT=1 ./build.sh
eg: SOC=mt7981 BOARD=cmcc_rax3000m-emmc ./build.sh
eg: SOC=mt7986 BOARD=redmi_ax6000 MULTI_LAYOUT=1 ./build.sh
eg: SOC=mt7986 BOARD=jdcloud_re-cp-03 ./build.sh

xiaomi-wr30u multi-layout uboot firmware compatibility

Firmware type uboot (default) uboot (immortalwrt-112m) uboot (qwrt)
xiaomi stock mtd8/mtd9 × ×
immortalwrt-mt798x stock × ×
OpenWrt stock × ×
immortalwrt stock × ×
X-Wrt stock × ×
immortalwrt-mt798x 112m × ×
GL.iNet by 237176253 × ×
X-Wrt 112m nmbm × ×
OpenWrt 112m nmbm × ×
immortalwrt 112m nmbm × ×
X-Wrt 112m nmbm × ×
QWRT × ×
OpenWrt ubootmod × × ×
immortalwrt ubootmod × × ×
X-Wrt ubootmod × × ×

redmi-ax6000 multi-layout uboot firmware compatibility

Firmware type uboot (default) uboot (immortalwrt-110m)
xiaomi stock mtd8/mtd9 ×
immortalwrt-mt798x stock ×
OpenWrt stock ×
immortalwrt stock ×
X-Wrt stock ×
immortalwrt-mt798x ×
GL.iNet by 237176253 ×
X-Wrt ubootlayout ×
OpenWrt ubootmod × ×
immortalwrt ubootmod × ×
X-Wrt ubootmod × ×
Description
ATF and u-boot for mt798x.
Readme 102 MiB
Languages
C 93.2%
Python 2.9%
Assembly 1.8%
Makefile 1.2%
Perl 0.3%
Other 0.2%