On Thu, Feb 06, 2003 at 09:30:13AM -0800, David Wuertele wrote: > I want to transfer a newly-compiled kernel to a target embedded mips > system that has mmon running on it. mmon expects S3 format; If I > know what address I want to load the kernel into, how do I do the > conversion to S3 for the load? With objcopy. After looking 1 minute at the manual page, I think you need something like: objcopy -o srec --srec-forceS3 bla bla.srec Where bla needs to be something objcopy could recognise. The compiler usually generates ELF objects and binaries, so that will do. (you might have to add the relevant cross compiling prefixes to objcopy, like mips-linux-) Erik -- J.A.K. (Erik) Mouw Email: J.A.K.Mouw@its.tudelft.nl mouw@nl.linux.org
Attachment:
pgp00293.pgp
Description: PGP signature