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

Cedric Aubert cedric_aubert at yahoo.fr
Mon Nov 17 16:17:25 UTC 2003


Thanks a lot, that's succesfully works.

Thanks a lot also to the other that give me a solution
(Till and Wilfried).

> -----Original Message-----
> From: Thomas Doerfler
[mailto:Thomas.Doerfler at imd-systems.de]
> Sent: Monday, November 17, 2003 3:27 PM
> To: Cedric Aubert
> Subject: Re: How to concat binary file with a little
gap (not RTEMS
> dependent thread sorry)
> 
> 
> Hi Cederic,
> 
> if you have really binary (without any formating
info) as your 
> desired output format, the following might work:
> 
> xxx-rtems-objcopy -I binary -O binary --pad-to
0x100000 
> LOADER.bin LOADER_padded.bin
> 
> cat LOADER_padded.bin RTEMS.bin >FULL.bin
> 
> I did not try it out but this might work more or
less...
> 
> wkr,
> 	Thomas.
> 
> 
> > 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
> 
> --------------------------------------------
> IMD Ingenieurbuero fuer Microcomputertechnik
> Thomas Doerfler           Herbststrasse 8
> D-82178 Puchheim          Germany
> email:    Thomas.Doerfler at imd-systems.de
> PGP public key available at: http://www.imd-
> systems.de/pgp_keys.htm
> 

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree



More information about the users mailing list