Welcome! Log In Create A New Profile

Advanced

Netgear Stora success

Posted by rayknight 
Netgear Stora success
July 17, 2016 12:51AM
Not sure whether anyone has reported success with a Netgear Stora yet, but I can confirm that all works great! I had a Netgear Stora that was hanging with a corrupted U-Boot 1.1.4. I was unable to boot to NAND or USB. So I created a Debian USB flash drive and then successfully used kwboot to boot the 2016.05 u-boot from this forum and loaded Debian from the flash drive. I was then able to follow the u-boot instructions and the Debian instructions to successfully load and boot Debian on this NAS!

root@Netgear-Stora:~# myinfo
Netgear-Stora
192.168.11.109
Machine model: NETGEAR MS2000 / MS2110 aka Stora
Linux version 4.6.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Wed May 18 03:54:14 PDT 2016
Re: Netgear Stora success
September 24, 2016 07:31PM
rayknight,
could you help me?

I would like to boot Debian from flash, and rootfs to have on IDE-drive.
NAND of my Stora was completely corrupted before.
As a first step I successfully booted the 2016.05 u-boot with kwboot and wrote u-boot into the NAND.
I stuck on the second step. I can't boot kernel because of the original image has been destroyed.
What I have to do as a next step?
Re: Netgear Stora success
September 27, 2016 12:57AM
sasha_il Wrote:
-------------------------------------------------------
> rayknight,
> could you help me?
>
> I would like to boot Debian from flash, and rootfs
> to have on IDE-drive.
> NAND of my Stora was completely corrupted before.
> As a first step I successfully booted the 2016.05
> u-boot with kwboot and wrote u-boot into the
> NAND.
> I stuck on the second step. I can't boot kernel
> because of the original image has been destroyed.
> What I have to do as a next step?

Create Debian 4.4 rootfs on USB and boot with that:

http://forum.doozan.com/read.php?2,12096

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Netgear Stora success
September 27, 2016 06:54AM
The problem is that I can't boot a kernel. I can't do the step 3 of that guide. This is because of the ability to booting in u-boot prompt only (flash was corrupted completely). And I can't also do the step 4a due to the same problem.
Probably it is possible to write uImage in to the flash directly (using nand write command), write rootfs to an USB-stick (ext2) and then attempt to boot. But I can't find the right uImage.
Please, advice me the right steps to solve the problem.
Re: Netgear Stora success
September 27, 2016 09:29AM
sasha_il Wrote:
-------------------------------------------------------
> The problem is that I can't boot a kernel. I can't
> do the step 3 of that guide. This is because of
> the ability to booting in u-boot prompt only
> (flash was corrupted completely). And I can't also
> do the step 4a due to the same problem.
> Probably it is possible to write uImage in to the
> flash directly (using nand write command), write
> rootfs to an USB-stick (ext2) and then attempt to
> boot. But I can't find the right uImage.
> Please, advice me the right steps to solve the
> problem.

You can create the USB rootfs using any Linux box. This is the correct tarball:
Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2 (20 Feb 2016)

Scroll down to

Quote

Updated 20 Feb 2016:

This Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2 is to keep in sync with kernel Linux-4.4.0-kirkwood-tld-1.

Basic minimal Debian Kirkwood rootfs for most Kirwood plugs:

- tarball size: 137M
- install size: 398M
- a basic jessie rootfs.
- The init system used in this rootfs is sysvinit . To boot with systemd, see note 2 below.
- Installed packages: nano, avahi, ntp, busybox-syslogd (log to RAM), htop, isc-dhcp-client, dialog, bzip2, nfs server/client, iperf, ethtool, sysvinit-core, sysvinit, and sysvinit-utils.
- see LED controls in /etc/rc.local, and /etc/init.d/halt
- see some useful aliases in /root/.profile
- root password: root


That's it. No need to worry about kernel uImage and uInitrd. These are already in this rootfs.

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



Edited 1 time(s). Last edit at 09/27/2016 11:32AM by bodhi.
Re: Netgear Stora success
September 27, 2016 04:30PM
Bodhi,

Ok, thank you very much.

I've managed to start booting of Debian. Business moving...
But I've got error message and kernel panic due to wrong environments (see attached files: booting journal and list of envs).
Could you help?
Attachments:
open | download - booting_env.txt (1.9 KB)
open | download - booting_journal.txt (12.4 KB)
Re: Netgear Stora success
September 27, 2016 05:25PM
sasha_il Wrote:
-------------------------------------------------------
> Bodhi,
>
> Ok, thank you very much.
>
> I've managed to start booting of Debian. Business
> moving...
> But I've got error message and kernel panic due to
> wrong environments (see attached files: booting
> journal and list of envs).
> Could you help?

You are booting with the new u-boot, so step 4 should not have been done

Quote

4. Create uImage with embedded DTB for booting with older u-boots (2012 or earlier). Skip this step if you have installed the latest U-Boot for Kirkwood (or are installing this u-boot at the same time).

Please replace kirkwood-goflexnet.dtb below with the correct DTB name for your box (see the folder /media/sdb1/boot/dts).

Generate the uImage with DTB embedded inside:
cd /media/sdb1/boot
cp -a zImage-4.4.0-kirkwood-tld-1 zImage.fdt
cat dts/kirkwood-goflexnet.dtb >> zImage.fdt
mv uImage uImage.orig
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-4.4.0-kirkwood-tld-1 -d zImage.fdt uImage
sync

So to correct it, reverse step 4, mount the rootfs on another Linux box and (if it is mounted at /media/sdb1):

cd /media/sdb1/boot
cp -a uImage uImage.stora
mv uImage.orig uImage
sync

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Netgear Stora success
September 27, 2016 05:37PM
sasha_il,

Also, if it still could not be booted then this is a secondary problem. You have not flashed the new default envs after installing new u-boot:

root=/dev/sda1
rootfstype=ext2

The current u-boot envs can be used for booting, but it is primitive, so you should flash the default envs image. But do that later. For now, in serial console:

setenv rootfstype
setenv usb_root 'root=LABEL=rootfs'

and then boot the same way you did

run usb_boot

And FYI, when you post serial console log, please post the entire log (from u-boot banner) so I can see which version you are running.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Netgear Stora success
September 27, 2016 08:46PM
Bodhi,
no something wrong.
I've made completely new rootfs on USB-stick, skipping step 3 and step 4 of the Guide.
After reset of Stora it attempts to start Debian... and I see that it hangs on the booting kernel stage (see attachments).
Where is the problem?
Attachments:
open | download - booting_journal_1.txt (2 KB)
open | download - booting_env_1.txt (1.9 KB)
Re: Netgear Stora success
September 27, 2016 09:39PM
bootcmd=setenv bootargs $(console) root=UUID=a54dd49c-e92f-44b rootdelay=10; run bootcmd_usb; bootm 0x200000 0x800000

Your bootmd is trying to boot NAND first. So that's wrong.

Power up, interrupt serial console and

setenv rootfstype
setenv usb_root 'root=LABEL=rootfs'
setenv bootcmd 'run set_bootargs_usb; usb_boot; reset'
boot

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Netgear Stora success
September 28, 2016 12:42PM
bodhi Wrote:
-------------------------------------------------------
> Power up, interrupt serial console and
>
>
> setenv rootfstype
> setenv usb_root 'root=LABEL=rootfs'
> setenv bootcmd 'run set_bootargs_usb; usb_boot; reset'
> boot
>

