This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Evaluator 7t - Reboot and gdb difficulties


Greetings all,

I have successfully build the arm-elf tools, redboot, and default ecos 
templates.

The difficulty is getting gdb to connect to redboot, I get the results below, 
but first my questions...

Question 1: What is the difference between target remote, target rdi ???
Redboot doesn't work at all with rdi, and Angel debug doesn't work with 
remote.

Question 2:
My version of the evaluator 7t has a fourth shell in it... So I had to move 
redboot higher in memory. I made changes to the reserved bootloader to 
accommodate the 30000 reserved space and the interrupt entry point to 
0x01830000 from 0x18020000.
Nothing worked without these changes.

Has anyone successfully loaded RedBoot to other places in the flash?

Thanks in advance,

James.

In minicom I see this:
ARM Evaluator7T Boot Strap Loader Release 1.01
Press ENTER within 2 seconds to stop autoboot
+
RedBoot(tm) bootstrap and debug environment [ROM]
Non-certified release, version UNKNOWN - built 12:03:21, May 18 2002

Copyright (C) 2000, 2001, 2002, Red Hat, Inc.

RAM: 0x00000000-0x00080000, 0x0000b758-0x00080000 available
RedBoot>

Then exiting minicom and attaching arm-elf-gdb:

james@jupiter [14:23:01] ~/development/evaluator7t$ arm-elf-gdb hello
GNU gdb 5.1.1
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) set remotebaud 38400
(gdb) target remote /dev/ttyS0
Remote debugging using /dev/ttyS0
0x0183123c in ?? ()
(gdb) load
Loading section .text, size 0x8880 lma 0x8000
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...


I manage to get arm-elf-gdb to communicate with the bootstrap loader though...
ARM Evaluator7T Boot Strap Loader Release 1.01
Press ENTER within 2 seconds to stop autoboot
.Øx.x.ØØØØØØØØØØØØØx.Øx.x.xxàØx..x..xÿØxxàx..xàx.Øx..xxàx..x.ØxàØx.x.xx.Øxà.xxà.

james@jupiter [14:27:08] ~/development/evaluator7t$ arm-elf-gdb hello
GNU gdb 5.1.1
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) set remotebaud 57600
(gdb) target rdi /dev/ttyS0
Angel Debug Monitor V1.31 (ARM, INC. Evaluator Release v1.01)
Built for ARM7TDMI Serial, IRQ
Built Sep 26 2000
Serial Rate:  57600
RDI_info: internal error, unimplemented message
Connected to ARM RDI target.
(gdb) load
Loading section .text, size 0x8880 lma 0x8000
Loading section .rodata, size 0x230 lma 0x10880
Loading section .data, size 0x85c lma 0x10bb0
Loading section .ctors, size 0x8 lma 0x1140c
Loading section .dtors, size 0x8 lma 0x11414
Start address 0x8000, load size 37660
Transfer rate: 33475 bits/sec, 482 bytes/write.
(gdb)

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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