-
git
git submodule update --init --recursive
-
repo (fetch)
mkdir riscv-yocto && cd riscv-yocto repo init -u https://github.com/riscv/meta-riscv -b master -m tools/manifests/riscv-yocto.xml repo sync repo start work --all
-
Docker
DOCKER_BUILDKIT=1 docker build --platform linux/amd64 -t yocto-rk:v1 . docker run -v $PWD:/home/ubuntu --name yocto-rk -it yocto-rk:v1
source poky/oe-init-build-env
bitbake core-image-minimal
runqemu qemux86-64 core-image-minimal ext4