Make Buildroot for Zedboard independent on Xilinx tools
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 2 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 2 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Buildroot] [PATCH v1 0/2] Make Buildroot for Zedboard independent on Xilinx tools
Quoted 25 lines · Jan Viktorin
Quoted 22 lines · On Fri, 19 Jun 2015 21:59:26 +0200 Arnout Vandecappelle <[email protected]> wrote:
Quoted 20 lines · Jan Viktorin
From: Jan Viktorin <[email protected]>
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.pyand 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?)
Quoted 6 lines
Quoted 3 lines
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.pyfrom BUILD/INSTALL (?) stage of this package?
Yes, from the BUILD stage.
You'll want to set _INSTALL_STAGING = NO and _INSTALL_IMAGES = YES.
Quoted 2 lines
(I expect the dependency on
uboot will guarantee, it is called after uboot.)
Yep.
Quoted 2 lines
The package will get
the path to the uboot's build dir asUBOOT_DIR, is it right?
It will, but we prefer not to rely on that. Since uboot.mk will anyway install
the spl.bin file to $(IMAGES_DIR), you can take it from there.
Quoted 4 lines
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?
Exactly!
Regards,
Arnout
[snip]
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F