From: Dan Malek <dan@netx4.com>
To: Graham Stoney <greyham@research.canon.com.au>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Converting zImage to S-records for CLLF/860T
Date: Thu, 25 Nov 1999 14:31:13 -0500 [thread overview]
Message-ID: <383D8E81.BF75878@netx4.com> (raw)
In-Reply-To: 19991125065849.55731F393@elph.research.canon.com.au
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/
prev parent reply other threads:[~1999-11-25 19:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-11-25 6:58 Converting zImage to S-records for CLLF/860T Graham Stoney
1999-11-25 19:31 ` Dan Malek [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=383D8E81.BF75878@netx4.com \
--to=dan@netx4.com \
--cc=greyham@research.canon.com.au \
--cc=linuxppc-embedded@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).