Yocto bsp kernel
Official-doc-first Yocto Project and BitBake skills for AI coding agents
npx -y skills add Higangssh/yocto-agent-skills --skill yocto-bsp-kernelAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 5 stars5 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
Review and debug Yocto BSP, MACHINE configuration, kernel provider selection, kernel recipes, kernel config fragments, defconfig, devicetree, U-Boot, FIT images, deploy artifacts, and kernel module installation. Use for machine/BSP/kernel/devicetree/bootloader issues or when kernel artifacts are missing from deploy output.
SKILL.md
2.3 KB, as published. Nobody here has run it
Yocto BSP Kernel
Use this skill for machine, BSP, kernel, devicetree, and bootloader work. Verify the selected machine, enabled BSP layers, kernel provider, and deploy artifacts before changing recipes.
Evidence
Ask for or inspect:
MACHINE
conf/machine/*.conf
enabled BSP layers
PREFERRED_PROVIDER_virtual/kernel
kernel recipe and bbappends
KERNEL_DEVICETREE
defconfig or config fragments
U-Boot variables
tmp/deploy/images/<machine>/
Useful commands:
bitbake-layers show-layers
bitbake-layers show-recipes virtual/kernel
bitbake-layers show-appends | rg 'linux|kernel|u-boot'
bitbake -e virtual/kernel | rg '^(MACHINE|PREFERRED_PROVIDER|KERNEL|UBOOT|SRC_URI|S)='
bitbake -c kernel_configme virtual/kernel
bitbake -c kernel_configcheck virtual/kernel
bitbake -c menuconfig virtual/kernel
bitbake -c diffconfig virtual/kernel
bitbake -c savedefconfig virtual/kernel
Review Rules
- Machine config should express hardware policy; distro config should express product policy.
- Select kernel through
PREFERRED_PROVIDER_virtual/kernelin machine or distro policy. - Keep devicetree names aligned with kernel source and machine config.
- Use kernel config fragments or defconfig intentionally; validate with kernel config tasks.
- Verify deploy artifacts before debugging bootloader or flashing.
- Check vendor BSP branch compatibility before modernizing syntax.
References
- Read ../../references/yocto/bsp-kernel.md.
- Read ../../references/bitbake/classes-core.md for kernel and U-Boot classes.
- Read ../../references/yocto/migration.md for release compatibility risks.
Output
Answer with:
- selected machine and kernel provider
- BSP/layer compatibility risk
- kernel/devicetree/bootloader metadata issue
- command to validate config or deploy artifacts
- minimal metadata change