From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Singer Date: Thu, 14 Aug 2003 23:05:06 -0700 Subject: [U-Boot-Users] uImage wrapper removal? In-Reply-To: <3F3C62F1.8060509@san.rr.com> References: <3F3C62F1.8060509@san.rr.com> Message-ID: <20030815060506.GA4155@buici.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Something along the lines of this dd if=uImage of=zImage bs=64 skip=1 The header is the first 64 bytes. On Thu, Aug 14, 2003 at 09:34:57PM -0700, Tom Guilliams wrote: > Does anyone know if there's a utility to remove the U-Boot wrapper from > a uImage (gzipped kernel, etc)? I'm creating a single uImage with > kernel and ramdisk and I need to extract the kernel, replace the ramdisk > and put it all back together after my Linux kernel has booted. I > believe objcopy will allow me to extract the kernel from kernel/ramdisk > ELF image but that's off-topic. > > Just checking to see if there's something already out there of if this > has been discussed before.