From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Scholz Date: Fri, 10 Jun 2005 19:32:43 +0200 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: <42A9CEBB.2070103@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". > > ... extend the fpga command to understand compressed > images. Please consider the attached patch. I know it's duplicating some code but that's all I can do for now. multiIO_2> fpga load 0 $loadaddr Image Name: multiIO TEST FPGA Created: 2005-06-10 14:01:40 UTC Image Type: ARM U-Boot Standalone Program (uncompressed) Data Size: 42431 Bytes = 41.4 kB Load Address: 20008000 Entry Point: deadbeef Verifying Checksum ... OK Loading Firmware/Standalone Image ... OK Loading FPGA Device 0........................................... Done. ---- * Patch by Steven Scholz, 10 Jun 2005: Adding new configuration option CONFIG_FPGA_IMAGE This allows to pass U-Boot images of the types "FIRMWARE" or "STANDALONE" to the fpga command Thanks. -- Steven -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: u-boot-fpga-mkimage.patch Url: http://lists.denx.de/pipermail/u-boot/attachments/20050610/3fda1cd9/attachment.txt