From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Wed, 11 Dec 2002 23:50:11 +0100 Subject: [U-Boot-Users] uncompressing two gziped images In-Reply-To: Your message of "Thu, 12 Dec 2002 07:53:13 +1300." <8D7C5F56B409554D9D46AC22195807F3061BCA@exchwenz01.dmcwave.co.nz> Message-ID: <20021211225016.8A943C613A@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <8D7C5F56B409554D9D46AC22195807F3061BCA@exchwenz01.dmcwave.co.nz> you wrote: > > My question is how can I uncompress two stand alone images before starting > one of them (the first one)? Currently there is no command available to do this. Actually, ther eis very little support for the handling of the misc image types - the only thing which is really supported is what's needed to boot Linux with or without ramdisk images. For example, you can use autoscr to execute the contents of a script images - but it will not handle a compressed script image (yet). So all you can do is implement the required features, and send the patches. > Before I start changing the code to do this for us I though I'd ask incase > there is a way I have not been able to figure out yet. I have tried using > mkimage and setting one to a Linux kernel image and the other one to a RAM > disk but the RAM disk is not decompressed before being relocated. No, this won;t work. You have to add new code. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de "You shouldn't make my toaster angry." - Household security explained in "Johnny Quest"