[Solved] Yet another bricked DockStar September 07, 2017 06:56AM |
Registered: 10 years ago Posts: 10 |
> 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
> arm mcr 15 0 0 1 0 0x00052078 > mww 0xD0001400 0x43000C30 > mww 0xD0001404 0x39543000 (and so on...)
> 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 unknownI have 1 bad block.
> 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.
> 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.
Re: Yet another bricked DockStar September 07, 2017 04:48PM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Yet another bricked DockStar September 07, 2017 04:53PM |
Registered: 10 years ago Posts: 10 |
Re: Yet another bricked DockStar September 13, 2017 02:00AM |
Registered: 10 years ago Posts: 10 |
Dockstar TxD to FTDI RxD Dockstar RxD to FTDI TxDI have tried with another DockStar, and it's working like that.
> load_image uboot.kwb 0x800000 then > verify_image_checksum uboot.kwb 0x800000 > verify_image uboot.kwb 0x800000 > dump_image uboot_NAND.kwb 0x800000 0x80000 $ diff uboot.kwb uboot_NAND.kwb
> nand erase 0 0x0 0xa0000 > nand write 0 uboot.kwb 0 oob_softecc_kw then > nand verify 0 uboot.kwb 0 oob_softecc_kw > nand dump 0 "uboot_NAND.kwb" 0 0x800 oob_only $ diff uboot.kwb uboot_NAND.kwb
> resume 0x800200
# nanddump -no -l 0x80000 -f uboot-mtd0-dump /dev/mtd0 Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x00080000... # sha1sum uboot-mtd0-dump b4bff0fa52030b056b26ff18f7dbf3f59133de2e uboot-mtd0-dump
> verify_image uboot.kwb 0x800000 verified 524288 bytes in 248.388412s (2.061 KiB/s) > 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)Raspberry Pi :
> verify_image uboot.kwb 0x800000 verified 524288 bytes in 2.328349s (219.898 KiB/s) > nand write 0 uboot.kwb 0 oob_softecc_kw wrote file uboot.kwb to NAND flash 0 up to offset 0x00080000 in 249.033127s (2.056 KiB/s)
Re: [Solved] Yet another bricked DockStar October 16, 2018 01:29PM |
Registered: 6 years ago Posts: 23 |
DockStar> setenv scan_disk 'echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start"; setenv scan_ide "ide reset"; setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done'
** Too many args (max. 32) **
DockStar>
Re: [Solved] Yet another bricked DockStar October 16, 2018 08:38PM |
Registered: 9 years ago Posts: 465 |