Tibbo/SunPlus Linux Yocto layers for sp7021, am335x -based boards
Plus1 (sp7021): A Linux Chip for IoT and Industrial Control Applications
Read Tibbo Yocto Layers Howto for more details.
git clone git://git.yoctoproject.org/poky.git
cd poky; git checkout origin/zeus;
git clone https://github.com/meta-qt5/meta-qt5.git
cd meta-qt5; git checkout origin/zeus; cd ..
git clone git://git.openembedded.org/meta-openembedded
cd meta-openembedded; git checkout origin/zeus; cd ..
cd ..
git clone https://github.com/tibbotech/yocto_layers.git ./poky.x
rsync -a --exclude=.git ./poky.x/ ./poky/
mkdir /disk2
cd ./poky/
. oe-init-build-env c.tppg2
bitbake img-spmn
After build /disk2/build.24/tmp/deploy/images/tppg2/ contains all required image components: bootloaders, kernel, rootfs images. Pack the final image:
$ cd /disk2/build.24/tmp/deploy/images/tppg2/
$ make -f ./sp_make.mk
ISPBOOOT.BIN is in the ./sp_out/
(SunPlus private repo or GitHub public) are defined at
meta-tibbo/conf/machine/include/tppg2-all-prefs.inc
are defined at
/disk2/build.24/tmp/deploy/images/tppg2/sp_make.mk
Components to choose:
- xboot and U-boot: for nand or emmc,
- DTB version,
- rootfs: there are several, packed to ext4, UBI and squashfs.
is defined (PACKAGE_FEED_URIS variable) at
meta-tibbo/conf/distro/tps.conf