| Summary: | [Test Case 312] User could use yocto-kernel to set kernel config | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Meta-yocto | Reporter: | Stoicescu Cornel <corneliux.stoicescu> |
| Component: | meta-yocto | Assignee: | Tom Zanussi <tom.zanussi> |
| Status: | VERIFIED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | dvhart, poky.bs.watcher, poky.watcher, ross.burton |
| Version: | 1.3 | ||
| Target Milestone: | 1.3.2 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Stoicescu Cornel
2013-03-05 15:44:40 UTC
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 |