From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Edwards To: Hugo Villeneuve Cc: Red Hat Insight Subject: Re: downloading binary file Date: Tue, 06 Nov 2001 12:02:00 -0000 Message-id: <20011106140542.A21458@visi.com> References: <20011106192114.6355F2D0553@breg.mc.mpls.visi.com> X-SW-Source: 2001-q4/msg00282.html 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