Welcome! Log In Create A New Profile

Advanced

Help with Netgear Stora u-boot installation

Posted by igrblkv 
Help with Netgear Stora u-boot installation
August 12, 2018 04:38AM
Hello!

I have Netgear Stora.

login as: admin
Stora version 10.0.x
-bash-3.2$ cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00100000 00020000 "u-boot"
mtd1: 00600000 00020000 "uImage"
mtd2: 0f900000 00020000 "root"
Problem no.1:
-bash-3.2$ sudo fw_printenv ethaddr
audit_log_user_command(): Connection refused
Warning: Bad CRC, using default environment
## Error: "ethaddr" not defined
Quote
current_envs.txt
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=5
baudrate=115200

Problem no.2 (?):
bash-3.2# dmesg | grep -i 'bad'
Scanning device for bad blocks
Bad eraseblock 120 at 0x00f00000
Bad eraseblock 1144 at 0x08f00000
Bad eraseblock 1352 at 0x0a900000
Bad eraseblock 2010 at 0x0fb40000
Bad eraseblock 2011 at 0x0fb60000
UBI: number of bad PEBs:         5
UBI: number of PEBs reserved for bad PEB handling: 38
Not Problem? All OK?

Problem no.3:
Quote
bodhi
(replace xxx with the real saved values)
fw_setenv mtdparts 'xxxxxxxxx'
fw_setenv ethaddr 'xx:xx:xx:xx:xx:xx'
ethaddr I look in DHCP, ok.
Where to find mtdparts? Default value for Stora?

Thanx!



Edited 1 time(s). Last edit at 08/12/2018 06:53AM by bodhi.
Re: Help with Netgear Stora u-boot installation
August 12, 2018 07:06AM
igrblkv,


Problem no.1 and Problem no.2 are OK.

You are in stock OS, and the fw_printenv/setenv are not available.

The bad blocks are far away from mtd0, where u-boot is.

Problem no.3

New u-boot installation does not require mtdparts and ethaddr. A local MAC address will be used. And then you can set it to the real one later.

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



Edited 1 time(s). Last edit at 08/12/2018 07:07AM by bodhi.
Re: Help with Netgear Stora u-boot installation
August 12, 2018 08:35AM
OK!
-bash-3.2$ sudo flash_erase /dev/mtd0 0 4
audit_log_user_command(): Connection refused
Erasing 128 Kibyte @ 60000 -- 100 % complete

-bash-3.2$ sudo nandwrite /dev/mtd0 uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb
audit_log_user_command(): Connection refused
Writing data to block 0 at offset 0x0
Writing data to block 1 at offset 0x20000
Writing data to block 2 at offset 0x40000
Writing data to block 3 at offset 0x60000

-bash-3.2$ cd /tmp
-bash-3.2$ tar -xf uboot.2016.05-tld-1.environment.bodhi.tar

-bash-3.2$ sudo flash_erase /dev/mtd0 0xc0000 1
audit_log_user_command(): Connection refused
Erasing 128 Kibyte @ c0000 -- 100 % complete

-bash-3.2$ sudo nandwrite -s 786432 /dev/mtd0 uboot.2016.05-tld-1.environment.img
audit_log_user_command(): Connection refused
Writing data to block 6 at offset 0xc0000

-bash-3.2$ sudo fw_setenv arcNumber 2743
audit_log_user_command(): Connection refused
-bash-3.2$ sudo fw_setenv machid
audit_log_user_command(): Connection refused
-bash-3.2$ sudo fw_setenv bootcmd_uenv 'run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi; sleep 3'
audit_log_user_command(): Connection refused

