This is the mail archive of the ecos-discuss@sourceware.org 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]

redboot gdb stub question.


Hi,

I'm building a new redboot for my mips 4kc based board.

the board already has a redboot preloaded and my intention is to
upgrade the amount of RAM (16MB->32MB).

I've built a RAM version of the board and upon loading it, it throws
gdb stub string in the console



RedBoot> load -r -v -b 0x80041000 redboot.ram.bin
Using default protocol (TFTP)
-
Raw file loaded 0x80041000-0x80083c77, assumed entry at 0x80041000
RedBoot> go 0x800410bc
$O666C6173685F6877725F696E69743A20666C61736820646576696365202D2069643D32320A#18

after input 3 + character from the  console (serial port), the boot
goes on normally.

.

If I try to debug this with gdb, I got the attached response
mipsisa32-elf-gdb -nw -b 9600  install/bin/redboot.elf
GNU gdb 5.3 (eCosCentric)
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=mipsisa32-elf"...

(gdb) set debug remote 1
(gdb) set remotelogfile /dev/tty
(gdb) target remote /dev/ttyUSB0
Remote debugging using /dev/ttyUSB0

w +Sending packet: $Hc-1#09...$Hc-1#09
r $Packet instead of Ack, ignoring it
O666C6173685F6877725F696E69743A20737461727420307861383030303030302C20656E6420307861383766303030300A#B0$Packet
instead of Ack, ignoring it
O666C6173685F6877725F696E69743A20737461727420307861383030303030302C20656E6420307861383766303030300A#B0<Timeout:
2 seconds>Sending packet: $Hc-1#09...
w $Hc-1#09
r $Packet instead of Ack, ignoring it
O666C6173685F6877725F696E69743A20737461727420307861383030303030302C20656E6420307861383766303030300A#B0<Timeout:
2 seconds>Sending packet: $Hc-1#09...
w $Hc-1#09
r $Packet instead of Ack, ignoring it
O666C6173685F6877725F696E69743A20737461727420307861383030303030302C20656E6420307861383766303030300A#B0<Timeout:
2 seconds>Sending packet: $Hc-1#09...
w $Hc-1#09
r $Packet instead of Ack, ignoring it
O666C6173685F6877725F696E69743A20737461727420307861383030303030302C20656E6420307861383766303030300A#B0<Timeout:
2 seconds><Timeout: 2 seconds>Timed out.

w -
r $O666C6173685F6877725F696E69743A20737461727420307861383030303030302C20656E6420307861383766303030300A#B0Packet
received: O666C6173685F6877725F696E69743A20737461727420307861383030303030302C20656E6420307861383766303030300A

w +Sending packet: $qC#b4...$qC#b4
r +Ack
Ethernet eth0: MAC address 00:18:84:1e:dd:90\r\nIP:
192.168.1.73/255.255.255.0, Gateway: 0.0.0.0\r\nDefault server:
192.168.1.71, DNS server IP: 0.0.0.0\r\n\r\nRedBoot(tm) bootstrap and
debug environment [RAM]\r\nNon-certified release, version v2_0 - built
11:35:16, Jun 13 2008\r\n\r\n\r\nCopyright (C) 2000, 2001, 2002, Red
Hat, Inc.\r\n\r\nRAM: 0x80010000-0x81000000, 0x8009cbb0-0x807d1ce0
available\r\nFLASH: 0xa8000000 - 0xa87f0000, 128 blocks of 0x00010000
bytes each.\r\n== Executing boot script in 1.000 seconds - enter ^C to
abort\r\nRedBoot> qC#b4<Timeout: 2 seconds>Timed out.

w -
r -<Timeout: 2 seconds>Timed out.

w -
r -<Timeout: 2 seconds>Timed out.

w -Ignoring packet error, continuing...
+Sending packet: $qOffsets#4b...$qOffsets#4b
r -Nak
Sending packet: $qOffsets#4b...
w $qOffsets#4b
r <Timeout: 2 seconds>Sending packet: $qOffsets#4b...
w $qOffsets#4b
r <Timeout: 2 seconds>Sending packet: $qOffsets#4b...
w $qOffsets#4b
r <Timeout: 2 seconds><Timeout: 2 seconds>Timed out.

w -
r <Timeout: 2 seconds>Timed out.

w -
r <Timeout: 2 seconds>Timed out.

w -Ignoring packet error, continuing...
+Couldn't establish connection to remote target
Malformed response to offset query, timeout

End of log

Please help and thanks in advance.

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


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