[meta-xilinx] trying to build core-image-zynq with yocto exposes conflicting patch files

Robert P. J. Day rpjday at crashcourse.ca
Wed Apr 3 05:52:57 PDT 2013


On Tue, 2 Apr 2013, Philip Balister wrote:

> On 04/02/2013 02:45 AM, Mike Looijmans wrote:
> > On 04/01/2013 05:02 PM, Robert P. J. Day wrote:
> >>>>   (aside: hoping this is the right place for this. i just purchased a
> >>>> zedboard and i want to build bootable images for it both from scratch,
> >>>> and using oe/yocto. would those approaches represent two separate
> >>>> forums i should be using?)
> >>>>
> >>>>   with fully-updated oe-core and meta-zynq yocto layers, i tried to
> >>>> build "core-image-zynq" and got:
> >>>>
> >>>> ERROR: Command Error: exit status: 1  Output:
> >>>> Applying patch no-gtk.patch
> >>>> patching file Makefile
> >>>> Hunk #1 FAILED at 1.
> >>>> 1 out of 1 hunk FAILED -- rejects in file Makefile
> >>>> Patch no-gtk.patch does not apply (enforce with -f)
> >>>> ERROR: Function failed: patch_do_patch
> >
> > At the last count, there were five.
> >
> > As far as I know, "mine" is the only one that also properly targets the
> > zedboard. It's a fork of Philip's.
> >
> > https://github.com/milosoftware/meta-zynq
>
> What can we do to get some basic support for (say) zc702 and the
> zedboard into the "official" Xilinx layer so we can all tell new
> people where to start?

  +1.  again, all i want to do with my new zedboard is (ideally) build
a bootable, SD-based system from scratch with OE. the board came with
a functioning SD card so i have a baseline to work from, in the sense
that i can at least see what i'm trying to reproduce.

  based on what i've read, it now appears that my best bet is to start
with mike's layer here:

  http://layers.openembedded.org/layerindex/layer/meta-zynq-milo/

since it has explicit zedboard support. with that layer, i'd select a
MACHINE of "zedboard" and, since i see no zedboard-specific image, i
guess i'd just try to build a core-image-minimal, unless i've
overlooked something.

  the README in that layer states:

"Build BOOT.bin using Xilinx tools (which you'll need to install for
this) from within OE. u-boot will be built by OE, you'll need to
create a FSBL and optionally a logic bit file and point OE variables
to their location."

  so ... i need to install additional xilinx tools? is that documented
in more detail somewhere? i can see from philip's README:

"BUGS: You need to meld a first stage boot loader with the u-boot file
with a magical incantation from Xilinx to make BOOT.BIN. I need to
document this one day. I am not sure if I can redistribute the fsbl
binary. The source is not open."

so i'll just keep reading unless someone clarifies this.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



More information about the meta-xilinx mailing list