Welcome! Log In Create A New Profile

Advanced

How to unbrick the Netgear Ready NAS Duo v2

Posted by yury_minsk 
Re: How to unbrick the Netgear Ready NAS Duo v2
October 18, 2024 02:20PM
mochkodan,

> setenv set_bootargs 'setenv bootargs
> console=ttyS0,115200 root=LABEL=rootfs
> rootdelay=10 
> mtdparts=nand_mtd:0x180000@0(u-boot),0x20000@0x180000(u-boot-env),0x600000@0x200000(uImage),0x1000000@0x800000(minirootfs),0x6800000@0x1800000(jffs2)
> earlyprintk=serial init=/usr/bin/systemd'
> setenv reset_bootargs 'setenv bootargs
> console=ttyS0,115200 reason=normal
> mtdparts=nand_mtd:0x180000@0(u-boot),0x20000@0x180000(u-boot-env),0x600000@0x200000(uImage),0x1000000@0x800000(minirootfs),0x6800000@0x1800000(jffs2)'
> setenv bootcmd_exec 'usb start; run set_bootargs;
> run load_uimage; run load_initrd; bootm 0x800000
> 0x2100000'
> setenv bootcmd_stock 'run reset_bootargs; nand
> read.e 0x1200000 0x200000 0x600000;nand read.e
> 0x2000000 0x800000 0x1000000;bootm 0x1200000
> 0x2000000'
> setenv bootcmd 'run bootcmd_exec; run
> bootcmd_stock; reset'
>

Did you save the envs? you should not do saveenv until after booting a few times with these envs.

> after that code boot stuck:

Now if you recycle the power, did it boot back to stock normally?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: How to unbrick the Netgear Ready NAS Duo v2
October 21, 2024 05:53AM
when i set up envs without saving and run boot command it run normally to stock os, after envs was saved and restart the device it stuck and no boot.

1. connect through USB serial port.
When I plug power cord to the device it shows this
         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** MARVELL BOARD: DB-88F6282A-BP LE

U-Boot 1.1.4 (Nov 15 2011 - 17:59:57) Marvell version: 3.4.27
Netgear version: Uboot-1_1_4-NetgearDUOV3-V1007

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

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 !

and after I press the power bottom it show this
         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** MARVELL BOARD: DB-88F6282A-BP LE

U-Boot 1.1.4 (Nov 15 2011 - 17:59:57) Marvell version: 3.4.27
Netgear version: Uboot-1_1_4-NetgearDUOV3-V1007

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

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
Switch On !

Net:   egiga0 [PRIME]



Edited 1 time(s). Last edit at 10/21/2024 06:03AM by mochkodan.
Re: How to unbrick the Netgear Ready NAS Duo v2
October 21, 2024 06:18PM
mochkodan,

> when i set up envs without saving and run boot
> command it run normally to stock os,

What are the envs you set up? can you post the log?

If it booted to stock OS then the envs were wrong.

> after envs
> was saved and restart the device it stuck and no
> boot.

As I mentioned, envs setup to boot Debian are temporary, we should not do saveenv until everything is tested to work OK.

====

If you keep the log of what you did, post it and we'll go from there.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: