sudo apt install gcc-aarch64-linux-gnu build-essential flex bison libssl-dev
SOC=mt7986 BOARD=re-cp-03 FIXED_MTDPARTS=0 MULTI_LAYOUT=0 ./build.sh
SOC=mt7981 BOARD=cmcc_rax3000m_emmc FIXED_MTDPARTS=0 MULTI_LAYOUT=0 ./build.sh
The target file are bl2.img and fip.bin located in:
bl-mt798x/atf-20220606-637ba581b/build/mt798x/release
The mt7986-re-cp-03 need to flash both bl2 and uboot,the uboot support dual boot, IP is 192.168.1.1
The cmcc_rax3000m_emmc only need to flash uboot,the uboot NOT support dual boot, IP is 192.168.1.1