[meta-xilinx] Newbie woes
Sipke Vriend
sipke.vriend at xilinx.com
Tue Apr 22 16:19:31 PDT 2014
Hi Rich,
Addressing your original post, it always helps if you can include the bitbake
summary at the start of the build, then we can see what layers (and their
commit IDs) are being used by your build.
Failing that though, I noticed that one of your warnings "WARNING: No recipes
available for:"
was for linux-xlnx_3.14.bbappend.
This is on the master branch of meta-xilinx so I think you have a mismatch
with poky-dora-10.0.1.
In any yocto/open embedded development you need to maintain consistency with
layer branches or you will get these recipe warnings due to "layers"
having different versions of recipes.
You will need to check out the dora branch of meta-xilinx (and any other
layers you are using): "git checkout dora" in your meta-xilinx directory.
Regarding the dtb files, (this is relevant on master branch, they had
different naming on dora branch).
meta-xilinx master (daisy branch to be) has
linux-yocto kernel "targets": built against
git.yoctoproject.org/linux-yocto_?.??.git with a few patches as necessary.
linux-xlnx kernel "targets": built againts github.com/Xilinx/linux-xlnx.git
The kernels differ in their dts requirement, so two dts/dtb files are necessary.
Pick the one you are building the kernel for (by default linux-xlnx).
But as I mentioned when you use the dora branch of meta-xilinx the naming
convention is different and the same dtb files exist. If you are interested,
search through the meta-xilinx mailing list and you will find posts about
this shift in linux-yocto targets between dora and now master branch.
I'm hoping that if you use dora of meta-xilinx you will start to get a
working build and booting image. Give it a try and see if the recipe
warnings go away. Given you are not using a supported distribution you may
find some host related issues, but fingers crossed.
Regards
Sipke
On 23/04/2014 2:53 AM, Rich Wilson wrote:
> I found a reference to this at
> https://github.com/Xilinx/linux-xlnx/issues/1
>
> Somewhere in the thousands of pages of documentation is a hint as to what
> to do next, but it's as clear as mud to me.
>
> I found several copies of zynq-zed.dts in the work directory, but just
editing them
> did not change the .dtb files. I don't know how to force bitbake to
recreate the
> .dtb files.
>
> By the way, what's the difference between uImage-zedboard-zynq7.dtb and
> uImage-zedboard-zynq7-yocto.dtb (or their longer-named targets)?
>
> Rich
>
>
> On Tue, Apr 22, 2014 at 1:31 AM, Stephen Mossom
<stephen.mossom at calnexsol.com> wrote:
>
> Hi Rich,
>
>
>
> While I was digging around for a problem with Ethernet with my Zynq
based board (ZC706) I discovered a post which stated that the zedboard PHY
address changed (either from 7 to 0 or 0 to 7 if I remember correctly)
between zedboard revisions
>
>
>
> I didn’t bookmark the post and a quick search hasn’t yielded the
desired result. You could try changing the phy address in your dts,
rebuilding to see what happens.
>
>
>
> I’m not sure about your other problems as I’ve stuck with Ubuntu and
did not get the bitbake warnings you are seeing.
>
>
>
> Stephen
>
>
>
> From: meta-xilinx-bounces at yoctoproject.org
[mailto:meta-xilinx-bounces at yoctoproject.org] On Behalf Of Rich Wilson
> Sent: 21 April 2014 21:55
> To: meta-xilinx at yoctoproject.org
> Subject: [meta-xilinx] Newbie woes
>
>
>
> I'm running into a number of problems and questions, only some of which
>
> have succumbed to days of reading and googling.
>
>
>
> The following is for
>
> poky-dora-10.0.1
>
> MACHINE ?= "zedboard-zynq7"
>
> and
>
> bitbake core-image-minimal
>
>
>
> A. Perhaps some of my problems are due to my distribution, so I need
to admit
>
> to that:
>
> WARNING: Host distribution "openSUSE-project-13.1" has not been
validated with this version of the build system; you may possibly experience
unexpected failures. It is recommended that you use a tested distribution.
>
>
>
> B. The following warning was an error until I found a hint at
>
>
https://lists.yoctoproject.org/pipermail/meta-xilinx/2013-October/000219.html
>
>
>
> WARNING: No recipes available for:
>
>
/home/rw/meta-xilinx/recipes-devtools/gdb/gdb-cross-canadian_7.6.2.bbappend
>
>
/home/rw/meta-xilinx/recipes-devtools/qemu/qemu_1.7.0.bbappend
>
>
/home/rw/meta-xilinx/recipes-devtools/binutils/binutils_2.24.bbappend
>
>
/home/rw/meta-xilinx/recipes-devtools/binutils/binutils-crosssdk_2.24.bbappend
>
>
/home/rw/meta-xilinx/recipes-devtools/gdb/gdb_7.6.2.bbappend
>
>
/home/rw/meta-xilinx/recipes-kernel/linux/linux-yocto_3.14.bbappend
>
>
/home/rw/meta-xilinx/recipes-devtools/binutils/binutils-cross-canadian_2.24.bb
append
>
>
/home/rw/meta-xilinx/recipes-devtools/gdb/gdb-cross_7.6.2.bbappend
>
>
/home/rw/meta-xilinx/recipes-devtools/binutils/binutils-cross_2.24.bbappend
>
>
/home/rw/meta-xilinx/recipes-connectivity/openssl/openssl_1.0.%.bbappend
>
>
>
> It would be nice to fix this one way or another.
>
>
>
> C. Where's the network?
>
>
>
> root at zedboard-zynq7:/# cat /proc/net/dev
>
> Inter-| Receive |
Transmit
>
> face |bytes packets errs drop fifo frame compressed
multicast|bytes packets errs drop fifo colls carrier compressed
>
> lo: 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0
>
> root at zedboard-zynq7:/#
>
>
>
> There are more, but I'll quit for now.
>
>
>
> --
> Rich Wilson
>
>
>
>
> --
> Rich Wilson
> richaw at gmail.com
> 425-337-7129 (land line)
> 425-374-4760 (Google)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20140422/73d50c79/attachment.html>
More information about the meta-xilinx
mailing list