[U-Boot-Users] Loading FPGA from an mkimage created image?

Wolfgang Denk wd at denx.de
Mon Nov 22 19:55:33 CET 2004


In message <41A2272D.7050403 at imc-berlin.de> you wrote:
> 
> > 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.

I see. Sorry, I never used this command myself yet.

> >>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?

Yes - if it's compressed; otherwise just memcpy().

> And maybe even introduce a new image type "FPGA data" ?

No. This is what applies (from "include/image.h"):

 * "Firmware Images" are binary images containing firmware (like
 *      U-Boot or FPGA images) which usually will be programmed to
 *      flash memory.


Viele Grüße,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Es sind überhaupt nur die Dummköpfe, die sich den Befehlen der  Mäch-
tigen  widersetzen.  Um  sie  zu ruinieren ist es genug, ihre Befehle
treu zu erfüllen.                  - Peter Hacks: "Die schöne Helena"




More information about the U-Boot mailing list