8f5285bfba12000eb65bd4dff327907f76a79f4b
* atf-20240117-bacca82a8: import new atf Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> * atf-20240117-bacca82a8: remove Werror * atf-20240117-bacca82a8: call bromimage-x86_64 for aarch64 host * atf-20240117-bacca82a8: export ram boot uart option Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> * atf-20240117-bacca82a8: apply openwrt patches Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> * atf-20240117-bacca82a8: port board configs Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> * build.sh: switch to use atf-20240117-bacca82a8 Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> * build.sh: support new menuconfig Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> * build.sh: pass u-boot path by variable Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> * atf-20231013-0ea67d76a: drop Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> --------- Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> Co-authored-by: hanwckf <hanwckf@vip.qq.com>
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 qemu-user-static
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%
