Hi, I'm happy to announce that the Yocto 'Hands-on Kernel Lab' has been updated for dylan (Yocto 1.4) and is available here:
https://www.yoctoproject.org/sites/yoctoproject.org/files/kernel-lab-1.4.pdf The above document contains all the instructions you need to get started from scratch. Besides the updates for dylan, this version of the 'Hands-on Kernel Lab' incorporates a lot of feedback from the users of the previous version. Special thanks to Robert P. J. Day, who sent a lot of useful comments and suggestions. The topics covered are essentially the same as those in the previous version, with sections covering the use of traditional kernel recipes, custom kernel recipes, and linux-yocto recipes, along with sections discussing how to modify the kernel configuration and sources in each of those cases. It also discusses how to make use of loadable modules and how to get them into (and autoloaded into) images, how to make use of external modules, and how to enable LTSI features. Additionally, it discusses overall workflow issues including the use of local clones and bare local clones. Finally, it demonstrates how to use the yocto-bsp and yocto-kernel tools to generate board support packages and use those tools to configure and patch the kernel in the generated BSP. See below for a more complete listing of what's covered along with the lab number covering those topics. I've run through the lab twice, once on Fedora 17 and once on Ubuntu 12.04, but if you find problems, please let me know... * Creating and using a traditional kernel recipe (lab1) * Using 'bitbake -c menuconfig' to modify the kernel configuration and replace the defconfig with the new configuration (lab1) * Adding a kernel module to the kernel source and configuring it as a built-in module by adding options to the kernel defconfig (lab1) * Creating and using a linux-yocto-based kernel (lab2) * Adding a kernel module to the kernel source and configuring it as a built-in module using linux-yocto 'config fragments' (lab2) * Using the linux-yocto kernel as an LTSI kernel (configuring in an item added by the LTSI kernel which is merged into linux-yocto) (lab2) * Using an arbitrary git-based kernel via the linux-yocto-custom kernel recipe (lab3) * Adding a kernel module to the kernel source of an arbitrary git-based kernel and configuring it as a loadable module using 'config fragments' (lab3) * Actually getting the module into the image and autoloading it on boot (lab3) * Using a local clone of an arbitrary git-based kernel via the linux-yocto-custom kernel recipe to demonstrate a typical development workflow (lab4) * Modifying the locally cloned custom kernel source and verifying the changes in the new image (lab4) * Using a local clone of a linux-yocto- kernel recipe to demonstrate a typical development workflow (lab4) * Modifying the locally cloned linux-yocto kernel source and verifying the changes in the new image (lab4) * Using a 'bare' local clone of a linux-yocto- kernel recipe to demonstrate a typical development workflow (lab4) * Modifying the locally cloned 'bare' linux-yocto kernel source and verifying the changes in the new image (lab4) * Adding and using an external kernel module via a module recipe (lab4) * Using the 'Yocto BSP Tools' yocto-bsp tool generate a new Yocto BSP (lab5) * Using the 'Yocto BSP Tools' yocto-kernel tool to add kernel patches and config fragments (lab5) Thanks, Tom _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto