[poky] Errors attempting to build AT91SAM9x5 BSP

Bryan Evenson bevenson at melinkcorp.com
Tue Nov 13 09:46:42 PST 2012


Here is the original bblayers.conf file before I started creating my BSP:

# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
LCONF_VERSION = "6"

BBPATH = "${TOPDIR}"
BBFILES ?= ""

BBLAYERS ?= " \
  /media/sda3/yocto/poky-danny-8.0/meta \
  /media/sda3/yocto/poky-danny-8.0/meta-yocto \
  /media/sda3/yocto/poky-danny-8.0/meta-yocto-bsp \
  "

And here is what it looks like after adding my BSP layer:

# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
LCONF_VERSION = "7"

BBPATH = "${TOPDIR}"
BBFILES ?= ""

BBLAYERS ?= " \
  /media/sda3/yocto/poky-danny-8.0/meta \
  /media/sda3/yocto/poky-danny-8.0/meta-yocto \
  /media/sda3/yocto/poky-danny-8.0/meta-yocto-bsp \
  /media/sda3/yocto/poky-danny-8.0/meta-intellihood-qemu \
  "

Although, I just tried building again after changing the LCONF_VERSION back down to 6, and this time bitbake operates.  I know I'd tried that before and it hadn't worked.  The only difference that I can think of is that I've closed my terminal window and reopened it since my first posting and this one, which means I had to re-source the oe-init-build-env script.  Is it possible that this was causing my problems from before?

Thanks,
Bryan

-----Original Message-----
From: Paul Eggleton [mailto:paul.eggleton at linux.intel.com] 
Sent: Tuesday, November 13, 2012 12:11 PM
To: Bryan Evenson
Cc: poky at yoctoproject.org
Subject: Re: [poky] Errors attempting to build AT91SAM9x5 BSP

On Tuesday 13 November 2012 11:26:08 Bryan Evenson wrote:
> I decided to start over with the stable danny tarball instead of using 
> the Git repository.  I've been able to build a core-image-minimal QEMU 
> image and run it in QEMU.  After that I created my new BSP using the 
> yocto-bsp script and added my new BSP to the build/conf/bblayers.conf 
> file as directed in the BSP Guide.  However, now whenever I try to use 
> bitbake for anything I get the error message "NOTE: Your 
> conf/bblayers.conf has been automatically updated. Please re-run 
> bitbake."  I've tried incrementing the LCONF_VERSION variable in 
> conf/bblayers.conf and incrementing the CONF_VERSION in 
> conf/local.conf.  I've also tried issuing "bitbake -f -c clean 
> core-image-minimal" and I get the same error.  The only way I've been 
> able to use bitbake again is to remove the line for my new BSP from the BBLAYERS variable in conf/bblayers.conf.

What value was LCONF_VERSION at before you removed it? Also, could you send your bblayers.conf file?

Thanks,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the poky mailing list