Tibbo/SunPlus Linux BuildRoot layers for SoC
Plus1 (sp7021): A Linux Chip for IoT and Industrial Control Applications
brv="2021.02"
// or latest stable BuildRoot release
// brv="2022.05.1"
git clone git@github.com:tibbotech/br2_external.git
wget https://buildroot.org/downloads/buildroot-${brv}.tar.gz
tar -xvf ./buildroot-${brv}.tar.gz
rsync -a --exclude=.git ./buildroot-${brv}/ ./br2_external/br.a5/
rsync -a --exclude=.git ./buildroot-${brv}/ ./br2_external/br.a7/
cd ./br2_external/
curdir=`pwd`
cd ./br.a7/
make BR2_EXTERNAL=${curdir}/br.LTPPxG2 LTPPxG2_defconfig && make && cd ${curdir}
cd ./br2_external/
curdir=`pwd`
cd ./br.a5/
make BR2_EXTERNAL=${curdir}/br.LTPPxG2 LTPPxG2a5_defconfig && make && cd ${curdir}
cp ./br.a5/output/images/xboot.bin ./br.a7/output/images/
cp ./br.a5/output/images/a926*.bin ./br.a7/output/images/
cd ./br2_external/br.a7/output/images/;
make -f ./sp_make.mk D1=. F_XBT=xboot F_UBT=u-boot.bin F_KRN=uImage F_ROO=rootfs.ext4
On success you'll get the ISPBOOOT.BIN at ./br2_external/br.a7/output/images/sp_out/