Welcome! Log In Create A New Profile

Advanced

2017.07 U-Boot Kirkwood - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug, NSA325, NSA320, NSA310S, NSA320S, NSA310, HP T5325, Dreamplug

Posted by bodhi 
THX bodhi for help. I flashed again, rebooted, and installed kernel. Everything works fine.

nrg-fv I have also rootfstype=ext4 and I don't see any problems
nrg-fv,

Ext4 should work fine. Also, you could remove the parameter rootfstype=ext4 from the bootargs, the current kernel will figure out the fs type automatically.

There is a syntax error in this:
> mailline=Linux yes
should be:
mainlineLinux=yes

If you have serial console, post tthe entire serial log if you still can't complete booting.

-bodhi
===========================
Forum Wiki
bodhi's corner
Thank you bodhi, I've corrected the syntax error so now I have mainlineLinux=yes and I have removed rootfstype=ext4 from bootargs as you suggested, I still got kernel panic at the end, full log below.


U-Boot 2015.10-tld-1 (Nov 06 2015 - 16:19:43 -0800)
ZyXEL NSA310 1-Bay Power Media Server 


SoC:   Kirkwood 88F6281_A1
DRAM:  256 MiB (ECC not enabled)
WARNING: Caches not enabled
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
PHY reset timed out
MV88E1318 PHY initialized on egiga0
Hit any key to stop autoboot:  0 
NSA310> 
NSA310> 
NSA310> printenv
CONTRY_TYPE=FF
FEATURE_BIT=00
MODEL_ID=A203
PRODUCT_NAME=NSA-310
VENDOR_NAME=ZyXEL Communications Corp.
arcNumber=4022
baudrate=115200
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10
bootcmd=run scan_usb; run usb_boot
bootdelay=3
ethact=egiga0
ethaddr=XX:XX:XX:XX:XX:XX
filesize=2bec30
kernel_addr=480000
load_dtb=ext2load usb 0:1 0x1c00000 /boot/dts/kirkwood-nsa310.dtb
load_uImage=ext2load usb 0:1 0x800000 /boot/uImage
load_uInitrd=ext2load usb 0:1 0x1100000 /boot/uInitrd
mainlineLinux=yes
nandEcc=1bit
nandEnvBase=100000
scan_usb=usb start
stderr=serial
stdin=serial
stdout=serial
usb_boot=run load_dtb; run load_uImage; run load_uInitrd; bootm 0x800000 0x1100000 0x1c00000

Environment size: 743/131068 bytes
NSA310> reset
resetting ...


U-Boot 2015.10-tld-1 (Nov 06 2015 - 16:19:43 -0800)
ZyXEL NSA310 1-Bay Power Media Server 


SoC:   Kirkwood 88F6281_A1
DRAM:  256 MiB (ECC not enabled)
WARNING: Caches not enabled
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
PHY reset timed out
MV88E1318 PHY initialized on egiga0
Hit any key to stop autoboot:  0 
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
12848 bytes read in 301 ms (41 KiB/s)
2878512 bytes read in 364 ms (7.5 MiB/s)
6535284 bytes read in 474 ms (13.1 MiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-3.18.5-kirkwood-tld-1
   Created:      2016-01-12  17:10:50 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2878448 Bytes = 2.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-3.18.5-kirkwood-tld-1
   Created:      2015-02-19   1:49:36 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6535220 Bytes = 6.2 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 0f4dc000, end 0fb17834 ... OK
   Loading Device Tree to 0f4d5000, end 0f4db22f ... 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 3.18.5-kirkwood-tld-1 (root@tldDebian) (gcc version 4.6.3 (Debian 4.6.3-14) 5
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine model: ZyXEL NSA310
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 251260K/262144K available (5640K kernel code, 365K rwdata, 1920K rodata, 268K init)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc076a240   (7561 kB)
[    0.000000]       .init : 0xc076b000 - 0xc07ae000   ( 268 kB)
[    0.000000]       .data : 0xc07ae000 - 0xc08096fc   ( 366 kB)
[    0.000000]        .bss : 0xc08096fc - 0xc0855d84   ( 306 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000015] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474836475ns
[    0.000419] Console: colour dummy device 80x30
[    0.000448] Calibrating delay loop... 1196.85 BogoMIPS (lpj=5984256)
[    0.090116] pid_max: default: 32768 minimum: 301
[    0.090256] Security Framework initialized
[    0.090359] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090380] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091137] Initializing cgroup subsys devices
[    0.091169] Initializing cgroup subsys freezer
[    0.091202] Initializing cgroup subsys net_cls
[    0.091224] Initializing cgroup subsys blkio
[    0.091326] CPU: Testing write buffer coherency: ok
[    0.091775] Setting up static identity map for 0x557418 - 0x557470
[    0.092099] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.094431] devtmpfs: initialized
[    0.096891] prandom: seed boundary self test passed
[    0.100969] prandom: 100 self tests passed
[    0.100997] pinctrl core: initialized pinctrl subsystem
[    0.101503] regulator-dummy: no parameters
[    0.106517] NET: Registered protocol family 16
[    0.106874] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.130118] cpuidle: using governor ladder
[    0.160116] cpuidle: using governor menu
[    0.160480] Feroceon L2: Enabling L2
[    0.160527] Feroceon L2: Cache support initialised.
[    0.165415] No ATAGs?
[    0.201797] vgaarb: loaded
[    0.202186] usbcore: registered new interface driver usbfs
[    0.202268] usbcore: registered new interface driver hub
[    0.202333] usbcore: registered new device driver usb
[    0.203355] Switched to clocksource orion_clocksource
[    0.241128] NET: Registered protocol family 2
[    0.241891] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.241927] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.241958] TCP: Hash tables configured (established 2048 bind 2048)
[    0.242027] TCP: reno registered
[    0.242041] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.242063] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.242264] NET: Registered protocol family 1
[    0.242635] RPC: Registered named UNIX socket transport module.
[    0.242647] RPC: Registered udp transport module.
[    0.242654] RPC: Registered tcp transport module.
[    0.242661] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.242988] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.244390] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.244423] Initialise system trusted keyring
[    0.244515] audit: initializing netlink subsys (disabled)
[    0.244565] audit: type=2000 audit(0.240:1): initialized
[    0.245342] zpool: loaded
[    0.245359] zbud: loaded
[    0.245658] VFS: Disk quotas dquot_6.5.2
[    0.245729] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.246330] NFS: Registering the id_resolver key type
[    0.246372] Key type id_resolver registered
[    0.246382] Key type id_legacy registered
[    0.246408] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.246423] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.246633] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.246965] msgmni has been set to 490
[    0.247117] Key type big_key registered
[    0.249947] alg: No test for stdrng (krng)
[    0.249990] Key type asymmetric registered
[    0.250007] Asymmetric key parser 'x509' registered
[    0.250095] bounce: pool size: 64 pages
[    0.250186] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.250208] io scheduler noop registered
[    0.250224] io scheduler deadline registered
[    0.250281] io scheduler cfq registered (default)
[    0.251642] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.252303] irq: Cannot allocate irq_descs @ IRQ33, assuming pre-allocated
[    0.252714] irq: Cannot allocate irq_descs @ IRQ65, assuming pre-allocated
[    0.253698] mvebu-pcie mbus:pcie-controller: PCI host bridge to bus 0000:00
[    0.253719] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    0.253733] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    0.253746] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.254066] PCI: bus0: Fast back to back transfers disabled
[    0.254083] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.254795] PCI: bus1: Fast back to back transfers disabled
[    0.254902] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    0.254920] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    0.254938] pci 0000:01:00.0: BAR 6: assigned [mem 0xe0000000-0xe000ffff pref]
[    0.254955] pci 0000:01:00.0: BAR 4: assigned [mem 0xe0010000-0xe0013fff 64bit pref]
[    0.254981] pci 0000:01:00.0: BAR 2: assigned [mem 0xe0014000-0xe0014fff 64bit pref]
[    0.255006] pci 0000:01:00.0: BAR 0: assigned [io  0x10000-0x100ff]
[    0.255021] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.255034] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    0.255050] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    0.255353] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.293467] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
[    0.333423] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
[    0.333615] mv_xor f1060900.xor: Marvell shared XOR driver
[    0.373422] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
[    0.413421] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
[    0.413832] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.415165] console [ttyS0] disabled
[    0.415226] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, base_baud = 12500000) is a 16550A
[    1.092943] console [ttyS0] enabled
[    1.097854] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[    1.104272] nand: Samsung NAND 128MiB 3,3V 8-bit
[    1.108914] nand: 128MiB, SLC, page size: 2048, OOB size: 64
[    1.114625] Scanning device for bad blocks
[    1.123809] Bad eraseblock 52 at 0x000000680000
[    1.135627] Bad eraseblock 128 at 0x000001000000
[    1.157049] Bad eraseblock 303 at 0x0000025e0000
[    1.171642] Bad eraseblock 407 at 0x0000032e0000
[    1.182774] Bad eraseblock 475 at 0x000003b60000
[    1.190262] Bad eraseblock 505 at 0x000003f20000
[    1.226981] Bad eraseblock 839 at 0x0000068e0000
[    1.250973] libphy: Fixed MDIO Bus: probed
[    1.255576] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    1.261209] pci 0000:00:01.0: enabling device (0140 -> 0143)
[    1.266968] r8169 0000:01:00.0: enabling device (0140 -> 0143)
[    1.273664] r8169 0000:01:00.0 eth0: RTL8168d/8111d at 0xd090e000, 00:00:00:00:00:30, XID 083000c0 IRQ3
[    1.283283] r8169 0000:01:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[    1.292021] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.298630] ehci-pci: EHCI PCI platform driver
[    1.303163] ehci-orion: EHCI orion driver
[    1.307387] orion-ehci f1050000.ehci: EHCI Host Controller
[    1.312927] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    1.320797] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    1.343393] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    1.349623] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.356469] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.363742] usb usb1: Product: EHCI Host Controller
[    1.368641] usb usb1: Manufacturer: Linux 3.18.5-kirkwood-tld-1 ehci_hcd
[    1.375391] usb usb1: SerialNumber: f1050000.ehci
[    1.380849] hub 1-0:1.0: USB hub found
[    1.384701] hub 1-0:1.0: 1 port detected
[    1.389519] mousedev: PS/2 mouse device common for all mice
[    1.395792] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[    1.402868] i2c /dev entries driver
[    1.409869] hidraw: raw HID events driver (C) Jiri Kosina
[    1.415760] drop_monitor: Initializing network drop monitor service
[    1.422284] TCP: cubic registered
[    1.425686] NET: Registered protocol family 17
[    1.430288] Key type dns_resolver registered
[    1.435404] Loading compiled-in X.509 certificates
[    1.440246] registered taskstats version 1
[    1.445514] rtc-mv f1010300.rtc: setting system clock to 2016-01-16 10:48:40 UTC (1452941320)
[    1.455704] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    1.463225] Please append a correct "root=" boot option; here are the available partitions:
[    1.471688] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    1.479989] CPU: 0 PID: 1 Comm: swapper Not tainted 3.18.5-kirkwood-tld-1 #1
[    1.487094] [<c0014aa0>] (unwind_backtrace) from [<c00110d4>] (show_stack+0x10/0x14)
[    1.494881] [<c00110d4>] (show_stack) from [<c054f408>] (panic+0x80/0x208)
[    1.501796] [<c054f408>] (panic) from [<c076c200>] (mount_block_root+0x200/0x248)
[    1.509317] [<c076c200>] (mount_block_root) from [<c076c32c>] (mount_root+0xe4/0x10c)
[    1.517183] [<c076c32c>] (mount_root) from [<c076c478>] (prepare_namespace+0x124/0x184)
[    1.525222] [<c076c478>] (prepare_namespace) from [<c076be2c>] (kernel_init_freeable+0x1f8/0x240)
[    1.534133] [<c076be2c>] (kernel_init_freeable) from [<c054e500>] (kernel_init+0x8/0xe4)
[    1.542260] [<c054e500>] (kernel_init) from [<c000e310>] (ret_from_fork+0x14/0x24)
[    1.549864] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

