[yocto] Custom defconfig is not used

Bruce Ashfield bruce.ashfield at windriver.com
Thu Oct 17 21:48:38 PDT 2013


On 13-10-17 11:47 AM, Diego Sueiro wrote:
>
> 2013/10/17 Bruce Ashfield <bruce.ashfield at windriver.com
> <mailto:bruce.ashfield at windriver.com>>
>
>     Look at oe-core/meta-skeleton for the custom kernel recipe example.
>     It has the inherit/include combinations that you need to follow.
>
>
>         My concern is: if doing this to just have the config fragment
>         feature,
>         I'll possibly mess up the kernel build.
>
>
>     It shouldn't. It only adds to existing phases, and doesn't make
>     any changes. I've tested it in many combinations and it should
>     work fine.
>
>     If something breaks, I'd like to know, so we can fix it.
>
>
> Bruce,
>
> I didn't change linux-mainline_3.8.bb <http://linux-mainline_3.8.bb>.
> My linux-mainline_3.8.bbappend is:
>
>     FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-3.8:"
>     inherit kernel
>     require recipes-kernel/linux/linux-yocto.inc
>     COMPATIBLE_MACHINE_beaglebone = "(beaglebone)"
>     SRC_URI += " file://mine.patch \
>                   file://config-addons.cfg \
>                   "
>
> My config-addons.cfg:
>
>     CONFIG_WATCHDOG_NOWAYOUT=y
>     CONFIG_NTFS_FS=y
>     CONFIG_NTFS_RW=y
>
> After a cleansstate the build got stucked on do_patch task.
> Here is the content of log.do_patch:
>
>     DEBUG: Executing shell function do_patch
>     WARNING: no meta data branch found ...
>     Switched to branch 'linux-3.8.y'

I fell behind today .. i had 2300 unread email to start this morning :)
Is there a way that I can get a copy of your recipes and layers ? If
I can do a build myself, I can easily debug and fix this .. otherwise, we'll
go back and forth many times debugging.

Cheers,

Bruce

>
>
> Running with bitbake -v I got the following:
>
>     ...
>     + configme --reconfig --output
>     <...>/build/tmp-angstrom_v2013_06-eglibc/work/beaglebone-angstrom-linux-gnueabi/linux-mainline/3.8.13-r23a/linux-beaglebone-standard-build
>     standard beaglebone
>     [INFO] Configuring target/machine combo: "standard/beaglebone"
>
>     [INFO] Configuring target/machine combo: "standard/beaglebone"
>     [INFO] collecting configs in ./meta/meta-series
>
>     [INFO] collecting configs in ./meta/meta-series
>     cat: meta/cfg/standard/beaglebone/config_frag.txt: No such file or
>     directory
>
>     cat: meta/cfg/standard/beaglebone/config_frag.txt: No such file or
>     directory
>     cat: meta/cfg/standard/beaglebone/config_frag.txt: No such file or
>     directory
>
>     cat: meta/cfg/standard/beaglebone/config_frag.txt: No such file or
>     directory
>     mv: target `3.8.13' is not a directory
>
>     mv: target `3.8.13' is not a directory
>     creation of pre-processed config data failed
>     config of "standard/beaglebone" failed
>
>     creation of pre-processed config data failed
>     config of "standard/beaglebone" failed
>     ERROR: Function failed: do_kernel_configme (see
>     <...>/build/tmp-angstrom_v2013_06-eglibc/work/beaglebone-angstrom-linux-gnueabi/linux-mainline/3.8.13-r23a/temp/log.do_kernel_configme15450.
>     for further information)
>     ERROR: Task 7
>     (<...>/setup-scripts/sources/meta-beagleboard/common-bsp/recipes-kernel/linux/linux-mainline_3.8.bb
>     <http://linux-mainline_3.8.bb>, do_kernel_configme) failed with exit
>     code '1'
>
>
>
>
>
> Regards,
>
> --
> *dS
> Diego Sueiro
>
> /*long live rock 'n roll*/




More information about the yocto mailing list