Probably you meant: setenv bootcmd 'run set_bootargs_usb; run usb_boot; reset'.
Yes, it's working, thank you. We are moving forward...
Now hangs at stage of mounting /root (see attachments :(
Do not understand the reason why not mounted. The label is rootfs. I've checked twice.
Attachments:
open | download - booting_journal_2.txt (14.2 KB)
open | download - booting_env_2.txt (1.8 KB)
Re: Netgear Stora success
September 28, 2016 05:48PM
sasha_il Wrote:
-------------------------------------------------------
> Probably you meant: setenv bootcmd 'run
> set_bootargs_usb; run usb_boot; reset'.
> Yes, it's working, thank you. We are moving
> forward...

Yes :)

> Now hangs at stage of mounting /root (see
> attachments :(
> Do not understand the reason why not mounted. The
> label is rootfs. I've checked twice.

Let me take a look..

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Netgear Stora success
September 28, 2016 06:19PM
sasha_il,

Sorry must be my posting late at night :) Here are the corrected envs:

setenv rootfstype
setenv usb_root 'LABEL=rootfs'
setenv bootcmd 'run set_bootargs_usb; run usb_boot; reset'
boot

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Netgear Stora success
September 29, 2016 03:19PM
Ok, we're moving on...
I already see an OS prompt. But still have an error with /dev/sda1 and can not login.
Is "root" in the u-boot envs wrong or something else?
Attachments:
open | download - booting_env_3.txt (1.8 KB)
open | download - booting_journal_3.txt (15.8 KB)
Re: Netgear Stora success
September 29, 2016 04:06PM
sasha_il Wrote:
-------------------------------------------------------
> Ok, we're moving on...
> I already see an OS prompt. But still have an
> error with /dev/sda1 and can not login.
> Is "root" in the u-boot envs wrong or something
> else?

Your rootfs has errors (probablydue to several power downs you did after it was was hung up during boot).

Take it to another Linux box and run e2fsck to check and fix errors.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Netgear Stora success
September 29, 2016 07:43PM
Bodhi,
you are right, the problem was in wrong usb-stick contents.
So, we did it! The booting completed. Perfect! Thanks a lot. I have a working Debian-box instead of brick!
Could you help me (or to point to the place on the forum) to do the next steps:
  • clean up the u-boot envs (minimum set of envs to boot from usb/ide/nand)
  • setup envs to boot from ide/nand
  • move the uImage and Initrd to the nand (nand will serve as backup for booting)
Thank you in advance.
Attachments:
open | download - booting_journal_4.txt (16.5 KB)
Re: Netgear Stora success
September 29, 2016 08:54PM
Bodhi,
could you look at the journal on 6th sec of the booting.
I didn't notice before that there are some errors/warnings regarding /dev/sda1.
Is it normal?
Re: Netgear Stora success
September 29, 2016 09:20PM
sasha_il Wrote:
-------------------------------------------------------
> Bodhi,
> could you look at the journal on 6th sec of the
> booting.
> I didn't notice before that there are some
> errors/warnings regarding /dev/sda1.
> Is it normal?

It is normal.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Netgear Stora success
September 30, 2016 03:57PM
sasha_il Wrote:
-------------------------------------------------------
> Bodhi,
> you are right, the problem was in wrong usb-stick
> contents.
> So, we did it! The booting completed. Perfect!
> Thanks a lot. I have a working Debian-box instead
> of brick!
> Could you help me (or to point to the place on the
> forum) to do the next steps:
>

    > clean up the u-boot envs (minimum set of envs to boot from usb/ide/nand)

    Do step 8 (section B) in new uboot installation thread to flash new default envs image.

    -bodhi
    ===========================
    Forum Wiki
    bodhi's corner (buy bodhi a beer)
Re: Netgear Stora success
October 03, 2016 04:06PM
Yes, I can also confirm that all working fine.
I can now boot my Netgear Stora MS2000 to Debian as described in Linux Kernel 4.6 Kirkwood (FDT) (see attachment).

Bodhi, your help was great! Thank you very much.
Attachments:
open | download - booting_journal_5.txt (17.5 KB)
Re: Netgear Stora success
October 03, 2016 06:46PM
> Yes, I can also confirm that all working fine.

Cool!

In your bootlog, it seems like you are only booting from SATA

running scan_disk ...
Scan device mmc
Unknown command 'mmc' - try 'help'
device mmc 0:1
** Bad device mmc 0 **
device mmc 1:1
** Bad device mmc 1 **
device mmc 2:1
** Bad device mmc 2 **
device mmc 3:1
** Bad device mmc 3 **
device mmc 4:1
** Bad device mmc 4 **
device mmc 5:1
** Bad device mmc 5 **
device mmc 6:1
** Bad device mmc 6 **
device mmc 7:1
** Bad device mmc 7 **
Scan device usb
device usb 0:1
** Bad device usb 0 **
device usb 1:1
** Bad device usb 1 **
device usb 2:1
** Bad device usb 2 **
device usb 3:1
** Bad device usb 3 **
device usb 4:1
** Bad device usb 4 **
device usb 5:1
** Bad device usb 5 **
device usb 6:1
** Bad device usb 6 **
device usb 7:1
** Bad device usb 7 **
Scan device ide
running scan_disk ...
Scan device mmc
Unknown command 'mmc' - try 'help'
device mmc 0:1
** Bad device mmc 0 **
device mmc 1:1
** Bad device mmc 1 **
device mmc 2:1
** Bad device mmc 2 **
device mmc 3:1
** Bad device mmc 3 **
device mmc 4:1
** Bad device mmc 4 **
device mmc 5:1
** Bad device mmc 5 **
device mmc 6:1
** Bad device mmc 6 **
device mmc 7:1
** Bad device mmc 7 **
Scan device usb
device usb 0:1
** Bad device usb 0 **
device usb 1:1
** Bad device usb 1 **
device usb 2:1
** Bad device usb 2 **
device usb 3:1
** Bad device usb 3 **
device usb 4:1
** Bad device usb 4 **
device usb 5:1
** Bad device usb 5 **
device usb 6:1
** Bad device usb 6 **
device usb 7:1
** Bad device usb 7 **
Scan device ide

Reset IDE: Bus 0: OK Bus 1: not available

You can also make booting less noisy by selecting SATA only with this adjustment using uEnv.txt
devices=ide

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Netgear Stora success
October 06, 2016 10:31AM
Quote
You can also make booting less noisy by selecting SATA only with this adjustment using uEnv.txt

devices=ide

Yes, thank you.

I've upgraded OS to Linux Kernel 4.6.
uname -a
Linux stora 4.6.0-kirkwood-tld-1 #1 PREEMPT Wed May 18 03:54:14 PDT 2016 armv5tel GNU/Linux

All are working perfect!
Bodhi, once again, great work.



Edited 1 time(s). Last edit at 10/06/2016 05:09PM by sasha_il.
Re: Netgear Stora success
October 07, 2016 07:02PM
I've built 1TB RAID1 on Netgear Stora. This perfect Guide was used.
/dev/md0 - rootfs
/dev/md1 - swap
Erik Grootjans
Re: Netgear Stora success
March 15, 2017 10:34AM
Hi Bodi,

I have a stora MS2000 and i'm trying to get debian on it.
I started to download Debian-4.4.0-kirkwood-tld-1-rootfs-bodi.tar.gz.
I followed the installation.
I use the old -original - u-boot loader.
I have tryed out with this U-boot setting.

When i do a:
run usb_bootcmd

Booting image and ram-disk are loaded
Get a message:

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

than nothing.


The first time i tryed this - the box would also not boot Redhat again - only loading the kernel
I had to reload the flashware.img. I checked to be sure, but the box is now after testing starting redhat.
So i'm sure its not an mem or nand problem.
Please can you help.
What i'm doing wrong.

Help is appriciated.
Thanks

Erik





Marvell>> run usb_bootcmd
(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
....
.
......
............
.........................
...................................................
.............................................................................                                                                                                           .........................
.............................................................................                                                                                                           ..............................

3193125 bytes read
....
.
......
............
.........................
...................................................
.............................................................................                                                                                                           .........................
.............................................................................                                                                                                           .............................................................................                                                                                                           .......................................................
.............................................................................                                                                                                           .............................................................................                                                                                                           .............................................................................                                                                                                           .......................................................

7179935 bytes read
## Booting image at 00200000 ...
   Image Name:   Linux-4.4.0-kirkwood-tld-1
   Created:      2017-03-14  18:55:30 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3193061 Bytes =  3 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 00800000 ...
   Image Name:   initramfs-4.4.0-kirkwood-tld-1
   Created:      2016-02-19   7:33:04 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7179871 Bytes =  6.8 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ 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: 1a51dd90, Calculated CRC: 1a51dd90

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>>
Marvell>>
Marvell>>
Marvell>>
Marvell>>
Marvell>>
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=/de                                                                                                           v/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); boot                                                                                                           m 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
fw_up=disable
bootcmd=nand read.e 0x800000 0x100000 0x300000; setenv bootargs $(console) $(                                                                                                           bootargs_root); bootm 0x800000
loadaddr=0x02000000
ethaddr=00:50:43:00:02:02
usb_load_uimage=ext2load usb 0:1 0x200000 /boot/uImage
usb_load_uinitrd=ext2load usb 0:1 0x800000 /boot/uInitrd
usb_boot=run usb_load_uimage; run usb_load_uinitrd; bootm 0x200000 0x800000
usb_bootcmd=usb start; run usb_init; run usb_set_bootargs; run usb_boot
usb_device=0:1
usb_rootfstype=ext2
usb_rootdelay=10
usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$u                                                                                                           sb_rootdelay rootfstype=$usb_rootfstype
usb_init=setenv test=1
usb_root=/dev/sda1
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
enaAutoRecovery=no
ethact=egiga1

Environment size: 1711/131068 bytes
Marvell>>
Unknown command '' - try 'help'
Marvell>> usb reset
(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
Marvell>> run usb_set_bootargs
Marvell>> setenv usb_root 'LABEL=rootfs'
Marvell>> setenv rootfstype
Marvell>> run usb_boot
....
.
......
............
.........................
...................................................
......................................................................................................
...........................................................................................................

3193125 bytes read
....
.
......
............
.........................
...................................................
......................................................................................................
.................................................................................................................................................................................................................
..............................................................................................................................................................................................................................................................................................

7179935 bytes read
## Booting image at 00200000 ...
   Image Name:   Linux-4.4.0-kirkwood-tld-1
   Created:      2017-03-14  18:55:30 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3193061 Bytes =  3 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 00800000 ...
   Image Name:   initramfs-4.4.0-kirkwood-tld-1
   Created:      2016-02-19   7:33:04 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7179871 Bytes =  6.8 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ 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: 1a51dd90, Calculated CRC: 1a51dd90

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>>
Marvell>>
Marvell>>
Marvell>>
Marvell>>
Marvell>>
Marvell>>
Marvell>> usb reset
(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
Marvell>> run usb_set_bootargs
Marvell>> setenv root 'LABEL=rootfs'
Marvell>> setenv rootfstype
Marvell>> run usb_boot
 ** ext2fs_devread() read error **

** Unable to read "/boot/uImage" from usb 0:1 **

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ 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: 1a51dd90, Calculated CRC: 1a51dd90

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>>
Marvell>>
Marvell>>
Marvell>>
Marvell>>
Marvell>> usb reset
(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
Marvell>> run usb_set_bootargs
Marvell>> setenv root 'LABEL=rootfs'
Marvell>> run usb_boot
....
.
......
............
.........................
...................................................
......................................................................................................
...........................................................................................................

3193125 bytes read
....
.
......
............
.........................
...................................................
......................................................................................................
.................................................................................................................................................................................................................
..............................................................................................................................................................................................................................................................................................

7179935 bytes read
## Booting image at 00200000 ...
   Image Name:   Linux-4.4.0-kirkwood-tld-1
   Created:      2017-03-14  18:55:30 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3193061 Bytes =  3 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 00800000 ...
   Image Name:   initramfs-4.4.0-kirkwood-tld-1
   Created:      2016-02-19   7:33:04 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7179871 Bytes =  6.8 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ 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: 1a51dd90, Calculated CRC: 1a51dd90

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>>
Marvell>>
Marvell>>
Marvell>>
Marvell>> usb reset
(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
Marvell>> run usb_set_bootargs
Marvell>> setenv rootfstype
Marvell>> run usb_boot
....
.
......
............
.........................
...................................................
......................................................................................................
...........................................................................................................

3193125 bytes read
....
.
......
............
.........................
...................................................
......................................................................................................
.................................................................................................................................................................................................................
..............................................................................................................................................................................................................................................................................................

7179935 bytes read
## Booting image at 00200000 ...
   Image Name:   Linux-4.4.0-kirkwood-tld-1
   Created:      2017-03-14  18:55:30 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3193061 Bytes =  3 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 00800000 ...
   Image Name:   initramfs-4.4.0-kirkwood-tld-1
   Created:      2016-02-19   7:33:04 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7179871 Bytes =  6.8 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Re: Netgear Stora success
March 15, 2017 02:37PM
Hi

I deleted the rootfstype from usb_set_bootargs, so it reads now:
usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay

When i start without the bootargs. Like this


usb reset
run usb_boot

I get this:

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ 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: 32ab8520, Calculated CRC: 32ab8520

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>>
Marvell>>
Marvell>> usb reset; run usb_boot
(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
....
.
......
............
.........................
...................................................
......................................................................................................
...........................................................................................................

3193125 bytes read
....
.
......
............
.........................
...................................................
......................................................................................................
.................................................................................................................................................................................................................
..............................................................................................................................................................................................................................................................................................

7179935 bytes read
## Booting image at 00200000 ...
   Image Name:   Linux-4.4.0-kirkwood-tld-1
   Created:      2017-03-14  18:55:30 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3193061 Bytes =  3 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 00800000 ...
   Image Name:   initramfs-4.4.0-kirkwood-tld-1
   Created:      2016-02-19   7:33:04 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7179871 Bytes =  6.8 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Mon Jan 25 20:35:24 PST 2016
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine model: NETGEAR ReadyNAS Duo v2
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] INITRD: 0x00800040+0x006d8e5f overlaps in-use memory region - disabling initrd
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200n8 earlyprintk
[    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: 120632K/131072K available (6007K kernel code, 573K rwdata, 1992K rodata, 296K init, 312K bss, 10440K reserved, 0K cma-reserved)
[    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 - 0xc07d7ef4   (8000 kB)
[    0.000000]       .init : 0xc07d8000 - 0xc0822000   ( 296 kB)
[    0.000000]       .data : 0xc0822000 - 0xc08b169c   ( 574 kB)
[    0.000000]        .bss : 0xc08b169c - 0xc08ff9d0   ( 313 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 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.008257] Console: colour dummy device 80x30
[    0.012790] Calibrating delay loop... 990.41 BogoMIPS (lpj=4952064)
[    0.100739] pid_max: default: 32768 minimum: 301
[    0.105543] Security Framework initialized
[    0.109836] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.116522] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.124683] Initializing cgroup subsys io
[    0.128851] Initializing cgroup subsys devices
[    0.133399] Initializing cgroup subsys freezer
[    0.137975] Initializing cgroup subsys net_cls
[    0.142579] CPU: Testing write buffer coherency: ok
[    0.148101] Setting up static identity map for 0x8200 - 0x8258
[    0.154346] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[    0.163818] devtmpfs: initialized
[    0.173835] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.184305] prandom: seed boundary self test passed
[    0.193830] prandom: 100 self tests passed
[    0.198065] pinctrl core: initialized pinctrl subsystem
[    0.204986] NET: Registered protocol family 16
[    0.210040] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.247990] cpuidle: using governor ladder
[    0.277987] cpuidle: using governor menu
[    0.282423] Feroceon L2: Enabling L2
[    0.286115] Feroceon L2: Cache support initialised.
[    0.291572] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.309178] No ATAGs?
[    0.349765] vgaarb: loaded
[    0.353245] usbcore: registered new interface driver usbfs
[    0.358950] usbcore: registered new interface driver hub
[    0.364412] usbcore: registered new device driver usb
[    0.370839] clocksource: Switched to clocksource orion_clocksource
[    0.444339] NET: Registered protocol family 2
[    0.449691] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.456882] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.463342] TCP: Hash tables configured (established 1024 bind 1024)
[    0.469823] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.475757] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.482333] NET: Registered protocol family 1
[    0.487165] RPC: Registered named UNIX socket transport module.
[    0.493207] RPC: Registered udp transport module.
[    0.497976] RPC: Registered tcp transport module.
[    0.502770] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.509702] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.517596] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.523901] audit: initializing netlink subsys (disabled)
[    0.529407] audit: type=2000 audit(0.510:1): initialized
[    0.535287] Initialise system trusted keyring
[    0.540121] zbud: loaded
[    0.543124] VFS: Disk quotas dquot_6.6.0
[    0.547175] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.554880] NFS: Registering the id_resolver key type
[    0.560031] Key type id_resolver registered
[    0.564340] Key type id_legacy registered
[    0.568442] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.575236] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.581929] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.589645] Key type big_key registered
[    0.607161] Key type asymmetric registered
[    0.611450] Asymmetric key parser 'x509' registered
[    0.616496] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.624173] io scheduler noop registered
[    0.628174] io scheduler deadline registered
[    0.632648] io scheduler cfq registered (default)
[    0.639082] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.647407] irq: Cannot allocate irq_descs @ IRQ34, assuming pre-allocated
[    0.654893] irq: Cannot allocate irq_descs @ IRQ66, assuming pre-allocated
[    0.662873] mvebu-pcie mbus:pcie-controller: PCI host bridge to bus 0000:00
[    0.669904] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    0.676272] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    0.683231] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.689239] PCI: bus0: Fast back to back transfers disabled
[    0.694931] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.703234] PCI: bus1: Fast back to back transfers enabled
[    0.708872] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.714326] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.761677] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.769289] mv_xor f1060900.xor: Marvell shared XOR driver
[    0.811662] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.819581] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.827693] console [ttyS0] disabled
[    0.831475] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    0.840517] console [ttyS0] enabled
[    0.840517] console [ttyS0] enabled
[    0.847669] bootconsole [earlycon0] disabled
[    0.847669] bootconsole [earlycon0] disabled
[    0.857860] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda
[    0.864292] nand: Samsung NAND 256MiB 3,3V 8-bit
[    0.868932] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.876565] Scanning device for bad blocks
[    0.899761] Bad eraseblock 246 at 0x000001ec0000
[    0.934873] Bad eraseblock 640 at 0x000005000000
[    0.944124] Bad eraseblock 700 at 0x000005780000
[    0.948878] Bad eraseblock 702 at 0x0000057c0000
[    0.997401] Bad eraseblock 1270 at 0x000009ec0000
[    1.017110] Bad eraseblock 1464 at 0x00000b700000
[    1.037275] Bad eraseblock 1664 at 0x00000d000000
[    1.046619] Bad eraseblock 1724 at 0x00000d780000
[    1.051482] Bad eraseblock 1726 at 0x00000d7c0000
[    1.059104] Bad eraseblock 1764 at 0x00000dc80000
[    1.088826] libphy: Fixed MDIO Bus: probed
[    1.093438] libphy: orion_mdio_bus: probed
[    1.097936] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    1.105515] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.112214] ehci-pci: EHCI PCI platform driver
[    1.116774] ehci-orion: EHCI orion driver
[    1.121072] orion-ehci f1050000.ehci: EHCI Host Controller
[    1.126620] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    1.134597] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    1.150886] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    1.157200] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.164063] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.171348] usb usb1: Product: EHCI Host Controller
[    1.176251] usb usb1: Manufacturer: Linux 4.4.0-kirkwood-tld-1 ehci_hcd
[    1.182918] usb usb1: SerialNumber: f1050000.ehci
[    1.188548] hub 1-0:1.0: USB hub found
[    1.192420] hub 1-0:1.0: 1 port detected
[    1.197578] mousedev: PS/2 mouse device common for all mice
[    1.510879] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    1.663358] usb 1-1: New USB device found, idVendor=125f, idProduct=c83a
[    1.670118] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.677336] usb 1-1: Product: A-DATA USB Flash Drive
[    1.682347] usb 1-1: Manufacturer: A-DATA
[    1.686380] usb 1-1: SerialNumber: 06e7cf43be21fe
[    2.210882] rtc-mv f1010300.rtc: internal RTC not ticking
[    2.216560] i2c /dev entries driver
[    2.223423] hidraw: raw HID events driver (C) Jiri Kosina
[    2.229321] drop_monitor: Initializing network drop monitor service
[    2.235977] NET: Registered protocol family 17
[    2.240792] Key type dns_resolver registered
[    2.246094] registered taskstats version 1
[    2.250265] Loading compiled-in X.509 certificates
[    2.255192] zswap: loaded using pool lzo/zbud
[    2.260962] Key type encrypted registered
[    2.265771] hctosys: unable to open rtc device (rtc0)
[    2.272957] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    2.280479] Please append a correct "root=" boot option; here are the available partitions:
[    2.289031] 1f00          262144 mtdblock0  (driver?)
[    2.294184] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    2.302494] CPU: 0 PID: 1 Comm: swapper Not tainted 4.4.0-kirkwood-tld-1 #1
[    2.309490] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[    2.315817] [<c0016784>] (unwind_backtrace) from [<c00129f8>] (show_stack+0x10/0x14)
[    2.323603] [<c00129f8>] (show_stack) from [<c00c2200>] (panic+0x80/0x214)
[    2.330520] [<c00c2200>] (panic) from [<c07d9280>] (mount_block_root+0x204/0x24c)
[    2.338040] [<c07d9280>] (mount_block_root) from [<c07d93b4>] (mount_root+0xec/0x118)
[    2.345913] [<c07d93b4>] (mount_root) from [<c07d9504>] (prepare_namespace+0x124/0x184)
[    2.353962] [<c07d9504>] (prepare_namespace) from [<c07d8e9c>] (kernel_init_freeable+0x208/0x258)
[    2.362888] [<c07d8e9c>] (kernel_init_freeable) from [<c05b16b4>] (kernel_init+0x8/0xe4)
[    2.371021] [<c05b16b4>] (kernel_init) from [<c000f090>] (ret_from_fork+0x14/0x24)
[    2.378631] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   83.020870] random: nonblocking pool is initialized

