This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: downloading binary file


On Tue, Nov 06, 2001 at 02:19:57PM -0500, Hugo Villeneuve wrote:
> Hi,
> 
> 
> >I know you can if you convert the binary file to ELF using
> >arm-elf-objcopy.
> 
> This binary file is in fact produced from an ELF file. The problem is 
> that the .text section of this ELF file points to Flash memory, and I 
> want to download it to RAM memory.

So put it there.   objcopy can move sections around as well as
convert from one format to another.  It's a very handy little
program.  Do "man objcopy" and pay particular attention to
the --change-section-address option.

> >What model of Jeeni do you have?  I've never heard of the 
> >"AMR Angel/Ethernet" target before...
> 
> My typo error: should be "ARM Angel/Ethernet"

It would be awfully handy to have commands to dump a region of
memory to a file in any of the bfd formats, and to be able to
read such a file into memory at a specific location.  I keep
threatening to impliment that, but I never do it...

-- 
Grant Edwards
grante@visi.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]