This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: downloading binary file
- To: Hugo Villeneuve <hvilleneuve at softacoustik dot com>
- Subject: Re: downloading binary file
- From: Grant Edwards <grante at visi dot com>
- Date: Tue, 6 Nov 2001 14:05:55 -0600
- Cc: Red Hat Insight <insight at sources dot redhat dot com>
- References: <20011106192114.6355F2D0553@breg.mc.mpls.visi.com>
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