Kernel hangs on a 405EP eval. board with U-Boot

llandre r&d at wawnet.biz
Wed May 7 02:36:56 EST 2003


Hi all!

I ported U-Boot to the 405EP evaluation board (Bubinga). I download and
decompress the kernel image (2.4.21-pre5) through it and everything seems
ok. When U-Boot transfers the control to the kernel at the address 0, it hangs:
------------------------------------------------------------------------------------
U-Boot 0.2.0 (May  6 2003 - 12:04:15)

CPU:   IBM PowerPC 405EP Rev. A at 266.666 MHz (PLB=133, OPB=66, EBC=66 MHz)
            PCI async ext clock used (sync mode not supported), internal
PCI arbd           16 kB I-Cache 16 kB D-Cache
Board: ### No HW ID - assuming WALNUT405
I2C:   ready
DRAM:  128 MB
Top of RAM usable for U-Boot at: 08000000
Reserving 192k for U-Boot at: 07fd0000
Reserving 132k for malloc() at: 07faf000
Reserving 112 Bytes for Board Info at: 07faef90
Reserving 44 Bytes for Global Data at: 07faef64
Stack Pointer at: 07faef48
New Stack Pointer is: 07faef48
Now running in RAM - U-Boot at: 07fd0000
FLASH: 512 kB
[board.c, 767] Calling env_relocate ...
env_relocate[203] offset = 0x8050000
env_relocate[221] malloced ENV at 07faf008
In:    serial
Out:   serial
Err:   serial
KGDB:  kgdb ready
ready
U-Boot relocated to 07fd0000
[board.c, 913] Calling interrupt_init ...
### main_loop entered: bootdelay=3

### main_loop: bootcmd="tftpboot 0x400000 vmlinux.PPCBoot"
Hit any key to stop autoboot:  0
ENET Speed is 10 Mbps - HALF duplex connection
TX_BUFF 0 @ 0x07fb0228
RX_BUFF 0 @ 0x07ff3fc0
RX_BUFF 1 @ 0x07ff45c0
RX_BUFF 2 @ 0x07ff4bc0
RX_BUFF 3 @ 0x07ff51c0
Install interrupt for vector 9 ==> 07fd49c0
Install interrupt for vector 10 ==> 07fd49c0
Install interrupt for vector 11 ==> 07fd49c0
Install interrupt for vector 12 ==> 07fd49c0
Install interrupt for vector 13 ==> 07fd49c0
Install interrupt for vector 14 ==> 07fd49c0
Install interrupt for vector 15 ==> 07fd49c0
ARP broadcast 1
Got good ARP - start TFTP
TFTP from server 192.168.10.6; our IP address is 192.168.10.203
Filename 'vmlinux.PPCBoot'.
Load address: 0x400000
Loading: #################################################################
          #########################################
done
Bytes transferred = 539758 (83c6e hex)
Automatic boot of image at addr 0x00400000 ...
## Booting image at 00400000 ...
    Image Name:   Linux-2.4.21-pre5
    Created:      2003-05-06  11:42:31 UTC
    Image Type:   PowerPC Linux Kernel Image (gzip compressed)
    Data Size:    539694 Bytes = 527 kB
    Load Address: 00000000
    Entry Point:  00000000
    Verifying Checksum ... OK
    Uncompressing Kernel Image ... OK
## Current stack ends at 0x07FAE5B8 => set upper limit to 0x00800000
## cmdline at 0x007FFC00 ... 0x007FFC16
bd address  = 0x07FAEF90
memstart    = 0x00000000
memsize     = 0x08000000
flashstart  = 0xFFF80000
flashsize   = 0x00080000
flashoffset = 0x00030000
sramstart   = 0x00000000
sramsize    = 0x00000000
bootflags   = 0x6BBA3A55
procfreq    = 266.666 MHz
plb_busfreq = 133.333 MHz
pci_busfreq = 33.333 MHz
ethaddr     = 00:50:C2:1E:AF:FE
IP addr     = 192.168.10.203
baudrate    = 115200 bps
No initrd
## Transferring control to Linux (at address 00000000) ...
------------------------------------------------------------------------------------

I started investigating the problem with the aid of the BDI2000. The kernel
hangs in the early_init function, just before invoking identify_cpu.
Here is what I do:
1) Under BDI, I set a break at the logical address of early_init
(0xc012dd54) and then I run the U-Boot from Flash. U-Boot automatically
downloads the file vmlinux.PPCBoot via TFTP, decompresses it at 0 and jumps
there at the beginning of the kernel. After a while the CPU is halted
because it reached the break (see the following dump):
------------------------------------------------------------------------------------
PPC405EP>res
- TARGET: processing user reset request
- TARGET: reseting target passed
- TARGET: processing target startup ....
- TARGET: processing target startup passed
PPC405EP>go
- TARGET: target has entered debug mode
PPC405EP>bi 0xc012dd54
Breakpoint identification is 0
PPC405EP>go
- TARGET: target has entered debug mode
------------------------------------------------------------------------------------

2a) Now I start a GDB session. I perform some step inside early_init but
after few of them a crash occurs (I apologize for the long dump but I
preferred to enable the remote protocol debug):
------------------------------------------------------------------------------------
[root at llandrews linuxppc_2_4_devel]# ppc-linux-gdb vmlinux -x linux.gdb
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=i386-redhat-linux --target=ppc-linux"...
Setting up the environment for debugging - PPC405EP Ev. Board.
early_init (r3=0x0, r4=0x11c2a0, r5=0x0) at setup.c:265
265     {
(ppc-linux-gdb) n
early_init (r3=0x0, r4=0x11c2a0, r5=0x0) at setup.c:268
268             unsigned long offset = reloc_offset();
(ppc-linux-gdb) n
271             phys = offset + KERNELBASE;
(ppc-linux-gdb) n
275             memset_io(PTRRELOC(&__bss_start), 0, &_end - &__bss_start);
(ppc-linux-gdb) set debug remote 1
(ppc-linux-gdb) n
Sending packet: $Z0,c0000000,4#c9...Ack
Packet received: OK
Sending packet: $s#73...Ack
Packet received: S05
Sending packet: $g#67...Ack
Packet received:
c012dd68c011e000c011c03000000000c00066bc00000000007ffc00007ffc1607fda6c40a7c5ac50000000800000018000000000000000007ff1500007ffc160000000100000000ffffffff007ffc000000000007fedbf007fae6580000000100000000007ffb90c000000000000000c01600000000000000000000007ffb9000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c012dd740000103022000004c012dd6807fe623000000000deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef51210950deadbeefdeadbeefdeadbeefdeadbe
 e!
fdea
d
beefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef0000000007fedbf0000000000011c2a0c00022d800001030798a128600000000deadbeefdeadbeefdeadbeefdeadbeef00000000000000000000000000000000cc0000000440000000028dc5deadbeefdeadbeef00000200000000000410000080000001c012dd74c012dd540000000000000000008000008000000100000000000000000000000000000000deadbeef000000000000000000000000deadbeefdeadbeef
Sending packet: $s#73...Ack
Packet received: S05
Sending packet: $g#67...Ack
Packet received:
c012dd68c011e000c011c03000000000c00066bc00000000007ffc00007ffc1607fda6c40a7c5ac50000000800000018000000000000000007ff1500007ffc160000000100000000ffffffff007ffc000000000007fedbf007fae6580000000100000000007ffb90c000000000000000c01637840000000000000000007ffb9000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c012dd780000103022000004c012dd6807fe623000000000deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef51210950deadbeefdeadbeefdeadbeefdeadbe
 e!
fdea
d
beefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef0000000007fedbf0000000000011c2a0c00022d800001030798a129000000000deadbeefdeadbeefdeadbeefdeadbeef00000000000000000000000000000000cc0000000440000000028dbbdeadbeefdeadbeef00000200000000000410000080000001c012dd78c012dd540000000000000000008000008000000100000000000000000000000000000000deadbeef000000000000000000000000deadbeefdeadbeef
Sending packet: $s#73...Ack
Packet received: S05
Sending packet: $g#67...Ack
Packet received:
c012dd68c011e000c011c03000000000c00066bc00000000007ffc00007ffc1607fda6c40a7c5ac50000000800000018000000000000000007ff1500007ffc160000000100000000ffffffff007ffc000000000007fedbf007fae6580000000100000000007ffb90c000000000000000c0163784c014000000000000007ffb9000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c012dd7c0000103022000004c012dd6807fe623000000000deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef51210950deadbeefdeadbeefdeadbeefdeadbe
 e!
fdea
d
beefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef0000000007fedbf0000000000011c2a0c00022d800001030798a129a00000000deadbeefdeadbeefdeadbeefdeadbeef00000000000000000000000000000000cc0000000440000000028db1deadbeefdeadbeef00000200000000000410000080000001c012dd7cc012dd540000000000000000008000008000000100000000000000000000000000000000deadbeef000000000000000000000000deadbeefdeadbeef
Sending packet: $s#73...Ack
Packet received: S05
Sending packet: $g#67...Ack
Packet received:
c012dd68c011e000c011c03000000000c00066bc00000000007ffc00007ffc1607fda6c40a7c5ac50000000800000018000000000000000007ff1500007ffc160000000100000000ffffffff007ffc000000000007fedbf007fae6580000000100000000007ffb90c000000000000000c0163784c013f00000000000007ffb9000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c012dd800000103022000004c012dd6807fe623000000000deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef51210950deadbeefdeadbeefdeadbeefdeadbe
 e!
fdea
d
beefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef0000000007fedbf0000000000011c2a0c00022d800001030798a12c300000000deadbeefdeadbeefdeadbeefdeadbeef00000000000000000000000000000000cc0000000440000000028d88deadbeefdeadbeef00000200000000000410000080000001c012dd80c012dd540000000000000000008000008000000100000000000000000000000000000000deadbeef000000000000000000000000deadbeefdeadbeef
Sending packet: $s#73...Ack
Packet received: S05
Sending packet: $g#67...Ack
Packet received:
c012dd68c011e000c011c030c013f000c00066bc00000000007ffc00007ffc1607fda6c40a7c5ac50000000800000018000000000000000007ff1500007ffc160000000100000000ffffffff007ffc000000000007fedbf007fae6580000000100000000007ffb90c000000000000000c0163784c013f00000000000007ffb9000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c012dd840000103022000004c012dd6807fe623000000000deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef51210950deadbeefdeadbeefdeadbeefdeadbe
 e!
fdea
d
beefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef0000000007fedbf0000000000011c2a0c00022d800001030798a12cd00000000deadbeefdeadbeefdeadbeefdeadbeef00000000000000000000000000000000cc0000000440000000028d7edeadbeefdeadbeef00000200000000000410000080000001c012dd84c012dd540000000000000000008000008000000100000000000000000000000000000000deadbeef000000000000000000000000deadbeefdeadbeef
Sending packet: $s#73...Ack
Packet received: S05
Sending packet: $g#67...Ack
Packet received:
c012dd68c011e000c011c030c013f000c00066bc00000000007ffc00007ffc1607fda6c40a7c5ac50000000800000018000000000000000007ff1500007ffc160000000100000000ffffffff007ffc000000000007fedbf007fae6580000000100000000007ffb90c000000000000000c0163784c013f00000000000007ffb9000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c00066d40000103022000004c012dd8807fe623000000000deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef51210950deadbeefdeadbeefdeadbeefdeadbe
 e!
fdea
d
beefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef0000000007fedbf0000000000011c2a0c00022d800001030798a12d800000000deadbeefdeadbeefdeadbeefdeadbeef00000000000000000000000000000000cc0000000440000000028d73deadbeefdeadbeef00000200000000000410000080000001c00066d4c012dd540000000000000000008000008000000100000000000000000000000000000000deadbeef000000000000000000000000deadbeefdeadbeef
Sending packet: $mc012dd84,c#26...Ack
Packet received: 4bed8951388000007cbde050
Sending packet: $mc012dd84,c#26...Ack
Packet received: 4bed8951388000007cbde050
Sending packet: $mc012dd84,c#26...Ack
Packet received: 4bed8951388000007cbde050
Sending packet: $Z0,c012dd88,4#44...Ack
Packet received: OK
Sending packet: $c#63...Ack
Packet received: S05
Sending packet: $g#67...Ack
Packet received:
c012dd88c011e000c011c030c013f000c00066dc00000000007ffc00007ffc1607fda6c40a7c5ac50000000800000018000000000000000007ff1500007ffc160000000100000000ffffffff007ffc000000000007fedbf007fae6580000000100000000007ffb90c000000000000000c0163784c013f00000000000007ffb9000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c012dd880000103022000004c012dd8807fe623000000000deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef51210950deadbeefdeadbeefdeadbeefdeadbe
 e!
fdea
d
beefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef0000000007fedbf0000000000011c2a0c00022d800001030798a131000000000deadbeefdeadbeefdeadbeefdeadbeef00000000000000000000000000000000cc0000000440000000028d3bdeadbeefdeadbeef0000020000000000001400008000000100000000c012dd540000000000000000008000008000000100000000000000000000000000000000deadbeef000000000000000000000000deadbeefdeadbeef
Sending packet: $mc012dd84,c#26...Ack
Packet received: 4bed8951388000007cbde050
Sending packet: $z0,c012dd88,4#64...Ack
Packet received: OK
Sending packet: $s#73...Ack
Packet received: S05
Sending packet: $g#67...Ack
Packet received:
c012dd88c011e000c011c030c013f0000000000000000000007ffc00007ffc1607fda6c40a7c5ac50000000800000018000000000000000007ff1500007ffc160000000100000000ffffffff007ffc000000000007fedbf007fae6580000000100000000007ffb90c000000000000000c0163784c013f00000000000007ffb9000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c012dd8c0000103022000004c012dd8807fe623000000000deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef51210950deadbeefdeadbeefdeadbeefdeadbe
 e!
fdea
d
beefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef0000000007fedbf0000000000011c2a0c00022d800001030798a131a00000000deadbeefdeadbeefdeadbeefdeadbeef00000000000000000000000000000000cc0000000440000000028d31deadbeefdeadbeef00000200000000000410000080000001c012dd8cc012dd540000000000000000008000008000000100000000000000000000000000000000deadbeef000000000000000000000000deadbeefdeadbeef
Sending packet: $s#73...Ack
Packet received: S05
Sending packet: $g#67...Ack
Packet received:
c012dd88c011e000c011c030c013f0000000000000024784007ffc00007ffc1607fda6c40a7c5ac50000000800000018000000000000000007ff1500007ffc160000000100000000ffffffff007ffc000000000007fedbf007fae6580000000100000000007ffb90c000000000000000c0163784c013f00000000000007ffb9000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c012dd900000103022000004c012dd8807fe623000000000deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef51210950deadbeefdeadbeefdeadbeefdeadbe
 e!
fdea
d
beefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef0000000007fedbf0000000000011c2a0c00022d800001030798a132400000000deadbeefdeadbeefdeadbeefdeadbeef00000000000000000000000000000000cc0000000440000000028d27deadbeefdeadbeef00000200000000000410000080000001c012dd90c012dd540000000000000000008000008000000100000000000000000000000000000000deadbeef000000000000000000000000deadbeefdeadbeef
Sending packet: $s#73...Ack
Packet received: S05
Sending packet: $g#67...Ack
Packet received:
c012dd88c011e000c011c030c013f0000000000000024784007ffc00007ffc1607fda6c40a7c5ac50000000800000018000000000000000007ff1500007ffc160000000100000000ffffffff007ffc000000000007fedbf007fae6580000000100000000007ffb90c000000000000000c0163784c013f00000000000007ffb9000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c00114580000103022000004c012dd9407fe623000000000deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef51210950deadbeefdeadbeefdeadbeefdeadbe
 e!
fdea
d
beefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef0000000007fedbf0000000000011c2a0c00022d800001030798a134e00000000deadbeefdeadbeefdeadbeefdeadbeef00000000000000000000000000000000cc0000000440000000028cfddeadbeefdeadbeef00000200000000000410000080000001c0011458c012dd540000000000000000008000008000000100000000000000000000000000000000deadbeef000000000000000000000000deadbeefdeadbeef
Sending packet: $mc012dd90,c#23...Ack
Packet received: 4bee36c97f63db7838800000
Sending packet: $mc012dd90,c#23...Ack
Packet received: 4bee36c97f63db7838800000
Sending packet: $mc012dd90,c#23...Ack
Packet received: 4bee36c97f63db7838800000
Sending packet: $Z0,c012dd94,4#41...Ack
Packet received: OK
Sending packet: $c#63...Ack
Packet received: S05
Sending packet: $g#67...Ack
Packet received:
000091e1c011e000c011c030c013f0000000000000000000c0163780007ffc1607fda6c40a7c5ac50000000800000018000000000000000007ff1500007ffc160000000100000000ffffffff007ffc000000000007fedbf007fae6580000000100000000007ffb90c000000000000000c0163784c013f00000000000007ffb9000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c012dd940000103022000004c012dd940000000000000000deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef51210950deadbeefdeadbeefdeadbeefdeadbe
 e!
fdea
d
beefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef0000000007fedbf0000000000011c2a0c00022d80000103079907c2200000000deadbeefdeadbeefdeadbeefdeadbeef00000000000000000000000000000000cc00000004400000000035d3deadbeefdeadbeef0000020000000000001400008000000100000000c012dd540000000000000000008000008000000100000000000000000000000000000000deadbeef000000000000000000000000deadbeefdeadbeef
Sending packet: $mc012dd90,c#23...Ack
Packet received: 4bee36c97f63db7838800000
Sending packet: $z0,c012dd94,4#61...Ack
Packet received: OK
Sending packet: $mc012dd90,c#23...Ack
Packet received: 4bee36c97f63db7838800000
Sending packet: $z0,c0000000,4#e9...Ack
Packet received: OK
281             identify_cpu(offset, 0);
(ppc-linux-gdb) si
Sending packet: $Z0,c0000000,4#c9...Ack
Packet received: OK
Sending packet: $s#73...Ack
Packet received: S05
Sending packet: $g#67...Ack
Packet received:
000091e1c011e000c011c030000000000000000000000000c0163780007ffc1607fda6c40a7c5ac50000000800000018000000000000000007ff1500007ffc160000000100000000ffffffff007ffc000000000007fedbf007fae6580000000100000000007ffb90c000000000000000c0163784c013f00000000000007ffb9000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c012dd980000103022000004c012dd940000000000000000deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef51210950deadbeefdeadbeefdeadbeefdeadbe
 e!
fdea
d
beefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef0000000007fedbf0000000000011c2a0c00022d80000103079907c2c00000000deadbeefdeadbeefdeadbeefdeadbeef00000000000000000000000000000000cc00000004400000000035c9deadbeefdeadbeef00000200000000000410000080000001c012dd98c012dd540000000000000000008000008000000100000000000000000000000000000000deadbeef000000000000000000000000deadbeefdeadbeef
Sending packet: $mc012dd90,c#23...Ack
Packet received: 4bee36c97f63db7838800000
Sending packet: $mc012dd90,c#23...Ack
Packet received: 4bee36c97f63db7838800000
Sending packet: $z0,c0000000,4#e9...Ack
Packet received: OK
0xc012dd98      281             identify_cpu(offset, 0);
(ppc-linux-gdb) si
Sending packet: $Z0,c0000000,4#c9...Ack
Packet received: OK
Sending packet: $s#73...Ack
Packet received: S05
Sending packet: $g#67...Ack
Packet received:
000091e1c011e000c011c030000000000000000000000000c0163780007ffc1607fda6c40a7c5ac50000000800000018000000000000000007ff1500007ffc160000000100000000ffffffff007ffc000000000007fedbf007fae6580000000100000000007ffb90c000000000000000c0163784c013f00000000000007ffb9000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c012dd9c0000103022000004c012dd940000000000000000deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef51210950deadbeefdeadbeefdeadbeefdeadbe
 e!
fdea
d
beefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef0000000007fedbf0000000000011c2a0c00022d80000103079907c3600000000deadbeefdeadbeefdeadbeefdeadbeef00000000000000000000000000000000cc00000004400000000035bfdeadbeefdeadbeef00000200000000000410000080000001c012dd9cc012dd540000000000000000008000008000000100000000000000000000000000000000deadbeef000000000000000000000000deadbeefdeadbeef
Sending packet: $mc012dd90,c#23...Ack
Packet received: 4bee36c97f63db7838800000
Sending packet: $mc012dd90,c#23...Ack
Packet received: 4bee36c97f63db7838800000
Sending packet: $z0,c0000000,4#e9...Ack
Packet received: OK
0xc012dd9c      281             identify_cpu(offset, 0);
(ppc-linux-gdb) si
Sending packet: $Z0,c0000000,4#c9...Ack
Packet received: OK
Sending packet: $s#73...Ack
Packet received: S05
Sending packet: $g#67...Ack
Packet received:
000091e1c011e000c011c030000000000000000000000000c0163780007ffc1607fda6c40a7c5ac50000000800000018000000000000000007ff1500007ffc160000000100000000ffffffff007ffc000000000007fedbf007fae6580000000100000000007ffb90c000000000000000c0163784c013f00000000000007ffb9000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c00067740000103022000004c012dda00000000000000000deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef51210950deadbeefdeadbeefdeadbeefdeadbe
 e!
fdea
d
beefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef0000000007fedbf0000000000011c2a0c00022d80000103079907c6000000000deadbeefdeadbeefdeadbeefdeadbeef00000000000000000000000000000000cc0000000440000000003595deadbeefdeadbeef00000200000000000410000080000001c0006774c012dd540000000000000000008000008000000100000000000000000000000000000000deadbeef000000000000000000000000deadbeefdeadbeef
Sending packet: $mc012dd9c,c#56...Ack
Packet received: 4bed89d97f63db784bed8a11
Sending packet: $mc012dd9c,c#56...Ack
Packet received: 4bed89d97f63db784bed8a11
Sending packet: $z0,c0000000,4#e9...Ack
Packet received: OK
0xc0006774 in identify_cpu () at time.c:439
439     }
(ppc-linux-gdb) si
Sending packet: $Z0,c0000000,4#c9...Ack
Packet received: OK
Sending packet: $s#73...Ack
Packet received: S11
Sending packet: $g#67...Ack
Packet received:
000091e1c011e000c013f0c4c01400000000100000000000c0163780007ffc1607fda6c40a7c5ac50000000800000018000000000000000007ff1500007ffc160000000100000000ffffffff007ffc000000000007fedbf007fae6580000000100000000007ffb90c000000000000000c0163784c013f00000000000007ffb9000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007000000100022000004c012dda8ffffffff00000000deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef51210950deadbeefdeadbeefdeadbeefdeadbe
 e!
fdea
d
beefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef0000000007fedbf0000000000011c2a000000704000010008062230900000000deadbeefdeadbeefdeadbeefdeadbeef080000000000000c0000000000000000cc00000004400000000028cedeadbeefdeadbeef00000200000000000000000080000001c0006778c012dd540000000000000000008000008000000100000000000000000000000000000000deadbeef000000000000000000000000deadbeefdeadbeef

Program received signal SIGSTOP, Stopped (signal).
Sending packet: $mc012dda4,c#4f...Ack
Packet received: 4bed8a117f43d37880010024
Sending packet: $z0,c0000000,4#e9...Ack
Packet received: OK
0x00000700 in ?? ()
(ppc-linux-gdb)
------------------------------------------------------------------------------------


2b) The same thing happens if I use only the BDI telnet interface
(0xc0006774 is the address of the last instruction I successfully stepped
through under GDB):
------------------------------------------------------------------------------------
PPC405EP>res
- TARGET: processing user reset request
- TARGET: reseting target passed
- TARGET: processing target startup ....
- TARGET: processing target startup passed
PPC405EP>bi 0xc012dd54
Breakpoint identification is 0
PPC405EP>go
- TARGET: target has entered debug mode
PPC405EP>bi 0xc0006774
Breakpoint identification is 1
PPC405EP>go
- TARGET: target has entered debug mode
PPC405EP>t
     Target state      : debug mode
     Debug entry cause : JTAG stop request
     Current PC        : 0x00000724
     Current CR        : 0x22000004
     Current MSR       : 0x00001000
     Current LR        : 0xc012ddac
# Step timeout detected
PPC405EP>
------------------------------------------------------------------------------------


Anybody can give me some help? Do you think the procedure I used is correct?

Thanks in advance,

llandre


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list