[poky] workflow - kernel config

Bruce Ashfield bruce.ashfield at gmail.com
Mon Nov 7 06:39:30 PST 2011


On Sat, Nov 5, 2011 at 2:34 AM, Robert Berger
<gmane at reliableembeddedsystems.com> wrote:
> Hi Bruce,
>
> On 11/04/2011 09:15 PM, Bruce Ashfield wrote:
>>
>> This is one flow that will work to make changes to the default kernel, and
>> test them on a board. I use something like:
>>
>>  bitbake -f -c configure linux-yocto
>>  bitbake -f -c menuconfig
>>  bitbake -c linux-yocto
>>
>> after I've done an initial build/configure phase if I'm updating options.
>> But that's likely not the most efficient workflow either (I've got liberal
>> use of -f in there, since I'm a bit paranoid).
>>
>
> This does not seem to work either - menuconfig is not being invoked:
>
> rber at yocto-1:~/projects/yocto/yocto_for_trainer/sandbox_work$
> ./03.05-configure-build-poky-kernel.sh
>
> ### Shell environment set up for builds. ###
>
> You can now run 'bitbake <target>'
>
> Common targets are:
>    core-image-minimal
>    core-image-sato
>    meta-toolchain
>    meta-toolchain-sdk
>    adt-installer
>    meta-ide-support
>
> You can also run generated qemu images with a command like 'runqemu qemux86'
>
> ----->
> make sure INHERIT += "rm_work" is commented out
> kernel fiddling will not work with it
> press <ENTER> to go on
> <-----
>
> Loading cache: 100%
> |########################################################################################|
> ETA:  00:00:00
> Loaded 1036 entries from dependency cache.
>
> OE Build Configuration:
> BB_VERSION        = "1.13.3"
> TARGET_ARCH       = "arm"
> TARGET_OS         = "linux-gnueabi"
> MACHINE           = "beagleboard"
> DISTRO            = "poky"
> DISTRO_VERSION    = "1.1"
> TUNE_FEATURES     = "armv7a vfp neon cortexa8"
> TARGET_FPU        = "vfp-neon"
> meta
> meta-yocto        =
> "edison-6.0_LOCAL:1924f52cc894d4dd6b9d9c1a2248b32fc0a24c8c"
>
> NOTE: Resolving any missing task queue dependencies
> NOTE: Preparing runqueue
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> NOTE: Running task 299 of 299 (ID: 6,
> /work/rber/poky/meta/recipes-kernel/linux/linux-yocto_2.6.37.bb,
> do_configure)
> NOTE: package
> linux-yocto-2.6.37+git1+aeea99683c7283f1f3320bf2ee7085ee252d4e7e_1+3ddb22772862a8223640fa97580569924f51bddc-r21:
> task do_configure: Started
> NOTE: package
> linux-yocto-2.6.37+git1+aeea99683c7283f1f3320bf2ee7085ee252d4e7e_1+3ddb22772862a8223640fa97580569924f51bddc-r21:
> task do_configure: Succeeded
> NOTE: Tasks Summary: Attempted 299 tasks of which 298 didn't need to be
> rerun and 0 failed.
> Nothing to do.  Use 'bitbake world' to build everything, or run 'bitbake
> --help' for usage information.
> Nothing to do.  Use 'bitbake world' to build everything, or run 'bitbake
> --help' for usage information.
> rber at yocto-1:~/projects/yocto/yocto_for_trainer/sandbox_work$

That'll teach me to write off the top of my head when I'm not near my
primary development box :) I'm back in the office now and will send a follow
up to this shortly.

Bruce

>
>
> Regards,
>
> Robert..."The wonderful thing about standards is that there are so many
> of them to choose from." - (Amazing) Grace Murray Hopper, as quoted in
> the Unix Haters Handbook, p.10
>
> My public pgp key is available at:
> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x90320BF1
>
>
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"



More information about the poky mailing list