[yocto] Strange WARNING while do_kernel_configcheck()

Bruce Ashfield bruce.ashfield at windriver.com
Wed Aug 8 12:39:48 PDT 2012


On 12-08-08 03:35 PM, Markus Hubig wrote:
> Hello @all,
>
> I'm working on a bsp vor the taskit stamp9g20 cpu module.
>
> I have a bbappend file for the linux-yocto_3.2 kernel which was ones working
> but now (after updating the denzil branch from 7.0 to 7.0.1) I get a strange
> error while building the kernel.
>
> I managed to track the problem down to a warning at the do_kernel_configcheck
> task ...
>
> The warning I get is:
>
> | NOTE: validating kernel configuration
> | WARNING: Can't find any BSP hardware or required configuration fragments.
> | WARNING: Looked at
> |<snip>/linux/meta/cfg/standard/default/arm-versatile-926ejs/hdw_frags.txt
> | and
> |<snip>/linux/meta/cfg/standard/default/arm-versatile-926ejs/required_frags.txt
> | in directory:
> |<snip>/linux/meta/cfg/standard/default/arm-versatile-926ejs
>
> Which seems to be the wrong path to look, course there is no such path like
>
> <snip>/linux/meta/cfg/standard/default/arm-versatile-926ejs
>
> the whole stuff is in:
>
> <snip>/linux/meta/cfg/standard/default/stamp9g20
>
> maybe I made a mistake in my linux-yocto_3.2.bbappend file?

Nope. But there was an interface change to that tool in particular in
master, so if you've ended up with kern-tools that are mismatched to
the bbclass .. you'd end up with them looking in the wrong place.

Cheers,

Bruce

>
> | 1| FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
> | 2|
> | 3| PR := "${PR}.1"
> | 4|
> | 5| COMPATIBLE_MACHINE_stamp9g20 = "stamp9g20"
> | 6| KBRANCH_stamp9g20  = "standard/default/arm-versatile-926ejs"
> | 7| KMACHINE_stamp9g20  = "stamp9g20"
> | 8|
> | 9| COMPATIBLE_MACHINE_portuxg20 = "portuxg20"
> |10| KBRANCH_portuxg20  = "standard/default/arm-versatile-926ejs"
> |11| KMACHINE_portux9g20  = "portuxg20"
> |12|
> |13| SRC_URI += "file://hardware.cfg                  \
> |14|             file://non-hardware.cfg              \
> |15|            "
> |16|
> |17| SRC_URI_append_stamp9g20 = "file://portuxg20.cfg \
> |18|             file://portuxg20-preempt-rt.scc      \
> |19|             file://portuxg20.scc                 \
> |20|             file://portuxg20-standard.scc        \
> |21|             "
> |22|
> |23| SRC_URI_append_portuxg20 = "file://stamp9g20.cfg \
> |24|             file://stamp9g20-preempt-rt.scc      \
> |25|             file://stamp9g20.scc                 \
> |26|             file://stamp9g20-standard.scc        \
> |27|            "
>
> The code which is -generating- responsible for this warning is:
>
> (from "meta/classes/kernel-yocto.bbclass")
>
> | 1| python do_kernel_configcheck() {
> | 2|     import bb, re, string, sys, commands
> | 3|
> | 4|     bb.plain("NOTE: validating kernel configuration")
> | 5|
> | 6|     pathprefix = "export PATH=%s:%s; " % (d.getVar('PATH', True), "${S}/scripts/util/")
> | 7|     cmd = d.expand("cd ${B}/..; kconf_check -config- ${B} ${S} ${B} ${KBRANCH}")
> | 8|     ret, result = commands.getstatusoutput("%s%s" % (pathprefix, cmd))
> | 9|
> |10|     bb.plain( "%s" % result )
> |11| }
>
> Cheers, Markus
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto




More information about the yocto mailing list