Yocto is a great tool to build linux-image for device. In this post i will summarize the procedure needed to build linux-image for raspberry pi B+ using yocto.

The following 2 types of disk image will be built:
- CUI : core-image-basic
- GUI X11 : core-image-sato

BitBake cheat sheet. Last edited 2 months ago ago; BitBake cheat sheet,. 1 Command-line options; 2.bb file syntax; 3 Additional BitBake-related command; 4 Useful links; 1 Command-line options. Here are a few commonly-used command line options for BitBake. BitBake cheat sheet. Last edited one month ago ago; BitBake cheat sheet Revision as of 07:40, 4 February 2020 by Jean Christophe Trotin (talk contribs) ← Older revision. BitBake cheat sheet. Difference between revisions of 'BitBake cheat sheet' Return to history page ← BitBake cheat sheet quality revision quality revision Revision as of 06:56, 5 February 2019 (view source) importedFrq08988. Bitbake Cheat Sheet – Issue use warning but continue the build when a threshold is majual. Lists files whose stamp file timestamps are compared when the stamp policy mode is set to “whitelist”. You could create an include file named foo. Custom schedulers need to.
Addition software for the image
Bitbake -f -c compile foo The command above recompiled the code for foo. To build the ipk use the command below bitbake foo Check Recipe Version bitbake -s grep foo Check Bitbake Version bitbake -version Run Bitbake A Little at a Time bitbake -c listtasks foo # lists the tasks bitbake -c taskname foo Show build environment bitbake -e foo. BitBake cheat sheet.

- OpenCV
- librealsense with python support

Build environment
Tables | Detail |
---|---|
OS | Ubuntu-18.04 LTS |
Processor | AMD |
yocto | poky-warrior (2.7.1) |
The procedure is as followed
- Prepare the build environment
- Build the linux-image
- Results
1. Prepare the build environment
- Prepare the build environment
2. Build the linux-image
- Create the build directory
- Add the layers to conf/bblayers.conf . the file content is as followed
- Add the following lines to conf/local.conf.
- For intelrealsense: create conf/auto.conf with the content as followed
- Start the build
Virtual device driver download free. Note: The build will take hours to finish.
3. Results
The following image will be created
We then use dd command to wride sdimg file into sd card
Bitbake Cheat Sheet 2019
3.1 CUI image result
Bitbake Cheat Sheet

It can boot into CUI
Opencv and pyrealsense was installed correctly
Bitbake Cheat Sheet
3.2 GUI X11 image
It can boot into GUI
End
