Netgear stora MS-2000 + OpenWrt 18.06.4

Hello dear OpenWrt users!

I want to run OpenWrt on my Netgear Stora MS-2000. Officially, it is not supported in buildroot. But similar devices are supported, for example, Seagate Goflex Home.

The configuration for compiling the U-boot for Netgear Stora is also not in the u-boot mainline repository. Therefore, I found an already compiled u-boot from Bodhi.
Using kwboot, I was able to check this u-boot and record it in NAND.
Fixed typos in environments, for example, dtb_file '/boot/dts/kirkwood-netgear_stora_ms2000' -> dtb_file '/boot/dts/kirkwood-netgear_stora_ms2000.dtb'
I added my ip and serverip in environments.

According to the instructions for the Seagate Goflex Home, I recorded the openwrt:

tftpboot openwrt.bin
nand erase.part kernel
nand write 0x800000 kernel 0x3c0000

I can not start openwrt. I do not know what to write in the parameter bootcmd.
Bodhi has all the parameters for booting from usb, and I want to boot from NAND.

printenv

arcNumber=2743
baudrate=115200
bootargs=$(console) $(bootargs_root)
bootcmd=nand read 0x80000 0x100000 0x400000
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; i
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=5
bootdev=usb
console=console=ttyS0,115200
device=0:1
devices=usb ide
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-netgear_stora_ms2000.dtb
ethact=egiga0
ethaddr=E0:46:9A:AA:CC:BB
fileaddr=800000
filesize=3e0000
if_netconsole=ping $serverip
ipaddr=192.168.1.5
led_error=orange blinking
led_exit=green off
led_init=green blinking
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file
load_dtb_addr=0x1c00000
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x1100000
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
load_uimage_addr=0x800000
mainlineLinux=yes
mtddevname=uboot
mtddevnum=0
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1m(uboot),4m@1m(kernel),251m@5m(rootfs)
netmask=255.255.255.0
partition=nand0,0
preboot_nc=run if_netconsole start_netconsole
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start"; setenv scan_ide "ide reset"; setenv scan_mmc "mmc rese
serverip=192.168.1.4
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
uenv_init_devices=setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do;
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in 0; do run uenv_read_disk; done; done;
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded i
uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_i
usb_ready_retry=15

Generally you'd tftp an initramd version of OpenWrt and boot it from RAM. Then use the sysupgrade command in OpenWrt to write the sysupgrade version to flash, and then you have a regular bootable install. Modifying the bootloader parameters should not be necessary.

bootdev=usb
device=0:1

so....

load $bootdev $device $load_initrd_addr /boot/uInitrd
load $bootdev $device $load_uimage_addr /boot/uImage
load $bootdev $device $load_dtb_addr /boot/dts/kirkwood-netgear_stora_ms2000.dtb

you can try manually loading from mtd...

load DEV DEVICE ADDR FILENAME ( don't think there is an initrd )
bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr
( try something like this for no initrd )
bootm $load_uimage_addr - $load_dtb_addr

Best to enter manual addresses while you get the hang of it.... Assuming the files are in the right place ... then the rest is just finding the right command syntax....

Have you verified you can read the files off mtd with load?

Thanks for your advice! I have moved on, but the starting stops.
Do I understand correctly that this image is not suitable for Netgear Stora?
Or is it something else?

Here are the modified options in u-boot environments:

set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
bootcmd=run set_bootargs; run bootcmd_exec; reset
bootcmd_exec=run load_uimage; run load_dtb; bootm $load_uimage_addr - $load_dtb_addr
load_dtb=echo loading DTB $dtb_file ...; tftp $load_dtb_addr kirkwood-netgear_stora_ms2000.dtb
load_dtb_addr=0x1c00000
load_uimage=echo loading uImage ...; tftpboot initramfs
load_uimage_addr=0x800000

Bootlog

U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:38:05 -0700)
Netgear Stora MS2110

SoC: Kirkwood 88F6281_A1
DRAM: 128 MiB
WARNING: Caches not enabled
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
PHY reset timed out
88E1116 Initialized on egiga0
Hit any key to stop autoboot: 0
loading uImage ...
Using egiga0 device
TFTP from server 192.168.1.4; our IP address is 192.168.1.5
Filename 'initramfs'.
Load address: 0x800000
Loading: #################################################################
#################################################################
#################################################################
###########################################
3.3 MiB/s
done
Bytes transferred = 3486871 (353497 hex)
loading DTB /boot/dts/kirkwood-netgear_stora_ms2000.dtb ...
Using egiga0 device
TFTP from server 192.168.1.4; our IP address is 192.168.1.5
Filename 'kirkwood-netgear_stora_ms2000.dtb'.
Load address: 0x1c00000
Loading: #
2.3 MiB/s
done
Bytes transferred = 11849 (2e49 hex)