nrg-fv,

The problem is with the bootargs. There is something in the envs that messed it up. Let's check it step by step

Interrupt serial console, and then
setenv console 'ttyS0,115200'
setenv bootargs '$console root=LABEL=rootfs rootdelay=10'
setenv bootcmd 'printenv bootargs; run scan_usb; run usb_boot'
boot

See what the bootlog looks like this time.

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

same thing I'm afraid :-( and yes I've checked that usb pen-drive is labelled rootfs

U-Boot 2015.10-tld-1 (Nov 06 2015 - 16:19:43 -0800)
ZyXEL NSA310 1-Bay Power Media Server 


SoC:   Kirkwood 88F6281_A1
DRAM:  256 MiB (ECC not enabled)
WARNING: Caches not enabled
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
PHY reset timed out
MV88E1318 PHY initialized on egiga0
Hit any key to stop autoboot:  0 
NSA310> setenv console 'ttyS0, 115200'
NSA310> setenv bootargs '$console root=LABEL=rootfs rootdelay=10'
NSA310> setenv bootcmd 'printenv bootargs; run scan_usb; run usb_boot'
NSA310> boot
bootargs=$console root=LABEL=rootfs rootdelay=10
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
12848 bytes read in 301 ms (41 KiB/s)
2878512 bytes read in 364 ms (7.5 MiB/s)
6535284 bytes read in 474 ms (13.1 MiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-3.18.5-kirkwood-tld-1
   Created:      2016-01-12  17:10:50 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2878448 Bytes = 2.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-3.18.5-kirkwood-tld-1
   Created:      2015-02-19   1:49:36 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6535220 Bytes = 6.2 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 0f4dc000, end 0fb17834 ... OK
   Loading Device Tree to 0f4d5000, end 0f4db22f ... 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 3.18.5-kirkwood-tld-1 (root@tldDebian) (gcc version 4.6.3 (Debian 4.6.3-14) 5
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine model: ZyXEL NSA310
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 251260K/262144K available (5640K kernel code, 365K rwdata, 1920K rodata, 268K init)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc076a240   (7561 kB)
[    0.000000]       .init : 0xc076b000 - 0xc07ae000   ( 268 kB)
[    0.000000]       .data : 0xc07ae000 - 0xc08096fc   ( 366 kB)
[    0.000000]        .bss : 0xc08096fc - 0xc0855d84   ( 306 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000015] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474836475ns
[    0.000419] Console: colour dummy device 80x30
[    0.000448] Calibrating delay loop... 1196.85 BogoMIPS (lpj=5984256)
[    0.090114] pid_max: default: 32768 minimum: 301
[    0.090257] Security Framework initialized
[    0.090360] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090381] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091143] Initializing cgroup subsys devices
[    0.091176] Initializing cgroup subsys freezer
[    0.091209] Initializing cgroup subsys net_cls
[    0.091230] Initializing cgroup subsys blkio
[    0.091334] CPU: Testing write buffer coherency: ok
[    0.091783] Setting up static identity map for 0x557418 - 0x557470
[    0.092106] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.094438] devtmpfs: initialized
[    0.096896] prandom: seed boundary self test passed
[    0.100973] prandom: 100 self tests passed
[    0.101001] pinctrl core: initialized pinctrl subsystem
[    0.101504] regulator-dummy: no parameters
[    0.106508] NET: Registered protocol family 16
[    0.106867] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.130118] cpuidle: using governor ladder
[    0.160116] cpuidle: using governor menu
[    0.160480] Feroceon L2: Enabling L2
[    0.160527] Feroceon L2: Cache support initialised.
[    0.165415] No ATAGs?
[    0.201797] vgaarb: loaded
[    0.202187] usbcore: registered new interface driver usbfs
[    0.202268] usbcore: registered new interface driver hub
[    0.202334] usbcore: registered new device driver usb
[    0.203355] Switched to clocksource orion_clocksource
[    0.241107] NET: Registered protocol family 2
[    0.241866] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.241903] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.241935] TCP: Hash tables configured (established 2048 bind 2048)
[    0.242005] TCP: reno registered
[    0.242019] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.242041] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.242243] NET: Registered protocol family 1
[    0.242613] RPC: Registered named UNIX socket transport module.
[    0.242625] RPC: Registered udp transport module.
[    0.242632] RPC: Registered tcp transport module.
[    0.242640] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.242964] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.244351] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.244384] Initialise system trusted keyring
[    0.244475] audit: initializing netlink subsys (disabled)
[    0.244526] audit: type=2000 audit(0.240:1): initialized
[    0.245301] zpool: loaded
[    0.245317] zbud: loaded
[    0.245615] VFS: Disk quotas dquot_6.5.2
[    0.245686] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.246280] NFS: Registering the id_resolver key type
[    0.246322] Key type id_resolver registered
[    0.246332] Key type id_legacy registered
[    0.246358] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.246373] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.246585] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.246918] msgmni has been set to 490
[    0.247071] Key type big_key registered
[    0.249897] alg: No test for stdrng (krng)
[    0.249941] Key type asymmetric registered
[    0.249959] Asymmetric key parser 'x509' registered
[    0.250045] bounce: pool size: 64 pages
[    0.250135] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.250157] io scheduler noop registered
[    0.250172] io scheduler deadline registered
[    0.250228] io scheduler cfq registered (default)
[    0.251587] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.252246] irq: Cannot allocate irq_descs @ IRQ33, assuming pre-allocated
[    0.252657] irq: Cannot allocate irq_descs @ IRQ65, assuming pre-allocated
[    0.253649] mvebu-pcie mbus:pcie-controller: PCI host bridge to bus 0000:00
[    0.253670] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    0.253684] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    0.253697] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.254020] PCI: bus0: Fast back to back transfers disabled
[    0.254036] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.254752] PCI: bus1: Fast back to back transfers disabled
[    0.254861] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    0.254878] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    0.254898] pci 0000:01:00.0: BAR 6: assigned [mem 0xe0000000-0xe000ffff pref]
[    0.254914] pci 0000:01:00.0: BAR 4: assigned [mem 0xe0010000-0xe0013fff 64bit pref]
[    0.254941] pci 0000:01:00.0: BAR 2: assigned [mem 0xe0014000-0xe0014fff 64bit pref]
[    0.254966] pci 0000:01:00.0: BAR 0: assigned [io  0x10000-0x100ff]
[    0.254982] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.254995] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    0.255010] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    0.255311] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.293466] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
[    0.333424] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
[    0.333615] mv_xor f1060900.xor: Marvell shared XOR driver
[    0.373422] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
[    0.413422] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
[    0.413837] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.415186] console [ttyS0] disabled
[    0.415246] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, base_baud = 12500000) is a 16550A
[    1.092960] console [ttyS0] enabled
[    1.097882] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[    1.104299] nand: Samsung NAND 128MiB 3,3V 8-bit
[    1.108940] nand: 128MiB, SLC, page size: 2048, OOB size: 64
[    1.114654] Scanning device for bad blocks
[    1.123836] Bad eraseblock 52 at 0x000000680000
[    1.135654] Bad eraseblock 128 at 0x000001000000
[    1.157076] Bad eraseblock 303 at 0x0000025e0000
[    1.171668] Bad eraseblock 407 at 0x0000032e0000
[    1.182800] Bad eraseblock 475 at 0x000003b60000
[    1.190288] Bad eraseblock 505 at 0x000003f20000
[    1.227007] Bad eraseblock 839 at 0x0000068e0000
[    1.251003] libphy: Fixed MDIO Bus: probed
[    1.255610] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    1.261242] pci 0000:00:01.0: enabling device (0140 -> 0143)
[    1.267004] r8169 0000:01:00.0: enabling device (0140 -> 0143)
[    1.273714] r8169 0000:01:00.0 eth0: RTL8168d/8111d at 0xd090e000, 00:00:00:00:00:30, XID 083000c0 IRQ3
[    1.283328] r8169 0000:01:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[    1.292065] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.298684] ehci-pci: EHCI PCI platform driver
[    1.303223] ehci-orion: EHCI orion driver
[    1.307449] orion-ehci f1050000.ehci: EHCI Host Controller
[    1.312987] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    1.320858] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    1.343393] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    1.349626] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.356479] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.363750] usb usb1: Product: EHCI Host Controller
[    1.368649] usb usb1: Manufacturer: Linux 3.18.5-kirkwood-tld-1 ehci_hcd
[    1.375400] usb usb1: SerialNumber: f1050000.ehci
[    1.380855] hub 1-0:1.0: USB hub found
[    1.384710] hub 1-0:1.0: 1 port detected
[    1.389528] mousedev: PS/2 mouse device common for all mice
[    1.395803] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[    1.402875] i2c /dev entries driver
[    1.409886] hidraw: raw HID events driver (C) Jiri Kosina
[    1.415777] drop_monitor: Initializing network drop monitor service
[    1.422302] TCP: cubic registered
[    1.425702] NET: Registered protocol family 17
[    1.430315] Key type dns_resolver registered
[    1.435429] Loading compiled-in X.509 certificates
[    1.440274] registered taskstats version 1
[    1.445565] rtc-mv f1010300.rtc: setting system clock to 2016-01-16 12:31:41 UTC (1452947501)
[    1.455763] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    1.463277] Please append a correct "root=" boot option; here are the available partitions:
[    1.471741] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    1.480050] CPU: 0 PID: 1 Comm: swapper Not tainted 3.18.5-kirkwood-tld-1 #1
[    1.487155] [<c0014aa0>] (unwind_backtrace) from [<c00110d4>] (show_stack+0x10/0x14)
[    1.494943] [<c00110d4>] (show_stack) from [<c054f408>] (panic+0x80/0x208)
[    1.501858] [<c054f408>] (panic) from [<c076c200>] (mount_block_root+0x200/0x248)
[    1.509378] [<c076c200>] (mount_block_root) from [<c076c32c>] (mount_root+0xe4/0x10c)
[    1.517242] [<c076c32c>] (mount_root) from [<c076c478>] (prepare_namespace+0x124/0x184)
[    1.525283] [<c076c478>] (prepare_namespace) from [<c076be2c>] (kernel_init_freeable+0x1f8/0x240)
[    1.534195] [<c076be2c>] (kernel_init_freeable) from [<c054e500>] (kernel_init+0x8/0xe4)
[    1.542322] [<c054e500>] (kernel_init) from [<c000e310>] (ret_from_fork+0x14/0x24)
[    1.549925] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   82.613380] random: nonblocking pool is initialized

nrg-fv Wrote:
-------------------------------------------------------
> bodhi
>
> same thing I'm afraid :-( and yes I've checked
> that usb pen-drive is labelled rootfs
>
>
> U-Boot 2015.10-tld-1 (Nov 06 2015 - 16:19:43
> -0800)
> ZyXEL NSA310 1-Bay Power Media Server 
> 
> 
> SoC:   Kirkwood 88F6281_A1
> DRAM:  256 MiB (ECC not enabled)
> WARNING: Caches not enabled
> NAND:  128 MiB
> In:    serial
> Out:   serial
> Err:   serial
> Net:   egiga0
> PHY reset timed out
> MV88E1318 PHY initialized on egiga0
> Hit any key to stop autoboot:  0 
> NSA310> setenv console 'ttyS0, 115200'
> NSA310> setenv bootargs '$console
> root=LABEL=rootfs rootdelay=10'
> NSA310> setenv bootcmd 'printenv bootargs; run
> scan_usb; run usb_boot'
> NSA310> boot
> bootargs=$console root=LABEL=rootfs rootdelay=10
> starting USB...
> USB0:   USB EHCI 1.00
> scanning bus 0 for devices... 3 USB Device(s)
> found
>        scanning usb for storage devices... 1
> Storage Device(s) found
> 12848 bytes read in 301 ms (41 KiB/s)
> 2878512 bytes read in 364 ms (7.5 MiB/s)
> 6535284 bytes read in 474 ms (13.1 MiB/s)
> ## Booting kernel from Legacy Image at 00800000
> ...
>    Image Name:   Linux-3.18.5-kirkwood-tld-1
>    Created:      2016-01-12  17:10:50 UTC
>    Image Type:   ARM Linux Kernel Image
> (uncompressed)
>    Data Size:    2878448 Bytes = 2.7 MiB
>    Load Address: 00008000
>    Entry Point:  00008000
>    Verifying Checksum ... OK
> ## Loading init Ramdisk from Legacy Image at
> 01100000 ...
>    Image Name:   initramfs-3.18.5-kirkwood-tld-1
>    Created:      2015-02-19   1:49:36 UTC
>    Image Type:   ARM Linux RAMDisk Image (gzip
> compressed)
>    Data Size:    6535220 Bytes = 6.2 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 0f4dc000, end 0fb17834 ...
> OK
>    Loading Device Tree to 0f4d5000, end 0f4db22f
> ... 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 3.18.5-kirkwood-tld-1
> (root@tldDebian) (gcc version 4.6.3 (Debian
> 4.6.3-14) 5
> [    0.000000] CPU: Feroceon 88FR131 [56251311]
> revision 1 (ARMv5TE), cr=0005397f
> [    0.000000] CPU: VIVT data cache, VIVT
> instruction cache
> [    0.000000] Machine model: ZyXEL NSA310
> [    0.000000] Memory policy: Data cache
> writeback
> [    0.000000] Built 1 zonelists in Zone order,
> mobility grouping on.  Total pages: 65024
> [    0.000000] Kernel command line:
> console=ttyS0,115200
> [    0.000000] PID hash table entries: 1024
> (order: 0, 4096 bytes)
> [    0.000000] Dentry cache hash table entries:
> 32768 (order: 5, 131072 bytes)
> [    0.000000] Inode-cache hash table entries:
> 16384 (order: 4, 65536 bytes)
> [    0.000000] Memory: 251260K/262144K available
> (5640K kernel code, 365K rwdata, 1920K rodata,
> 268K init)
> [    0.000000] Virtual kernel memory layout:
> [    0.000000]     vector  : 0xffff0000 -
> 0xffff1000   (   4 kB)
> [    0.000000]     fixmap  : 0xffc00000 -
> 0xffe00000   (2048 kB)
> [    0.000000]     vmalloc : 0xd0800000 -
> 0xff000000   ( 744 MB)
> [    0.000000]     lowmem  : 0xc0000000 -
> 0xd0000000   ( 256 MB)
> [    0.000000]     modules : 0xbf000000 -
> 0xc0000000   (  16 MB)
> [    0.000000]       .text : 0xc0008000 -
> 0xc076a240   (7561 kB)
> [    0.000000]       .init : 0xc076b000 -
> 0xc07ae000   ( 268 kB)
> [    0.000000]       .data : 0xc07ae000 -
> 0xc08096fc   ( 366 kB)
> [    0.000000]        .bss : 0xc08096fc -
> 0xc0855d84   ( 306 kB)
> [    0.000000] Preemptible hierarchical RCU
> implementation.
> [    0.000000] NR_IRQS:16 nr_irqs:16 16
> [    0.000015] sched_clock: 32 bits at 200MHz,
> resolution 5ns, wraps every 21474836475ns
> [    0.000419] Console: colour dummy device 80x30
> [    0.000448] Calibrating delay loop... 1196.85
> BogoMIPS (lpj=5984256)
> [    0.090114] pid_max: default: 32768 minimum:
> 301
> [    0.090257] Security Framework initialized
> [    0.090360] Mount-cache hash table entries:
> 1024 (order: 0, 4096 bytes)
> [    0.090381] Mountpoint-cache hash table
> entries: 1024 (order: 0, 4096 bytes)
> [    0.091143] Initializing cgroup subsys devices
> [    0.091176] Initializing cgroup subsys freezer
> [    0.091209] Initializing cgroup subsys net_cls
> [    0.091230] Initializing cgroup subsys blkio
> [    0.091334] CPU: Testing write buffer
> coherency: ok
> [    0.091783] Setting up static identity map for
> 0x557418 - 0x557470
> [    0.092106] mvebu-soc-id: MVEBU SoC ID=0x6281,
> Rev=0x3
> [    0.094438] devtmpfs: initialized
> [    0.096896] prandom: seed boundary self test
> passed
> [    0.100973] prandom: 100 self tests passed
> [    0.101001] pinctrl core: initialized pinctrl
> subsystem
> [    0.101504] regulator-dummy: no parameters
> [    0.106508] NET: Registered protocol family 16
> [    0.106867] DMA: preallocated 256 KiB pool for
> atomic coherent allocations
> [    0.130118] cpuidle: using governor ladder
> [    0.160116] cpuidle: using governor menu
> [    0.160480] Feroceon L2: Enabling L2
> [    0.160527] Feroceon L2: Cache support
> initialised.
> [    0.165415] No ATAGs?
> [    0.201797] vgaarb: loaded
> [    0.202187] usbcore: registered new interface
> driver usbfs
> [    0.202268] usbcore: registered new interface
> driver hub
> [    0.202334] usbcore: registered new device
> driver usb
> [    0.203355] Switched to clocksource
> orion_clocksource
> [    0.241107] NET: Registered protocol family 2
> [    0.241866] TCP established hash table entries:
> 2048 (order: 1, 8192 bytes)
> [    0.241903] TCP bind hash table entries: 2048
> (order: 1, 8192 bytes)
> [    0.241935] TCP: Hash tables configured
> (established 2048 bind 2048)
> [    0.242005] TCP: reno registered
> [    0.242019] UDP hash table entries: 256 (order:
> 0, 4096 bytes)
> [    0.242041] UDP-Lite hash table entries: 256
> (order: 0, 4096 bytes)
> [    0.242243] NET: Registered protocol family 1
> [    0.242613] RPC: Registered named UNIX socket
> transport module.
> [    0.242625] RPC: Registered udp transport
> module.
> [    0.242632] RPC: Registered tcp transport
> module.
> [    0.242640] RPC: Registered tcp NFSv4.1
> backchannel transport module.
> [    0.242964] NetWinder Floating Point Emulator
> V0.97 (double precision)
> [    0.244351] futex hash table entries: 256
> (order: -1, 3072 bytes)
> [    0.244384] Initialise system trusted keyring
> [    0.244475] audit: initializing netlink subsys
> (disabled)
> [    0.244526] audit: type=2000 audit(0.240:1):
> initialized
> [    0.245301] zpool: loaded
> [    0.245317] zbud: loaded
> [    0.245615] VFS: Disk quotas dquot_6.5.2
> [    0.245686] Dquot-cache hash table entries:
> 1024 (order 0, 4096 bytes)
> [    0.246280] NFS: Registering the id_resolver
> key type
> [    0.246322] Key type id_resolver registered
> [    0.246332] Key type id_legacy registered
> [    0.246358] nfs4filelayout_init: NFSv4 File
> Layout Driver Registering...
> [    0.246373] Installing knfsd (copyright (C)
> 1996 okir@monad.swb.de).
> [    0.246585] jffs2: version 2.2. (NAND)
> (SUMMARY)  © 2001-2006 Red Hat, Inc.
> [    0.246918] msgmni has been set to 490
> [    0.247071] Key type big_key registered
> [    0.249897] alg: No test for stdrng (krng)
> [    0.249941] Key type asymmetric registered
> [    0.249959] Asymmetric key parser 'x509'
> registered
> [    0.250045] bounce: pool size: 64 pages
> [    0.250135] Block layer SCSI generic (bsg)
> driver version 0.4 loaded (major 252)
> [    0.250157] io scheduler noop registered
> [    0.250172] io scheduler deadline registered
> [    0.250228] io scheduler cfq registered
> (default)
> [    0.251587] kirkwood-pinctrl
> f1010000.pin-controller: registered pinctrl
> driver
> [    0.252246] irq: Cannot allocate irq_descs @
> IRQ33, assuming pre-allocated
> [    0.252657] irq: Cannot allocate irq_descs @
> IRQ65, assuming pre-allocated
> [    0.253649] mvebu-pcie mbus:pcie-controller:
> PCI host bridge to bus 0000:00
> [    0.253670] pci_bus 0000:00: root bus resource
> [io  0x1000-0xfffff]
> [    0.253684] pci_bus 0000:00: root bus resource
> [mem 0xe0000000-0xefffffff]
> [    0.253697] pci_bus 0000:00: root bus resource
> [bus 00-ff]
> [    0.254020] PCI: bus0: Fast back to back
> transfers disabled
> [    0.254036] pci 0000:00:01.0: bridge
> configuration invalid ([bus 00-00]),
> reconfiguring
> [    0.254752] PCI: bus1: Fast back to back
> transfers disabled
> [    0.254861] pci 0000:00:01.0: BAR 14: assigned
> [mem 0xe0000000-0xe00fffff]
> [    0.254878] pci 0000:00:01.0: BAR 13: assigned
> [io  0x10000-0x10fff]
> [    0.254898] pci 0000:01:00.0: BAR 6: assigned
> [mem 0xe0000000-0xe000ffff pref]
> [    0.254914] pci 0000:01:00.0: BAR 4: assigned
> [mem 0xe0010000-0xe0013fff 64bit pref]
> [    0.254941] pci 0000:01:00.0: BAR 2: assigned
> [mem 0xe0014000-0xe0014fff 64bit pref]
> [    0.254966] pci 0000:01:00.0: BAR 0: assigned
> [io  0x10000-0x100ff]
> [    0.254982] pci 0000:00:01.0: PCI bridge to
> [bus 01]
> [    0.254995] pci 0000:00:01.0:   bridge window
> [io  0x10000-0x10fff]
> [    0.255010] pci 0000:00:01.0:   bridge window
> [mem 0xe0000000-0xe00fffff]
> [    0.255311] mv_xor f1060800.xor: Marvell shared
> XOR driver
> [    0.293466] mv_xor f1060800.xor: Marvell XOR: (
> xor cpy )
> [    0.333424] mv_xor f1060800.xor: Marvell XOR: (
> xor cpy )
> [    0.333615] mv_xor f1060900.xor: Marvell shared
> XOR driver
> [    0.373422] mv_xor f1060900.xor: Marvell XOR: (
> xor cpy )
> [    0.413422] mv_xor f1060900.xor: Marvell XOR: (
> xor cpy )
> [    0.413837] Serial: 8250/16550 driver, 2 ports,
> IRQ sharing disabled
> [    0.415186] console [ttyS0] disabled
> [    0.415246] f1012000.serial: ttyS0 at MMIO
> 0xf1012000 (irq = 27, base_baud = 12500000) is a
> 16550A
> [    1.092960] console [ttyS0] enabled
> [    1.097882] nand: device found, Manufacturer
> ID: 0xec, Chip ID: 0xf1
> [    1.104299] nand: Samsung NAND 128MiB 3,3V
> 8-bit
> [    1.108940] nand: 128MiB, SLC, page size: 2048,
> OOB size: 64
> [    1.114654] Scanning device for bad blocks
> [    1.123836] Bad eraseblock 52 at
> 0x000000680000
> [    1.135654] Bad eraseblock 128 at
> 0x000001000000
> [    1.157076] Bad eraseblock 303 at
> 0x0000025e0000
> [    1.171668] Bad eraseblock 407 at
> 0x0000032e0000
> [    1.182800] Bad eraseblock 475 at
> 0x000003b60000
> [    1.190288] Bad eraseblock 505 at
> 0x000003f20000
> [    1.227007] Bad eraseblock 839 at
> 0x0000068e0000
> [    1.251003] libphy: Fixed MDIO Bus: probed
> [    1.255610] r8169 Gigabit Ethernet driver
> 2.3LK-NAPI loaded
> [    1.261242] pci 0000:00:01.0: enabling device
> (0140 -> 0143)
> [    1.267004] r8169 0000:01:00.0: enabling device
> (0140 -> 0143)
> [    1.273714] r8169 0000:01:00.0 eth0:
> RTL8168d/8111d at 0xd090e000, 00:00:00:00:00:30,
> XID 083000c0 IRQ3
> [    1.283328] r8169 0000:01:00.0 eth0: jumbo
> features [frames: 9200 bytes, tx checksumming:
> ko]
> [    1.292065] ehci_hcd: USB 2.0 'Enhanced' Host
> Controller (EHCI) Driver
> [    1.298684] ehci-pci: EHCI PCI platform driver
> [    1.303223] ehci-orion: EHCI orion driver
> [    1.307449] orion-ehci f1050000.ehci: EHCI Host
> Controller
> [    1.312987] orion-ehci f1050000.ehci: new USB
> bus registered, assigned bus number 1
> [    1.320858] orion-ehci f1050000.ehci: irq 30,
> io mem 0xf1050000
> [    1.343393] orion-ehci f1050000.ehci: USB 2.0
> started, EHCI 1.00
> [    1.349626] usb usb1: New USB device found,
> idVendor=1d6b, idProduct=0002
> [    1.356479] usb usb1: New USB device strings:
> Mfr=3, Product=2, SerialNumber=1
> [    1.363750] usb usb1: Product: EHCI Host
> Controller
> [    1.368649] usb usb1: Manufacturer: Linux
> 3.18.5-kirkwood-tld-1 ehci_hcd
> [    1.375400] usb usb1: SerialNumber:
> f1050000.ehci
> [    1.380855] hub 1-0:1.0: USB hub found
> [    1.384710] hub 1-0:1.0: 1 port detected
> [    1.389528] mousedev: PS/2 mouse device common
> for all mice
> [    1.395803] rtc-mv f1010300.rtc: rtc core:
> registered f1010300.rtc as rtc0
> [    1.402875] i2c /dev entries driver
> [    1.409886] hidraw: raw HID events driver (C)
> Jiri Kosina
> [    1.415777] drop_monitor: Initializing network
> drop monitor service
> [    1.422302] TCP: cubic registered
> [    1.425702] NET: Registered protocol family 17
> [    1.430315] Key type dns_resolver registered
> [    1.435429] Loading compiled-in X.509
> certificates
> [    1.440274] registered taskstats version 1
> [    1.445565] rtc-mv f1010300.rtc: setting system
> clock to 2016-01-16 12:31:41 UTC (1452947501)
> [    1.455763] VFS: Cannot open root device
> "(null)" or unknown-block(0,0): error -6
> [    1.463277] Please append a correct "root="
> boot option; here are the available partitions:
> [    1.471741] Kernel panic - not syncing: VFS:
> Unable to mount root fs on unknown-block(0,0)
> [    1.480050] CPU: 0 PID: 1 Comm: swapper Not
> tainted 3.18.5-kirkwood-tld-1 #1
> [    1.487155] [<c0014aa0>] (unwind_backtrace)
> from [<c00110d4>] (show_stack+0x10/0x14)
> [    1.494943] [<c00110d4>] (show_stack) from
> [<c054f408>] (panic+0x80/0x208)
> [    1.501858] [<c054f408>] (panic) from
> [<c076c200>] (mount_block_root+0x200/0x248)
> [    1.509378] [<c076c200>] (mount_block_root)
> from [<c076c32c>] (mount_root+0xe4/0x10c)
> [    1.517242] [<c076c32c>] (mount_root) from
> [<c076c478>] (prepare_namespace+0x124/0x184)
> [    1.525283] [<c076c478>] (prepare_namespace)
> from [<c076be2c>]
> (kernel_init_freeable+0x1f8/0x240)
> [    1.534195] [<c076be2c>] (kernel_init_freeable)
> from [<c054e500>] (kernel_init+0x8/0xe4)
> [    1.542322] [<c054e500>] (kernel_init) from
> [<c000e310>] (ret_from_fork+0x14/0x24)
> [    1.549925] ---[ end Kernel panic - not
> syncing: VFS: Unable to mount root fs on
> unknown-block(0,0)
> [   82.613380] random: nonblocking pool is
> initialized
> 
>

I solved this problem before :) Just need to recall the solution (the error is very subtle). Let me look in my laptop and be back.

-bodhi
===========================
Forum Wiki
bodhi's corner
nrg-fv,

Mount this rootfs on another Linux box. Assuming it is mounted at /media/sdb1.

- Check to see if your uImage was embedded with the kikrwood-nsa310.dtb. Hint: is there a zImage.fdt or uImage.orig file?
cd /media/sdb1
ls -latr

- If there is uImage.orig, then copy it back to uImage
cp -a uImage.orig uImage

- If there is no uImage.orig, then regenerate uImage to make sure it is an "original" anyway:
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-3.18.5-kirkwood-tld-1 -d vmlinuz-3.18.5-kirkwood-tld-1 uImage

- sync
sync

Take this USB rootfs back to the NSA310 and reboot.

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

Thank you so much for your help! Yes that was my problem, I've merged the kernel with dtb by blindly coping and pasting commands from your post without truly understanding what they do. This teaches me in case of error to check all of the things from the beginning to the end as I was convinced the error was in the envs. Now I can finally try to set up a new Debian system on my NSA310. Would you be able to point me to a good tutorial with information how to set up encrypted file system on this NAS? Thank you once again for your help.

nrg-fv
nrg-fv Wrote:
-------------------------------------------------------
> Hi bodhi,
>
> Thank you so much for your help! Yes that was my
> problem, I've merged the kernel with dtb by
> blindly coping and pasting commands from your post
> without truly understanding what they do. This
> teaches me in case of error to check all of the
> things from the beginning to the end as I was
> convinced the error was in the envs. Now I can
> finally try to set up a new Debian system on my
> NSA310. Would you be able to point me to a good
> tutorial with information how to set up encrypted
> file system on this NAS? Thank you once again for
> your help.
>
> nrg-fv

Cool!

I don't know any good tutorial for encrypted rootfs. Others might want chime in about tthis subject.

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

two days ago I read the question for informations about utilizing encryption on the nas.
I am running Debian on a NSA325v2 on LVM on LUKS on raid(mdadm). So this question reminded me to my own efforts when I tried to encrypt the whole nas.

Therefore I started to draft a short list of instructions with the intention of publishing it here.

Now it seems I misestimated the scope of covering only all main aspects.
On the other hand it would be a bit off-topic in this thread.

I offer to provide a list of steps based on my experiences when I tried to encrypt installations on Seagate GoFlexNet and NSA325v2 in a separate thread for interested parties.

Let me know if there are interests on doing so.

Regards,
Joe
Hello,

after I flashed the current uboot on my NSA325, I'm not able to boot into the stock firmware.
Booting with flash drive to debian works without any problems.

The kernel ist loaded from nand to memory, but the system freeze after booting.

Can someone help me, to find out the correct parameters?
I have attached the screenlog with more details.


mtdparts=mtdparts=orion_nand:0x100000(uboot),0x80000(uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2)
partition=nand0,6

bootcmd=run bootcmd_uenv; run bootcmd_usb; run bootcmd_stock; reset
bootcmd_stock=run set_bootargs_stock; if nand read.e 0x02000000 0x00c80000 0xA00000; then bootm 0x02000000; else reset; fi
set_bootargs_stock=setenv bootargs console=$console root=/dev/nfs rw init=/init rootpath=/srv/ubuntu nandEcc=1bit rootdelay=$rootdelay rootfstype=ext2 $mtdparts mainlineLinux=no

NSA325> mtdparts

device nand0 <orion_nand>, # parts = 9
#: name size offset mask_flags
0: uboot 0x00100000 0x00000000 0
1: uboot_env 0x00080000 0x00100000 0
2: key_store 0x00080000 0x00180000 0
3: info 0x00080000 0x00200000 0
4: etc 0x00a00000 0x00280000 0
5: kernel_1 0x00a00000 0x00c80000 0
6: rootfs1 0x02fc0000 0x01680000 0
7: kernel_2 0x00a00000 0x04640000 0
8: rootfs2 0x02fc0000 0x05040000 0

active partition: nand0,6 - (rootfs1) 0x02fc0000 @ 0x01680000

U-Boot 2015.10-tld-1 (Nov 06 2015 - 16:09:38 -0800)
ZyXEL NSA325 2-Bay Power Media Server

SoC: Kirkwood 88F6282_A1
DRAM: 512 MiB (ECC not enabled)
WARNING: Caches not enabled
NAND: 128 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
MV88E1318 PHY initialized on egiga0
Hit any key to stop autoboot: 5  4  3  2  1  0
starting USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found

Reset IDE: Bus 0: OK Bus 1: not available
Device 0: Model: WDC WD30EFRX-68EUZN0
Type: Hard Disk
Supports 48-bit addressing
Capacity: 2861588.4 MB = 2794.5 GB (5860533168 x 512)

no USB devices available

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

Part Start LBA End LBA Name
Attributes
Type GUID
Partition GUID
1 0x00000800 0x000f3fff "mitraswap"
attrs: 0x0000000000000000
type: 0657fd6d-a4ab-43c4-84e5-0933c84b4f4f
guid: 9dfa02ee-fa4c-4c9e-a357-d14fff0d442f
2 0x000f4000 0x15d509fff "eexxtt44"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 301f1786-4fd9-4f9a-8fec-e120925c812d
loading envs from ide 0 ...
** File not found /boot/uEnv.txt **
** Bad device usb 0 **
** Bad device usb 0 **
Wrong Image Format for bootm command
Error occured, error code = 112
ERROR: can't get kernel image!

NAND read: device 0 offset 0xc80000, size 0xa00000
Skipping bad block 0x00c80000
10485760 bytes read: OK
## Booting kernel from Legacy Image at 02000000 ...
Image Name: Linux-2.6.31.8
Created: 2015-11-09 8:37:06 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 5796468 Bytes = 5.5 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK

Starting kernel ...

Uncompressing Linux................................................................................................................................................................................................................................................................................ done, booting the kernel.
Attachments:
open | download - screenlog.0_freeze_stock.txt (6.9 KB)
ottok,

No one has shown interest in booting stock OS on the NSA325, so I have not tried to (it's still a low priority item on my TODO list).

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

First of all, thanks for all your hard work and support.

For now I'm in the same situation as ottok (nsa325v2, latest uboot, stock firmware). Unfortunately, I lost the dump of my stock nand0,0. Anyway, I don't really mind not using the stock firmware (though it would be nice as a fallback) but will I be able to use my existing raid1 setup with debian/omv?
Hi Blackclaw,

I'm not using OMV, but quite a few people are having that setup, so I don't think there is any problem.

-bodhi
===========================
Forum Wiki
bodhi's corner
Hi Blackclaw,

I don't use a raid1 on debian, but i use my 2 JBOD partitions which was created with the Zyxel Firmware.
You have to use mdadm to assemble the partitions into the file filesystem as /dev/md0 and /dev/md1 the you can
mount the partitions to /mnt. Please check the manual for the correct parameters. - Good Luck!
I've tried different settings to boot into the old Firmware, but without any success. I think the stock kernel didn't
find the rootfs to continue.

otto
ottok, bodhi thanks for the replies.

I'll have to check if ovm can detect the existing raid stack (for now my nsa is disassembled and the hdd aren't plugged in). Would it be possible to flash one of the two kernel/rootfs in the nand with the latest one found here? Since the nsa325 seems to have 2 of each, I'd keep one as stock and one with the updated kernel.
Blackclaw Wrote:
-------------------------------------------------------
> ottok, bodhi thanks for the replies.
>
> I'll have to check if ovm can detect the existing
> raid stack (for now my nsa is disassembled and the
> hdd aren't plugged in).

As I said, you can visit OMV forum to find out. I think quite a few users have installed OMV on top of my released rootfs.

> Would it be possible to
> flash one of the two kernel/rootfs in the nand
> with the latest one found
> here
>
? Since the nsa325 seems to have 2 of each,
> I'd keep one as stock and one with the updated
> kernel.

I don't think the 325 NAND space is big enough for this rootfs. Best to run it on a USB drive and use the HDDs for RAID.

-bodhi
===========================
Forum Wiki
bodhi's corner
Hi guys,

I'm trying to re-use my old DockStar for a new project. Hence a few questions:

1. Can the latest U-Boot 2015.10 start ArchLinux ARM with older 3.x kernel, or I do need to upgrade both U-boot and OS to the latest?
2. If yes to OS upgrade, are there any advantages of running Debian, or ArchLinux, or OpenWRT on DockStar? What OS is preferable and why, in particular for webcam video capture and recording, and files streaming?
3. Can the latest U-Boot posted in this thread do env files Import & Export, as described here? If not, why?
4. Can I use instead the procedure described here to Import env file from a USB Thumb before booting to a certain OS on a certain Thumb partition, and how that code would look like for DockStar?
5. Is it possible to get U-Boot prompt from a running OS aiming to enter certain U-boot commands afterwards, and how?

Thanks :)

Re this forum usage, how to Search for keywords within a certain thread instead of the entire forum? Can you add this feature?



Edited 4 time(s). Last edit at 01/29/2016 09:57AM by sambul14.
sambul14 Wrote:
-------------------------------------------------------
> Hi guys,
>
> I'm trying to re-use my old DockStar for a new
> project. Hence a few questions:
>
> 1. Can the latest U-Boot 2015.10 start ArchLinux
> ARM with older 3.x kernel, or I do need to upgrade
> both U-boot and OS to the latest?

It will boot the old 3.x Arch kernel just fine.

> 2. If yes to OS upgrade, are there any advantages
> of running Debian, or ArchLinux, or OpenWRT on
> DockStar? What OS is preferable and why, in
> particular for webcam video capture and recording,
> and files streaming?

If you upgrade, any of these OS should be OK.

> 3. Can the latest U-Boot posted in this thread do
> env files Import & Export?

Yes. But it also supports uEnv.txt (see instruction in the first page). This capability is the most flexible and safe when playing with u-boot envs. You don't need to commit to permanent settings in NAND until you are sure that some changes do work. And it is a text file residing in the rootfs /boot directory (i.e. easy to change and remove).

> 4. Can I use instead the procedure described
> to Import env file
> from a USB Thumb before booting to a certain OS on
> a certain Thumb partition, and how that code would
> look like for DockStar?

See previous answer.

> 5. Is it possible to get U-Boot prompt from a
> running OS aiming to enter certain U-boot commands
> afterwards, and how?
>

No u-boot prompt in OS (it has been terminated before Linux starts). fw_setenv is the Linux command to change u-boot envs, and it will commit the changes to NAND, i.e. a mistake will lock you out. So to play, use uEnv.txt. And to do it for real, use fw_setenv.

-bodhi
===========================
Forum Wiki
bodhi's corner
Thanks. Why fw_saveenv is not required to commit changes?

What .dtb file is for, is it needed for DockStar, and where to get one?

Do you personally prefer any particular OS running on a small device and why? Which one has the lowest RAM footprint, allows writing to disk with lowest CPU load?

Can you suggest any DockStar mods aiming to add eSata or Sata port without using USB-to-Sata adapter?
sambul14 Wrote:
-------------------------------------------------------
> Thanks. Why fw_saveenv is not required to commit
> changes?

Because fw_setenv does that. There is no fw_saveenv in Linux because there is no need for it. In u-boot, you can use setenv and not commiting changes because it is useful to try out some settings while being not sure if it works. saveenv in u-boot commit the changes. Setting envs in Linux must be permanent to survive a reboot, so there is no "testing".

> What .dtb file is for, is it needed for DockStar,
> and where to get one?

See the kernel/rootfs thread:
http://forum.doozan.com/read.php?2,12096

>
> Do you personally prefer any particular OS running
> on a small device and why? Which one has the
> lowest RAM footprint, allows writing to disk with
> lowest CPU load?
>

I like Debian, but not because these tasks are better in Debian. All 3 OS can be tuned to take minimal RAM, or writing with lowest load.

> Can you suggest any DockStar mods aiming to add
> eSata or Sata port without using USB-to-Sata
> adapter?

None exists that I know of. Cheapest is the Pogo Mobile and then a SATA mod (require pretty competent soldering skill, not for beginners though).

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



Edited 1 time(s). Last edit at 01/29/2016 12:16PM by bodhi.
bodhi Wrote:
-------------------------------------------------------
>I like Debian, but not because these tasks are better in Debian. All 3 OS can be tuned to take minimal RAM, or writing >with lowest load.

I don't want to go offtop, but can you point to a thread describing how to decrease a small device CPU load at encoding a video source stream to AVI, and writing the AVI to an attached drive?



Edited 3 time(s). Last edit at 01/29/2016 01:40PM by sambul14.
>
> I don't want to go offtop, but can you point to a
> thread describing how to decrease a small device
> CPU load at encoding a video source stream to AVI,
> and writing the AVI to an attached drive?

I don't know any tutorial for this.

-bodhi
===========================
Forum Wiki
bodhi's corner
@sambul,

I've moved previous post to its own topic. It deserves more discussion that are off-topic:

http://forum.doozan.com/read.php?3,25581

Sorry, the split thread notification obviously did not work. It might have caused some confusion about posts disappearance :)

