[Buildroot] [RFC 1/1] zynq-custom-fpga: new package

Matt Fornero Matt.Fornero at mathworks.com
Mon Feb 6 21:50:31 UTC 2017


> From: Romain Naour [mailto:romain.naour at gmail.com]
> Le 24/01/2017 à 17:02, Matt Weber a écrit :
<snip>
> > +ifeq  ($(BR2_PACKAGE_ZYNQ_CUSTOM_FPGA_UBOOT_SPL),y)
> > +UBOOT_DEPENDENCIES += zynq-custom-fpga
> > +UBOOT_POST_EXTRACT_HOOKS += ZYNQ_CUSTOM_FPGA_COPY_INIT
> 
> Modifying uboot dependencies and hooks in zynq-custom-fpga is not a good
> practice actually.
> 
> I would recommend to create a u-boot fork for zynq FPGA providing all
> specific
> uboot files instead of creating the zync-custom-fpga package.
> 
> Best regards,
> Romain

Hi Romain,

Forking U-Boot to update the ps*_init_gpl.[c|h] files would be challenging.
These files are dynamically generated by the FPGA build tool (Vivado) based on
the user's configuration, so will vary both from board to board, and within a
board from design to design.

Is there a recommended technique, given the above?

Best Regards,
Matt Fornero



More information about the buildroot mailing list