Booting kernel from Legacy Image at 00800000 ...

Image Name: ARM OpenWrt Linux-4.14.131
Created: 2019-06-27 12:18:52 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3486807 Bytes = 3.3 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK

Flattened Device Tree blob at 01c00000

Booting using the fdt blob at 0x1c00000
Loading Kernel Image ... OK
Loading Device Tree to 03ffa000, end 03fffe48 ... OK

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.131 (buildbot@c2c312384f99) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7808-ef686b7292)) #0 Thu Jun 27 129
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] OF: fdt: Machine model: Seagate GoFlex Home
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] random: get_random_bytes called from 0xc0700980 with crng_init=0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: console=ttyS0,115200n8 earlyprintk root=/dev/sda1 rootdelay=10
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Memory: 117144K/131072K available (4703K kernel code, 166K rwdata, 724K rodata, 6144K init, 208K bss, 13928K reserved, 0)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xc8800000 - 0xff800000 ( 880 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0597dd0 (5696 kB)
[ 0.000000] .init : 0xc0700000 - 0xc0d00000 (6144 kB)
[ 0.000000] .data : 0xc0d00000 - 0xc0d299a0 ( 167 kB)
[ 0.000000] .bss : 0xc0d299a0 - 0xc0d5d9f4 ( 209 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[ 0.000010] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[ 0.000046] Switching to timer-based delay loop, resolution 5ns
[ 0.000137] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[ 0.000166] pid_max: default: 32768 minimum: 301
[ 0.000341] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000366] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000957] CPU: Testing write buffer coherency: ok
[ 0.001856] Setting up static identity map for 0x100000 - 0x10003c
[ 0.002167] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[ 0.006131] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.006163] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.006269] pinctrl core: initialized pinctrl subsystem
[ 0.007523] NET: Registered protocol family 16
[ 0.008003] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.009094] cpuidle: using governor ladder
[ 0.009554] Feroceon L2: Enabling L2
[ 0.009607] Feroceon L2: Cache support initialised.
[ 0.009912] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[ 0.014116] No ATAGs?
[ 0.033334] SCSI subsystem initialized
[ 0.034155] usbcore: registered new interface driver usbfs
[ 0.034223] usbcore: registered new interface driver hub
[ 0.034290] usbcore: registered new device driver usb
[ 0.036557] clocksource: Switched to clocksource orion_clocksource
[ 0.037485] NET: Registered protocol family 2
[ 0.038186] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.038214] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.038237] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.038331] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.038356] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.038521] NET: Registered protocol family 1
[ 0.151372] Crashlog allocated RAM at address 0x3f00000
[ 0.152218] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[ 0.157506] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.157520] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.244794] io scheduler noop registered
[ 0.244812] io scheduler deadline registered (default)
[ 0.246196] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[ 0.274420] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.276926] console [ttyS0] disabled
[ 0.277008] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud = 12500000) is a 16550A
[ 0.750956] console [ttyS0] enabled
[ 0.755729] sata_mv f1080000.sata: slots 32 ports 2
[ 0.764796] scsi host0: sata_mv
[ 0.768599] scsi host1: sata_mv
[ 0.771915] ata1: SATA max UDMA/133 irq 32
[ 0.776030] ata2: SATA max UDMA/133 irq 32
[ 0.780714] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda
[ 0.787135] nand: Samsung NAND 256MiB 3,3V 8-bit
[ 0.791780] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 0.799412] Scanning device for bad blocks
[ 0.912528] Bad eraseblock 1024 at 0x000008000000
[ 0.925515] Bad eraseblock 1102 at 0x0000089c0000
[ 0.942328] Bad eraseblock 1216 at 0x000009800000
[ 0.963934] Bad eraseblock 1375 at 0x00000abe0000
[ 0.976935] Bad eraseblock 1453 at 0x00000b5a0000
[ 0.981717] Bad eraseblock 1454 at 0x00000b5c0000
[ 1.049572] 2 fixed-partitions partitions found on MTD device orion_nand
[ 1.056306] Creating 2 MTD partitions on "orion_nand":
[ 1.061494] 0x000000000000-0x000000100000 : "u-boot"
[ 1.067153] 0x000000100000-0x000010000000 : "ubi"
[ 1.074145] libphy: Fixed MDIO Bus: probed
[ 1.078583] libphy: orion_mdio_bus: probed
[ 1.085180] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 0 is missing.
[ 1.092873] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 1.100281] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.106872] ehci-pci: EHCI PCI platform driver
[ 1.111395] ehci-orion: EHCI orion driver
[ 1.115603] orion-ehci f1050000.ehci: EHCI Host Controller
[ 1.121170] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[ 1.129030] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[ 1.156575] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[ 1.163271] hub 1-0:1.0: USB hub found
[ 1.167310] hub 1-0:1.0: 1 port detected
[ 1.171776] usbcore: registered new interface driver usb-storage
[ 1.407896] ata1: SATA link down (SStatus 0 SControl F300)
[ 1.737878] ata2: SATA link down (SStatus 0 SControl F300)
[ 2.126554] random: fast init done
[ 2.246569] rtc-mv f1010300.rtc: internal RTC not ticking
[ 2.252108] i2c /dev entries driver
[ 2.256333] orion_wdt: Initial timeout 21 sec