-bodhi
===========================
Forum Wiki
bodhi's corner
I also struggle to get back to boot the stock OS with the latest u-boot on NSA310.
here is the old envs i saved before flashing latest u-boot:
bootargs=console=ttyS0,115200 mtdparts=nand_mtd:0x100000(uboot),0x80000(uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2) root=/dev/nfs rw init=/init
bootcmd=nand read.e 0x2000000 $(kernel_addr) 0xA00000; bootm 0x2000000
bootdelay=2
baudrate=115200
loads_echo=0
eth1addr=00:19:CB:00:51:82
ipaddr=10.4.50.165
serverip=10.4.50.5
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
nandEcc=1bit
kernel_addr=480000
MODEL_ID=A203
PRODUCT_NAME=NSA-310
FEATURE_BIT=00
CONTRY_TYPE=FF
VENDOR_NAME=ZyXEL Communications Corp.
run_diag=yes
ethaddr=CC:5D:4E:CA:02:64
I checked the requirements before flashing u-boot and all good to go. Afterwards I not flash any default envs. Just rebooted and entered the above on the serial console. But I keep getting this error:
NAND read: incorrect device type in $(kernel_addr)
Wrong Image Format for bootm command
Error occured, error code = 112
ERROR: can't get kernel image!

And here is the envs I got after flashing the latest u-boot:
NSA310> printenv
arcNumber=4022
baudrate=115200
bootcmd=run bootcmd_uenv; run bootcmd_usb; usb stop; run bootcmd_sata; reset
bootcmd_sata=run sata_init; run set_bootargs_sata; run sata_boot
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootcmd_usb=run usb_init; run set_bootargs_usb; run usb_boot
bootdelay=10
console=ttyS0,115200
device=0:1
ethact=egiga0
ethaddr=b6:d0:5e:0f:a1:17
led_error=orange blinking
led_exit=green off
led_init=green blinking
machid=118f
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:0x100000(uboot),0x80000(stock_uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2)
partition=nand0,2
rootdelay=10
rootfstype=ext2
sata_boot=mw 0x800000 0 1; run sata_load_uimage; if run sata_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
sata_init=ide reset
sata_load_uimage=ext2load ide $device 0x800000 /boot/uImage
sata_load_uinitrd=ext2load ide $device 0x1100000 /boot/uInitrd
sata_root=/dev/sda1
set_bootargs_sata=setenv bootargs console=$console root=$sata_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts
set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts
stderr=serial
stdin=serial
stdout=serial
uenv_import=echo importing envs ...; env import -t 0x810000
uenv_load=usb start; setenv uenv_loaded 0; for devtype in usb; do for disknum in 0; do run uenv_read_disk; done; done
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 0x810000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi
uenv_read_disk=if $devtype part $disknum; then run uenv_read; fi
usb_boot=mw 0x800000 0 1; run usb_load_uimage; if run usb_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
usb_init=usb start
usb_load_uimage=ext2load usb $device 0x800000 /boot/uImage
usb_load_uinitrd=ext2load usb $device 0x1100000 /boot/uInitrd
usb_root=/dev/sda1

