Hi,
I don't know how, but I have bricked my DockStar when trying to update uBoot.
I have tried to unbrick it using JTAG port.
First using my RaspBerry Pi, unsuccessfully, then buying a Bus Pirate.
I've used OpenOCD, and tried to follow several explanations.
I was unable to access nand correctly with given explanations.
I have succeeded doing this :
Then run manually arm mcr and all mww instructions (in place of dockstar_init command).
Then, I run several checks :
Everything seems OK, so I try to reflash uboot file :
So, I have tried the load_image method :
Using a FDTI serial/usb connector, I have nothing.
DockStar LED is permanently off.
Do you think my DocStar is definitively bricked ?
Maybe I'm doing something wrong ?
Do you know a magical trick ?
thanks.
I don't know how, but I have bricked my DockStar when trying to update uBoot.
I have tried to unbrick it using JTAG port.
First using my RaspBerry Pi, unsuccessfully, then buying a Bus Pirate.
I've used OpenOCD, and tried to follow several explanations.
I was unable to access nand correctly with given explanations.
I have succeeded doing this :
> soft_reset_halt (wait about 1/2 sec) > soft_reset_halt > nand probe 0 NAND flash device 'NAND 256MiB 3.3V 8-bit (Micron)' found
Then run manually arm mcr and all mww instructions (in place of dockstar_init command).
> arm mcr 15 0 0 1 0 0x00052078 > mww 0xD0001400 0x43000C30 > mww 0xD0001404 0x39543000 (and so on...)
Then, I run several checks :
> nand probe 0
NAND flash device 'NAND 256MiB 3.3V 8-bit (Micron)' found
> nand list
#0: NAND 256MiB 3.3V 8-bit (Micron) pagesize: 2048, buswidth: 8,
blocksize: 131072, blocks: 2048
> nand check_bad_blocks 0
bad block: 1656
checked NAND flash device for bad blocks, use "nand info" command to list blocks
> nand info 0
(...)
#1654: 0x0cec0000 (128kB) erase state unknown
#1655: 0x0cee0000 (128kB) erase state unknown
#1656: 0x0cf00000 (128kB) erase state unknown (marked bad)
#1657: 0x0cf20000 (128kB) erase state unknown
I have 1 bad block.
Everything seems OK, so I try to reflash uboot file :
> nand erase 0 0x0 0xa0000 erased blocks 0 to 4 on NAND flash device #0 'NAND 256MiB 3.3V 8-bit' > nand write 0 uboot.kwb 0 oob_softecc_kw wrote file uboot.kwb to NAND flash 0 up to offset 0x00080000 in 638.884583s (0.801 KiB/s)But... I was unable to restart my Dockstar.
So, I have tried the load_image method :
> load_image uboot.kwb 0x800000 524288 bytes written at address 0x00800000 downloaded 524288 bytes in 249.925323s (2.049 KiB/s) > dump_image uboot_NAND.kwb 0x800000 0x80000 dumped 524288 bytes in 250.210892s (2.046 KiB/s) --> Compare this image with original one --> OK. > resume 0x800200But... nothing happens.
Using a FDTI serial/usb connector, I have nothing.
DockStar LED is permanently off.
Do you think my DocStar is definitively bricked ?
Maybe I'm doing something wrong ?
Do you know a magical trick ?
thanks.