Practical tutorial repository for learning a Yocto workflow through kas.
This project is intentionally small: it provides kas configuration files so
you can build core-image-minimal for QEMU or Jetson AGX Orin without manually
setting up a BitBake build directory.
kas/base.yml: shared project configuration (poky,scarthgap,core-image-minimal)kas/qemu.yml: includesbase.yml, setsqemux86-64, enablesdebug-tweaks, and sets parallel build valueskas/tegra.yml: includesbase.yml, addsmeta-tegra, and setsjetson-agx-orin-devkitpoky/: Yocto Project source tree used by thekasconfigsbuild/: generated build output directory
Install kas (for example with pip):
python3 -m pip install --user kasDepending on your Linux distribution, you may also need Yocto host dependencies (compiler toolchain, Python modules, etc.).
Inspect the resolved configuration:
kas dump kas/qemu.ymlBuild the image:
kas build kas/qemu.ymlBuild the Jetson AGX Orin image:
kas build kas/tegra.ymlOpen a shell in the configured build environment:
kas shell kas/qemu.ymlRun the image in QEMU:
kas shell kas/qemu.yml -c "runqemu qemux86-64 nographic"- The
targetiscore-image-minimal(defined inkas/base.yml). - The machine is
jetson-agx-orin-devkit(defined inkas/tegra.yml). - The
pokyandmeta-tegrarepos are pinned to the currentscarthgapheads. - Parallelism is currently pinned to 8 threads in
kas/qemu.ymlandkas/tegra.yml. - Build artifacts are written under
build/.