Environment size: 2086/131068 bytes
NSA310>

sebr,

As I said above:
http://forum.doozan.com/read.php?3,12381,25406#msg-25406

When I have more time, I'll look into how to boot back to stock on the Zyxel NSA3xx series.

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

You could create a new thread "Booting to stock Zyxel NSA3xx with 2015.10-tld1 U-Boot Kirkwood". That way everybody can post the problem/request and I'll have a reminder to do this.

Please repost your log above there.

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



Edited 1 time(s). Last edit at 02/02/2016 11:55AM by bodhi.
Why the standard env image uses ext2load instead of ext4load?
I'm a bit curious. (mostly because I want to modify it to have full boot for both ext2 and ext4 in my boxes)

Also, will I be able to set your uboot to boot an OpenWrt firmware from NAND?
They keep the kernel in an ubifs.
http://wiki.openwrt.org/toh/seagate/dockstar
these are the uboot envs of OpenWrt's Uboot for kirkwood devices
setenv bootcmd 'setenv bootargs ${console} ${mtdparts} ${bootargs_root}; ubi part root; ubifsmount ubi:rootfs; run ubifinish1'
setenv ubifinish1 'ubifsload 0x800000 ${kernel}; ubifsload 0x700000 ${fdt}; ubifsumount; run ubifinish2'
setenv ubifinish2 'fdt addr 0x700000; fdt resize; fdt chosen; bootz 0x800000 - 0x700000'
saveenv

