From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joey Oravec Date: Fri, 13 Jul 2007 11:35:09 -0400 Subject: [U-Boot-Users] Reading mediacard compressed files References: <331acb2c846.00000166ejr@inbox.com> <335F22A093A.000001A1ejr@inbox.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de "Junior" wrote in message news:335F22A093A.000001A1ejr at inbox.com... > Thanks, That did it: > Partition 1: Filesystem: FAT32 "NO NAME " > > But how do I read from this partition then do an uncompress? You probably already have gunzip() available because it's in common/cmd_bootm.c. If you want to do this from the command line you'll probably need to add a new u-boot command. Check common/cmd_fat.c for examples of the U_BOOT_CMD() macro and doc/README.commands for instructions. There are a few examples of gunzip within common/cmd_lcd.c for displaying a compressed bitmap. Usually it's just done from code. -joey