Your the pioneer... you tell us :wink: Nice to see the kernel firing up! Try higher debug levels...

Although you loaded the "on-device" tree blob into memory via uboot... i doubt an initramfs will honour this as it has one pre appended within itself. Even if it did... it's format is likely not what 4.14 expects.... You have to edit the .dts within the buildroot... ( assuming you have not edited it already )....

Not alot of junk to investigate in reverse tho'

[ 0.009912] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[ 0.014116] No ATAGs?

( partition definitions? )

[ 1.085180] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 0 is missing.
[ 1.407896] ata1: SATA link down (SStatus 0 SControl F300)
[ 2.246569] rtc-mv f1010300.rtc: internal RTC not ticking
1 Like

Hello Energoblock,

Do you still have Netgear Stora? Can you post original bootlog and U-Boot environment variables?

Regards,
lukasgl

Hello, lukasgl!

Original bootlog:

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

U-Boot 1.1.4 (May 30 2011 - 09:26:20) Marvell version: 3.4.15

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

Soc: MV88F6281 Rev 3 (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: fda9a098, Calculated CRC: fda9a098

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>>  

Original environment:

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=E0:46:9A:7A:AE:65
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

Energoblock,

Thank you. I am trying to help another Stora owner to unbrick his device. My stora alerady runs flashed bootloader so we were looking for stock U-Boot owner.

Lukasz

Hi,
I have only changed to have ssh access. If not private data will be required, probabbly I could help you. I am now checking what updates I have at my places. Currently only 5044, small update almost nothing, requires 5043.

I want asked if there are any updates for this topic.
I also found my Stora in the attic. I installed the latest u-boot und also the Kirkwood Debian. But need a plugged USB stick to run the OS. OpenWrt will fit into the NAND...

Hello, BigDi!
Someone added Netgear Stora support to Openwrt. I found this on the wiki page: https://openwrt.org/inbox/toh/netgear/netgear_stora
According to this instruction, I have already installed openwt on 2 Netgear Stora. Everything works stably, the firmware is completely located in NAND.

1 Like

@Energoblock I tried to compile it by myself but I get a lot of errors. Is it possible that you can give me your image?

The archive contains all the necessary files: https://drive.google.com/file/d/1etFczwc1SyPyY9jVCjNe2wuV1LKjXqG5/view?usp=sharing

You can also write what errors you encountered while building source codes.

Many thanks!
I set up a new VM with Debian Buster and take the snapshot from the staging tree. I started the compile and it run ~2 hours and I got a binary. First test with USB stick booted OpenWrt...

Hello! I try install openwrt on my MS2000 but I see errors:

- mount 'volume-name' volume
Error, no UBI device selected!
## Booting kernel from Legacy Image at 00800000 ...
Image Name: ARM OpenWrt Linux-5.4.48
Created: 2020-07-10 13:03:49 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 8644955 Bytes = 8.2 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image
Image too large: increase CONFIG_SYS_BOOTM_LEN
Must RESET board to recover
resetting ...

What did I do wrong?

Thank you

what image did you use?

I'd say it's to big for your current U-boot.

You could try to update your u-boot as well
https://forum.doozan.com/read.php?3,12381

Doozan also have info about how to install Linux on the Storas.

download from this link https://drive.google.com/file/d/1etFczwc1SyPyY9jVCjNe2wuV1LKjXqG5/view?usp=sharing

Thank you. Will be try

the uboot env variables might be off, but I'm not very good with the param/sizes in those,

But which steps exactly did you take, when you tried to get openwrt into your Stora ?
And what version is your u-boot ?

I have a Seagate Dockstar and a Pogoplug series 4 both running OpenWRT, so it's doable,
but they're also officially supported by openwrt :confused:

Yes, I did it. Openwrt is load.

root@OpenWrt:/# reboot
root@OpenWrt:/# [  321.566515] reboot: Restarting system


U-Boot 2020.04 (Jul 10 2020 - 13:03:49 +0000)
Netgear Stora MS2110

SoC:   Kirkwood 88F6281_A1
DRAM:  128 MiB
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
PHY reset timed out
88E1116 Initialized on egiga0
IDE:   ide_preinit failed
Hit any key to stop autoboot:  2  1  0 
mtd: partition "ubi" extends beyond the end of device "nand0" -- size truncated to 0xfe00000
ubi0: attaching mtd3
ubi0 error: validate_ec_hdr: bad VID header offset 2048, expected 512
ubi0 error: validate_ec_hdr: bad EC header
Erase counter header dump:
magic          0x55424923
version        1
ec             1
vid_hdr_offset 2048
data_offset    4096
image_seq      0
hdr_crc        0x7f585319
erase counter header hexdump:
ubi0 error: ubi_io_read_ec_hdr: validation failed for PEB 40
ubi0 error: ubi_attach_mtd_dev: failed to attach mtd3, error -22
UBI error: cannot attach mtd3
UBI error: cannot initialize UBI, error -22
UBI init error 22
Please check, if the correct MTD partition is used (size big enough?)
UBIFS error (pid: 1): cannot open "ubi:rootfs", error -19
Error reading superblock on volume 'ubi:rootfs' errno=-19!
ubifsmount - mount UBIFS volume

Usage:
ubifsmount <volume-name>
    - mount 'volume-name' volume
Error, no UBI device selected!
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Netgear Stora> setenv ipaddr 192.168.0.2
Netgear Stora> setenv serverip 192.168.0.1
Netgear Stora> tftpboot 0x800000 openwrt-kirkwood-netgear_stora-initramfs-uImage
Using egiga0 device
TFTP from server 192.168.0.1; our IP address is 192.168.0.2
Filename 'openwrt-kirkwood-netgear_stora-initramfs-uImage'.
Load address: 0x800000
Loading: *#################################################################
 #################################################################
 #################################################################
 #################################################################
 #################################################################
 #################################################################
 #################################################################
 #################################################################
 #################################################################
 #################################################################
 #################################################################
 #################################################################
 #######################################
 1.3 MiB/s
done
Bytes transferred = 4189135 (3febcf hex)
Netgear Stora> bootm 0x800000 - -
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   ARM OpenWrt Linux-5.4.91
   Created:      2021-01-20   6:47:29 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4189071 Bytes = 4 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
ERROR: Did not find a cmdline Flattened Device Tree
   Loading Kernel Image

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.91 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r15556-20a0d435d8)) #0 Wed Jan 20 06:47:29 2021
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: Seagate GoFlex Net
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    0.000000] Kernel command line: console=ttyS0,115200 mtdparts=orion_nand:0x180000@0x0(uboot),0x20000@0x180000(uboot_env),-@0x200000(ubi)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 116000K/131072K available (5155K kernel code, 179K rwdata, 1420K rodata, 6144K init, 211K bss, 15072K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x2d4/0x4fc with crng_init=0
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000009] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000044] Switching to timer-based delay loop, resolution 5ns
[    0.000141] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000164] pid_max: default: 32768 minimum: 301
[    0.000402] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000426] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001492] CPU: Testing write buffer coherency: ok
[    0.002533] Setting up static identity map for 0x100000 - 0x10003c
[    0.002830] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.006626] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.006659] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.006811] pinctrl core: initialized pinctrl subsystem
[    0.008303] NET: Registered protocol family 16
[    0.008783] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.009956] cpuidle: using governor ladder
[    0.010415] Feroceon L2: Enabling L2
[    0.010466] Feroceon L2: Cache support initialised.
[    0.014898] No ATAGs?
[    0.036706] SCSI subsystem initialized
[    0.037774] usbcore: registered new interface driver usbfs
[    0.037845] usbcore: registered new interface driver hub
[    0.037904] usbcore: registered new device driver usb
[    0.038088] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.041372] clocksource: Switched to clocksource orion_clocksource
[    0.042175] thermal_sys: Registered thermal governor 'step_wise'
[    0.042442] NET: Registered protocol family 2
[    0.043133] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.043169] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.043193] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.043214] TCP: Hash tables configured (established 1024 bind 1024)
[    0.043312] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.043340] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.043541] NET: Registered protocol family 1
[    0.043575] PCI: CLS 0 bytes, default 32
[    0.135982] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.142424] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.142438] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.152911] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.154953] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.156011] mvebu-gpio f1010140.gpio: IRQ index 3 not found
[    0.156570] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.158555] printk: console [ttyS0] disabled
[    0.158648] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud = 12500000) is a 16550A
[    0.555480] printk: console [ttyS0] enabled
[    0.560322] Loading iSCSI transport class v2.0-870.
[    0.567518] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda
[    0.573945] nand: Samsung NAND 256MiB 3,3V 8-bit
[    0.578584] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.586225] Scanning device for bad blocks
[    0.618302] Bad eraseblock 262 at 0x0000020c0000
[    0.637185] Bad eraseblock 396 at 0x000003180000
[    0.679273] Bad eraseblock 748 at 0x000005d80000
[    0.751270] Bad eraseblock 1381 at 0x00000aca0000
[    0.813756] Bad eraseblock 1924 at 0x00000f080000
[    0.831590] 3 cmdlinepart partitions found on MTD device orion_nand
[    0.837878] Creating 3 MTD partitions on "orion_nand":
[    0.843055] 0x000000000000-0x000000180000 : "uboot"
[    0.848698] 0x000000180000-0x0000001a0000 : "uboot_env"
[    0.854637] 0x000000200000-0x000010000000 : "ubi"
[    0.861439] libphy: Fixed MDIO Bus: probed
[    0.866339] libphy: orion_mdio_bus: probed
[    0.875035] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 0 is missing.
[    0.882720] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    1.921381] rtc-mv f1010300.rtc: internal RTC not ticking
[    1.926917] i2c /dev entries driver
[    1.930910] watchdog: f1020300.watchdog-timer: driver supplied timeout (4294967295) out of range
[    1.939760] watchdog: f1020300.watchdog-timer: falling back to default timeout (21)
[    1.947653] orion_wdt: Initial timeout 21 sec
[    2.032259] marvell-cesa f1030000.crypto: CESA device successfully registered
[    2.040564] NET: Registered protocol family 10
[    2.047029] Segment Routing with IPv6
[    2.050798] NET: Registered protocol family 17
[    2.055345] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    2.068553] 8021q: 802.1Q VLAN Support v1.8
[    2.076727] UBI error: no valid UBI magic found inside mtd2
[    2.082386] hctosys: unable to open rtc device (rtc0)
[    2.109063] Freeing unused kernel memory: 6144K
[    2.113689] Run /init as init process
[    2.354504] init: Console is alive
[    2.358092] init: - watchdog -
[    2.369628] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.378585] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.387630] ehci-fsl: Freescale EHCI Host controller driver
[    2.395889] ehci-orion: EHCI orion driver
[    2.400145] orion-ehci f1050000.ehci: EHCI Host Controller
[    2.405720] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    2.413596] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[    2.441399] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    2.448092] hub 1-0:1.0: USB hub found
[    2.452211] hub 1-0:1.0: 1 port detected
[    2.459315] ehci-platform: EHCI generic platform driver
[    2.469476] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    2.486884] random: fast init done
[    2.490563] init: - preinit -
[    2.688387] random: jshn: uninitialized urandom read (4 bytes read)
[    2.736922] random: jshn: uninitialized urandom read (4 bytes read)
[    2.767070] random: jshn: uninitialized urandom read (4 bytes read)
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    7.045640] procd: - early -
[    7.048616] procd: - watchdog -
[    7.598670] procd: - watchdog -
[    7.602158] procd: - ubus -
[    7.657044] procd: - init -
Please press Enter to activate this console.
[    8.070809] kmodloader: loading kernel modules from /etc/modules.d/*
[    8.185733] xt_time: kernel timezone is -0000
[    8.241270] PPP generic driver version 2.4.2
[    8.262164] NET: Registered protocol family 24
[    8.303125] kmodloader: done loading kernel modules from /etc/modules.d/*
[    8.353977] urngd: v1.0.2 started.
[    8.460661] random: crng init done
[    8.464109] random: 7 urandom warning(s) missed due to ratelimiting



BusyBox v1.31.1 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r15556-20a0d435d8
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/# 

But after reboot stora I do not have a kenel. And I can't connect to the web interface.

That was quick :slight_smile:
did you update u-boot, or just the params ?

if it's a snapshot image, you have to install web ui manually.

opkg update
opkg install luci

Check your uboot-variables, your uboot says MS2110, not MS2000.
It's the arcNumber param, if I remember correctly.
https://sigri44.github.io/OpenStora/wiki/index_How_to_install_Debian_Linux_on_NETGEAR_Stora.html

you can enable NC (netcat) for uboot, then you can interact with it over ethernet, instead of serial cable.
https://forum.doozan.com/read.php?3,14,14