and this is the same, when i use
root=/dev/sda1
rootfstype=ext2

When i do this and run
Marvell>> run usb_set_bootargs
Marvell>> setenv root=/dev/sda1
Marvell>> setenv rootfstype=ext2
Marvell>> usb reset; run usb_boot

After load files, it stops after booting the kernel....

And when i do:

Marvell>> usb reset
Marvell>> setenv root 'LABEL=rootfs'
Marvell>> run usb_boot

I get the same kernel panic at [2.37...]

SO Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Re: Netgear Stora success
March 15, 2017 04:56PM
Hi Erik,

Your envs are not correct so that's why the rootfs could not be mounted.

Please try again. Power up, interrupt serial console and get the current envs listing and post here (your previous listing above got cut off on the right side).

printenv

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Netgear Stora success
March 16, 2017 06:10AM
Hi Bodi,

Thanks for your reply.

I added mtdids and midparts (and some usb script env parameters, but thats not important)
I think i have to mount the rootfs somehow...
I'm not sure if those settings are correct. I have been searching on the forum...

If I use the usb_set_bootargs -- the loading stops, after unpacking the kernel

This is the enviroment:

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ 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: e6a1a3ed, Calculated CRC: e6a1a3ed

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>>
Marvell>>
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
fw_up=disable
loadaddr=0x02000000
ethaddr=00:50:43:00:02:02
usb_load_uimage=ext2load usb 0:1 0x200000 /boot/uImage
usb_load_uinitrd=ext2load usb 0:1 0x800000 /boot/uInitrd
usb_boot=run usb_load_uimage; run usb_load_uinitrd; bootm 0x200000 0x800000
usb_bootcmd=usb start; run usb_init; run usb_set_bootargs; run usb_boot
usb_device=0:1
usb_rootfstype=ext2
usb_rootdelay=10
usb_init=setenv test=1
ubifs_bootcmd=nand read.e 0x800000 0x100000 0x300000; setenv bootargs $(console) $(bootargs_root); bootm 0x800000
bootcmd=nand read.e 0x800000 0x100000 0x300000; setenv bootargs $(console) $(bootargs_root); bootm 0x800000
usb_root=LABEL=rootfs
usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params
usb_scan_1=usb=0:1 dev=sda1
usb_scan_2=usb=1:1 dev=sdb1
usb_scan_3=usb=2:1 dev=sdc1
usb_scan_4=usb=3:1 dev=sdd1
usb_scan_list=1 2 3 4
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
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
enaAutoRecovery=no
ethact=egiga1

