
Wolfgang Denk wrote:
In message 41A1CD69.6000708@imc-berlin.de you wrote:
I know that
fpga load [device number] [image address] [image size]
can be used to init an FPGA. Now I want to compress and wrap the FPGA data with mkimage.
Is there a way to pass the address of an Image to "fpga load".
Umm... that's the third parameter in the usage message above: "image address" - isn't it?
No. IIRC then "image" in "image address" means (raw) data as the FPGA would understand it.
Or do I have to umcompress it first using "bootm" or something and then pass the address and size to "fpga load"?
Either this, or extend the fpga command to understand compressed images.
So checking for valid mkimage header? And then uncompress to $loadaddr? And maybe even introduce a new image type "FPGA data" ?