Hi Felix, On Wed, May 25, 2022 at 05:22:41PM +0200, Felix Mellmann wrote: > Hi, > > when I tried to set up a PTXdist environment for a NXP i.MX8MP based board > (Phytec phyBoard Pollux) I stumbled across the need to provide firmware > images during the U-Boot build process (LPDDR4 training data and TF-A BL31 > firmware). > > Is there a best practice on how to provide those firmwares during build? > Currently I helped myself and modified u-boot.make to copy the firmware > files at the very beginning of the compile stage to the build directory...
See here: https://lore.ptxdist.org/ptxdist/[email protected]/ These patches solve the problem for the Rockchip TF-A binary blobs integrated into barebox. The helper introduced there is generic and the solution could look similar for U-Boot I guess. Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