Environment size: 2086/131068 bytes
Marvell>>

Re: Netgear Stora success
March 16, 2017 08:20AM
Hi Bodhi,

I did copy and paste from my putty screen. Its more than 200 chars width. When i look in the message text, its truncated, but when posted, is cut off.

Here are the long ones:

standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console)
root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end)
$(mvPhoneConfig); bootm 0x2000000;


ubifs_bootcmd=nand read.e 0x800000 0x100000 0x300000;
setenv bootargs $(console) $(bootargs_root); bootm 0x800000

bootcmd=nand read.e 0x800000 0x100000 0x300000;
setenv bootargs $(console) $(bootargs_root); bootm 0x800000

usb_root=LABEL=rootfs

usb_set_bootargs=setenv bootargs console=$console
root=$usb_root rootdelay=$usb_rootdelay
rootfstype=$usb_rootfstype $mtdparts $usb_custom_params


I have added the logfile.

"PS The start_netconsole command and the preboot_nc command is not compleet because only 16 parameters may be entered with this uboot. I have to adapt that later when i can use fw_setenv."

Erik
Attachments:
open | download - putty.log (3.8 KB)
Re: Netgear Stora success
March 16, 2017 02:24PM
Hi Bodhi,

I'm sorry, i did use the wrong dtb file.
I have corrected step 4, and created a new uImage.
But result is still the same; box won't start.

without bootargs, kernel boots into panic
with bootargs, stops after uncompressing kernel.

Added new logfile.
Attachments:
open | download - putty.log (42.4 KB)
Re: Netgear Stora success
March 16, 2017 03:30PM
Erik Wrote:
-------------------------------------------------------
> Hi Bodhi,
>
> I'm sorry, i did use the wrong dtb file.
> I have corrected step 4, and created a new uImage.
> But result is still the same; box won't start.
>
> without bootargs, kernel boots into panic
> with bootargs, stops after uncompressing kernel.
>
> Added new logfile.

Erik

I'll take a look at this later today.

In the mean time, print out the envs before running usb_boot, and post the log here (in code tags). No need to attach the log file.

printenv
run usb_boot

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



Edited 1 time(s). Last edit at 03/16/2017 03:46PM by bodhi.
Author:

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: