A Yocto BSP meta-layer includes all the necessary recipes intended to use in yocto project
for hands-on experience of creating own image adding supported recipes in the build.
- systemd support
- Own custom image
- SD card image or wic image
- Extra user add support
- Support for running userspace application at booting time
- Own C-program (helloword) installed in OS
- wolfssl security library support
- OSversion info in the RootFS
- custom image specific defconfig
$ git clone https://github.com/prashantdivate/meta-sirius.git -b master
$ cd meta-sirius
Run the below command and you will get all the env inplace at ${HOME}/Yocto-Sirius
$ source Yocto-env-setup.sh
In order to use this layer, you need to make the build system aware of it.
Assuming the sirius layer exists at the top-level of your yocto build tree, you can add it to the build system by adding the location of the custom layer to bblayers.conf, along with any other layers needed. e.g.:
BBLAYERS ?= " \
/path/to/yocto/meta \
/path/to/yocto/meta-yocto \
/path/to/yocto/meta-yocto-bsp \
/path/to/yocto/meta-sirius \
"
In order to build image, initiate yocto build setup by running
$ source setup-environment <build-dir>
Run the below command to build dev image
$ bitbake sirius-dev-image
and to build SD card image (wic.gz)
$ bitbake sirius-sd-card-image
To get involved following things can be done
- create an issue
- fix an issue and create a pull request
- see the pinned issues in the bugtracker
Use of this project is governed by the MIT License found at LICENSE.