Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

How to unbrick the Netgear Ready NAS Duo v2 (3 replies)

$
0
0
Hi All !

Yesterday I bricked my oldest Netgear ReadyNas Duo v2 and need help for repair her.
I was try to upgrade u-boot loader to 2017.07 (https://forum.doozan.com/read.php?3,12381) and NAS going to die.

What I done:
1) Download tools to NAS (https://forum.doozan.com/read.php?3,27280)
2) Download firmware for Stora Netgear (beacouse I think this similar vendor of NAS hardware) uboot.2017.07-tld-1.netgear_ms2110.bodhi.tar
3) And finally download uboot.2016.05-tld-1.environment.bodhi.tar

I have TTL interface to direct connect to device

Firstly I look into my system:


 ** MARVELL BOARD: DB-88F6282A-BP LE 

U-Boot 1.1.4 (Jun  29 2012 - 16:06:46) Marvell version: 3.4.27
Netgear version: Uboot-1_1_4-NetgearDUOV3-V1009

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006D0120

Soc: MV88F1155 Rev 1 (DDR3)
CPU running @ 1600Mhz L2 running @ 533Mhz
SysClock = 533Mhz , TClock = 200Mhz 

DRAM unknown CAL  tRP = 8 tRAS = 20 tRCD=8
DRAM CS[0] base 0x00000000   size 256MB 
DRAM Total size 256MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:128 MB
Flash:  0 kB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled 
Write allocate disabled


USB 0: host mode
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
Plug On and Power down, Please Switch On !


root@storage:~# cat /proc/cpuinfo 
Processor  : Feroceon 88FR131 rev 1 (v5l)
BogoMIPS  : 1599.07
Features  : swp half thumb fastmult edsp 
CPU implementer  : 0x56
CPU architecture: 5TE
CPU variant  : 0x2
CPU part  : 0x131
CPU revision  : 1
Hardware  : Feroceon-KW
Revision  : 0000
Serial    : 0000000000000000

Kernel on the board was very oldest “Linux 2.6.31.8.duov2”

root@storage:~# cat /proc/mtd 
dev:    size   erasesize  name
mtd0: 00180000 00020000 "u-boot"
mtd1: 001a0000 00020000 "u-boot-env"
mtd2: 00800000 00020000 "uImage"
mtd3: 01800000 00020000 "minirootfs"
mtd4: 06800000 00020000 "jffs2"


root@storage:~#./fw_printenv ethaddr
Warning: Bad CRC, using default enviroment

…..
and Im goes to steps in upgrade steps in post:
Make dump of mtd0

root@storage:~#nanddump --noecc --omitoob -l 0x80000 -f mtd0 /dev/mtd0
root@storage:~#fw_printenv > current_envs.txt


root@storage:~#dmesg | grep -i 'bad'
Scanning device for bad blocks
Bad eraseblock 726 at 0x000005ac0000


root@storage:~#flash_erase /dev/mtd0 0 4
Erase Total 4 Units 
Performing Flash Erase of length 131072 at offset 0x60000 done


root@storage:~#nandwrite /dev/mtd0 uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb
Writing data to block 0 at offset 0x0 
Writing data to block 1 at offset 0x20000 
Writing data to block 2 at offset 0x40000 
Writing data to block 3 at offset 0x60000


froot@storage:~#fw_printenv > current_envs.txt
froot@storage:~#flash_erase /dev/mtd0 0xc0000 1
Erase Total 1 Units
Performing Flash Erase of length 131072 at offset 0xc0000 done


root@storage:~#nandwrite -s 786432 /dev/mtd0 uboot.2016.05-tld-1.environment.img
Writing data to block 6 at offset 0xc0000


root@storage:~#fw_setenv arcNumber 2743
root@storage:~#fw_setenv machid
root@storage:~#fw_setenv ethaddr 'xx:xx:xx:xx:xx:xx'
root@storage:~#fw_setenv bootcmd_uenv 'run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi; sleep 3'
root@storage:~#fw_setenv dtb_file
root@storage:~#reboot


…...AND NOTHING….
TTL CONSOLE in silent,
Ethernet connection is dead… (

Please, help to unbricked my lovely and and upgrade it (if possible)....

BR,
Yury

Viewing all articles
Browse latest Browse all 3247

Trending Articles