Welcome! Log In Create A New Profile

Advanced

Netgear Stora MS2110 rootfs Bad Magic Number

Posted by Teddy 
Re: Netgear Stora MS2110 rootfs Bad Magic Number
June 23, 2020 02:31AM
Dear Bodhi

The instructions have been completed, but there appears to be no change:
Quote
Console log

__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__|
** MARVELL BOARD: RD-88F6281A LE

U-Boot 1.1.4 (Sep 4 2009 - 09:36:11) Marvell version: 3.4.14

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

Soc: 88F6281 A0 (DDR2)
CPU running @ 1000Mhz L2 running @ 333Mhz
SysClock = 333Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000 size 64MB
DRAM CS[1] base 0x04000000 size 64MB
DRAM Total size 128MB 16bit width
Flash: 0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:256 MB
CRC in Flash: ffffffff, Calculated CRC: 619d86db
+++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++
## Error: environment overflow, "stdin" deleted
## Error: environment overflow, "stdout" deleted
## Error: environment overflow, "stderr" deleted

CPU : Marvell Feroceon (Rev 1)
## Error: environment overflow, "console" deleted
## Error: environment overflow, "mainlineLinux" deleted
## Error: environment overflow, "CASset" deleted
## Error: environment overflow, "enaMonExt" deleted
## Error: environment overflow, "enaCpuStream" deleted
## Error: environment overflow, "enaWrAllo" deleted
## Error: environment overflow, "pexMode" deleted
## Error: environment overflow, "disL2Cache" deleted
## Error: environment overflow, "setL2CacheWT" deleted
## Error: environment overflow, "disL2Prefetch" deleted
## Error: environment overflow, "enaICPref" deleted
## Error: environment overflow, "enaDCPref" deleted
## Error: environment overflow, "sata_dma_mode" deleted
## Error: environment overflow, "MALLOC_len" deleted
## Error: environment overflow, "ethprime" deleted
## Error: environment overflow, "netbsd_en" deleted
## Error: environment overflow, "vxworks_en" deleted
## Error: environment overflow, "bootargs_root" deleted
## Error: environment overflow, "bootargs_end" deleted
## Error: environment overflow, "image_name" deleted
## Error: environment overflow, "bootcmd" deleted
## Error: environment overflow, "standalone" deleted
## Error: environment overflow, "bootdelay" deleted
## Error: environment overflow, "disaMvPnp" deleted
## Error: environment overflow, "disaMvPnp" deleted
## Error: environment overflow, "ethaddr" deleted
## Error: environment overflow, "ethmtu" deleted
## Error: environment overflow, "eth1addr" deleted
## Error: environment overflow, "eth1mtu" deleted
## Error: environment overflow, "mvPhoneConfig" deleted
## Error: environment overflow, "mvNetConfig" deleted
## Error: environment overflow, "usb0Mode" deleted
## Error: environment overflow, "yuk_ethaddr" deleted
## Error: environment overflow, "nandEcc" deleted
## Error: environment overflow, "hddPowerCtrl" deleted
## Error: environment overflow, "netretry" deleted
## Error: environment overflow, "rcvrip" deleted
## Error: environment overflow, "loadaddr" deleted
## Error: environment overflow, "autoload" deleted
## Error: environment overflow, "enaAutoRecovery" deleted

Streaming disabled
Write allocate disabled

Module 0 is RGMII
Module 1 is TDM

USB 0: device mode
PEX 0: interface detected no Link.
Net: ## Error: environment overflow, "ethact" deleted
egiga0, egiga1## Error: environment overflow, "ethact" deleted

USB: scanning bus for devices... 1 USB Device(s) found
scanning bus for storage devices... 0 Storage Device(s) found
Aquiring an IP address using DHCP...
## Error: environment overflow, "ethact" deleted
*** ERROR: `ethaddr' not set
## Error: environment overflow, "ethact" deleted
egiga1 no link
## Error: environment overflow, "ethact" deleted

Abort
## Error: environment overflow, "ethact" deleted
*** ERROR: `ethaddr' not set
## Error: environment overflow, "ethact" deleted
egiga1 no link
## Error: environment overflow, "ethact" deleted

