* Converting zImage to S-records for CLLF/860T
@ 1999-11-25 6:58 Graham Stoney
1999-11-25 19:31 ` Dan Malek
0 siblings, 1 reply; 2+ messages in thread
From: Graham Stoney @ 1999-11-25 6:58 UTC (permalink / raw)
To: linuxppc-embedded
Dear fellow Embedees,
Now that our RPX CLLF/860T boards have arrived, I'm attempting to download a
kernel built from the mpc8xx-2.2.13.tgz sources via 100Mb Ethernet. The board
expects S-records, and the embedded_notes file mentions using 'zsrec' to
convert the zImage, but I can't find zsrec anywhere and I'm equally unsure of
the magic incantation to objcopy. The output from the obvious:
powerpc-linux-objcopy -O srec zImage zImage.srec
is far too small to be correct.
Could someone please point me in the right direction to find zsrec?
Thank you,
Graham
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Converting zImage to S-records for CLLF/860T
1999-11-25 6:58 Converting zImage to S-records for CLLF/860T Graham Stoney
@ 1999-11-25 19:31 ` Dan Malek
0 siblings, 0 replies; 2+ messages in thread
From: Dan Malek @ 1999-11-25 19:31 UTC (permalink / raw)
To: Graham Stoney; +Cc: linuxppc-embedded
Graham Stoney wrote:
> ......but I can't find zsrec anywhere and I'm equally unsure of
> the magic incantation to objcopy. The output from the obvious:
> powerpc-linux-objcopy -O srec zImage zImage.srec
> is far too small to be correct.
At one time I did find the proper options to objcopy to create
the proper S-record file, but I found it easier and faster to
write a simple C program to do it. I thought I put it on the
ppc.kernel.org server, but I will do that again.
> Could someone please point me in the right direction to find zsrec?
Look on the ppc.kernel.org server in a few minutes. The program
just strips the 64K ELF header and converts the rest of the
file into S-Records. You can use -h to include the header, in
case the file isn't ELF and you want the header. You can use -s
to specify a different (hex) start address for the S-records.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-11-25 19:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-11-25 6:58 Converting zImage to S-records for CLLF/860T Graham Stoney
1999-11-25 19:31 ` Dan Malek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).