STATUS: FAILED BUILD: danny:98292d1ef1cb44cf96f0a28fbca6439eda55ce1b ENVIRONMENT: user-preference (any supported environment) STEPS TO REPRODUCE: 1. Follow the case "yocto-kernel add patch" apply a patch to your kernel 2. Follow the instruments in https://wiki.yoctoproject.org/wiki/Transcript:_Using_the_Yocto_BSP_tools_to_manage_kernel_patches_and_config_items, to enable some kernel options for your kernel. 3. For example, run "yocto-kernel config add myqemuarm CONFIG_MISC_DEVICES=y" and "yocto-kernel config add myqemuarm CONFIG_YOCTO_TESTMOD=y" will make CONFIG_MISC_DEVICES and CONFIG_YOCTO_TESTMOD set for kernel 4. Rebuild the kernel and boot from the kernel, check if there is a line with 'Kilroy was here! __m_(OuO)_m__' in command dmesg EXPECTED OUTCOME: User could use yocto-kernel to set kernel config .
ACTUAL OUTCOME:' dmesg | grep "was here" ' gives no output
Is this the same problem as seen here?: https://bugzilla.yoctoproject.org/show_bug.cgi?id=2589 and here?: https://bugzilla.yoctoproject.org/show_bug.cgi?id=3524
.
There is no fail during the build. When the image bots up, after issuing the command `dmesg | grep "was here"`, there is no output.
I used https://wiki.yoctoproject.org/wiki/images/c/c9/Yocto-testmod.patch to patch the kernel, not copy-paste from the wiki page.
I'm not seeing any problem here. Did you perhaps forget to apply the patch? (I don't see that step in the STEPS to reproduce below). I did the below using myqemuarm BSP and saw the module output in the dmesg. [trz@empanada build]$ yocto-kernel patch add myqemuarm /home/trz/bsp-tools-tests/test/d\ anny/yocto-testmod.patch Added patches: yocto-testmod.patch [trz@empanada build]$ yocto-kernel config add myqemuarm CONFIG_MISC_DEVICES=y Added items: CONFIG_MISC_DEVICES=y [trz@empanada build]$ yocto-kernel config add myqemuarm CONFIG_YOCTO_TESTMOD=y Added items: CONFIG_YOCTO_TESTMOD=y [trz@empanada build]$ yocto-kernel config list myqemuarm The current set of machine-specific kernel config items for myqemuarm is: 1) CONFIG_MISC_DEVICES=y 2) CONFIG_YOCTO_TESTMOD=y [trz@empanada build]$ yocto-kernel patch list myqemuarm The current set of machine-specific patches for myqemuarm is: 1) yocto-testmod.patch [trz@empanada build]$ bitbake core-image-sato
Even though the patch was applied before, it did not work. I tried again with a newer danny commit and it works. Verified on danny:955827af15f611189c66850fd077de344e1285c3