# Building a Zedboard BOOT.bin

**URL:** <https://www.ruby-forum.com/t/building-a-zedboard-boot-bin/232717>\
**Category:** GNU Radio\
**Created:** [October 23, 2014, 4:22pm UTC](https://www.ruby-forum.com/t/building-a-zedboard-boot-bin/232717 "2014-10-23T16:22:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [October 23, 2014, 4:22pm UTC](https://www.ruby-forum.com/t/building-a-zedboard-boot-bin/232717/1 "2014-10-23T16:22:24Z")

</div>

Hi,

I am trying to generate a bootable SD card for the zedboard and I am  
running over some small issues. For starters, do you provide the  
u-boot.elf  
you use somewhere? In the  
[http://gnuradio.org/data/sdk/zedboard\_armv7a-hf-](http://gnuradio.org/data/sdk/zedboard_armv7a-hf-)  
vfp-neon/ there is only the uboot.bin, but the boot.bif at zynq-acp/top/  
zedboard/boot requires the .elf.

I tried to build everything as described in the “Building the Linux  
Kernel, U-Boot, & Root Filesystem with OpenEmbedded” section but then…  
I  
run into MANY issues building it, (really many, I am writing down  
everything and, if I manage to do it fully one day, I already promised I  
will contact the write all the issues and I will try to contact the  
responsible for the module to share my findings, it may help the next  
people :). For the moment I got stuck at:  
…  
configure:18748: error: in  
`…/oe-repo/build/tmp-eglibc/work/armv7a-vfp  
-neon-oe-linux-gnueabi/libxt/1\_1.1.4-r0/libXt-1.1.4’:  
configure:18750: error: The pkg-config script could not be found or is  
too  
old. Make sure it  
is in your PATH or set the PKG\_CONFIG environment variable to the full  
path to pkg-config.

Alternatively, you may set the environment variables XT\_CFLAGS  
and XT\_LIBS to avoid the need to call pkg-config.  
See the pkg-config man page for more details.

To get pkg-config, see [http://pkg-config.freedesktop.org/](http://pkg-config.freedesktop.org/).  
See `config.log’ for more details  
…  
ac\_cv\_env\_PKG\_CONFIG\_LIBDIR\_set=set  
ac\_cv\_env\_PKG\_CONFIG\_LIBDIR\_value=…/oe-repo/build/tmp-eglibc/sysroots/  
zedboard-zynq7/usr/lib/pkgconfig  
ac\_cv\_env\_PKG\_CONFIG\_PATH\_set=set  
ac\_cv\_env\_PKG\_CONFIG\_PATH\_value=…/oe-repo/build/tmp-eglibc/sysroots/  
zedboard-zynq7/usr/lib/pkgconfig:…/oe-repo/build/tmp-eglibc/sysroots/  
zedboard-zynq7/usr/share/pkgconfig  
ac\_cv\_env\_PKG\_CONFIG\_set=  
ac\_cv\_env\_PKG\_CONFIG\_value=

…

| ERROR: Function failed: do\_configure (log file is located at …/oe-repo  
/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/libxt  
/1\_1.1.4-r0/temp/log.do\_configure.19545)  
ERROR: Task 3409  
(…/oe-repo/oe-core/meta/recipes-graphics/xorg-lib/libxt  
\_1.1.4.bb, do\_configure) failed with exit code ‘1’

* * *

Any ideas? I looked into the libxt\_1.1.4.bb to see what I could  
change…  
but as I never used bitbake nor have I ever create a recipe… I am  
afraid  
of breaking something if I just disable it.

By the way, is there any chance some one will try to adapt the ISE  
scripts to vivado? The XPS tool, used in the scripts, does not exist  
anymore :(. I installed the evaluation version to create the fsbl… but  
I  
guess more and more people will run over this problem of compatibility  
of  
the present scripts with the new version of the Xilinx tools.

Best regards…

```
      Daniel

```

---

<div class="post-metadata">

**Author:** ![dcarneiro](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e36b37/32.png) [@dcarneiro](https://www.ruby-forum.com/u/dcarneiro)\
**Post date:** [October 24, 2014, 4:09pm UTC](https://www.ruby-forum.com/t/building-a-zedboard-boot-bin/232717/2 "2014-10-24T16:09:52Z")

</div>

On 10/23/2014 10:20 AM, Daniel C. wrote:

> run into MANY issues building it, (really many, I am writing down  
> everything and, if I manage to do it fully one day, I already promised I  
> will contact the write all the issues and I will try to contact the  
> responsible for the module to share my findings, it may help the next  
> people :). For the moment I got stuck at:

Do you have a link to the instructions you are using?

Philip

---

<div class="post-metadata">

**Author:** ![dcarneiro](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e36b37/32.png) [@dcarneiro](https://www.ruby-forum.com/u/dcarneiro)\
**Post date:** [October 23, 2014, 5:36pm UTC](https://www.ruby-forum.com/t/building-a-zedboard-boot-bin/232717/3 "2014-10-23T17:36:12Z")

</div>

I’m working with the meta-xilinx maintainers to try and get working  
boot.bin/u-boot.img out of a build.

I’ll try and do a build based on the web page in a vm today and see if I  
can see the issues.

Longish term, I am hoping to put some images you can dd to an sd card  
and just boot. I’m slowly making progress toward that goal.

Pihlip
