Skip to content

Tibbo Linux Yocto layers for sp7021, am335x -based boards

Notifications You must be signed in to change notification settings

leramirez552/yocto_layers

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tibbo/SunPlus Yocto Layers

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.

Clonning layers

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/

Prepare for builds

mkdir /disk2

Build

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/

Customizations

Bootloader and kernel source

(SunPlus private repo or GitHub public) are defined at

meta-tibbo/conf/machine/include/tppg2-all-prefs.inc

ISPBOOOT.BIN components

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.

Preconfigured RPM repo URL

is defined (PACKAGE_FEED_URIS variable) at

meta-tibbo/conf/distro/tps.conf

About

Tibbo Linux Yocto layers for sp7021, am335x -based boards

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 96.1%
  • C++ 3.1%
  • Makefile 0.3%
  • Objective-C 0.2%
  • BitBake 0.2%
  • PHP 0.1%