[yocto] Updated Yocto Hands-on Kernel Lab available

Trevor Woerner twoerner at gmail.com
Mon Feb 18 15:50:00 PST 2013


I can't figure out what I'm doing wrong, but I can't get lab3 to work.

Following the instructions in the pdf I first tried doing lab3
incrementally (build/test, build/test, build/test) and it didn't work.
Then I tried deleting (tmp, sstate, etc), trying again, and it still
didn't work.

Build Configuration:
BB_VERSION        = "1.16.0"
TARGET_ARCH       = "i586"
TARGET_OS         = "linux"
MACHINE           = "lab3-qemux86"
DISTRO            = "poky"
DISTRO_VERSION    = "1.3"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""
meta
meta-yocto
meta-yocto-bsp
meta-lab3-qemux86 = "danny:45f95b5f3381097672dd43077f267aa716a02b4c"

I then copied the meta-lab3-qemux86 layer to where I was working with
the master branch of poky (hmm... I guess I could have just edited
bblayers.conf without needing the hassle of the copy), retried the
exercise, and it worked.

Build Configuration:
BB_VERSION        = "1.17.1"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "SUSE-LINUX-12.2"
TARGET_SYS        = "i586-poky-linux"
MACHINE           = "lab3-qemux86"
DISTRO            = "poky"
DISTRO_VERSION    = "1.3+snapshot-20130218"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""
meta
meta-yocto
meta-yocto-bsp
meta-lab3-qemux86 = "master:c7b23ab68aafc04d9830ef318015912e5d4f0672"

Note that the above information is a bit misleading.
"meta-lab3-qemux86" is just a plain directory without any .git so
there is no "master" or "danny" of "meta-lab3-qemux86". The "master"
and "danny" branches are of the enclosing poky repository.

In the case where it doesn't work, the module is built and included in
the image, but it isn't loaded automatically during boot. Working off
master, the module is loaded during boot automatically.



More information about the yocto mailing list