Lacie wireless space u-boot and jtag backup-restore with openocd March 21, 2021 08:23AM |
Registered: 3 years ago Posts: 25 |
Re: Lacie wireless space u-boot and jtag backup-restore with openocd March 21, 2021 04:13PM |
Admin Registered: 13 years ago Posts: 18,821 |
Quote
Unbricking with Serial Console & JTAG console
How to unbrick your box using serial console with kwboot
Repair Pogo E02 with Raspberry PI (JTAG) and OpenOCD
Quote
Rescue Systems
Rescue System V2 (Original)
MacPlug & SMBPLug
Rescue System Pogo V3
Rescue System V4, using a custom LEDE firmware (BETA)
Rescue System for Pogo E02 using LEDE/OpenWrt (Install with Serial Console)
Rescue System for Pogo V4/Mobile using OpenWrt (Install with NetConsole)
Re: Lacie wireless space u-boot and jtag backup-restore with openocd March 28, 2021 12:27PM |
Registered: 3 years ago Posts: 25 |
Re: Lacie wireless space u-boot and jtag backup-restore with openocd March 28, 2021 04:38PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: Lacie wireless space u-boot and jtag backup-restore with openocd March 28, 2021 11:43PM |
Registered: 9 years ago Posts: 451 |
Re: Lacie wireless space u-boot and jtag backup-restore with openocd March 29, 2021 01:09AM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: Lacie wireless space u-boot and jtag backup-restore with openocd March 31, 2021 04:06AM |
Registered: 3 years ago Posts: 25 |
Re: Lacie wireless space u-boot and jtag backup-restore with openocd April 01, 2021 12:42PM |
Registered: 3 years ago Posts: 25 |
Re: Lacie wireless space u-boot and jtag backup-restore with openocd April 01, 2021 12:45PM |
Registered: 3 years ago Posts: 25 |
Re: Lacie wireless space u-boot and jtag backup-restore with openocd April 01, 2021 12:49PM |
Registered: 3 years ago Posts: 25 |
sudo openocd -f /usr/share/openocd/scripts/board/wspace.cfgand got the output
Open On-Chip Debugger 0.10.0 Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html none separate Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'. trst_and_srst separate srst_gates_jtag trst_push_pull srst_push_pull connect_deassert_srst adapter_nsrst_delay: 200 jtag_ntrst_delay: 200 adapter speed: 2000 kHz dcc downloads are enabled Warn : use 'feroceon.cpu' as target identifier, not '0' sheevaplug_load_uboot Info : clock speed 2000 kHz Info : JTAG tap: feroceon.cpu tap/device found: 0x20a023d3 (mfg: 0x1e9 (Marvell Semiconductors), part: 0x0a02, ver: 0x2) Info : Embedded ICE version 0 Info : feroceon.cpu: hardware has 1 breakpoint/watchpoint unit
telnet 127.0.0.1 4444
Open On-Chip Debugger 0.10.0 Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html none separate Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'. trst_and_srst separate srst_gates_jtag trst_push_pull srst_push_pull connect_deassert_srst adapter_nsrst_delay: 200 jtag_ntrst_delay: 200 adapter speed: 2000 kHz dcc downloads are enabled Warn : use 'feroceon.cpu' as target identifier, not '0' sheevaplug_load_uboot Info : clock speed 2000 kHz Info : JTAG tap: feroceon.cpu tap/device found: 0x20a023d3 (mfg: 0x1e9 (Marvell Semiconductors), part: 0x0a02, ver: 0x2) Info : Embedded ICE version 0 Info : feroceon.cpu: hardware has 1 breakpoint/watchpoint unit Info : accepting 'telnet' connection on tcp/4444 invalid command name "scan_chain\" TapName Enabled IdCode Expected IrLen IrCap IrMask -- ------------------- -------- ---------- ---------- ----- ----- ------ 0 feroceon.cpu Y 0x20a023d3 0x20a023d3 4 0x01 0x0f Error: NAND flash access requires halted target Error: NAND flash access requires halted target Error: NAND flash access requires halted target Error: NAND flash access requires halted target Error: NAND flash access requires halted target Error: NAND flash access requires halted target Error: unknown NAND flash device found, manufacturer id: 0x02 device id: 0x02 invalid command name "monitor" target halted in ARM state due to debug-request, current mode: Supervisor cpsr: 0x000000d3 pc: 0xffff0000 MMU: disabled, D-Cache: disabled, I-Cache: disabled TapName Enabled IdCode Expected IrLen IrCap IrMask -- ------------------- -------- ---------- ---------- ----- ----- ------ 0 feroceon.cpu Y 0x20a023d3 0x20a023d3 4 0x01 0x0f NAND flash device 'NAND 128MiB 3.3V 8-bit (Samsung)' found #0: NAND 128MiB 3.3V 8-bit (Samsung) pagesize: 2048, buswidth: 8, blocksize: 131072, blocks: 1024
Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. Open On-Chip Debugger > scan_chain\ invalid command name "scan_chain\" > scan_chain TapName Enabled IdCode Expected IrLen IrCap IrMask -- ------------------- -------- ---------- ---------- ----- ----- ------ 0 feroceon.cpu Y 0x20a023d3 0x20a023d3 4 0x01 0x0f > nand probe 0 NAND flash access requires halted target NAND flash access requires halted target NAND flash access requires halted target NAND flash access requires halted target NAND flash access requires halted target NAND flash access requires halted target unknown NAND flash device found, manufacturer id: 0x02 device id: 0x02 > monitor flash probe 0 invalid command name "monitor" > sheevaplug_init target halted in ARM state due to debug-request, current mode: Supervisor cpsr: 0x000000d3 pc: 0xffff0000 MMU: disabled, D-Cache: disabled, I-Cache: disabled > scan_chain TapName Enabled IdCode Expected IrLen IrCap IrMask -- ------------------- -------- ---------- ---------- ----- ----- ------ 0 feroceon.cpu Y 0x20a023d3 0x20a023d3 4 0x01 0x0f > nand probe 0 NAND flash device 'NAND 128MiB 3.3V 8-bit (Samsung)' found > nand list #0: NAND 128MiB 3.3V 8-bit (Samsung) pagesize: 2048, buswidth: 8, blocksize: 131072, blocks: 1024 >
Re: Lacie wireless space u-boot and jtag backup-restore with openocd April 01, 2021 03:59PM |
Admin Registered: 13 years ago Posts: 18,821 |
Quote
https://forum.doozan.com/read.php?2,23630
Unbricking with Serial Console & JTAG console
Repair Pogo E02 with Raspberry PI (JTAG) and OpenOCD
Re: Lacie wireless space u-boot and jtag backup-restore with openocd April 03, 2021 02:44AM |
Registered: 3 years ago Posts: 25 |
Re: Lacie wireless space u-boot and jtag backup-restore with openocd April 05, 2021 11:15AM |
Registered: 3 years ago Posts: 25 |
telnet localhost 4444
>sheevaplug_init target halted in ARM state due to debug-request, current mode: Supervisor cpsr: 0x000000d3 pc: 0xffff0000 MMU: disabled, D-Cache: disabled, I-Cache: disabled > nand probe 0 NAND flash device 'NAND 128MiB 3.3V 8-bit (Samsung)' found > nand list 0 #0: NAND 128MiB 3.3V 8-bit (Samsung) pagesize: 2048, buswidth: 8, blocksize: 131072, blocks: 1024 >nand dump 0 "u-boot.printenv.bin" 0 786432 dumped 786432 bytes in 386.816040s (1.985 KiB/s) > nand erase 0 0 786432 erased blocks 0 to 5 on NAND flash device #0 'NAND 128MiB 3.3V 8-bit'
> nand write 0 u-boot.printenv.bin 0 wrote file u-boot.printenv.bin to NAND flash 0 up to offset 0x000c0000 in 23.302645s (32.958 KiB/s)
nand erase 0 erased blocks 0 to 1023 on NAND flash device #0 'NAND 128MiB 3.3V 8-bit' > nand write 0 flash.bin 0 wrote file flash.bin to NAND flash 0 up to offset 0x08000000 in 3976.972900s (32.958 KiB/s)
nand dump 0 "flash.bin" 0 134217728 dumped 134217728 bytes in 63788.855469s (2.055 KiB/s)
Re: Lacie wireless space u-boot and jtag backup-restore with openocd April 05, 2021 11:23AM |
Registered: 3 years ago Posts: 25 |
U-Boot 2013.04-00574-gfbf87b182 (Mar 20 2021 - 19:21:55) Wireless Space SoC: Kirkwood 88F6281_A1 DRAM: 256 MiB WARNING: Caches not enabled NAND: 128 MiB *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: egiga0 88E6161 Initialized on egiga0 BOOTP broadcast 1 BOOTP broadcast 2 BOOTP broadcast 3 BOOTP broadcast 4 BOOTP broadcast 5 Retry count exceeded; starting again BOOTP broadcast 1 *** Unhandled DHCP Option in OFFER/ACK: 44 *** Unhandled DHCP Option in OFFER/ACK: 44 DHCP client bound to address 192.168.23.64 Hit any key to stop autoboot: 0 (Re)start USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found ** Bad device usb 0 ** Reset IDE: ide_preinit failed ** Bad device size - ide 0 ** ws>
u-boot unknown command jffs2, try 'help'
Re: Lacie wireless space u-boot and jtag backup-restore with openocd April 05, 2021 05:37PM |
Admin Registered: 13 years ago Posts: 18,821 |