Welcome! Log In Create A New Profile

Advanced

Netgear Stora success

Posted by rayknight 
Re: Netgear Stora success
March 16, 2017 04:23PM
Hi Bodhi,

I did what you asked.
printenv
run usb_boot

The usb was not recognized, so i did:
> usb reset
> run usb_boot

See attachment.
Attachments:
open | download - putty.log (16.3 KB)
Re: Netgear Stora success
March 16, 2017 04:26PM
Hi Bodi,

I did what you asked.

printenv
run usb_boot

Because the usb was not recognized, i did:
usb reset
run usb_boot

See attachment.

Erik
Attachments:
open | download - putty.log (16.3 KB)
Re: Netgear Stora success
March 16, 2017 04:35PM
Erik,

You've loaded the kernel files at the wrong addresses:

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

Load them like this

usb_load_uimage=ext2load usb 0:1 0x800000 /boot/uImage
usb_load_uinitrd=ext2load usb 0:1 0x1100000 /boot/uInitrd
usb_boot=run usb_load_uimage; run usb_load_uinitrd; bootm 0x800000 0x1100000
usb_bootcmd=usb start; run usb_init; run usb_set_bootargs; run usb_boot

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Netgear Stora success
March 17, 2017 02:36AM
Hi Bodhi,

Thanks for your help.

I have changed the addresses.
Even now -running usb_set_bootargs, causes a stop after Starting the kernel..... (if i start with run usb_bootcmd)

Marvell>> printenv
...
usb_load_uimage=ext2load usb 0:1 0x800000 /boot/uImage
usb_load_uinitrd=ext2load usb 0:1 0x1100000 /boot/uInitrd
usb_boot=run usb_load_uimage; run usb_load_uinitrd; bootm 0x800000 0x1100000
usb_bootcmd=usb start; run usb_init; run usb_set_bootargs; run usb_boot
...
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
....
.
......
............
.........................
...................................................
......................................................................................................
........................................................................................................

3166745 bytes read
....
.
......
............
.........................
...................................................
......................................................................................................
.................................................................................................................................................................................................................
..............................................................................................................................................................................................................................................................................................

7179935 bytes read
## Booting image at 00800000 ...
   Image Name:   Linux-4.4.0-kirkwood-tld-1
   Created:      2017-03-16  18:54:40 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3166681 Bytes =  3 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 01100000 ...
   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.



If i do:
Marvell>> usb reset
Marvell>> run usb_boot

I get an mounting error:

mount: can't find /root in /etc/fstab


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

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

3166745 bytes read
....
.
......
............
.........................
...................................................
......................................................................................................
.................................................................................................................................................................................................................
..............................................................................................................................................................................................................................................................................................

7179935 bytes read
## Booting image at 00800000 ...
   Image Name:   Linux-4.4.0-kirkwood-tld-1
   Created:      2017-03-16  18:54:40 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3166681 Bytes =  3 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 01100000 ...
   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 MS2000 / MS2110 aka Stora
[    0.000000] bootconsole [earlycon0] enabled
[    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: 113620K/131072K available (6007K kernel code, 573K rwdata, 1992K rodata, 296K init, 312K bss, 17452K 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.008253] Console: colour dummy device 80x30
[    0.012791] Calibrating delay loop... 990.41 BogoMIPS (lpj=4952064)
[    0.100740] pid_max: default: 32768 minimum: 301
[    0.105542] Security Framework initialized
[    0.109837] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.116521] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.124679] Initializing cgroup subsys io
[    0.128845] Initializing cgroup subsys devices
[    0.133389] Initializing cgroup subsys freezer
[    0.137968] Initializing cgroup subsys net_cls
[    0.142578] CPU: Testing write buffer coherency: ok
[    0.148101] Setting up static identity map for 0x8200 - 0x8258
[    0.154339] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[    0.163821] devtmpfs: initialized
[    0.173405] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.183878] prandom: seed boundary self test passed
[    0.193407] prandom: 100 self tests passed
[    0.197600] pinctrl core: initialized pinctrl subsystem
[    0.204567] NET: Registered protocol family 16
[    0.209618] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.237994] cpuidle: using governor ladder
[    0.267987] cpuidle: using governor menu
[    0.272424] Feroceon L2: Enabling L2
[    0.276110] Feroceon L2: Cache support initialised.
[    0.281549] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.298635] No ATAGs?
[    0.339746] vgaarb: loaded
[    0.343228] usbcore: registered new interface driver usbfs
[    0.348929] usbcore: registered new interface driver hub
[    0.354391] usbcore: registered new device driver usb
[    0.360806] clocksource: Switched to clocksource orion_clocksource
[    0.434279] NET: Registered protocol family 2
[    0.439625] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.446810] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.453266] TCP: Hash tables configured (established 1024 bind 1024)
[    0.459750] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.465692] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.472271] NET: Registered protocol family 1
[    0.477110] RPC: Registered named UNIX socket transport module.
[    0.483151] RPC: Registered udp transport module.
[    0.487919] RPC: Registered tcp transport module.
[    0.492713] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.499564] Unpacking initramfs...
[    1.275582] Freeing initrd memory: 7012K (c1100000 - c17d9000)
[    1.281622] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.289518] futex hash table entries: 256 (order: -1, 3072 bytes)
[    1.295796] audit: initializing netlink subsys (disabled)
[    1.301333] audit: type=2000 audit(1.290:1): initialized
[    1.307126] Initialise system trusted keyring
[    1.312039] zbud: loaded
[    1.314991] VFS: Disk quotas dquot_6.6.0
[    1.319042] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.326770] NFS: Registering the id_resolver key type
[    1.331988] Key type id_resolver registered
[    1.336238] Key type id_legacy registered
[    1.340340] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.347135] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.353831] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    1.361581] Key type big_key registered
[    1.389469] Key type asymmetric registered
[    1.393917] Asymmetric key parser 'x509' registered
[    1.398963] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.406579] io scheduler noop registered
[    1.410577] io scheduler deadline registered
[    1.415057] io scheduler cfq registered (default)
[    1.421520] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    1.429696] irq: Cannot allocate irq_descs @ IRQ34, assuming pre-allocated
[    1.437214] irq: Cannot allocate irq_descs @ IRQ66, assuming pre-allocated
[    1.445190] mvebu-pcie mbus:pcie-controller: PCI host bridge to bus 0000:00
[    1.452252] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    1.458578] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    1.465532] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.471566] PCI: bus0: Fast back to back transfers disabled
[    1.477221] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.485551] PCI: bus1: Fast back to back transfers enabled
[    1.491224] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.496641] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.541649] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    1.549275] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.591628] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    1.599573] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    1.607696] console [ttyS0] disabled
[    1.611475] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    1.620521] console [ttyS0] enabled
[    1.620521] console [ttyS0] enabled
[    1.627669] bootconsole [earlycon0] disabled
[    1.627669] bootconsole [earlycon0] disabled
[    1.637900] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda
[    1.644326] nand: Samsung NAND 256MiB 3,3V 8-bit
[    1.648968] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.656610] Scanning device for bad blocks
[    1.687241] Bad eraseblock 246 at 0x000001ec0000
[    1.734175] Bad eraseblock 640 at 0x000005000000
[    1.745222] Bad eraseblock 700 at 0x000005780000
[    1.750018] Bad eraseblock 702 at 0x0000057c0000
[    1.815654] Bad eraseblock 1270 at 0x000009ec0000
[    1.841197] Bad eraseblock 1464 at 0x00000b700000
[    1.867369] Bad eraseblock 1664 at 0x00000d000000
[    1.878499] Bad eraseblock 1724 at 0x00000d780000
[    1.883413] Bad eraseblock 1726 at 0x00000d7c0000
[    1.892184] Bad eraseblock 1764 at 0x00000dc80000
[    1.935073] libphy: Fixed MDIO Bus: probed
[    1.939588] libphy: orion_mdio_bus: probed
[    1.949494] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    3.029597] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:50:43:00:02:02
[    3.038567] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.045206] ehci-pci: EHCI PCI platform driver
[    3.049760] ehci-orion: EHCI orion driver
[    3.054128] orion-ehci f1050000.ehci: EHCI Host Controller
[    3.059677] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    3.067659] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    3.090847] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    3.097153] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    3.104014] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.111293] usb usb1: Product: EHCI Host Controller
[    3.116196] usb usb1: Manufacturer: Linux 4.4.0-kirkwood-tld-1 ehci_hcd
[    3.122863] usb usb1: SerialNumber: f1050000.ehci
[    3.128493] hub 1-0:1.0: USB hub found
[    3.132369] hub 1-0:1.0: 1 port detected
[    3.137496] mousedev: PS/2 mouse device common for all mice
[    3.450850] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    3.603292] usb 1-1: New USB device found, idVendor=125f, idProduct=c83a
[    3.610044] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.617251] usb 1-1: Product: A-DATA USB Flash Drive
[    3.622268] usb 1-1: Manufacturer: A-DATA
[    3.626298] usb 1-1: SerialNumber: 06e7cf43be21fe
[    4.150844] rtc-mv f1010300.rtc: internal RTC not ticking
[    4.156516] i2c /dev entries driver
[    4.161244] rtc-pcf8563 0-0051: chip found, driver version 0.4.4
[    4.173373] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0
[    4.183351] hidraw: raw HID events driver (C) Jiri Kosina
[    4.189241] drop_monitor: Initializing network drop monitor service
[    4.195884] NET: Registered protocol family 17
[    4.200666] Key type dns_resolver registered
[    4.205955] registered taskstats version 1
[    4.210138] Loading compiled-in X.509 certificates
[    4.215054] zswap: loaded using pool lzo/zbud
[    4.229799] Key type encrypted registered
[    4.235863] rtc-pcf8563 0-0051: setting system clock to 2017-03-17 08:38:23 UTC (1489739903)
[    4.247750] Freeing unused kernel memory: 296K (c07d8000 - c0822000)
Loading, please wait...
[    4.334489] systemd-udevd[80]: starting version 215
[    4.352015] random: systemd-udevd urandom read with 7 bits of entropy available
[    4.555652] SCSI subsystem initialized
[    4.599354] sata_mv f1080000.sata: slots 32 ports 2
[    4.609774] usb-storage 1-1:1.0: USB Mass Storage device detected
[    4.654024] scsi host0: sata_mv
[    4.660993] scsi host1: usb-storage 1-1:1.0
[    4.674046] usbcore: registered new interface driver usb-storage
[    4.681028] scsi host2: sata_mv
[    4.684638] ata1: SATA max UDMA/133 irq 33
[    4.688762] ata2: SATA max UDMA/133 irq 33
[    4.720181] usbcore: registered new interface driver uas
[    5.240866] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    5.662410] scsi 1:0:0:0: Direct-Access     A-DATA   USB Flash Drive  0.00 PQ: 0 ANSI: 2
[    5.681751] sd 1:0:0:0: [sda] 7897088 512-byte logical blocks: (4.04 GB/3.76 GiB)
[    5.690411] sd 1:0:0:0: [sda] Write Protect is off
[    5.695956] sd 1:0:0:0: [sda] Asking for cache data failed
[    5.701701] sd 1:0:0:0: [sda] Assuming drive cache: write through
[    5.760911] ata1.00: ATA-8: WDC WD5000AZRX-00A8LB0, 01.01A01, max UDMA/133
[    5.767848] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    5.810904] ata1.00: configured for UDMA/133
[    5.817741]  sda: sda1
[    5.824331] sd 1:0:0:0: [sda] Attached SCSI removable disk
[    5.831379] scsi 0:0:0:0: Direct-Access     ATA      WDC WD5000AZRX-0 1A01 PQ: 0 ANSI: 5
[    5.841599] sd 0:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/465 GiB)
[    5.849167] sd 0:0:0:0: [sdb] 4096-byte physical blocks
[    5.855881] sd 0:0:0:0: [sdb] Write Protect is off
[    5.860951] sd 0:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    5.887087]  sdb: sdb1
[    5.891677] sd 0:0:0:0: [sdb] Attached SCSI disk
[    6.200854] ata2: SATA link down (SStatus 0 SControl F300)
[    6.226254] sd 1:0:0:0: Attached scsi generic sg0 type 0
[    6.251393] sd 0:0:0:0: Attached scsi generic sg1 type 0
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
modprobe: module unknown not found in modules.dep
Begin: Checking  file system ... fsck from util-linux 2.25.2
done.
mount: can't find /root in /etc/fstab
done.
Target filesystem doesn't have requested /sbin/init.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev failed: No such file or directory
done.
No init found. Try passing init= bootarg.
modprobe: module i8042 not found in modules.dep
[    7.000633] uhci_hcd: USB Universal Host Controller Interface driver
[    7.017001] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    7.034218] usbcore: registered new interface driver usbhid
[    7.039827] usbhid: USB HID core driver


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