I was thinking about OpenWrt as it would be a pretty good backup/fallback firmware, or even primary OS (for those that don't need the features of a full-blown Debian) given that most NASes have plenty of NAND if compared to the average router.
bobafetthotmail,

> Why the standard env image uses ext2load instead
> of ext4load?
> I'm a bit curious. (mostly because I want to
> modify it to have full boot for both ext2 and ext4
> in my boxes)

You can use ext4 load and it will work. I simply missed this when I redefined the envs. In fact, I planned to update the envs to use just "load" and the new u-boot will work figuring out the fs type, but it will not work with older u-boot.

>
> Also, will I be able to set your uboot to boot an
> OpenWrt firmware from NAND?
> They keep the kernel in an ubifs.

Yes. It will work.

> I was thinking about OpenWrt as it would be a
> pretty good backup/fallback firmware, or even
> primary OS (for those that don't need the features
> of a full-blown Debian) given that most NASes have
> plenty of NAND if compared to the average router.

I want to do this, too, but never have time to build OpenWrt. Running OpenWrt on Dockstar is quite simple to install, as you've found.

I actually wanted to build a kirkwood-wide system, so it takes a non-trivial amount of time. I already built a work-in-progress kirkwood-wide Debian rescue system, but I've changed my approach in that I should use an existing popular distro so that users will have another type of system in NAND.

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



Edited 1 time(s). Last edit at 02/13/2016 06:57PM by bodhi.
> In fact, I planned to update the envs to use just "load" and the new u-boot will work figuring out the fs type, but it will not work with older u-boot.

Nice, will do some tests with this then.

>Yes. It will work.

Very cool. Very very cool.

>I want to do this, too, but never have time to build OpenWrt.

I can do some of the grunt work for that. I'm writing from a pc with a xeon E3-1275 V2 + 16GB of ECC ram running Debian jessie (LMDE2 actually), and I'm already compiling a openwrt for my new tiny router.

If you give me the .configure file for the OpenWrt SDK thing (or a list of packages/things you want to be included) I can build it for you.

Btw, the firmware they build has a pretty damn small footprint. Heck, I nearly ran out of needed stuff for my mini-router and it only has 8 MB of NAND. :)
(drivers for its own SoC's stuff, samba, usb drivers and drivers for ext4 and fat, a few partitioning, filesystem and hard drive tools, full webinterface, pro router stuff like QoS and IPv6 that was of course missing from the original OEM firmware, tinyproxy, and all 3G/4G modem drivers and related tools I found)



Edited 2 time(s). Last edit at 02/14/2016 02:58PM by bobafetthotmail.
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: