[Buildroot] [PATCH v1 0/2] Make Buildroot for Zedboard independent on Xilinx tools

Jan Viktorin xvikto03 at stud.fit.vutbr.cz
Sat Jun 20 08:26:42 UTC 2015


On Fri, 19 Jun 2015 21:59:26 +0200
Arnout Vandecappelle <arnout at mind.be> wrote:

> On 06/19/15 15:38, Jan Viktorin wrote:
> > From: Jan Viktorin <viktorin at rehivetech.com>
> > 
> > Dear Thomas,
> > 
> > thank you for the review. I've made the changes accordingly.
> > 
> > I've created host-zynq-boot-bin package to cover the small
> > python script. It downloads U-Boot xilinx-v2015.1 from Xilinx
> > github for this purpose (quite an overkill, isn't it...).
> > 
> > There are now just 2 patches of U-Boot 2015.07. 0001 adds
> > calling of the zynq-boot-bin.py and 0002 fixes the default
> > U-Boot environment to boot out-of-the-box from SD card.
> > 
> > There is still one thing to solve (I wasn't sure how).
> > There is no dependency specified between U-Boot and the
> > host-zynq-boot-bin package. It should be probably conditional
> > but what kind of condition to write there? Should we use
> > it for every Zynq architecture? (Is it possible to detect
> > it by Buildroot?)
> 
>  You can revert the two packages: make host-zynq-boot-bin depend on
> uboot, and move the call to the python script to the
> host-zynq-boot-bin package. One less patch for uboot :-)

So, you mean to drop the patch 0001 and call the zynq-boot-bin.py from
BUILD/INSTALL (?) stage of this package? (I expect the dependency on
uboot will guarantee, it is called after uboot.) The package will get
the path to the uboot's build dir as UBOOT_DIR, is it right?

So host-zynq-boot-bin should depend on uboot and it is up to the user
to select this package to create the boot.bin file automatically
or not. Is that OK?

Regards
Jan Viktorin

> 
>  Regards,
>  Arnout
> 
> 
> > 
> > Regards
> > Jan Viktorin
> > 
> > 
> > Jan Viktorin (2):
> >   host-zynq-boot-bin: new package
> >   zedboard: Upgrade to U-Boot 2015.07
> > 
> >  board/avnet/zedboard/readme.txt                    | 95
> > ++++++++++------------ ...oot.bin-automatically-by-zynq-boot-bin.py.patch
> > | 38 +++++++++ ...eate-zedboard-specific-U-Boot-environment.patch |
> > 46 +++++++++++ configs/zedboard_defconfig
> > |  6 +- package/Config.in.host                             |  1 +
> >  package/zynq-boot-bin/Config.in.host               |  7 ++
> >  package/zynq-boot-bin/zynq-boot-bin.mk             | 16 ++++
> >  7 files changed, 156 insertions(+), 53 deletions(-)
> >  create mode 100644
> > board/avnet/zedboard/uboot-2015.07/0001-Generate-boot.bin-automatically-by-zynq-boot-bin.py.patch
> > create mode 100644
> > board/avnet/zedboard/uboot-2015.07/0002-zynq-Create-zedboard-specific-U-Boot-environment.patch
> > create mode 100644 package/zynq-boot-bin/Config.in.host create mode
> > 100644 package/zynq-boot-bin/zynq-boot-bin.mk
> > 
> 
> 



-- 
  Jan Viktorin, PhD student   E-mail: iviktorin at fit.vutbr.cz
  DCS FIT VUT Brno, L310      Web: http://www.fit.vutbr.cz/~iviktorin
  Bozetechova 1, 612 66       Phone: +420 54114-1357
  Brno, Czech Republic


More information about the buildroot mailing list