Converting vmlinux.initrd to S-RECORD

Wolfgang Denk wd at denx.de
Thu Feb 10 07:58:12 EST 2000


In message <20000209145905.11737.qmail at web207.mail.yahoo.com> you write:
>
> I've just read a message posted by Dan in november.
> He said that he would post in ppc.kernel.org a prog
> to convert file into S-Records.
>
> He wrote:
> The program just strips the 64K ELF header and
> converts the rest of the file into S-Records.  You can

No special tools needed. You have everything you need in your
toolbox:

	# Strip ELF header
	dd if=zImage of=image bs=64k skip=1
	# Convert to S-records
	objcopy -I binary -O srec image image.srec

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
Heavier than air flying machines are impossible.
                    -- Lord Kelvin, President, Royal Society, c. 1895

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list