On Fri, May 04, 2007 at 02:37:31PM +0000, Grant Edwards wrote: > On 2007-05-04, Hamish Moffatt <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
