From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Scholz Date: Mon, 22 Nov 2004 18:51:41 +0100 Subject: [U-Boot-Users] Loading FPGA from an mkimage created image? In-Reply-To: <20041122164902.48E5DC1430@atlas.denx.de> References: <20041122164902.48E5DC1430@atlas.denx.de> Message-ID: <41A2272D.7050403@imc-berlin.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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" ? -- Steven Scholz