/bin/sh: can't access tty; job control turned off
(initramfs)


I saw that the harddisk was mounted on sda, so
i did also startup with the same commands
eg:

run usb_bootcmd

and

usb reset
run usb_boot


but the result is the same;

mount: mounting /dev on /root/dev failed: No such file or directory
done.
No init found. Try passing init= bootarg.
modprobe: module i8042 not found in modules.dep

Attachments:
open | download - putty.log (24.9 KB)
open | download - putty-without Disk.log (23 KB)
Re: Netgear Stora success
March 17, 2017 03:20AM
Erik,

Actually it is what I wanted to see. What I'd like you to do next is setting up the bootargs step -by-step.

Power up, interrupt serial console and

Set the envs the same as before
usb_load_uimage=ext2load usb 0:1 0x800000 /boot/uImage
usb_load_uinitrd=ext2load usb 0:1 0x1100000 /boot/uInitrd
usb_boot=run usb_load_uimage; run usb_load_uinitrd; bootm 0x800000 0x1100000
usb_bootcmd=usb start; run usb_init; run usb_set_bootargs; run usb_boot

But this time also set:
setenv usb_set_bootargs 'setenv bootargs  console=ttyS0,115200 root=/dev/sda1'
and then
printenv bootargs
run usb_bootcmd

Note: you should have only one USB boot drive that contains the rootfs. Don't plug in any other drive.

When you plug in the SATA drive(s) u-boot got confused. That will be taken care in the next steps afer you got it booted.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner



Edited 3 time(s). Last edit at 03/17/2017 03:28AM by bodhi.
Re: Netgear Stora success
March 17, 2017 04:08AM
Hi Bodhi,

It worked. It booted into the logon-screen.
I don't understand?
Shall i add some more in usb_set_bootargs?

So i don't have to have midids and mtdparts, can i delete them. (I'm not sure if the setting are correct).

Erik
Attachments:
open | download - putty.log (20.2 KB)
Re: Netgear Stora success
March 17, 2017 04:41AM
Erik,

Cool! for an explanation why the rootfs could not be mounted see this post:
http://forum.doozan.com/read.php?3,19093

Now you should add each addition parameter back in. The mtdpars is not necessary because you are using stock uboot,

To boot with multiple drives, you should consider installing new uboot:
http://forum.doozan.com/read.php?3,12381

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Netgear Stora success
March 17, 2017 05:47AM
Hi Bodhi,

If i run the usb_bootcmd, everything goes OK, if i use the values.
If i use

root=$usb_root, or
rootfstype=$usb_rootfstype, or
console=$console booting stops.


root=$usb_root --> (initramfs)
console=$console --> done, booting kernel
rootfstype=$usb_rootfstype --> (initramfs)

rootdey=$usb_rootdelay --> no problem, good booting


I think variables are not correctly replaced.
Do you have any ideas, otherwise i use real values.

And update to new kernel and new uboot (maybe problem over??)


Thanks

Erik
Attachments:
open | download - putty.log (95 KB)
Re: Netgear Stora success
March 17, 2017 03:42PM
Erik,

I totally forgot that you are running stock u-boot :) with stock u-boot, the envs need to be sightly different:

setenv usb_set_bootargs 'setenv bootargs console=$(console) root=$(usb_root) root=LABEL=rootfs'


But once you install new u-boot, the syntax will work either way. So I'd recommend doing that after you have running Debian, and want to boot with multiple drives.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner



Edited 1 time(s). Last edit at 03/17/2017 03:44PM by bodhi.
Re: Netgear Stora success
March 17, 2017 04:40PM
Hi Bodhi,

Thanks.
I changed the setting, but than its not booting. it stops after uncompressing the kernel.
I think for now i can best keep:
 printenv usb_set_bootargs
usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=$usb_rootdelay rootfstype=ext2

this one starts

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

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>> printenv usb_set_bootargs
usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=$usb_rootdelay rootfstype=ext2
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
....
.
......
............
.........................
...................................................
......................................................................................................
........................................................................................................

3166745 bytes read
....
.
......
............
.........................
...................................................
......................................................................................................
.................................................................................................................................................................................................................
..............................................................................................................................................................................................................................................................................................

7179935 bytes read
## Booting image at 00800000 ...
   Image Name:   Linux-4.4.0-kirkwood-tld-1
   Created:      2017-03-16  18:54:40 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3166681 Bytes =  3 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 01100000 ...
   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 MS2000 / MS2110 aka Stora
[    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,115200 root=/dev/sda1 rootdelay=$usb_rootdelay rootfstype=ext2
[    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: 113620K/131072K available (6007K kernel code, 573K rwdata, 1992K rodata, 296K init, 312K bss, 17452K 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.000388] Console: colour dummy device 80x30
[    0.000424] Calibrating delay loop... 990.41 BogoMIPS (lpj=4952064)
[    0.090107] pid_max: default: 32768 minimum: 301
[    0.090235] Security Framework initialized
[    0.090325] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090350] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091295] Initializing cgroup subsys io
[    0.091337] Initializing cgroup subsys devices
[    0.091379] Initializing cgroup subsys freezer
[    0.091409] Initializing cgroup subsys net_cls
[    0.091504] CPU: Testing write buffer coherency: ok
[    0.092027] Setting up static identity map for 0x8200 - 0x8258
[    0.092402] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[    0.096757] devtmpfs: initialized
[    0.103048] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.103591] prandom: seed boundary self test passed
[    0.108096] prandom: 100 self tests passed
[    0.108129] pinctrl core: initialized pinctrl subsystem
[    0.109791] NET: Registered protocol family 16
[    0.110421] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.140126] cpuidle: using governor ladder
[    0.170122] cpuidle: using governor menu
[    0.170618] Feroceon L2: Enabling L2
[    0.170672] Feroceon L2: Cache support initialised.
[    0.171127] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.177676] No ATAGs?
[    0.211889] vgaarb: loaded
[    0.212337] usbcore: registered new interface driver usbfs
[    0.212437] usbcore: registered new interface driver hub
[    0.212514] usbcore: registered new device driver usb
[    0.213837] clocksource: Switched to clocksource orion_clocksource
[    0.281092] NET: Registered protocol family 2
[    0.282031] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.282064] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.282089] TCP: Hash tables configured (established 1024 bind 1024)
[    0.282169] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.282198] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.282434] NET: Registered protocol family 1
[    0.282918] RPC: Registered named UNIX socket transport module.
[    0.282932] RPC: Registered udp transport module.
[    0.282942] RPC: Registered tcp transport module.
[    0.282950] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.283283] Unpacking initramfs...
[    1.046809] Freeing initrd memory: 7012K (c1100000 - c17d9000)
[    1.046958] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.048289] futex hash table entries: 256 (order: -1, 3072 bytes)
[    1.048376] audit: initializing netlink subsys (disabled)
[    1.048435] audit: type=2000 audit(1.040:1): initialized
[    1.048863] Initialise system trusted keyring
[    1.049335] zbud: loaded
[    1.049691] VFS: Disk quotas dquot_6.6.0
[    1.049761] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.050418] NFS: Registering the id_resolver key type
[    1.050462] Key type id_resolver registered
[    1.050473] Key type id_legacy registered
[    1.050505] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.050522] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.050790] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    1.051423] Key type big_key registered
[    1.075617] Key type asymmetric registered
[    1.075644] Asymmetric key parser 'x509' registered
[    1.075759] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.075784] io scheduler noop registered
[    1.075803] io scheduler deadline registered
[    1.075875] io scheduler cfq registered (default)
[    1.077497] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    1.078319] irq: Cannot allocate irq_descs @ IRQ34, assuming pre-allocated
[    1.078845] irq: Cannot allocate irq_descs @ IRQ66, assuming pre-allocated
[    1.079864] mvebu-pcie mbus:pcie-controller: PCI host bridge to bus 0000:00
[    1.079888] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    1.079904] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    1.079921] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.080400] PCI: bus0: Fast back to back transfers disabled
[    1.080431] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.080683] PCI: bus1: Fast back to back transfers enabled
[    1.080790] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.081186] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.114708] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    1.115002] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.154660] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    1.155273] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    1.156977] console [ttyS0] disabled
[    1.157052] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    1.804549] console [ttyS0] enabled
[    1.809594] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda
[    1.816029] nand: Samsung NAND 256MiB 3,3V 8-bit
[    1.820671] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.828313] Scanning device for bad blocks
[    1.858923] Bad eraseblock 246 at 0x000001ec0000
[    1.905825] Bad eraseblock 640 at 0x000005000000
[    1.916865] Bad eraseblock 700 at 0x000005780000
[    1.921668] Bad eraseblock 702 at 0x0000057c0000
[    1.987239] Bad eraseblock 1270 at 0x000009ec0000
[    2.012739] Bad eraseblock 1464 at 0x00000b700000
[    2.038904] Bad eraseblock 1664 at 0x00000d000000
[    2.050110] Bad eraseblock 1724 at 0x00000d780000
[    2.055027] Bad eraseblock 1726 at 0x00000d7c0000
[    2.063772] Bad eraseblock 1764 at 0x00000dc80000
[    2.106775] libphy: Fixed MDIO Bus: probed
[    2.111298] libphy: orion_mdio_bus: probed
[    2.121174] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    3.202689] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:50:43:00:02:02
[    3.211653] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.218274] ehci-pci: EHCI PCI platform driver
[    3.222829] ehci-orion: EHCI orion driver
[    3.227104] orion-ehci f1050000.ehci: EHCI Host Controller
[    3.232652] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    3.240583] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    3.263878] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    3.270207] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    3.277068] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.284347] usb usb1: Product: EHCI Host Controller
[    3.289250] usb usb1: Manufacturer: Linux 4.4.0-kirkwood-tld-1 ehci_hcd
[    3.295916] usb usb1: SerialNumber: f1050000.ehci
[    3.301561] hub 1-0:1.0: USB hub found
[    3.305437] hub 1-0:1.0: 1 port detected
[    3.310573] mousedev: PS/2 mouse device common for all mice
[    3.623878] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    3.776339] usb 1-1: New USB device found, idVendor=125f, idProduct=c83a
[    3.783098] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.790296] usb 1-1: Product: A-DATA USB Flash Drive
[    3.795321] usb 1-1: Manufacturer: A-DATA
[    3.799352] usb 1-1: SerialNumber: 06e7cf43be21fe
[    4.323878] rtc-mv f1010300.rtc: internal RTC not ticking
[    4.329559] i2c /dev entries driver
[    4.334291] rtc-pcf8563 0-0051: chip found, driver version 0.4.4
[    4.346407] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0
[    4.356384] hidraw: raw HID events driver (C) Jiri Kosina
[    4.362287] drop_monitor: Initializing network drop monitor service
[    4.368941] NET: Registered protocol family 17
[    4.373715] Key type dns_resolver registered
[    4.379054] registered taskstats version 1
[    4.383225] Loading compiled-in X.509 certificates
[    4.388146] zswap: loaded using pool lzo/zbud
[    4.402825] Key type encrypted registered
[    4.408897] rtc-pcf8563 0-0051: setting system clock to 2017-03-17 23:37:50 UTC (1489793870)
[    4.420786] Freeing unused kernel memory: 296K (c07d8000 - c0822000)
Loading, please wait...
[    4.510135] systemd-udevd[81]: starting version 215
[    4.526482] random: systemd-udevd urandom read with 8 bits of entropy available
[    4.730384] SCSI subsystem initialized
[    4.776644] usb-storage 1-1:1.0: USB Mass Storage device detected
[    4.809217] sata_mv f1080000.sata: slots 32 ports 2
[    4.821206] scsi host0: usb-storage 1-1:1.0
[    4.836773] usbcore: registered new interface driver usb-storage
[    4.870024] scsi host1: sata_mv
[    4.877697] usbcore: registered new interface driver uas
[    4.892005] scsi host2: sata_mv
[    4.906287] ata1: SATA max UDMA/133 irq 33
[    4.910413] ata2: SATA max UDMA/133 irq 33
[    5.283890] ata1: SATA link down (SStatus 0 SControl F300)
[    5.653899] ata2: SATA link down (SStatus 0 SControl F300)
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Waiting for root file system ... [    5.825329] scsi 0:0:0:0: Direct-Access     A-DATA   USB Flash Drive  0.00 PQ: 0 ANSI: 2
[    5.841417] sd 0:0:0:0: [sda] 7897088 512-byte logical blocks: (4.04 GB/3.76 GiB)
[    5.852767] sd 0:0:0:0: [sda] Write Protect is off
[    5.858247] sd 0:0:0:0: [sda] Asking for cache data failed
[    5.863772] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    5.979908]  sda: sda1
[    5.986503] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    5.996877] sd 0:0:0:0: Attached scsi generic sg0 type 0
Begin: Running /scripts/local-block ... done.
done.
Begin: Checking root file system ... fsck from util-linux 2.25.2
rootfs: clean, 14836/247008 files, 198574/986880 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: udevd[    8.507637] systemd-udevd[290]: starting version 215
. ok
[....] Synthesizing the initial hotplug events...[    8.820448] input: gpio-keys as /devices/platform/gpio-keys/input/input0
done.
[....] Waiting for /dev to be fully populated...[    9.065234] lm75 0-0048: hwmon0: sensor 'lm75'
[    9.119171] orion_wdt: Initial timeout 21 sec
[    9.200596] marvell-cesa: probe of f1030000.crypto failed with error -524
[    9.318734] random: nonblocking pool is initialized
done.
[ ok ] Activating swap...done.
[....] Checking root file system...fsck from util-linux 2.25.2
rootfs: clean, 14836/247008 files, 198574/986880 blocks
done.
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.25.2
done.
[ ok ] Loading kernel modules...done.
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables ...done.
[   13.593304] NET: Registered protocol family 10
[   14.776511] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:50:43:00:02:02
Sending on   LPF/eth0/00:50:43:00:02:02
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
[   17.813774] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   17.823710] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPOFFER from 192.168.1.1
DHCPACK from 192.168.1.1
bound to 192.168.1.217 -- renewal in 38664 seconds.
done.
[ ok ] Starting rpcbind daemon....
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1233 (syslogd)
. ok
[ ok ] Starting system message bus: dbus.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting NTP server: ntpd.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1236 (klogd)
. ok
[ ok ] Starting OpenBSD Secure Shell server: sshd.

Debian GNU/Linux 8 debian ttyS0

debian login:



And then
change first u-boot and then enviroment tools and then kernel to 4.10.
(Because i can than adapt settings, and use envir-script
What do you think?

Thanks

Erik
Attachments:
open | download - putty.log (4.7 KB)
Re: Netgear Stora success
March 17, 2017 07:07PM
Erik,

Yes I would recommend installing new u-boot and its default envs. After that, you will not need to change envs to boot with multiple drives attached. No need to run envs script either.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Netgear Stora success
March 18, 2017 06:10AM
Hi Bodhi,

I have found the error in this code:

setenv usb_set_bootargs 'setenv bootargs console=$(console) root=$(usb_root) root=LABEL=rootfs'

It works when i change console=$(console) to $console
My usb_set_bootargs looks now like this:

Marvell>> setenv usb_root 'LABEL=rootfs'
Marvell>> printenv usb_rootfstype
usb_rootfstype=ext2
Marvell>> printenv usb_rootdelay
usb_rootdelay=10

Marvell>>print usb_set_bootargs
usb_set_bootargs=setenv bootargs $(console) root=$(usb_root) rootfstype=$(usb_rootfstype) rootdelay=$(usb_rootdelay)

Thanks
Re: Netgear Stora success
March 18, 2017 01:01PM
Erik Wrote:
-------------------------------------------------------
> Hi Bodhi,
>
> I have found the error in this code:
>
>
> setenv usb_set_bootargs 'setenv bootargs console=$
> (console) root=$(usb_root) root=LABEL=rootfs'
>
>
> It works when i change console=$(console) to $cons
> ole
> My usb_set_bootargs looks now like this:
>
>
> Marvell>> setenv usb_root 'LABEL=rootfs'
> Marvell>> printenv usb_rootfstype
> usb_rootfstype=ext2
> Marvell>> printenv usb_rootdelay
> usb_rootdelay=10
> 
> Marvell>>print usb_set_bootargs
> usb_set_bootargs=setenv bootargs $(console) root=$
> (usb_root) rootfstype=$(usb_rootfstype) rootdelay=
> $(usb_rootdelay)
>
>
> Thanks

Excellent! that's why it's help to print out the env right before boot and look at it later.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
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: