On 5/25/22 17:22, 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...
>
Ie. I did something like this a while ago.
PTXCONF_U_BOOT_CUSTOM_MAKE_OPTS="BL31=${PTXDIST_PLATFORMDIR}/build-target/tf-a-imx_5.4.70_2.3.0/build/imx8mm/release/bl31.bin
ATF_LOAD_ADDR=0x920000 flash.bin
> Best regards,
>
> Felix
>
>
>