-
Notifications
You must be signed in to change notification settings - Fork 9
Home
Disclaimer: All software and information provided in this repository IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND. For details see the license.
This wiki describes an alternative way of creating a customized Linux distribution for the Raspberry Pi with the Yocto Project. Those Linux distributions can be heavily tailored to your project, e.g. you can build a small, fast booting image for a headless system or a fully featured mutimedia image for a huge info terminal. And, you can create truly embedded software without that "it's a tiny PC" feeling.
The development process described here uses the meta-raspberrypi layer already included in Yocto Project.
Many thanks to Andrei Gherzan, the maintainer of the meta-raspberrypi layer, the the people from Raspberry Pi Foundation, Yocto Project, Scott Ellis from Jumpnow Technologies, LLC, and all other contributors.
- expansion header and plenty of interfaces on board
- hardware docs available, at least the necessary parts
- lots of cool project ideas all over the world
- nice price tag
For testing, a Raspberry Pi 3 Model B was used.
Why Yocto Project ?
- can build customized Linux distributions and images from the sources easily
- well maintained project, a new branch is typically released every 6 months
- active community with partners from the industry, increasing recognition
- focused on LTS (long term support) Linux kernels
- highly hardware agnostic and available for many SoCs/boards
- it is really made for embedded software
- want more? see FAQ
- choose a powerful Linux PC as your build host
- setup Yocto Project for the Raspi
- open a bitbake shell and configure bblayers.conf and local.conf.
- bitbake core-image-base
- prepare microSD card
- insert the microSD card on the RasPi
- watch the boot process and login
- have fun!
- do some more serious regression testing
Bitbake and install the more feature-rich rpi-avg-image.
This wiki focuses on developers who extend the RasPi by some custom hardware using SPI, I2C and other interfaces, write C and C++ applications, libraries, kernel modules, and use frameworks like Qt5, gstreamer or OpenCV. The wiki covers most on-board interfaces some accessories like the CSI camera module and, partly, the sense hat. It is not targeted to "click and play" hobby users, however.
- http://www.jumpnowtek.com/rpi/Raspberry-Pi-Systems-with-Yocto.html
- http://ubucon.de/sites/ubucon.de/files/ubucon2014-stefan_seyfried-raspberrypi.pdf (in German)
- http://blog.unixshell.se/?p=27
- http://www.raspberrypi.org
- http://www.netzmafia.de/skripten/hardware/RasPi/index.html (in German)
- https://www.packtpub.com/books/content/building-our-first-poky-image-raspberry-pi
- https://www.yoctoproject.org/docs/what-i-wish-id-known/