9056392f743d7c5032318838433d87efaa7f8fba
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>
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
Languages
C
93.2%
Python
2.9%
Assembly
1.8%
Makefile
1.2%
Perl
0.3%
Other
0.2%
