Yocto kernel bsp
Skill prashantdivate/awesome-yocto-ai-agent-skills/yocto-kernel-bsp
Claude Agent Skills for Yocto Project, OpenEmbedded, and BitBake workflows - AI coding assistant skills for recipes, layers, images, BSPs, SDKs, metadata, QA, sstate, and build troubleshooting.
npx -y skills add prashantdivate/awesome-yocto-ai-agent-skills --skill yocto-kernel-bspAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Official-doc-first Yocto kernel and BSP workflow support for AI coding agents. Use when working on Linux kernel recipes, linux-yocto, vendor kernel integration, defconfig, kernel config fragments, device tree files, KERNEL_DEVICETREE, MACHINE configuration, BSP layers, bootloader/kernel handoff issues, COMPATIBLE_MACHINE, kernel modules, or board bring-up problems in Yocto Project and OpenEmbedded workspaces.
SKILL.md
2.5 KB, as published. Nobody here has run it
Yocto Kernel BSP
Core Workflow
- Identify the Yocto release,
MACHINE, BSP layer, kernel provider, and kernel recipe before editing. - Inspect existing machine configuration, kernel recipe,
.bbappend, device tree, defconfig, and config fragments. - Prefer the product BSP layer for local changes. Avoid editing upstream
poky,meta,meta-yocto, OE-Core, or vendor layers unless preparing an upstreamable patch. - Separate concerns:
- Machine selection belongs in
conf/machine/*.conf. - Kernel source/provider policy belongs in distro or machine config only when locally justified.
- Kernel config belongs in fragments or defconfig according to the project's existing style.
- Device tree changes belong near existing DTS/DTSI structure or in a layer-local patch.
- Machine selection belongs in
- Validate with BitBake and kernel tasks before claiming success.
Commands
bitbake-layers show-recipes virtual/kernel
bitbake-layers show-appends
bitbake -e virtual/kernel
bitbake virtual/kernel
bitbake -c menuconfig virtual/kernel
bitbake -c diffconfig virtual/kernel
bitbake -c deploy virtual/kernel
Use yocto_kernel_doc_router.py with a topic name for official documentation links.
References
- kernel-bsp-workflows.md: provider discovery, recipe/appends, fragments, and validation.
- device-tree-checklist.md: DTB selection, DTS/DTSI origin, patch workflow, and deploy checks.
- machine-config-checklist.md: machine variables, provider policy, overrides, and board variants.
Guardrails
- Do not assume
linux-yoctobehavior applies to vendor kernels without checking the recipe/classes. - Do not mix board variants that have different RAM, boot media, storage, or DTBs.
- Do not change
PREFERRED_PROVIDER_virtual/kernel,KERNEL_DEVICETREE, orCOMPATIBLE_MACHINEglobally unless the blast radius is understood. - Do not hand-edit generated kernel build output as a permanent fix; add patches, fragments, or metadata in the owning layer.