This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Problem running redboot from eb40a
- From: Shannon Holland <holland at loser dot net>
- To: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 20 Mar 2003 10:17:42 -0800
- Subject: Re: [ECOS] Problem running redboot from eb40a
I was never able to successfully get redboot RAM to run after
downloading it via angel. To get it up I ended up booting with angel to
remap memory and then halted the processor with a Wiggler JTAG
debugger. Then downloaded and ran the code via JTAG. It's been a while,
but I think the Redboot RAM image may well have been linked to load in
the same memory space as angel is using. Hmmm, from the info below it's
loading text to 0x20040 which is probably ok (I don't remember the
angel memory map). If you have a jtag unit, I'd suggest you use that
(if you're looking for one the Wiggler is really cheap - doesn't work
as well as many others but, well, was affordable!). Take a look at the
linker .ld file (isn't that it install/lib? - away from everything
right now) and make sure everything is being linked to load in the
right places. You can also use arm-elf-objdump to dump the redboot elf
image to see where it's expecting to load everything.
Shannon
On Thursday, March 20, 2003, at 08:52 AM, wkhto at engmail dot uwaterloo dot ca
wrote:
Hi
I got a problem when I try to run redboot from eb40a. I used ecos 2.0
b1 with
Shannon Hollands two tar.gz files to compile the eb40a redboot(RAM).
The
compilation is good. When I try to load the elf file by using GDB, GDB
stops
during the load process.
Here is the output:
--------------------------------------------------
arm-elf-gdb redboot.elf
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "--host=i686-pc-linux-gnu
--target=arm-elf"...
(gdb) tar rdi s=/dev/ttyS0
Angel Debug Monitor (serial) 1.04 (Advanced RISC Machines SDT 2.5) for
AT91EB40A
(1.00)
Angel Debug Monitor rebuilt on Feb 03 2002 at 16:09:59
Serial Rate: 9600
Connected to ARM RDI target.
(gdb) load
Loading section .rom_vectors, size 0x40 lma 0x20000
Loading section .text, size 0xb47c lma 0x20040
--------------------------------------------------
Any suggestions for this problem
Thanks for your help
Wilson
----------------------------------------
This mail sent through www.mywaterloo.ca
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss