Terminal 1: u-boot ------------------------------------------------------------------------------- Using egiga0 device TFTP from server 192.168.178.20; our IP address is 192.168.178.26 Filename 'uImage'. Load address: 0x2000000 Loading: T T T T T T T T T T Retry count exceeded; starting again ## Booting image at 02000000 ... Bad Magic Number Marvell>> Terminal 2: openOCD ------------------------------------------------------------------------------- lmde openocd # openocd Open On-Chip Debugger 0.5.0 (2011-08-11-06:56) Licensed under GNU GPL v2 For bug reports, read http://openocd.berlios.de/doc/doxygen/bugs.html Info : only one transport option; autoselect 'jtag' 2000 kHz trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain adapter_nsrst_delay: 200 jtag_ntrst_delay: 200 dcc downloads are enabled sheevaplug_reflash_uboot_env Info : clock speed 2000 kHz Info : JTAG tap: feroceon.cpu tap/device found: 0x20a023d3 (mfg: 0x1e9, part: 0x0a02, ver: 0x2) Info : Embedded ICE version 0 Info : feroceon.cpu: hardware has 1 breakpoint/watchpoint unit Info : accepting 'telnet' connection from 4444 requesting target halt and executing a soft reset target state: halted target halted in ARM state due to debug-request, current mode: Supervisor cpsr: 0x000000d3 pc: 0x00000000 MMU: disabled, D-Cache: disabled, I-Cache: disabled Error: DCC write failed, expected end address 0xc065a714 got 0xc0008000 in procedure 'load_image' 6629140 bytes written at address 0xc0008000 downloaded 6629140 bytes in 71.194855s (90.930 KiB/s) Info : accepting 'gdb' connection from 3333 Warn : acknowledgment received, but no packet pending Error: Unable to set 32 bit software breakpoint at address c05ee48c - check that memory is read/writable Error: Unable to set 32 bit software breakpoint at address c05ee48c - check that memory is read/writable Terminal 3: netcat ------------------------------------------------------------------------------- lmde tux # netcat localhost 4444 ????????Open On-Chip Debugger > soft_reset_halt soft_reset_halt requesting target halt and executing a soft reset target state: halted target halted in ARM state due to debug-request, current mode: Supervisor cpsr: 0x000000d3 pc: 0x00000000 MMU: disabled, D-Cache: disabled, I-Cache: disabled > load_image /home/tux/aaa/arm/she/linux-3.6.9/vmlinux load_image /home/tux/aaa/arm/she/linux-3.6.9/vmlinux DCC write failed, expected end address 0xc065a714 got 0xc0008000 in procedure 'load_image' > load_image /home/tux/aaa/arm/she/linux-3.6.9/vmlinux load_image /home/tux/aaa/arm/she/linux-3.6.9/vmlinux 6629140 bytes written at address 0xc0008000 downloaded 6629140 bytes in 71.194855s (90.930 KiB/s) accepting 'gdb' connection from 3333 acknowledgment received, but no packet pending Unable to set 32 bit software breakpoint at address c05ee48c - check that memory is read/writable Unable to set 32 bit software breakpoint at address c05ee48c - check that memory is read/writable > Terminal 4: gdb ------------------------------------------------------------------------------- lmde linux-3.6.9 # arm-linux-gdb ./vmlinux GNU gdb (GDB) 7.4.1 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-unknown-linux-uclibcgnueabi". For bug reporting instructions, please see: ... Reading symbols from /home/tux/aaa/arm/she/linux-3.6.9/vmlinux...done. (gdb) target remote localhost:3333 Remote debugging using localhost:3333 0x00000000 in ?? () (gdb) break start_kernel Breakpoint 1 at 0xc05ee48c: file init/main.c, line 467. (gdb) l 1 /* 2 * linux/init/main.c 3 * 4 * Copyright (C) 1991, 1992 Linus Torvalds 5 * 6 * GK 2/5/95 - Changed to support mounting root fs via NFS 7 * Added initrd & change_root: Werner Almesberger & Hans Lermen, Feb '96 8 * Moan early if gcc is old, avoiding bogus kernels - Paul Gortmaker, May '96 9 * Simplified starting of init: Michael A. Griffith 10 */ (gdb) c Continuing. Unable to set 32 bit software breakpoint at address c05ee48c - check that memory is read/writable