[meta-xilinx] Newbie woes
Rich Wilson
richaw at gmail.com
Wed Apr 23 14:22:10 PDT 2014
I have some documentation change requests. It seems it would
be nice to use my experiences to improve the documentation so that
others as slow as I am will have better luck.
I started over from scratch, and with minimal problems, I now have a
zedboard
operating as expected.
I started at
http://www.wiki.xilinx.com/Yocto
I don't know if this is a public wiki, but even if so, I don't feel
experienced
enough to be qualified to edit it. Note that there is no mention here of any
branches. Following the directions, you are likely to download poky-dora,
and the default branch of meta-xilinx. This led to my woe.
It would be nice to expand this to include explicit instructions for
obtaining meta-xilinx. The hint is:
git clone -b dora https://github.com/Xilinx/meta-xilinx.git
Again, in the meta-xilinx README there is no mention of branches, and
it's not obvious from
https://github.com/Xilinx/meta-xilinx
how one should go about getting a branch anyway.
The readme should give recommendations about the correct branch
to use. It would also be nice if the readme would list the names of the
supplied machine targets. As a newbie, it's not obvious how to figure out
that
the name you need is "zedboard-zynq7", or whatever.
[How do I get a list of available machines without a lot of rooting through
files?
"(Please refer to the associate .conf for more information):" is not a
very good hint.
Hint: meta-xilinx/conf/machine/*.conf]
Trying this with opensuse 13.1 led to a compile error.
With opensuse 12.3, I needed to install a few packages, and I now
have a working distribution.
Thanks everyone for your help.
Rich
On Tue, Apr 22, 2014 at 4:19 PM, Sipke Vriend <sipke.vriend at xilinx.com>wrote:
> 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
>
>
--
Rich Wilson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20140423/09d17657/attachment.html>
More information about the meta-xilinx
mailing list