How to concat binary file with a little gap (not RTEMS dependent thread sorry)

Till Straumann strauman at slac.stanford.edu
Mon Nov 17 10:25:32 UTC 2003


There are certainly many ways of doing this. E.g.

dd conv=sync bs=1048576 if=LOADER.bin | cat - RTEMS.bin > FULL.bin

HTH
-- Till

Cedric Aubert wrote:

>Hi all,
>
>I have succesfully run RTEMS now in RAM.
>I have a loader in my ROM.
>
>I want to put my RTEMS binary image in my prom but
>I still want to have my loader in it.
>
>Ex :
>PROM 0x0		0x400000
>RAM  0x400000	0x800000
>
>LOADER.bin
>RTEMS.bin
>
>Now I load the LOADER.bin in my prom and load
>RTEMS with SREC at 0x700000 (with correct linink
>script)
>
>Now I want to have one global file with my loader and
>RTEMS in it
>
>FULL.bin (with the LOADER.bin at 0x0 and RTEMS.bin at
>0x100000)
>
>and load this file in my prom.
>
>How can I do this, I try to look at objcopy but I
>don't really find
>what I need.
>
>Thanks a lot
>
>Cedric
>
>__________________________________
>Do you Yahoo!?
>Protect your identity with Yahoo! Mail AddressGuard
>http://antispam.yahoo.com/whatsnewfree
>  
>






More information about the users mailing list