This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Re: tool to prepare flash image for RedBoot
- From: Hamish Moffatt <hamish at cloud dot net dot au>
- To: ecos-discuss at ecos dot sourceware dot org, ecos-discuss at sources dot redhat dot com
- Date: Sat, 5 May 2007 00:48:41 +1000
- Subject: Re: [ECOS] Re: tool to prepare flash image for RedBoot
- References: <20070504064329.GA18402@cloud.net.au> <f1fgfb$58f$1@sea.gmane.org>
On Fri, May 04, 2007 at 02:37:31PM +0000, Grant Edwards wrote:
> On 2007-05-04, Hamish Moffatt <hamish@cloud.net.au> wrote:
>
> > I have an embedded system using RedBoot. I would like to prepare an
> > image to be programmed into the FLASH devices before board assembly.
> >
> > Is there a tool available to build a complete image containing
> > RedBoot, a SysConfig partition with a default boot script, an
> > initialised file system and a linux image?
>
> If you're looking for a tool to combine a bunch of
> object/hex/binary files into a single one there are tons of
> choicces.
>
> You can just use objcopy to combine binary chunks.
>
> You can use something like srec_cat available at
> http://srecord.sourceforge.net/ to combine HEX files.
>
> You can use objcopy to create an ELF file for each input
> chunk and then link them together.
>
> Personally, I'd probably start by carefully studying the
> "objcopy" man page. It's a _very_ useful program for anybody
> doing embedded work. Then go read the web page for the srecord
> project above. Between the two of them, you should be able to
> come up with a pertty straight-forward solution.
Thanks Grant, I'm aware of srec_cat and objcopy. But I would like to
include a RedBoot FIS partition table and a configuration partition
too... Ideally an unspecified tool would generate those!
Hamish
--
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss