[U-Boot][PATCH v1] cmd/fpga: use config node for loadmk
Michal Simek
monstr at monstr.eu
Mon Apr 7 17:26:36 CEST 2025
HI,
pá 21. 2. 2025 v 12:04 odesílatel Ibai Erkiaga
<ibai.erkiaga-elorza at amd.com> napsal:
>
> Current implementation requires to provide the name of the FPGA image
> within the FIT image. As the configuration node is mandatory according
> to the spec and includes an optional property "fpga" to define the
> bitstream image, use this approach instead.
>
> This way there is no need for an additional information in the loadmk
> command for FIT, and signature and hash verification of both the image
> and configuration is performed.
I am not convinced about this. fpga entry in config defines link to
bitstream partition and likely it will work for default config but
you can describe multiple configurations and have multiple bistreams
in partitions and by this you will
lose capability to extract/load different or multiple bitstreams.
Look at doc/usage/fit/multi-with-fpga.rst and describe multiple
different config nodes with different bitstream and try to
load them with your patch applied.
Thanks,
Michal
More information about the U-Boot
mailing list