Can I load the old system (aka stock OS) with the new uBoot?
OR
How can I install Debian on disks (I want RAID1, e.g.: http://www.sysadmin.in.ua/info/index/21/24/29 ) without USB-flash drive? There is a TFTP, but did not find any "live" links with uImage.di/uInitrd.di/uImage/uInitrd... E.g.: https://sites.google.com/site/samelent/ustanovka-debian-na-netgear-stora

THANKS!
Re: Help with Netgear Stora u-boot installation
August 12, 2018 09:38AM
igrblkv Wrote:
> Can I load the old system (aka stock OS) with the
> new uBoot?

setenv mainlineLinux 'no'
setenv arcNumber
setenv bootcmd_ide
setenv bootcmd 'nand read.e 0x800000 0x100000 0x300000; setenv bootargs $(console) $(bootargs_root); bootm 0x800000'
saveenv
reset
DO NOT WORK!

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

SoC:   Kirkwood 88F6281_A0
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

NAND read: device 0 offset 0x100000, size 0x300000
 3145728 bytes read: OK
## Booting kernel from Legacy 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 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...

Uncompressing Linux............................................................................................................................................................ done, booting the kernel.
Re: Help with Netgear Stora u-boot installation
August 12, 2018 10:34AM
igrblkv,

1. When hacking, ie. installing u-boot and rootfs, you should be root. Never use sudo. sudo is for a standard user.

2. Can I load the old system (aka stock OS) with the new uBoot?

No it will not work with stock OS.

3. See here for Debian rootfs installation:

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

Quote

Latest released kernel:linux-4.17.2-kirkwood-tld-1-bodhi.tar.bz2 (23 June 2018)
Latest released rootfs: Debian-4.12.1-kirkwood-tld-1-rootfs-bodhi.tar.bz2 (24 Jul 2017)

Note: If this is your first time installation, then you need rootfs Debian-4.12.1-kirkwood-tld-1-rootfs-bodhi.tar.bz2 (this has kernel 4.12.1-kirkwood-tld-1 already installed).

Scroll down to

Quote

Updated 24 Jul 2017:

Basic Debian stretch Kirkwood rootfs for most Kirwood plugs:

- tarball size: 188M
- install size: 488M
- 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

Download at Dropbox:

Debian-4.12.1-kirkwood-tld-1-rootfs-bodhi.tar.bz2

md5:
bf3d29569943875df348fb5ca03b348c
sha256:
4ed5714fdb123cdb40e973f3d0754e91cd199b75a9874018f2b5dc9cfa8ae8bb

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Help with Netgear Stora u-boot installation
August 14, 2018 12:07PM
Do not work!

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

SoC:   Kirkwood 88F6281_A0
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
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices...
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found

Reset IDE: Bus 0: OK Bus 1: OK
  Device 0: Model: WDC WD5003ABYX-01WERA0 Firm: 01.01S01 Ser#:  WD-WMAYP0860594
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476938.9 MB = 465.7 GB (976771055 x 512)
  Device 1: Model: WDC WD5003ABYX-01WERA0 Firm: 01.01S01 Ser#:  WD-WMAYP0856880
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476938.9 MB = 465.7 GB (976771055 x 512)
Unknown command 'mmc' - try 'help'

Partition Map for USB device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            62940622        6f20736b-01     83 Boot

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
** File not found /boot/uEnv.txt **

Partition Map for IDE device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            976279552       00021091-01     83 Boot
  2     976283646       485378          00021091-02     05 Extd
  5     976283648       485376          00021091-05     82


Partition Map for IDE device 1  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     63              976768002       0000fe9e-01     fd
Unknown command 'mmc' - try 'help'
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 692 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
loading uInitrd ...
loading DTB /boot/dts/kirkwood-netgear_stora_ms2000.dtb ...
11869 bytes read in 2615 ms (3.9 KiB/s)
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Netgear Stora>

printenv:
Netgear Stora> printenv
arcNumber=2743
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec
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; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi; sleep 3
bootdelay=10
bootdev=usb
device=0:1
devices=usb ide mmc
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-netgear_stora_ms2000.dtb
ethact=egiga0
ethaddr=00:26:f2:03:04:27
fileaddr=1c00000
filesize=2e5d
if_netconsole=ping $serverip
init_ide=ide reset
init_mmc=mmc rescan
init_usb=usb start
ipaddr=192.168.7.199
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
mtdids=nand0=orion_nand
partition=nand0,2
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 rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
scan_ide=ide reset
scan_mmc=mmc rescan
scan_usb=usb start
serverip=192.168.7.220
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 run init_$devtype; done;
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_loaded=0
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; fi
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_read; fi;  fi
usb_ready_retry=15

Environment size: 3035/131068 bytes
Netgear Stora>



Edited 1 time(s). Last edit at 08/14/2018 12:16PM by igrblkv.
Re: Help with Netgear Stora u-boot installation
August 14, 2018 12:39PM
Copy /boot on TFTP-server
Scan device usb
device usb 0:1
1 bytes read in 692 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
loading uInitrd ...
loading DTB /boot/dts/kirkwood-netgear_stora_ms2000.dtb ...
11869 bytes read in 2614 ms (3.9 KiB/s)
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Netgear Stora> bootp
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
BOOTP broadcast 7
*** Unhandled DHCP Option in OFFER/ACK: 44
*** Unhandled DHCP Option in OFFER/ACK: 252
*** Unhandled DHCP Option in OFFER/ACK: 44
*** Unhandled DHCP Option in OFFER/ACK: 252
DHCP client bound to address 192.168.7.105 (7787 ms)
Using egiga0 device
TFTP from server 192.168.7.220; our IP address is 192.168.7.105
Filename 'pxelinux.0'.
Load address: 0x800000
Loading: ######
         1.9 MiB/s
done
Bytes transferred = 26442 (674a hex)
Netgear Stora> tftpboot 0x800000 Stora/uImage
Using egiga0 device
TFTP from server 192.168.7.220; our IP address is 192.168.7.105
Filename 'Stora/uImage'.
Load address: 0x800000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ################################
         3.2 MiB/s
done
Bytes transferred = 3821592 (3a5018 hex)
Netgear Stora> tftpboot 0x1100000 Stora/uInitrd
Using egiga0 device
TFTP from server 192.168.7.220; our IP address is 192.168.7.105
Filename 'Stora/uInitrd'.
Load address: 0x1100000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###################################################
         3.2 MiB/s
done
Bytes transferred = 7245696 (6e8f80 hex)
Netgear Stora> tftpboot 0x1c00000 Stora/kirkwood-netgear_stora_ms2000.dtb
Using egiga0 device
TFTP from server 192.168.7.220; our IP address is 192.168.7.105
Filename 'Stora/kirkwood-netgear_stora_ms2000.dtb'.
Load address: 0x1c00000
Loading: ###
         1.4 MiB/s
done
Bytes transferred = 11869 (2e5d hex)
Netgear Stora> bootm 0x800000 0x1100000 0x1c00000
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.12.1-kirkwood-tld-1
   Created:      2017-07-20   8:11:24 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3821528 Bytes = 3.6 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.12.1-kirkwood-tld-1
   Created:      2017-07-24   0:18:23 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7245632 Bytes = 6.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 03917000, end 03ffff40 ... OK
   Loading Device Tree to 03911000, end 03916e5c ... OK

Starting kernel ...
Ok, but:
Warning: fsck not present, so skipping root file system
[   23.180468] EXT4-fs (sdc1): mounting ext3 file system using the ext4 subsystem
[   23.201924] EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
run-init: /sbin/init: No such file or directory
Target filesystem doesn't have requested /sbin/init.
run-init: /sbin/init: No such file or directory
run-init: /etc/init: Permission denied
run-init: /bin/init: No such file or directory
run-init: /bin/sh: Permission denied
run-init: : No such file or directory
No init found. Try passing init= bootarg.


BusyBox v1.22.1 (Debian 1:1.22.0-19+b3) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs) [  113.362847] random: crng init done

(initramfs)
Re: Help with Netgear Stora u-boot installation
August 14, 2018 11:48PM
igrblkv Wrote:
-------------------------------------------------------
> Do not work!
>
>
> U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:38:05
> -0700)
> Netgear Stora MS2110
> 
> SoC:   Kirkwood 88F6281_A0
> 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
> starting USB...
> USB0:   USB EHCI 1.00
> scanning bus 0 for devices... 2 USB Device(s)
> found
>        scanning usb for storage devices...
> Use USB retry period from the environment: 15
> second(s)
> 1 Storage Device(s) found
> 
> Reset IDE: Bus 0: OK Bus 1: OK
>   Device 0: Model: WDC WD5003ABYX-01WERA0 Firm:
> 01.01S01 Ser#:  WD-WMAYP0860594
>             Type: Hard Disk
>             Supports 48-bit addressing
>             Capacity: 476938.9 MB = 465.7 GB
> (976771055 x 512)
>   Device 1: Model: WDC WD5003ABYX-01WERA0 Firm:
> 01.01S01 Ser#:  WD-WMAYP0856880
>             Type: Hard Disk
>             Supports 48-bit addressing
>             Capacity: 476938.9 MB = 465.7 GB
> (976771055 x 512)
> Unknown command 'mmc' - try 'help'
> 
> Partition Map for USB device 0  --   Partition
> Type: DOS
> 
> Part    Start Sector    Num Sectors     UUID      
>      Type
>   1     2048            62940622       
> 6f20736b-01     83 Boot
> 
> ## Unknown partition table type 0
> 
> ## Unknown partition table type 0
> 
> ## Unknown partition table type 0
> 
> ## Unknown partition table type 0
> 
> ## Unknown partition table type 0
> 
> ## Unknown partition table type 0
> loading envs from usb 0 ...
> ** File not found /boot/uEnv.txt **
> 
> Partition Map for IDE device 0  --   Partition
> Type: DOS
> 
> Part    Start Sector    Num Sectors     UUID      
>      Type
>   1     2048            976279552      
> 00021091-01     83 Boot
>   2     976283646       485378         
> 00021091-02     05 Extd
>   5     976283648       485376         
> 00021091-05     82
> 
> 
> Partition Map for IDE device 1  --   Partition
> Type: DOS
> 
> Part    Start Sector    Num Sectors     UUID      
>      Type
>   1     63              976768002      
> 0000fe9e-01     fd
> Unknown command 'mmc' - try 'help'
> running scan_disk ...
> Scan device usb
> device usb 0:1
> 1 bytes read in 692 ms (0 Bytes/s)
> Found bootable drive on usb 0
> loading uImage ...
> loading uInitrd ...
> loading DTB
> /boot/dts/kirkwood-netgear_stora_ms2000.dtb ...
> 11869 bytes read in 2615 ms (3.9 KiB/s)
> Wrong Image Format for bootm command
> ERROR: can't get kernel image!
> Netgear Stora>
>
>
> printenv:
>
> Netgear Stora> printenv
> arcNumber=2743
> bootargs=console=ttyS0,115200 root=LABEL=rootfs
> rootdelay=10
> bootcmd=run bootcmd_uenv; run scan_disk; run
> set_bootargs; run bootcmd_exec
> 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; else bootm
> $load_uimage_addr $load_initrd_addr; fi; else if
> run load_dtb; then bootm $load_uimage_addr -
> $load_dtb_addr; else bootm $load_uimage_addr; fi;
> fi
> bootcmd_uenv=run uenv_load; if test $uenv_loaded
> -eq 1; then run uenv_import; fi; sleep 3
> bootdelay=10
> bootdev=usb
> device=0:1
> devices=usb ide mmc
> disks=0 1 2 3
> dtb_file=/boot/dts/kirkwood-netgear_stora_ms2000.dtb
> ethact=egiga0
> ethaddr=00:26:f2:03:04:27
> fileaddr=1c00000
> filesize=2e5d
> if_netconsole=ping $serverip
> init_ide=ide reset
> init_mmc=mmc rescan
> init_usb=usb start
> ipaddr=192.168.7.199
> 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
> mtdids=nand0=orion_nand
> partition=nand0,2
> 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 rescan"; for dev in
> $devices; do if test $scan_done -eq 0; then echo
> Scan device $dev; run scan_$dev; for disknum in
> $disks; do if test $scan_done -eq 0; then echo
> device $dev $disknum:1; if load $dev $disknum:1
> $load_uimage_addr /boot/uImage 1; then
> scan_done=1; echo Found bootable drive on $dev
> $disknum; setenv device $disknum:1; setenv bootdev
> $dev; fi; fi; done; fi; done
> scan_ide=ide reset
> scan_mmc=mmc rescan
> scan_usb=usb start
> serverip=192.168.7.220
> 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 run
> init_$devtype; done;
> 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_loaded=0
> uenv_read=echo loading envs from $devtype $disknum
> ...; if load $devtype $disknum:1 $uenv_addr
> /boot/uEnv.txt; then setenv uenv_loaded 1; fi
> 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_read; fi; 
> fi
> usb_ready_retry=15
> 
> Environment size: 3035/131068 bytes
> Netgear Stora>
>


Your USB rootfs has problem. Post the log of how you created the rootfs (everything, including the fdisk, formatting,labeling, tarball extracting ....).

-bodhi
===========================
Forum Wiki
bodhi's corner
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: