Thank you for your response.
I've connected all the cables, including SRST and TRST to my JTAG adapter. It's configured in buffered mode (wiggler clone). I've successfully identified the CPU using urJTAG and OpenOCD. I used OpenOCD as it contains some scripts for the Sheevaplug. But I can't write to the flash, same error as previously reported : target not halted. However after some trials it says it sucessfully write to the flash, but it doesn't work (I took the uboot.original.mtd0 from Jeff).
I tried to load various uboot.bin images to the memory using load_image and then resume (or resume 0x600000) but again nothings.
Does anyone have successfully recovered a bricked dockstar ?
EDIT : No !!! It booted after several trials. I built the uboot using Jeff's newer uboot instruction on mtd0 and typed load_image u-boot.bin and the resume 0x0. And I got the folling in the console
- Code: Select all
U-Boot 2010.06-02130-g86cf2ae-dirty (Aug 24 2010 - 13:16:07)
Marvell-Sheevaplug
SoC: Kirkwood 88F6281_A0
DRAM: 128 MiB
NAND: 256 MiB
*** Warning - bad CRC or NAND, using default environment
In: serial
Out: serial
Err: serial
Net: egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot: 0
(Re)start USB...
USB: Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 3 USB Device(s) found
scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
1432436 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
4702627 bytes read
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-2.6.32-5
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1432372 Bytes = 1.4 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: initramfs
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 4702563 Bytes = 4.5 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
[ 0.907362] console [ttyS0] enabled
[ 0.911438] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron NAND 25
6MiB 3,3V 8-bit)
[ 0.920047] Scanning device for bad blocks
[ 0.955009] Bad eraseblock 831 at 0x0000067e0000
[ 0.962357] Bad eraseblock 904 at 0x000007100000
[ 0.977898] Bad eraseblock 1198 at 0x0000095c0000
[ 1.014087] Creating 3 MTD partitions on "orion_nand":
[ 1.019261] 0x000000000000-0x000000100000 : "u-boot"
[ 1.024816] 0x000000100000-0x000000500000 : "uImage"
[ 1.030301] 0x000000500000-0x000010000000 : "root"
...
Checking root file system...fsck from util-linux-ng 2.17.2
/dev/sda1 was not cleanly unmounted, check forced.
[ 17.9<0>[ 17.965364] InWarning... fsck.ext2 for device /dev/sda1 exited wit
h signal 11.
fsck died with exit status 8
failed (code 8).
An automatic file system check (fsck) of the root filesystem failed. A manual fs
ck must be performed, then the system restarted. The fsck should be performed in
maintenance mode with the root filesystem mounted in read-only mode. ...
But as you can see, I got a little problem with the filesystem... and now I try to do the same things again but it doesn't work anymore ! I had hope when I saw all the lines in the console.. Now I'm wondering why it doesn't work anymore...