Abort
## Error: environment overflow, "ethact" deleted
*** ERROR: `ethaddr' not set
## Error: environment overflow, "ethact" deleted
egiga1 no link
## Error: environment overflow, "ethact" deleted
Failed to retreive an IP address assuming default (<NULL>)!
Starting the Recovery process to retreive the file...
## Error: environment overflow, "ethact" deleted
*** ERROR: `ethaddr' not set
## Error: environment overflow, "ethact" deleted
egiga1 no link
## Error: environment overflow, "ethact" deleted
Failed
Power Button is pressed!
MPP Sel: 00000530, Data IN Enable: 00020058, Data In Polarity: 00000040, Data In: 00000010
Power Button is released!
MAC: 00:01:F3:73:13:89, IP: 10.115.19.137
## Error: environment overflow, "ethaddr" deleted
## Error: environment overflow, "ipaddr" deleted
## Error: environment overflow, "serverip" deleted
## Error: environment overflow, "netmask" deleted
## Error: environment overflow, "image_name" deleted
## Error: environment overflow, "console" deleted
## Error: environment overflow, "bootargs_root" deleted
## Error: environment overflow, "rootpath" deleted
## Error: environment overflow, "ethact" deleted
*** ERROR: `serverip' not set
## Error: environment overflow, "bootargs" deleted
## Booting image at 00800000 ...
Bad Magic Number
Marvell>> nand erase 0x000A0000 0x20000

NAND erase: device 0 offset 0xa0000, size 0x20000
Erasing at 0xa0000 -- 100% complete.
OK
Marvell>> reset

__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__|
** MARVELL BOARD: RD-88F6281A LE

U-Boot 1.1.4 (Sep 4 2009 - 09:36:11) Marvell version: 3.4.14

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

Soc: 88F6281 A0 (DDR2)
CPU running @ 1000Mhz L2 running @ 333Mhz
SysClock = 333Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000 size 64MB
DRAM CS[1] base 0x04000000 size 64MB
DRAM Total size 128MB 16bit width
Flash: 0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:256 MB
CRC in Flash: ffffffff, Calculated CRC: 619d86db
+++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++
## Error: environment overflow, "stdin" deleted
## Error: environment overflow, "stdout" deleted
## Error: environment overflow, "stderr" deleted

CPU : Marvell Feroceon (Rev 1)
## Error: environment overflow, "console" deleted
## Error: environment overflow, "mainlineLinux" deleted
## Error: environment overflow, "CASset" deleted
## Error: environment overflow, "enaMonExt" deleted
## Error: environment overflow, "enaCpuStream" deleted
## Error: environment overflow, "enaWrAllo" deleted
## Error: environment overflow, "pexMode" deleted
## Error: environment overflow, "disL2Cache" deleted
## Error: environment overflow, "setL2CacheWT" deleted
## Error: environment overflow, "disL2Prefetch" deleted
## Error: environment overflow, "enaICPref" deleted
## Error: environment overflow, "enaDCPref" deleted
## Error: environment overflow, "sata_dma_mode" deleted
## Error: environment overflow, "MALLOC_len" deleted
## Error: environment overflow, "ethprime" deleted
## Error: environment overflow, "netbsd_en" deleted
## Error: environment overflow, "vxworks_en" deleted
## Error: environment overflow, "bootargs_root" deleted
## Error: environment overflow, "bootargs_end" deleted
## Error: environment overflow, "image_name" deleted
## Error: environment overflow, "bootcmd" deleted
## Error: environment overflow, "standalone" deleted
## Error: environment overflow, "bootdelay" deleted
## Error: environment overflow, "disaMvPnp" deleted
## Error: environment overflow, "disaMvPnp" deleted
## Error: environment overflow, "ethaddr" deleted
## Error: environment overflow, "ethmtu" deleted
## Error: environment overflow, "eth1addr" deleted
## Error: environment overflow, "eth1mtu" deleted
## Error: environment overflow, "mvPhoneConfig" deleted
## Error: environment overflow, "mvNetConfig" deleted
## Error: environment overflow, "usb0Mode" deleted
## Error: environment overflow, "yuk_ethaddr" deleted
## Error: environment overflow, "nandEcc" deleted
## Error: environment overflow, "hddPowerCtrl" deleted
## Error: environment overflow, "netretry" deleted
## Error: environment overflow, "rcvrip" deleted
## Error: environment overflow, "loadaddr" deleted
## Error: environment overflow, "autoload" deleted
## Error: environment overflow, "enaAutoRecovery" deleted

Streaming disabled
Write allocate disabled

Module 0 is RGMII
Module 1 is TDM

USB 0: device mode
PEX 0: interface detected no Link.
Net: ## Error: environment overflow, "ethact" deleted
egiga0, egiga1## Error: environment overflow, "ethact" deleted

USB: scanning bus for devices... 1 USB Device(s) found
scanning bus for storage devices... 0 Storage Device(s) found
Aquiring an IP address using DHCP...
## Error: environment overflow, "ethact" deleted
*** ERROR: `ethaddr' not set
## Error: environment overflow, "ethact" deleted
egiga1 no link
## Error: environment overflow, "ethact" deleted
## Error: environment overflow, "ethact" deleted
*** ERROR: `ethaddr' not set
## Error: environment overflow, "ethact" deleted
egiga1 no link
## Error: environment overflow, "ethact" deleted
## Error: environment overflow, "ethact" deleted
*** ERROR: `ethaddr' not set
## Error: environment overflow, "ethact" deleted
egiga1 no link
## Error: environment overflow, "ethact" deleted
Failed to retreive an IP address assuming default (<NULL>)!
Starting the Recovery process to retreive the file...
## Error: environment overflow, "ethact" deleted
*** ERROR: `ethaddr' not set
## Error: environment overflow, "ethact" deleted
egiga1 no link
## Error: environment overflow, "ethact" deleted
Failed
Power Button is pressed!
MPP Sel: 00000530, Data IN Enable: 00020058, Data In Polarity: 00000040, Data In: 00000011
Power Button is released!
MAC: 00:01:02:15:13:11, IP: 10.21.19.17
## Error: environment overflow, "ethaddr" deleted
## Error: environment overflow, "ipaddr" deleted
## Error: environment overflow, "serverip" deleted
## Error: environment overflow, "netmask" deleted
## Error: environment overflow, "image_name" deleted
## Error: environment overflow, "console" deleted
## Error: environment overflow, "bootargs_root" deleted
## Error: environment overflow, "rootpath" deleted
## Error: environment overflow, "ethact" deleted
*** ERROR: `serverip' not set
## Error: environment overflow, "bootargs" deleted
## Booting image at 00800000 ...
Bad Magic Number
Marvell>> printenv
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒[[i]deleted repeat non printing characters[/i]▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒

Environment size: 131069/131068 bytes
Marvell>>

Thanks, Paul
Re: Netgear Stora MS2110 rootfs Bad Magic Number
June 23, 2020 03:02AM
Paul,

Try

nand erase 0x000A0000 0x20000
saveenv
printenv

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Netgear Stora MS2110 rootfs Bad Magic Number
June 23, 2020 04:12AM
Dear Bodhi

Envs still clogged:
Quote
Console log
Marvell>> nand erase 0x000A0000 0x20000

NAND erase: device 0 offset 0xa0000, size 0x20000
Erasing at 0xa0000 -- 100% complete.
OK
Marvell>> saveenv
Saving Environment to NAND...
Erasing Nand...Writing to Nand... done
Marvell>> printenv
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒[repeated non-printing chars]▒▒▒

Environment size: 131069/131068 bytes
Marvell>>
Regards, Paul
Re: Netgear Stora MS2110 rootfs Bad Magic Number
June 23, 2020 04:22AM
Paul,

So I think the next step is to flash the whole mtd0 or the env image (that I will extract).

Let's do that tomorrow (take it slow, we are not in a hurry).

Look at stormy post again to see if you can get the USB drive recognized:

https://forum.doozan.com/read.php?3,104929,105084#msg-105084

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 2 time(s). Last edit at 06/23/2020 04:37AM by bodhi.
Re: Netgear Stora MS2110 rootfs Bad Magic Number
June 23, 2020 05:00AM
Dear Bodhi

USB is still recognised - as it was yesterday - but overflow is still happening:
Quote
Console log

__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__|
** MARVELL BOARD: RD-88F6281A LE

U-Boot 1.1.4 (Sep 4 2009 - 09:36:11) Marvell version: 3.4.14

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

Soc: 88F6281 A0 (DDR2)
CPU running @ 1000Mhz L2 running @ 333Mhz
SysClock = 333Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000 size 64MB
DRAM CS[1] base 0x04000000 size 64MB
DRAM Total size 128MB 16bit width
Flash: 0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:256 MB
CRC in Flash: ffffffff, Calculated CRC: 619d86db
+++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++
## Error: environment overflow, "stdin" deleted
## Error: environment overflow, "stdout" deleted
## Error: environment overflow, "stderr" deleted

CPU : Marvell Feroceon (Rev 1)
## Error: environment overflow, "console" deleted
## Error: environment overflow, "mainlineLinux" deleted
## Error: environment overflow, "CASset" deleted
## Error: environment overflow, "enaMonExt" deleted
## Error: environment overflow, "enaCpuStream" deleted
## Error: environment overflow, "enaWrAllo" deleted
## Error: environment overflow, "pexMode" deleted
## Error: environment overflow, "disL2Cache" deleted
## Error: environment overflow, "setL2CacheWT" deleted
## Error: environment overflow, "disL2Prefetch" deleted
## Error: environment overflow, "enaICPref" deleted
## Error: environment overflow, "enaDCPref" deleted
## Error: environment overflow, "sata_dma_mode" deleted
## Error: environment overflow, "MALLOC_len" deleted
## Error: environment overflow, "ethprime" deleted
## Error: environment overflow, "netbsd_en" deleted
## Error: environment overflow, "vxworks_en" deleted
## Error: environment overflow, "bootargs_root" deleted
## Error: environment overflow, "bootargs_end" deleted
## Error: environment overflow, "image_name" deleted
## Error: environment overflow, "bootcmd" deleted
## Error: environment overflow, "standalone" deleted
## Error: environment overflow, "bootdelay" deleted
## Error: environment overflow, "disaMvPnp" deleted
## Error: environment overflow, "disaMvPnp" deleted
## Error: environment overflow, "ethaddr" deleted
## Error: environment overflow, "ethmtu" deleted
## Error: environment overflow, "eth1addr" deleted
## Error: environment overflow, "eth1mtu" deleted
## Error: environment overflow, "mvPhoneConfig" deleted
## Error: environment overflow, "mvNetConfig" deleted
## Error: environment overflow, "usb0Mode" deleted
## Error: environment overflow, "yuk_ethaddr" deleted
## Error: environment overflow, "nandEcc" deleted
## Error: environment overflow, "hddPowerCtrl" deleted
## Error: environment overflow, "netretry" deleted
## Error: environment overflow, "rcvrip" deleted
## Error: environment overflow, "loadaddr" deleted
## Error: environment overflow, "autoload" deleted
## Error: environment overflow, "enaAutoRecovery" deleted

Streaming disabled
Write allocate disabled

Module 0 is RGMII
Module 1 is TDM

USB 0: device mode
PEX 0: interface detected no Link.
Net: ## Error: environment overflow, "ethact" deleted
egiga0, egiga1## Error: environment overflow, "ethact" deleted

USB: scanning bus for devices... 2 USB Device(s) found
scanning bus for storage devices... 1 Storage Device(s) found
Trying to load image from USB flash drive using FAT FS
reading /flashware.img

** Unable to read "/flashware.img" from usb 0:1 **
Trying to load image from USB flash drive using ext2 FS partition 0
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - usb 0:0 **
Trying to load image from USB flash drive using ext2 FS partition 1

** Unable to read "/flashware.img" from usb 0:1 **
Couldn't load recovery image from USB flash drive, Trying network interface
Aquiring an IP address using DHCP...
## Error: environment overflow, "ethact" deleted
*** ERROR: `ethaddr' not set
## Error: environment overflow, "ethact" deleted
egiga1 no link
## Error: environment overflow, "ethact" deleted
## Error: environment overflow, "ethact" deleted
*** ERROR: `ethaddr' not set
## Error: environment overflow, "ethact" deleted
egiga1 no link
## Error: environment overflow, "ethact" deleted
## Error: environment overflow, "ethact" deleted
*** ERROR: `ethaddr' not set
## Error: environment overflow, "ethact" deleted
egiga1 no link
## Error: environment overflow, "ethact" deleted
Failed to retreive an IP address assuming default (<NULL>)!
Starting the Recovery process to retreive the file...
## Error: environment overflow, "ethact" deleted
*** ERROR: `ethaddr' not set
## Error: environment overflow, "ethact" deleted
egiga1 no link
## Error: environment overflow, "ethact" deleted
Failed
Power Button is pressed!
MPP Sel: 00000530, Data IN Enable: 00020058, Data In Polarity: 00000040, Data In: 00000010
Power Button is released!
MAC: 00:01:CC:EE:1C:C7, IP: 10.238.28.199
## Error: environment overflow, "ethaddr" deleted
## Error: environment overflow, "ipaddr" deleted
## Error: environment overflow, "serverip" deleted
## Error: environment overflow, "netmask" deleted
## Error: environment overflow, "image_name" deleted
## Error: environment overflow, "console" deleted
## Error: environment overflow, "bootargs_root" deleted
## Error: environment overflow, "rootpath" deleted
## Error: environment overflow, "ethact" deleted
*** ERROR: `serverip' not set
## Error: environment overflow, "bootargs" deleted
## Booting image at 00800000 ...
Bad Magic Number
Marvell>> ext2ls usb 0:1
<DIR> 4096 .
<DIR> 4096 ..
<DIR> 16384 lost+found
1048576 u-boot_mtd0
Marvell>> ext2load usb 0:1 0x800000 /u-boot_mtd0
....
.
...................
.........................
...................................................

1048576 bytes read
## Error: environment overflow, "filesize" deleted
Marvell>>
What time zone are you operating? I am BST (GMT+1). I'll try to maximise overlap.
Regards, Paul
Re: Netgear Stora MS2110 rootfs Bad Magic Number
June 23, 2020 03:45PM
Paul,

> Marvell>> ext2ls usb 0:1
> <DIR> 4096 .
> <DIR> 4096 ..
> <DIR> 16384 lost+found
> 1048576 u-boot_mtd0
> Marvell>> ext2load usb 0:1 0x800000 /u-boot_mtd0
> ....
> .
> ...................
> .........................
> ...................................................
>
> 1048576 bytes read
> ## Error: environment overflow, "filesize"
> deleted
> Marvell>>
>
> [/quote]

Hi Paul,

That looks good. Even though the filesize was not stored, the image was loaded OK.

So you could try

ext2load usb 0:1 0x800000 /u-boot_mtd0 
go 0x800200
See if it runs OK. I think it will have the same envs problem, but good to know that it can run.

Since your USB is working, I think we can try to flash the envs block extracted from u-boot_mtd0 first. And then if it does not work, we will flash the whole mtd0.

======

I'm in PST timezone and usually free after 8PM PST.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Netgear Stora MS2110 rootfs Bad Magic Number
June 23, 2020 04:12PM
Hi Bodhi
Here is the report. I tried the 'go' command even though I got an error from the ext2load. It locked the Stora (twice) so I have to pull the plug and reset:
Quote
Console log

__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__|
** MARVELL BOARD: RD-88F6281A LE

U-Boot 1.1.4 (Sep 4 2009 - 09:36:11) Marvell version: 3.4.14

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

Soc: 88F6281 A0 (DDR2)
CPU running @ 1000Mhz L2 running @ 333Mhz
SysClock = 333Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000 size 64MB
DRAM CS[1] base 0x04000000 size 64MB
DRAM Total size 128MB 16bit width
Flash: 0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:256 MB
CRC in Flash: ffffffff, Calculated CRC: 619d86db
+++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++
## Error: environment overflow, "stdin" deleted
## Error: environment overflow, "stdout" deleted
## Error: environment overflow, "stderr" deleted

CPU : Marvell Feroceon (Rev 1)
## Error: environment overflow, "console" deleted
## Error: environment overflow, "mainlineLinux" deleted
## Error: environment overflow, "CASset" deleted
## Error: environment overflow, "enaMonExt" deleted
## Error: environment overflow, "enaCpuStream" deleted
## Error: environment overflow, "enaWrAllo" deleted
## Error: environment overflow, "pexMode" deleted
## Error: environment overflow, "disL2Cache" deleted
## Error: environment overflow, "setL2CacheWT" deleted
## Error: environment overflow, "disL2Prefetch" deleted
## Error: environment overflow, "enaICPref" deleted
## Error: environment overflow, "enaDCPref" deleted
## Error: environment overflow, "sata_dma_mode" deleted
## Error: environment overflow, "MALLOC_len" deleted
## Error: environment overflow, "ethprime" deleted
## Error: environment overflow, "netbsd_en" deleted
## Error: environment overflow, "vxworks_en" deleted
## Error: environment overflow, "bootargs_root" deleted
## Error: environment overflow, "bootargs_end" deleted
## Error: environment overflow, "image_name" deleted
## Error: environment overflow, "bootcmd" deleted
## Error: environment overflow, "standalone" deleted
## Error: environment overflow, "bootdelay" deleted
## Error: environment overflow, "disaMvPnp" deleted
## Error: environment overflow, "disaMvPnp" deleted
## Error: environment overflow, "ethaddr" deleted
## Error: environment overflow, "ethmtu" deleted
## Error: environment overflow, "eth1addr" deleted
## Error: environment overflow, "eth1mtu" deleted
## Error: environment overflow, "mvPhoneConfig" deleted
## Error: environment overflow, "mvNetConfig" deleted
## Error: environment overflow, "usb0Mode" deleted
## Error: environment overflow, "yuk_ethaddr" deleted
## Error: environment overflow, "nandEcc" deleted
## Error: environment overflow, "hddPowerCtrl" deleted
## Error: environment overflow, "netretry" deleted
## Error: environment overflow, "rcvrip" deleted
## Error: environment overflow, "loadaddr" deleted
## Error: environment overflow, "autoload" deleted
## Error: environment overflow, "enaAutoRecovery" deleted

Streaming disabled
Write allocate disabled

Module 0 is RGMII
Module 1 is TDM

USB 0: device mode
PEX 0: interface detected no Link.
Net: ## Error: environment overflow, "ethact" deleted
egiga0, egiga1## Error: environment overflow, "ethact" deleted

USB: scanning bus for devices... 2 USB Device(s) found
scanning bus for storage devices... 1 Storage Device(s) found
Trying to load image from USB flash drive using FAT FS
reading /flashware.img

** Unable to read "/flashware.img" from usb 0:1 **
Trying to load image from USB flash drive using ext2 FS partition 0
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - usb 0:0 **
Trying to load image from USB flash drive using ext2 FS partition 1

** Unable to read "/flashware.img" from usb 0:1 **
Couldn't load recovery image from USB flash drive, Trying network interface
Aquiring an IP address using DHCP...
## Error: environment overflow, "ethact" deleted
*** ERROR: `ethaddr' not set
## Error: environment overflow, "ethact" deleted
egiga1 no link
## Error: environment overflow, "ethact" deleted
## Error: environment overflow, "ethact" deleted
*** ERROR: `ethaddr' not set
## Error: environment overflow, "ethact" deleted
egiga1 no link
## Error: environment overflow, "ethact" deleted
## Error: environment overflow, "ethact" deleted
*** ERROR: `ethaddr' not set
## Error: environment overflow, "ethact" deleted
egiga1 no link
## Error: environment overflow, "ethact" deleted
Failed to retreive an IP address assuming default (<NULL>)!
Starting the Recovery process to retreive the file...
## Error: environment overflow, "ethact" deleted
*** ERROR: `ethaddr' not set
## Error: environment overflow, "ethact" deleted
egiga1 no link
## Error: environment overflow, "ethact" deleted
Failed
Power Button is pressed!
MPP Sel: 00000530, Data IN Enable: 00020058, Data In Polarity: 00000040, Data In: 00000010
Power Button is released!
MAC: 00:01:CC:E9:B0:59, IP: 10.233.176.89
## Error: environment overflow, "ethaddr" deleted
## Error: environment overflow, "ipaddr" deleted
## Error: environment overflow, "serverip" deleted
## Error: environment overflow, "netmask" deleted
## Error: environment overflow, "image_name" deleted
## Error: environment overflow, "console" deleted
## Error: environment overflow, "bootargs_root" deleted
## Error: environment overflow, "rootpath" deleted
## Error: environment overflow, "ethact" deleted
*** ERROR: `serverip' not set
## Error: environment overflow, "bootargs" deleted
## Booting image at 00800000 ...
Bad Magic Number
Marvell>> usb tree

Device Tree:
1 Hub (480MBit/s, 0mA)
| Marvell EHCI
|
+-2 Mass Storage (480MBit/s, 200mA)
SanDisk' Cruzer Fit 4C530000090307203144

Marvell>> usb storage
Device 0: Vendor: SanDisk' Prod.: Cruzer Fit Rev: 1.00
Type: Removable Hard Disk
Capacity: 14664.0 MB = 14.3 GB (30031872 x 512)
Marvell>> ext2ls usb 0:1
<DIR> 4096 .
<DIR> 4096 ..
<DIR> 16384 lost+found
1048576 u-boot_mtd0
Marvell>> ext2load usb 0:1 0x800000 /u-boot_mtd0
....
.
...................
.........................
...................................................

1048576 bytes read
## Error: environment overflow, "filesize" deleted
Marvell>> go 0x800200
## Starting application at 0x00800200 ...
Catch you later. Regards, Paul
Re: Netgear Stora MS2110 rootfs Bad Magic Number
June 23, 2020 04:24PM
Paul,

If it locks up like that, then I am hesitate to use the whole mtd0 backup.

=======

stormy,

Perhaps you can try the same and let me know. And please upload your mtd0 backup here.

=======

I will extract the envs image and both of you can flash it.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Netgear Stora MS2110 rootfs Bad Magic Number
June 23, 2020 04:25PM
Paul,

stormy has figured out the recovery with flashware:

https://forum.doozan.com/read.php?3,104929,105219#msg-105219

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Netgear Stora MS2110 rootfs Bad Magic Number
June 23, 2020 04:32PM
bodhi Wrote:
-------------------------------------------------------
> Paul,
>
> stormy has figured out the recovery with
> flashware:
>
> https://forum.doozan.com/read.php?3,104929,105219#msg-105219


Hey bodhi. Thanks again for your help. Maybe when you have the time you can look at my other questions in that post.

PS: What do you need from me to upload? The u-boot.mtd0 file? Thats actually the flashware.img renamed. So rename flashware.img back to u-boot.mtd0. They are the same files.
Re: Netgear Stora MS2110 rootfs Bad Magic Number
June 23, 2020 04:40PM
stormy,

> Hey bodhi. Thanks again for your help. Maybe when
> you have the time you can look at my other
> questions in that post.

I just did!

>
> PS: What do you need from me to upload? The
> u-boot.mtd0 file? Thats actually the flashware.img
> renamed. So rename flashware.img back to
> u-boot.mtd0. They are the same files.

Ah. Paul already has flashware.img. But in your post, you should attach that file any way. It will be useful for future unbricking Stora (I think this is a common problem).

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Netgear Stora MS2110 rootfs Bad Magic Number
June 23, 2020 04:55PM
> Ah. Paul already has flashware.img. But in your
> post, you should attach that file any way. It will
> be useful for future unbricking Stora (I think
> this is a common problem).

I tried a couple of days ago to attach flashware.img but its bigger than 1000k. I think is 1MB so 1024K.
Re: Netgear Stora MS2110 rootfs Bad Magic Number
June 23, 2020 04:56PM
stormy,

> I tried a couple of days ago to attach
> flashware.img but its bigger than 1000k. I think
> is 1MB so 1024K.

Ah. OK.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Netgear Stora MS2110 rootfs Bad Magic Number
June 23, 2020 08:03PM
Dear Bodhi and Peter (Stormy)

You are my lifesavers! I followed Stormy's instructions from https://forum.doozan.com/read.php?3,104929,105219#msg-105219 and my box is now back to a 'normal' boot - I hope I did the correct thing by stopping the reboot with any key?
Quote
Console log

__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__|
** MARVELL BOARD: RD-88F6281A LE

U-Boot 1.1.4 (Sep 4 2009 - 09:36:11) Marvell version: 3.4.14

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

Soc: 88F6281 A0 (DDR2)
CPU running @ 1000Mhz L2 running @ 333Mhz
SysClock = 333Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000 size 64MB
DRAM CS[1] base 0x04000000 size 64MB
DRAM Total size 128MB 16bit width
Flash: 0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:256 MB
CRC in Flash: ffffffff, Calculated CRC: 619d86db
+++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++
## Error: environment overflow, "stdin" deleted
## Error: environment overflow, "stdout" deleted
## Error: environment overflow, "stderr" deleted

CPU : Marvell Feroceon (Rev 1)
## Error: environment overflow, "console" deleted
## Error: environment overflow, "mainlineLinux" deleted
## Error: environment overflow, "CASset" deleted
## Error: environment overflow, "enaMonExt" deleted
## Error: environment overflow, "enaCpuStream" deleted
## Error: environment overflow, "enaWrAllo" deleted
## Error: environment overflow, "pexMode" deleted
## Error: environment overflow, "disL2Cache" deleted
## Error: environment overflow, "setL2CacheWT" deleted
## Error: environment overflow, "disL2Prefetch" deleted
## Error: environment overflow, "enaICPref" deleted
## Error: environment overflow, "enaDCPref" deleted
## Error: environment overflow, "sata_dma_mode" deleted
## Error: environment overflow, "MALLOC_len" deleted
## Error: environment overflow, "ethprime" deleted
## Error: environment overflow, "netbsd_en" deleted
## Error: environment overflow, "vxworks_en" deleted
## Error: environment overflow, "bootargs_root" deleted
## Error: environment overflow, "bootargs_end" deleted
## Error: environment overflow, "image_name" deleted
## Error: environment overflow, "bootcmd" deleted
## Error: environment overflow, "standalone" deleted
## Error: environment overflow, "bootdelay" deleted
## Error: environment overflow, "disaMvPnp" deleted
## Error: environment overflow, "disaMvPnp" deleted
## Error: environment overflow, "ethaddr" deleted
## Error: environment overflow, "ethmtu" deleted
## Error: environment overflow, "eth1addr" deleted
## Error: environment overflow, "eth1mtu" deleted
## Error: environment overflow, "mvPhoneConfig" deleted
## Error: environment overflow, "mvNetConfig" deleted
## Error: environment overflow, "usb0Mode" deleted
## Error: environment overflow, "yuk_ethaddr" deleted
## Error: environment overflow, "nandEcc" deleted
## Error: environment overflow, "hddPowerCtrl" deleted
## Error: environment overflow, "netretry" deleted
## Error: environment overflow, "rcvrip" deleted
## Error: environment overflow, "loadaddr" deleted
## Error: environment overflow, "autoload" deleted
## Error: environment overflow, "enaAutoRecovery" deleted

Streaming disabled
Write allocate disabled

Module 0 is RGMII
Module 1 is TDM

USB 0: device mode
PEX 0: interface detected no Link.
Net: ## Error: environment overflow, "ethact" deleted
egiga0, egiga1## Error: environment overflow, "ethact" deleted

USB: scanning bus for devices... 2 USB Device(s) found
scanning bus for storage devices... 1 Storage Device(s) found
Trying to load image from USB flash drive using FAT FS
reading /flashware.img

** Unable to read "/flashware.img" from usb 0:1 **
Trying to load image from USB flash drive using ext2 FS partition 0
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - usb 0:0 **
Trying to load image from USB flash drive using ext2 FS partition 1
....
.
...................
.........................
...................................................

1048576 bytes read
## Error: environment overflow, "filesize" deleted
Missing loadaddr environment variable assuming default (0x400000)!
Update bootcmd
## Error: environment overflow, "bootcmd" deleted
## Error: environment overflow, "console" deleted
Erasing Nand...Writing to Nand... done

bootcmd: setenv bootargs $(console) root=/dev/ram0 rootfstype=squashfs initrd=0x600000,0xffd00000 ramdisk_size=-3072 recovery=usb serverip=0.0.0.0; bootm 0x400000;
## Error: environment overflow, "bootcmd" deleted
Booting the image (@ 0x400000)...
Power Button is pressed!
MPP Sel: 00000530, Data IN Enable: 00020058, Data In Polarity: 00000040, Data In: 00000011
Power Button is released!
MAC: 00:01:49:E1:03:26, IP: 10.225.3.38
## Error: environment overflow, "ethaddr" deleted
## Error: environment overflow, "ipaddr" deleted
## Error: environment overflow, "serverip" deleted
## Error: environment overflow, "netmask" deleted
## Error: environment overflow, "image_name" deleted
## Error: environment overflow, "console" deleted
## Error: environment overflow, "bootargs_root" deleted
## Error: environment overflow, "rootpath" deleted
## Error: environment overflow, "ethact" deleted
*** ERROR: `serverip' not set
## Error: environment overflow, "bootargs" deleted
## Booting image at 00800000 ...
Bad Magic Number
Marvell>> nand erase 0xA0000 0x60000

NAND erase: device 0 offset 0xa0000, size 0x60000
Erasing at 0xe0000 -- 100% complete.
OK
Marvell>> nand write 0xA0000 0xA0000 0x60000

NAND write: device 0 offset 0xa0000, size 0x60000
393216 bytes written: OK
Marvell>> reset

__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__|
** MARVELL BOARD: RD-88F6281A LE

U-Boot 1.1.4 (Sep 4 2009 - 09:36:11) Marvell version: 3.4.14

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

Soc: 88F6281 A0 (DDR2)
CPU running @ 1000Mhz L2 running @ 333Mhz
SysClock = 333Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000 size 64MB
DRAM CS[1] base 0x04000000 size 64MB
DRAM Total size 128MB 16bit width
Flash: 0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:256 MB
CRC in Flash: 52235cfe, Calculated CRC: 52235cfe

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled

Module 0 is RGMII
Module 1 is TDM

USB 0: host mode
PEX 0: interface detected no Link.
Net: egiga0, egiga1 [PRIME]
Hit any key to stop autoboot: 0
Marvell>>

Now I'll look for the next steps. Thanks so much, Regards, Paul
Re: Netgear Stora MS2110 rootfs Bad Magic Number
June 23, 2020 09:08PM
Dear Bodhi
So I've followed your "25 August 2019" instructions to the letter, carried out "step 4" unmounted the USB drive and plugged into the Stora which was then cold started. I let it autoboot. Unexpectedly the load made constant references to Hipserv (axentra/netgear's resources) and finally I end up with a mystora.com login. Is this correct? I was expecting native Debian 5.2.9.
Quote
Stora cold start with USB drive

__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__|
** MARVELL BOARD: RD-88F6281A LE

U-Boot 1.1.4 (Sep 4 2009 - 09:36:11) Marvell version: 3.4.14

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

Soc: 88F6281 A0 (DDR2)
CPU running @ 1000Mhz L2 running @ 333Mhz
SysClock = 333Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000 size 64MB
DRAM CS[1] base 0x04000000 size 64MB
DRAM Total size 128MB 16bit width
Flash: 0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:256 MB
CRC in Flash: 52235cfe, Calculated CRC: 52235cfe

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled

Module 0 is RGMII
Module 1 is TDM

USB 0: host mode
PEX 0: interface detected no Link.
Net: egiga0, egiga1 [PRIME]
Hit any key to stop autoboot: 0

NAND read: device 0 offset 0x100000, size 0x300000

Reading data from 0x3ff800 -- 100% complete.
3145728 bytes read: OK
## Booting image at 00800000 ...
Image Name: Linux-2.6.22.18-Netgear
Created: 2010-06-13 23:54:53 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2788728 Bytes = 2.7 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux............................................................................................................................................................ done, booting the kernel.
Linux version 2.6.22.18-Netgear (mostafah@es5x86.axentra.com) (gcc version 4.2.1) #16 Sun Jun 13 19:54:46 EDT 2010
CPU: ARM926EJ-S [56251311] revision 1 (ARMv5TE), cr=00053977
Machine: Feroceon-KW
Using UBoot passing parameters structure
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
Built 1 zonelists. Total pages: 32512
Kernel command line: console=ttyS0,115200 ubi.mtd=2,2048 root=ubi0:rootfs rootfstype=ubifs init=/linuxrc
PID hash table entries: 512 (order: 9, 2048 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 64MB 64MB 0MB 0MB = 128MB total
Memory: 124800KB available (4048K code, 268K data, 692K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16

CPU Interface
-------------
SDRAM_CS0 ....base 00000000, size 64MB
SDRAM_CS1 ....base 04000000, size 64MB
SDRAM_CS2 ....disable
SDRAM_CS3 ....disable
PEX0_MEM ....base e8000000, size 128MB
PEX0_IO ....base f2000000, size 1MB
INTER_REGS ....base f1000000, size 1MB
NFLASH_CS ....base fa000000, size 2MB
SPI_CS ....base f4000000, size 16MB
BOOT_ROM_CS ....no such
DEV_BOOTCS ....no such
CRYPT_ENG ....base f0000000, size 2MB

Marvell Development Board (LSP Version KW_LSP_4.2.7_patch21)-- RD-88F6281A Soc: 88F6281 A0 LE

Detected Tclk 200000000 and SysClk 333333333
MV Buttons Device Load
Marvell USB EHCI Host controller #0: c063d600
PEX0 interface detected no Link.
PCI: bus0: Fast back to back transfers enabled
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
Time: kw_clocksource clocksource has been installed.
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
RTC has been updated!!!
RTC registered
Use the XOR engines (acceleration) for enhancing the following functions:
o RAID 5 Xor calculation
o kernel memcpy
o kenrel memzero
Number of XOR engines to use: 4
cesadev_init(c000eed0)
mvCesaInit: sessions=640, queue=64, pSram=f0000000
MV Buttons Driver Load
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler anticipatory registered (default)
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
serial8250.0: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
loop: module loaded
Loading Marvell Ethernet Driver:
o Cached descriptors in DRAM
o DRAM SW cache-coherency
o Multi RX Queue support - 4 RX queues
o Multi TX Queue support - 2 TX Queues
o TCP segmentation offload enabled
o Receive checksum offload enabled
o Transmit checksum offload enabled
o Network Fast Processing (Routing) supported
o Network Fast Processing (NAT) supported
o Driver ERROR statistics enabled
o Driver INFO statistics enabled
o Proc tool API enabled
o Gateway support enabled
o Using Marvell Header Mode
o L2 IGMP support
o Rx descripors: q0=128 q1=128 q2=128 q3=128
o Tx descripors: q0=532 q1=532
o Loading network interface(s):
o eth0, ifindex = 1, GbE port = 0
o eth1, ifindex = 2, GbE port = 1

mvFpRuleDb (c7977000): 1024 entries, 4096 bytes
Intel(R) PRO/1000 Network Driver - version 7.3.20-k2-NAPI
Copyright (c) 1999-2006 Intel Corporation.
e100: Intel(R) PRO/100 Network Driver, 3.5.17-k4-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
Integrated Sata device found
scsi0 : Marvell SCSI to SATA adapter
scsi1 : Marvell SCSI to SATA adapter
NFTL driver: nftlcore.c $Revision: 1.98 $, nftlmount.c $Revision: 1.41 $
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 202 at 0x01940000
Bad eraseblock 203 at 0x01960000
Bad eraseblock 737 at 0x05c20000
Bad eraseblock 1168 at 0x09200000
Bad eraseblock 1169 at 0x09220000
Bad eraseblock 1172 at 0x09280000
Bad eraseblock 1227 at 0x09960000
Using static partition definition
Creating 3 MTD partitions on "nand_mtd":
0x00000000-0x00100000 : "u-boot"
0x00100000-0x00700000 : "uImage"
0x00700000-0x10000000 : "root"
UBI: attaching mtd2 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 126976 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
UBI warning: ubi_eba_init_scan: cannot reserve enough PEBs for bad PEB handling, reserved 19, need 38
UBI: attached mtd2 to ubi0
UBI: MTD device name: "root"
UBI: MTD device size: 249 MiB
UBI: number of good PEBs: 1985
UBI: number of bad PEBs: 7
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 1
UBI: available PEBs: 0
UBI: total number of reserved PEBs: 1985
UBI: number of PEBs reserved for bad PEB handling: 19
UBI: max/mean erase counter: 145/13
UBI: background thread "ubi_bgt0d" started, PID 285
ehci_marvell ehci_marvell.70059: Marvell Orion EHCI
ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1
ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100
ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
USB Universal Host Controller Interface driver v3.0
usb 1-1: new high speed USB device using ehci_marvell and address 2
usb 1-1: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
scsi2 : SCSI emulation for USB Mass Storage devices
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
raid6: int32x1 81 MB/s
raid6: int32x2 95 MB/s
raid6: int32x4 102 MB/s
raid6: int32x8 92 MB/s
raid6: using algorithm int32x4 (102 MB/s)
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
raid5: measuring checksumming speed
arm4regs : 893.600 MB/sec
8regs : 629.200 MB/sec
32regs : 750.000 MB/sec
raid5: using function: arm4regs (893.600 MB/sec)
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com
dm_crypt using the OCF package.
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (1024 buckets, 8192 max)
mvFpNatDb (c7f7c000): 1024 entries, 4096 bytes
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NFP (fdb) init 256 entries, 1024 bytes
Bridge firewalling registered
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
Freeing init memory: 692K
Reset button not pressed
Proceeding normally.
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size: 239857664 bytes (234236 KiB, 228 MiB, 1889 LEBs)
UBIFS: journal size: 9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
UBIFS: media format: 4 (latest is 4)
UBIFS: default compressor: zlib
UBIFS: reserved for root: 0 bytes (0 KiB)
INIT: version 2.86 booting
Welcome to HipServ
Press 'I' to enter interactive startup.
System clock set to hardware clock.
Setting clock (utc): Wed Jun 24 02:45:04 BST 2020 [ OK ]
Starting udev: [ OK ]
Setting hostname axentraserver.crouchstora.mystora.com: [ OK ]
Setting up Logical Volume Management: No volume groups found
[ OK ]
Checking filesystems
Checking all file systems.
[ OK ]
Mounting local filesystems: mount: sysfs already mounted or /sys busy
mount: according to mtab, /sys is already mounted on /sys
[FAILED]
Enabling /etc/fstab swaps: [ OK ]
INIT: Entering runlevel: 3
Entering non-interactive startup
HipServ startup:Alarm cleared.
[FAILED]
Starting netgear-lifecycle:[ OK ]
Starting reset: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0:
Determining IP information for eth0... done.
/etc/init.d/iptables: line 42: /etc/sysconfig/networking/oe-profiles/default/ifcfg-eth0: No such file or directory
FATAL: Module ip_conntrack not found.
FATAL: Module iptable_nat not found.
FATAL: Module xt_tcpudp not found.
Flushing all current rules and user defined chains: [ OK ]
Clearing all current rules and user defined chains: [ OK ]
Applying iptables firewall rules:
service transmission.init supports chkconfig, but is not referenced in any runlevel (run 'chkconfig --add transmission.init')
[ OK ]
[ OK ]
check_igd.pl: no process killed
service transmission.init supports chkconfig, but is not referenced in any runlevel (run 'chkconfig --add transmission.init')
[ OK ]
Starting system logger: [ OK ]
Starting kernel logger: [ OK ]
sh: /usr/sbin/oe-gateway-check: No such file or directory
Starting locator:[ OK ]
Starting system message bus: [ OK ]
Starting sshd: [ OK ]
Starting cups: [ OK ]
Starting xinetd: [ OK ]
Starting ntpd: [ OK ]
Starting vsftpd for vsftpd: [ OK ]
Starting httpd: [ OK ]
Starting appserver: [ OK ]
Starting crond: [ OK ]
Starting Netatalk services:
Starting cnid_metad:[ OK ]
Starting afpd:[ OK ]

Starting SMB services: [ OK ]
Starting NMB services: [ OK ]
Starting OEone System Proxy: SPD starting....log level=1, uid=0

[ OK ]
Starting access-patrol:[ OK ]
Starting Avahi daemon... [ OK ]
Starting /usr/sbin/minidlna ... Unknown option in file /etc/miniupnpd/minidlna.conf

/dev/sda3: No such file or directory
0
Starting DAAP server: [ OK ]
Starting mynetworkd:[ OK ]
HipServ - Checking if RAID needs to be rebuilt
Starting RAID monitor
1943
HipServ - Updating RAID lights
HipServ - Bringing up iptables
HipServ - Updating date...
success
HipServ - Checking for updates...
success
HipServ - Enabling swap
*** WARNING: Could not start swapfile ***
HipServ - Cleaning USB mountpoints
HipServ - Mounting USB devices

HipServ - Checking for FTPS certificate
HipServ - Found vsftpd key file
HipServ - Starting spindownd: [ OK ]
HipServ - Starting usbreaderd: [ OK ]
HipServ - Ensuring that table structures are up-to-date
HipServ - boot complete
Starting xMySyncMount.php: [ OK ]

axentraserver.<stora_username>.mystora.com login:

After I login with my Stora credentials I get this
Quote
printenv
No directory /home/<stora_username>!
Logging in with home = "/".
-bash-3.2$ printenv
HOSTNAME=axentraserver.<stora_username>stora.mystora.com
TERM=linux
SHELL=/bin/bash
HISTSIZE=1000
USER=<stora_username>
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:
MAIL=/var/spool/mail/<stora_username>
PATH=/usr/local/bin:/bin:/usr/bin
INPUTRC=/etc/inputrc
PWD=/
SHLVL=1
HOME=/home/<stora_username>
LOGNAME=<stora_username>
LESSOPEN=|/usr/bin/lesspipe.sh %s
G_BROKEN_FILENAMES=1
_=/usr/bin/printenv
-bash-3.2$
I've replaced my actual username with "<stora_username>".
What is happening please? Regards, Paul
Re: Netgear Stora MS2110 rootfs Bad Magic Number
June 23, 2020 10:36PM
Paul,

You've booted into stock OS.

To boot new Debian rootfs from stock OS, there are some envs adjustment needed.

At u-boot prompt in serial consoel,

printenv
And post the log here. And the log should be in code tags (formatted code, the button right beside the Quote button when you edit).

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 06/23/2020 10:38PM by bodhi.
Re: Netgear Stora MS2110 rootfs Bad Magic Number
June 24, 2020 01:34AM
Dear Bodhi

So I've worked out that my box is not now booting from the USB drive, so I'm running through the default 'netgear stora' boot procedure. At least my device is not bricked! If I restart the box and interrupt the autoboot I get back to u-boot.
Quote
printenv

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** MARVELL BOARD: RD-88F6281A LE

U-Boot 1.1.4 (Sep  4 2009 - 09:36:11) Marvell version: 3.4.14

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

Soc: 88F6281 A0 (DDR2)
CPU running @ 1000Mhz L2 running @ 333Mhz
SysClock = 333Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size  64MB
DRAM CS[1] base 0x04000000   size  64MB
DRAM Total size 128MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:256 MB
CRC in Flash: 52235cfe, Calculated CRC: 52235cfe

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled

Module 0 is RGMII
Module 1 is TDM

USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0, egiga1 [PRIME]
Hit any key to stop autoboot:  0
Marvell>> printenv
baudrate=115200
loads_echo=0
ipaddr=10.4.50.165
serverip=10.4.50.5
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
CASset=min
MALLOC_len=1
ethprime=egiga1
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethmtu=1500
eth1addr=00:50:43:00:02:02
eth1mtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
loidaddr=0x02000000
autoload=no
bootargs_root=ubi.mtd=2,2048 root=ubi0:rootfs rootfstype=ubifs init=/linuxrc
console=console=ttyS0,115200
mainlineLiNux=no
fw_up=disable
bootcmd=nand read.e 0x800000 0x100000 0x300000; setenv bootargs $(console) $(bootargs_root); bootm 0x800000
ethaddr=C0:3F:0E:B0:E8:8A
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=no
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
hddPowerCtrl=no
loadaddr=0x02000000
enaAutoRecovery=no
ethact=egiga1

Environment size: 1257/131068 bytes
Marvell>>

I have to 'usb start' to be able to access it
Quote
ext2ls usb
Marvell>> usb start
(Re)start USB...
USB: scanning bus for devices... 2 USB Device(s) found
scanning bus for storage devices... 1 Storage Device(s) found
Marvell>> ext2ls usb 0:1
<DIR> 4096 .
<DIR> 4096 ..
<DIR> 16384 lost+found
514078720 Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar
<DIR> 4096 proc
<DIR> 4096 sbin
<DIR> 4096 dev
<DIR> 4096 root
<DIR> 4096 usr
<DIR> 4096 opt
<DIR> 4096 boot
<DIR> 4096 bin
<DIR> 4096 etc
<DIR> 4096 tmp
<DIR> 4096 mnt
<DIR> 4096 var
<DIR> 4096 home
<DIR> 4096 media
<DIR> 4096 sys
<DIR> 4096 run
<DIR> 4096 lib
<DIR> 4096 srv
Marvell>> ext2ls usb 0:1 /boot
<DIR> 4096 .
<DIR> 4096 ..
9713936 uInitrd
4963616 zImage-5.2.9-kirkwood-tld-1
4963616 vmlinuz-5.2.9-kirkwood-tld-1
165790 config-5.2.9-kirkwood-tld-1
<DIR> 4096 dts
3101889 System.map-5.2.9-kirkwood-tld-1
9713872 initrd.img-5.2.9-kirkwood-tld-1
4975179 uImage
9649570 linux-headers-5.2.9-kirkwood-tld-1_1.0_armel.deb
4975115 zImage.fdt
4963680 uImage.orig
Marvell>>
so the usb drive appears to be configured ok, but the box does not want to boot from the usb drive. I wonder if I need to set u-boot envs for booting - 'load-dtb' ' load_initrd' 'load_uImage' and 'usb_boot'?
Regards, Paul



Edited 2 time(s). Last edit at 06/24/2020 07:16AM by pdc78.
Re: Netgear Stora MS2110 rootfs Bad Magic Number
June 24, 2020 04:54AM
Paul,

See above:

https://forum.doozan.com/read.php?2,102054,105304#msg-105304

I will come back to post a few envs for you to boot into Debian on USB.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 06/24/2020 04:55AM by bodhi.
Re: Netgear Stora MS2110 rootfs Bad Magic Number
June 24, 2020 07:33AM
Dear Bodhi
I've repeated the cold start boot to u-boot and format copied the 'printenv' report to my previous posting above. Compared to Teddy's printenv at the start of this topic, I've figured that I'm missing
Quote
missing envs
mainLineLinux=yes
arcnumber=2743
bootargs console=ttyS0, 115200 root=LABEL=rootfs rootdelay=8
bootcmd_usb=usb start; ext2load usb 0:1 0x800000 /boot/uImage; ext2load usb 0:1 0x2100000 /boot/uInitrd
earlyprintk=serial; run bootcmd_usb; bootm 0x800000 0x2100000; reset
mtdparts=orion_nand:0x100000@0(uboot), 0xff00000@0x100000(root) {I'm not sure about this one}

I'll wait for your guidance. Regards, Paul
Re: Netgear Stora MS2110 rootfs Bad Magic Number
June 24, 2020 04:13PM
Paul,

Don't worry about mtdparts yet.
setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial'
setenv usb_boot 'mw 0x800000 0 1; ext2load usb 0:1 0x800000 /boot/uImage; if ext2load usb 0:1 0x2100000 /boot/uInitrd; then bootm 0x800000 0x2100000; else bootm 0x800000; fi'
setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot'
setenv bootcmd 'usb start; run usb_bootcmd; usb stop; reset'
printenv

and then
boot

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 06/24/2020 04:14PM by bodhi.
Re: Netgear Stora MS2110 rootfs Bad Magic Number
June 24, 2020 04:27PM
Hi Bodhi
2nd command line (cut & paste from your post) fails "too many args (max 16)"
Quote
Console log
Marvell>>
Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial'
Marvell>> setenv usb_boot 'mw 0x800000 0 1; ext2load usb 0:1 0x800000 /boot/uImage; if ext2load usb 0:1 0x2100000 /boot/uInitrd; then bootm 0x800000 0x2100000; else bootm 0x800000; fi'
** Too many args (max. 16) **
Marvell>>

Please advise how to split the command. Thanks, Paul



Edited 1 time(s). Last edit at 06/24/2020 04:29PM by pdc78.
Re: Netgear Stora MS2110 rootfs Bad Magic Number
June 24, 2020 04:36PM
Hi Paul,

setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial'
setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage'
setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd'
setenv usb_boot 'mw 0x800000 0 1; run load_uimage; if run load_uinitrd; then bootm 0x800000 0x2100000; else bootm 0x800000; fi'
setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot'
setenv bootcmd 'usb start; run usb_bootcmd; usb stop; reset'
And then,
printenv
boot

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Netgear Stora MS2110 rootfs Bad Magic Number
June 24, 2020 04:52PM
Sorry Bodhi - this must be tedious for you - another 'too many args'
Quote
Console
Marvell>> setenv usb_boot 'mw 0x800000 0 1; run load_uimage; if run load_uinitrd; then bootm 0x800000 0x2100000; else bootm 0x800000; fi'
** Too many args (max. 16) **
Marvell>>
Regards, Paul
Re: Netgear Stora MS2110 rootfs Bad Magic Number
June 24, 2020 04:54PM
Paul,

No problem :) Try:

setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial'
setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage'
setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd'
setenv usb_boot 'mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x2100000'
setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot'
setenv bootcmd 'usb start; run usb_bootcmd; usb stop; reset'

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Netgear Stora MS2110 rootfs Bad Magic Number
June 24, 2020 05:01PM
Dear Bodhi
We're in!

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** MARVELL BOARD: RD-88F6281A LE

U-Boot 1.1.4 (Sep  4 2009 - 09:36:11) Marvell version: 3.4.14

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

Soc: 88F6281 A0 (DDR2)
CPU running @ 1000Mhz L2 running @ 333Mhz
SysClock = 333Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size  64MB
DRAM CS[1] base 0x04000000   size  64MB
DRAM Total size 128MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:256 MB
CRC in Flash: 52235cfe, Calculated CRC: 52235cfe

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled

Module 0 is RGMII
Module 1 is TDM

USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0, egiga1 [PRIME]
Hit any key to stop autoboot:  0
Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial'
Marvell>> setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage'
Marvell>> setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd'
Marvell>> setenv usb_boot 'mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x2100000'
Marvell>> setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot'
Marvell>> setenv bootcmd 'usb start; run usb_bootcmd; usb stop; reset'
Marvell>> printenv
baudrate=115200
loads_echo=0
ipaddr=10.4.50.165
serverip=10.4.50.5
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
CASset=min
MALLOC_len=1
ethprime=egiga1
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethmtu=1500
eth1addr=00:50:43:00:02:02
eth1mtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
loidaddr=0x02000000
autoload=no
bootargs_root=ubi.mtd=2,2048 root=ubi0:rootfs rootfstype=ubifs init=/linuxrc
console=console=ttyS0,115200
mainlineLiNux=no
fw_up=disable
ethaddr=C0:3F:0E:B0:E8:8A
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=no
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
hddPowerCtrl=no
loadaddr=0x02000000
enaAutoRecovery=no
ethact=egiga1
usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
load_uimage=ext2load usb 0:1 0x800000 /boot/uImage
load_uinitrd=ext2load usb 0:1 0x2100000 /boot/uInitrd
usb_boot=mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x2100000
usb_bootcmd=run usb_set_bootargs; run usb_boot
bootcmd=usb start; run usb_bootcmd; usb stop; reset

Environment size: 1543/131068 bytes
Marvell>> boot
(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
....
.
......
............
.........................
...................................................
......................................................................................................
............................................................................................................................................................................................................
....
.......................................................................

4975179 bytes read
....
.
......
............
............................................................................
......................................................................................................
.................................................................................................................................................................................................................
....................................................................................................................................................................................................................................................................................................................................................................................................................
....
............................................................................................................................

9713936 bytes read
## Booting image at 00800000 ...
   Image Name:   Linux-5.2.9-kirkwood-tld-1
   Created:      2020-06-24   1:30:50 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4975115 Bytes =  4.7 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 02100000 ...
   Image Name:   initramfs-5.2.9-kirkwood-tld-1
   Created:      2019-08-25   2:22:50 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9713872 Bytes =  9.3 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.2.9-kirkwood-tld-1 (root@tldDebian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 PREEMPT Sat Aug 17 15:00:56 PDT 2019
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: NETGEAR MS2000 / MS2110 aka Stora
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
[    0.000000][    T0] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000][    T0] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000][    T0] Memory: 104832K/131072K available (9216K kernel code, 868K rwdata, 3400K rodata, 1024K init, 301K bss, 26240K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from cache_alloc_refill+0x38c/0x928 with crng_init=0
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0]  Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000011][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008526][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.015992][    T0] Console: colour dummy device 80x30
[    0.021211][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032439][    T0] pid_max: default: 32768 minimum: 301
[    0.038164][    T0] LSM: Security Framework initializing
[    0.043721][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.051070][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.059823][    T0] *** VALIDATE proc ***
[    0.064114][    T0] *** VALIDATE cgroup1 ***
[    0.068387][    T0] *** VALIDATE cgroup2 ***
[    0.072795][    T0] CPU: Testing write buffer coherency: ok
[    0.080371][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.087554][    T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[    0.093750][    T1] rcu: Hierarchical SRCU implementation.
[    0.103122][    T1] devtmpfs: initialized
[    0.113872][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.124463][    T1] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.131603][    T1] xor: measuring software checksum speed
[    0.228560][    T1]    arm4regs  :   848.400 MB/sec
[    0.328554][    T1]    8regs     :   542.000 MB/sec
[    0.428555][    T1]    32regs    :   788.000 MB/sec
[    0.433424][    T1] xor: using function: arm4regs (848.400 MB/sec)
[    0.439631][    T1] prandom: seed boundary self test passed
[    0.450251][    T1] prandom: 100 self tests passed
[    0.455030][    T1] pinctrl core: initialized pinctrl subsystem
[    0.462697][    T1] NET: Registered protocol family 16
[    0.468475][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.477058][    T1] audit: initializing netlink subsys (disabled)
[    0.484637][   T14] audit: type=2000 audit(0.470:1): state=initialized audit_enabled=0 res=1
[    0.493215][    T1] cpuidle: using governor ladder
[    0.498079][    T1] cpuidle: using governor menu
[    0.503375][    T1] Feroceon L2: Enabling L2
[    0.507672][    T1] Feroceon L2: Cache support initialised.
[    0.520443][    T1] No ATAGs?
[    2.568534][    C0] random: fast init done
[    7.678813][   T71] alg: No test for lzo-rle (lzo-rle-generic)
[    7.685048][   T73] alg: No test for lzo-rle (lzo-rle-scomp)
[    7.869314][    T1] raid6: int32x8  gen()   106 MB/s
[    8.038916][    T1] raid6: int32x8  xor()    72 MB/s
[    8.209054][    T1] raid6: int32x4  gen()   107 MB/s
[    8.378714][    T1] raid6: int32x4  xor()    69 MB/s
[    8.548714][    T1] raid6: int32x2  gen()   110 MB/s
[    8.718619][    T1] raid6: int32x2  xor()    78 MB/s
[    8.889008][    T1] raid6: int32x1  gen()    83 MB/s
[    9.058678][    T1] raid6: int32x1  xor()    57 MB/s
[    9.063622][    T1] raid6: using algorithm int32x2 gen() 110 MB/s
[    9.069705][    T1] raid6: .... xor() 78 MB/s, rmw enabled
[    9.075163][    T1] raid6: using intx1 recovery algorithm
[    9.080850][    T1] vgaarb: loaded
[    9.084851][    T1] SCSI subsystem initialized
[    9.089907][    T1] usbcore: registered new interface driver usbfs
[    9.096126][    T1] usbcore: registered new interface driver hub
[    9.102263][    T1] usbcore: registered new device driver usb
[    9.108193][    T1] pps_core: LinuxPPS API ver. 1 registered
[    9.113855][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    9.123679][    T1] PTP clock support registered
[    9.129862][    T1] clocksource: Switched to clocksource orion_clocksource
[   10.382009][    T1] VFS: Disk quotas dquot_6.6.0
[   10.386703][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   10.406232][    T1] NET: Registered protocol family 2
[   10.412288][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[   10.420715][    T1] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[   10.428353][    T1] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[   10.435444][    T1] TCP: Hash tables configured (established 1024 bind 1024)
[   10.442621][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   10.449141][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   10.456378][    T1] NET: Registered protocol family 1
[   10.462197][    T1] RPC: Registered named UNIX socket transport module.
[   10.468788][    T1] RPC: Registered udp transport module.
[   10.474257][    T1] RPC: Registered tcp transport module.
[   10.479630][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   10.486766][    T1] PCI: CLS 0 bytes, default 32
[   10.491672][    T1] Trying to unpack rootfs image as initramfs...
[   11.503479][    T1] Freeing initrd memory: 9488K
[   11.508290][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[   11.517019][    T1] Initialise system trusted keyrings
[   11.522236][    T1] Key type blacklist registered
[   11.527167][    T1] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[   11.534483][    T1] zbud: loaded
[   11.539030][    T1] NFS: Registering the id_resolver key type
[   11.544877][    T1] Key type id_resolver registered
[   11.549737][    T1] Key type id_legacy registered
[   11.554495][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[   11.561895][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   11.569264][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[   11.577288][    T1] fuse: init (API version 7.31)
[   11.582472][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[   11.589787][    T1] orangefs_init: module version upstream loaded
[   11.595896][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled
[   11.625184][    T1] async_tx: api initialized (async)
[   11.630365][    T1] Key type asymmetric registered
[   11.635137][    T1] Asymmetric key parser 'x509' registered
[   11.640838][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[   11.650752][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[   11.661147][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[   11.669387][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[   11.675640][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[   11.683238][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[   11.690326][    T1] pci 0000:00:01.0: [11ab:6281] type 01 class 0x060400
[   11.697031][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[   11.706039][    T1] PCI: bus0: Fast back to back transfers disabled
[   11.712339][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[   11.722553][    T1] PCI: bus1: Fast back to back transfers enabled
[   11.728726][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[   11.736267][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe00007ff pref]
[   11.744186][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[   11.750580][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[   11.810864][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[   11.821294][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[   11.890860][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[   11.901618][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   11.910246][    T1] printk: console [ttyS0] disabled
[   11.915262][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[   11.924996][    T1] printk: console [ttyS0] enabled
[   11.924996][    T1] printk: console [ttyS0] enabled
[   11.934856][    T1] printk: bootconsole [earlycon0] disabled
[   11.934856][    T1] printk: bootconsole [earlycon0] disabled
[   11.955574][    T1] loop: module loaded
[   11.960185][    T1] sata_mv f1080000.sata: slots 32 ports 2
[   11.969149][    T1] scsi host0: sata_mv
[   11.973796][    T1] scsi host1: sata_mv
[   11.978012][    T1] ata1: SATA max UDMA/133 irq 33
[   11.982903][    T1] ata2: SATA max UDMA/133 irq 33
[   11.988876][    T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda
[   11.996127][    T1] nand: Samsung NAND 256MiB 3,3V 8-bit
[   12.001498][    T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[   12.009816][    T1] Scanning device for bad blocks
[   12.036367][    T1] Bad eraseblock 202 at 0x000001940000
[   12.041788][    T1] Bad eraseblock 203 at 0x000001960000
[   12.104273][    T1] Bad eraseblock 737 at 0x000005c20000
[   12.155718][    T1] Bad eraseblock 1168 at 0x000009200000
[   12.161226][    T1] Bad eraseblock 1169 at 0x000009220000
[   12.166920][    T1] Bad eraseblock 1172 at 0x000009280000
[   12.178202][    T1] Bad eraseblock 1227 at 0x000009960000
[   12.271832][    T1] 3 fixed-partitions partitions found on MTD device orion_nand
[   12.279303][    T1] Creating 3 MTD partitions on "orion_nand":
[   12.285217][    T1] 0x000000000000-0x000000100000 : "u-boot"
[   12.292590][    T1] 0x000000100000-0x000000700000 : "uImage"
[   12.299945][    T1] 0x000000700000-0x000010000000 : "root"
[   12.309509][    T1] libphy: Fixed MDIO Bus: probed
[   12.314424][  T112] ata1: SATA link down (SStatus 0 SControl F300)
[   12.321633][    T1] libphy: orion_mdio_bus: probed
[   12.326479][    T1] [Firmware Warn]: /ocp@f1000000/mdio-bus@72004/ethernet-phy@8: Whitelisted compatible string. Please remove
[   12.355183][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   12.363406][    T1] mv643xx_eth_port mv643xx_eth_port.0: DMA mask not set
[   12.671547][  T114] ata2: SATA link down (SStatus 0 SControl F300)
[   13.090611][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address c0:3f:0e:b0:e8:8a
[   13.100273][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   13.107559][    T1] ehci-pci: EHCI PCI platform driver
[   13.112829][    T1] ehci-orion: EHCI orion driver
[   13.117785][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[   13.124087][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[   13.132927][    T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[   13.159912][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[   13.166974][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02
[   13.176021][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   13.184005][    T1] usb usb1: Product: EHCI Host Controller
[   13.189605][    T1] usb usb1: Manufacturer: Linux 5.2.9-kirkwood-tld-1 ehci_hcd
[   13.196972][    T1] usb usb1: SerialNumber: f1050000.ehci
[   13.203156][    T1] hub 1-0:1.0: USB hub found
[   13.207674][    T1] hub 1-0:1.0: 1 port detected
[   13.213219][    T1] usbcore: registered new interface driver usb-storage
[   13.220467][    T1] mousedev: PS/2 mouse device common for all mice
[   13.579907][   T15] usb 1-1: new high-speed USB device number 2 using orion-ehci
[   13.780932][   T15] usb 1-1: New USB device found, idVendor=0781, idProduct=5571, bcdDevice= 1.00
[   13.789890][   T15] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   13.797791][   T15] usb 1-1: Product: Cruzer Fit
[   13.802463][   T15] usb 1-1: Manufacturer: SanDisk'
[   13.807365][   T15] usb 1-1: SerialNumber: 4C530000090307203144
[   13.814274][   T15] usb-storage 1-1:1.0: USB Mass Storage device detected
[   13.821652][   T15] scsi host2: usb-storage 1-1:1.0
[   14.249908][    T1] rtc-mv f1010300.rtc: internal RTC not ticking
[   14.256240][    T1] i2c /dev entries driver
[   14.267634][    T1] rtc-pcf8563 0-0051: registered as rtc0
[   14.275018][    T1] device-mapper: uevent: version 1.0.3
[   14.280753][    T1] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com
[   14.290479][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[   14.297741][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[   14.305167][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[   14.312651][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[   14.319482][    T1] device-mapper: raid: Loading target version 1.14.0
[   14.328143][    T1] hidraw: raw HID events driver (C) Jiri Kosina
[   14.334734][    T1] drop_monitor: Initializing network drop monitor service
[   14.342138][    T1] NET: Registered protocol family 17
[   14.347593][    T1] Key type dns_resolver registered
[   14.353638][    T1] registered taskstats version 1
[   14.358458][    T1] Loading compiled-in X.509 certificates
[   14.364092][    T1] zswap: loaded using pool lzo/zbud
[   14.479472][    T1] Key type big_key registered
[   14.534199][    T1] Key type encrypted registered
[   14.542955][    T1] rtc-pcf8563 0-0051: setting system clock to 2020-06-24T21:58:17 UTC (1593035897)
[   14.556688][    T1] Freeing unused kernel memory: 1024K
[   14.570565][    T1] Checked W+X mappings: passed, no W+X pages found
[   14.576954][    T1] Run /init as init process
Loading, please wait...
Starting version 241
[   14.891444][   T23] scsi 2:0:0:0: Direct-Access     SanDisk' Cruzer Fit       1.00 PQ: 0 ANSI: 6
[   14.921137][  T116] sd 2:0:0:0: [sda] 30031872 512-byte logical blocks: (15.4 GB/14.3 GiB)
[   14.940014][  T116] sd 2:0:0:0: [sda] Write Protect is off
[   14.963995][  T116] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   15.000430][  T116]  sda: sda1
[   15.012507][  T116] sd 2:0:0:0: [sda] Attached SCSI removable disk
[   15.964757][  T167] usbcore: registered new interface driver uas
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.33.1
[/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1
rootfs: clean, 15076/940240 files, 345368/3753980 blocks
done.
[   26.653130][  T192] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   26.704122][  T192] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.93 booting
[info] Using makefile-style concurrent boot in runlevel S.
[ ok ] Starting hotplug events dispatcher: systemd-udevd.
[ ok ] Synthesizing the initial hotplug events (subsystems)...done.
[   29.967554][  T373] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ ok                                                       done.
[....] Waiting for /dev to be fully populated...[   30.115137][  T371] systemd-udevd[371]: Using default interface naming scheme 'v240'.
[   30.255113][  T371] systemd-udevd[371]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
[   30.405526][  T375] lm75 0-0048: hwmon0: sensor 'lm75'
[   30.427999][    C0] random: crng init done
[   30.535181][  T373] watchdog: f1020300.watchdog-timer: driver supplied timeout (4294967295) out of range
[   30.683119][  T373] watchdog: f1020300.watchdog-timer: falling back to default timeout (21)
[   30.870804][  T373] orion_wdt: Initial timeout 21 sec
[   30.898531][  T395] marvell-cesa f1030000.crypto: CESA device successfully registered
[   30.940266][  T392] sd 2:0:0:0: Attached scsi generic sg0 type 0
[   31.171039][  T390] systemd-udevd[390]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
done.
[ ok ] Setting hostname to 'debian'...done.
[ ok ] Activating swap:.
[   32.666130][  T590] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[info] Will now check all file systems.
fsck from util-linux 2.33.1
Checking all file systems.
LABEL=rootfs is mounted
[ ok ] Done checking file systems. A log is being saved in /var/log/fsck/checkfs if that location is writable..
[ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done.
[ ok .
[ ok ] Will now mount local filesystems:.
[ ok ] Will now activate swapfile swap:done.
[ ok ] Checking minimum space in /tmp...done.
[ ok ] Cleaning up temporary files....
[ ok ] Starting Setting kernel variables: sysctl.
[ ok ] Initializing random number generator...done.
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/c0:3f:0e:b0:e8:8a
Sending on   LPF/eth0/c0:3f:0e:b0:e8:8a
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
[   40.069931][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
DHCPOFFER of 192.168.1.149 from 192.168.1.254
DHCPREQUEST for 192.168.1.149 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.1.149 from 192.168.1.254
bound to 192.168.1.149 -- renewal in 32587 seconds.
[   43.170341][ T1145] NET: Registered protocol family 10
[   43.178436][ T1145] Segment Routing with IPv6
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1339 (syslogd)
. ok
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1366 (klogd)
. ok
[ ok ] Starting system message bus: dbus.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[ ok ] Starting NFS common utilities: statd idmapd.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Running local boot scripts (/etc/rc.local).

Debian GNU/Linux 10 debian ttyS0

debian login:
I don't know the login username and pw. After login I assume I should follow Note 1 and Note 2 - new SSH key etc? Should I save the environments sometime?
Very many thanks and regards, Paul



Edited 1 time(s). Last edit at 06/24/2020 05:27PM by pdc78.
Re: Netgear Stora MS2110 rootfs Bad Magic Number
June 24, 2020 06:25PM
Congrats!

The credential is root/root.

Do Note 1, and ignore Note 2.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Netgear Stora MS2110 rootfs Bad Magic Number
June 24, 2020 06:28PM
Yes the env should be saved. I come back and explain that..

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Netgear Stora MS2110 rootfs Bad Magic Number
June 24, 2020 09:03PM
Hi Bodhi

Sorry for the delay. All done past Note1. uInitrd boot file has been regenerated.

Ready for the next step. Paul
Re: Netgear Stora MS2110 rootfs Bad Magic Number
June 24, 2020 09:53PM
Paul,

To make it permanent, reboot and repeat the setenv commands:

setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial'
setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage'
setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd'
setenv usb_boot 'mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x2100000'
setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot'
setenv bootcmd 'usb start; run usb_bootcmd; usb stop; reset'

Before booting, do a save:
saveenv

For keepsake:
printenv
and then
boot

From now on it is permanent.

=====

We should temoprarily stop while we are ahead :) in the future, you might want to install new u-boot:

https://forum.doozan.com/read.php?3,12381

to take advantage of the new features (eg. be able to boot with Ext4 rootfs, and use large HDD...).

For now it is OK to run stock u-boot, until you need the new capabilities that the new u-boot provides.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Netgear Stora MS2110 rootfs Bad Magic Number
June 25, 2020 12:51AM
Dear Bodhi

Thank you very much indeed. You have been so patient and supportive. I have so much to learn - hopefully safely ;-))

Take care. Best regards, Paul
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: