[meta-freescale] How to determine SRCREV for 4.9.x+fslc kernel build for Wandboard?
Clay D. Montgomery
clay at montgomery1.com
Fri Nov 8 14:24:17 PST 2019
Hello,
I am attempting to build the 4.9.x+fslc kernel for the i.MX6 Wandboard
Quad and bitbake fails because I do not have a correct SRCREV value in
my new recipe for the kernel.
The error report I get from bitbake is:
ERROR: linux-wandboard-4.9.x-r0 do_fetch: Fetcher failure: Unable
to find revision 0e674a64b86e2bb00ab43f56104d3ea85dda0066 in branch
4.9.x+fslc even from upstream
ERROR: linux-wandboard-4.9.x-r0 do_fetch: Fetcher failure for URL:
'git://github.com/Freescale/linux-fslc.git;branch=4.9.x+fslc'. Unable to
fetch URL from any source.
ERROR: linux-wandboard-4.9.x-r0 do_fetch: Function failed:
base_do_fetch
ERROR: Logfile of failure stored in:
/home/clay/Yocto/imx-yocto-bsp/build-fb/tmp/work/wandboard-poky-linux-gnueabi/linux-wandboard/4.9.x-r0/temp/log.do_fetch.5362
ERROR: Task
(/home/clay/Yocto/imx-yocto-bsp/sources/meta-freescale-3rdparty/recipes-kernel/linux/linux-wandboard_4.9.x.bb:do_fetch)
failed with exit code '1'
How should I obtain the correct SRCREV value for my recipe?
I have included my new recipe, below, which I created from existing
recipes from other i.MX6 boards. I know the value I have for SRCREV is
wrong.
Thanks, Clay Montgomery
The contents of my new recipe for the linux-wandboard kernel is below:
~/Yocto/imx-yocto-bsp/sources/meta-freescale-3rdparty/recipes-kernel/linux/linux-wandboard_4.9.x.bb
-------------------------------------------------------------------------------------------------------------
require recipes-kernel/linux/linux-imx.inc
SUMMARY = "Linux kernel for Wandboards"
# Put a local version until we have a true SRCREV to point to
SCMVERSION ?= "y"
SRCBRANCH = "4.9.x+fslc"
LOCALVERSION ?= "-${SRCBRANCH}"
SRC_URI = "git://github.com/Freescale/linux-fslc.git;branch=${SRCBRANCH} \
file://defconfig \
"
SRCREV = "0e674a64b86e2bb00ab43f56104d3ea85dda0066"
DEPENDS += "lzop-native bc-native"
COMPATIBLE_MACHINE = "(wandboard)"
-------------------------------------------------------------------------------------------------------
More information about the meta-freescale
mailing list