Created
May 20, 2024 03:39
-
-
Save beriberikix/4b7f4b7b0e4137266ac546c6a140a0ea to your computer and use it in GitHub Desktop.
Fastest way to try out Yocto
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Useful links | |
# https://docs.yoctoproject.org/brief-yoctoprojectqs/index.html | |
# https://github.com/crops/poky-container | |
# https://ubs_csse.gitlab.io/secu_os/tutorials/crops_yocto.html | |
Install Docker and QEMU on the host | |
mkdir -p /home/jberi/yocto | |
docker run --rm -it -v /home/jberi/yocto:/workdir crops/poky --workdir=/workdir | |
git clone git://git.yoctoproject.org/poky | |
cd poky | |
git checkout -t origin/scarthgap -b my-scarthgap | |
git pull | |
source oe-init-build-env | |
# add to `/build/conf/local.conf` | |
BB_NUMBER_THREADS = "8" | |
PARALLEL_MAKE = "-j 8" | |
bitbake core-image-minimal | |
# On the host | |
cd /home/jberi/yocto/poky | |
source oe-init-build-env | |
runqemu qemux86-64 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment