[yocto] Edison BSP SRCREV

Chris Tapp opensource at keylevel.com
Wed Apr 4 15:36:11 PDT 2012


I've been following the "BSP Development Example" section of the "Yocto Project Development Manual" for a new BSP called "mybsp". This results in the following in linux-yocto_3.0.bbappend:

COMPATIBLE_MACHINE_mybsp = "mybsp"
KMACHINE_mybsp  = "yocto/standard/common-pc/base"
KERNEL_FEATURES_append_mybsp += " cfg/smp.scc"

SRCREV_machine_pn-linux-yocto_mybsp ?= "f153b0eb8264dc1e69f59d4c9173619feb4d5bd9"
SRCREV_meta_pn-linux-yocto_mybsp ?= "a4ac64fe873f08ef718e2849b88914725dc99c1c"

as I'm trying to base the BSP on common-pc/base.

However, when I build I get an error telling me that the machine SRCREV is not valid:

Log data follows:
| ERROR f153b0eb8264dc1e69f59d4c9173619feb4d5bd9 is not a valid commit ID.
| The kernel source tree may be out of sync
| ERROR: Function 'do_validate_branches' failed (see ...

The value is the commit tag I get at http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-3.0/commit/?h=yocto/standard/common-pc/base

I'm guessing I've got the wrong commit ID here ;-) What should I be using? Do I need the commit ID for the 3.0.18 tagged commit at
http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-3.0/tag/?h=yocto/standard/common-pc/base&id=v3.0.18 or something else ?

I'm using the tarball method described in the example, not local git.

Chris Tapp

opensource at keylevel.com
www.keylevel.com






More information about the yocto mailing list