[meta-xilinx] What version of oecore/yocto for microblaze

Nathan Rossi nathan at nathanrossi.com
Sun Feb 28 21:15:36 PST 2016


On Mon, Feb 29, 2016 at 6:03 AM, Matthew Clark <gtphdee07 at gmail.com> wrote:
> Greetings:
>
> I've just started using Yocto this weekend. I've made it through the quick
> start, and can boot qemu with the minimal test build starting with both
> yoctoproject and openembeddcore.
>
> I am trying to build the microblaze qemu build for a kc705 board, and am
> getting the following error when I use the yoctoproject.org repo :
>
> ERROR: No recipes available for:
>
> /opt/Yocto/poky-jethro-14.0.0/meta-xilinx-master/recipes-kernel/linux/linux-yocto_4.4.bbappend
>
> /opt/Yocto/poky-jethro-14.0.0/meta-xilinx-master/recipes-microblaze/gcc/gcc-source_5.3.bbappend
>
> and when I use openembeddedCore 1.28:
> ERROR: No recipes available for:
>
> /opt/oecore/meta-xilinx-master/recipes-microblaze/gcc/gcc-source_5.3.bbappend
>
> /opt/oecore/meta-xilinx-master/recipes-kernel/linux/linux-yocto_4.4.bbappend
>
> /opt/oecore/meta-xilinx-master/recipes-kernel/linux/linux-yocto_4.1.bbappend
>
>
>
> Some quick searching  got me to a xilinx forum answer
>
> https://forums.xilinx.com/t5/Embedded-Linux/Yocto-not-working/td-p/487380
>
>  that seemed to indicate that the latest versions of Poky and meta-xilinx
> were required. I've tried using poky-jethro-14 from yoctoproject.org and the
> latest meta-xilinx from the github/Xilinx/meta-xilinx repository and the
> latest stable (1.28) from openEmbeddedCore.

That forum post does not actually indicate that you need the newest
versions, instead it states you need to have all the layers/repos on
the same release/branch.

I think you also might be confusing yourself with versions and
different trees etc. Firstly Poky == OE-Core + Bitbake + meta-yocto,
it is merely a repo that merges in all the changes from those other
repos. '1.28' that you refer to of OE-Core is actually a version of
bitbake. OE-Core releases with the 'jethro', etc. names.
(https://wiki.yoctoproject.org/wiki/Releases)

>From what you have shown the issue you seem to be hitting is that you
are trying to use a newer version of meta-xilinx (e.g. master) against
an older version of poky (or OE-Core) e.g. jethro (or specifically the
jethro-14.0.0 tag?). All you need to do is switch the branch of your
meta-xilinx repo to the corresponding release of poky/OE, it looks
like you are using jethro so that is the branch you need to switch
meta-xilinx to.

cd meta-xilinx; git checkout jethro

Regards,
Nathan

>
> I also found an answer on this list from Anup Kini that indicated not to use
> poky, but open embedded core instead
>
> https://lists.yoctoproject.org/pipermail/meta-xilinx/2013-October/000218.html
>
> Which I tried, and obtained a similiar result.
>
> For the yocto:  my bblayers.conf
>
> BBLAYERS ?= " \
>   /opt/Yocto/poky-jethro-14.0.0/meta \
>   /opt/Yocto/poky-jethro-14.0.0/meta-yocto \
>   /opt/Yocto/poky-jethro-14.0.0/meta-yocto-bsp \
>   /opt/Yocto/poky-jethro-14.0.0/meta-xilinx-master \
>   "
> BBLAYERS_NON_REMOVABLE ?= " \
>   /opt/Yocto/poky-jethro-14.0.0/meta \
>   /opt/Yocto/poky-jethro-14.0.0/meta-yocto \
>
> diff local.conf local.conf.orig  ==
> MACHINE ?= "qemumicroblaze"
>
>
> For oecore:
> BBLAYERS ?= " \
>   /opt/oecore/openembedded-core-2015-4/meta \
>   /opt/oecore/meta-xilinx-master \
>   "
>
>
> Does anyone have any suggestions for what I'm doing wrong, or what my system
> incompatability might be? I'm running RHEL 6.6 , and followed the yocto
> directions in the quick start guide for updating patches. I am running the
> "Centos 6.6 build tools script" that points to valid python/GIT/Qt
> binaries...
>
> Thanks in advance
>
>
> ----------------------------------
> Matthew D. Clark
> Center for Signal and Image Processing
> Georgia Institute of Technology
>
> --
> _______________________________________________
> meta-xilinx mailing list
> meta-xilinx at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx
>



More information about the meta-xilinx mailing list