https://github.com/py4mac/yocto-playground-rpi3
https://github.com/py4mac/yocto-playground-rpi3
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/py4mac/yocto-playground-rpi3
- Owner: py4mac
- Created: 2022-06-21T16:36:08.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-28T09:30:08.000Z (about 4 years ago)
- Last Synced: 2025-06-16T02:05:52.558Z (about 1 year ago)
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Credits
* https://github.com/cpb-/yocto-cooker
* https://www.blaess.fr/christophe/2022/02/03/5973/
* https://github.com/cpb-/stacking-yocto
# Pre-requisites
* Build docker image
A based docker image must be built previously. See https://github.com/py4mac/dotfiles
* Run docker env
```sh
docker-compose run virtual-env
```
> **_NOTE:_** In case of issue, increase watch file using command ```sudo sysctl -n -w fs.inotify.max_user_watches=1048576```
# Build/Test x86 image
* Build image
```sh
cooker cook rpi_v2.json x86
```
* Test image
```sh
cooker shell x86
runqemu nographic slirp
```
login is `stack` and password is `stack`
The new binary file imported is then
```sh
noclue
```
* Exit
```sh
sudo /sbin/halt
```
# Build/Test rpi3 image
* Build image
```sh
cooker cook rpi_v2.json rpi3
```
* Copy image on sd card
```sh
sudo dd if=./builds/build-pi3/tmp/deploy/images/raspberrypi3/core-image-base-raspberrypi3.rpi-sdimg of=/dev/sdd
```