Welcome! Log In Create A New Profile

Advanced

Linux Kernel 6.7.5 Kirkwood package and Debian rootfs

Posted by bodhi 
Re: Linux Kernel 3.17 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs
November 08, 2014 02:50AM
I've never seen a single hard drive 7200rpm to reach up to 180MB/s. Unless you can show me some benchmark from tomshardware then I'll be amazed. The difference between arch and debian could be how you set it up. It's hard to tell without being able to see fstab and smb.conf. Also depends on Samba version as well.



Edited 1 time(s). Last edit at 11/08/2014 02:55AM by Almaz.
Re: Linux Kernel 3.17 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs
November 08, 2014 03:07AM
shv Wrote:
-------------------------------------------------------
> If you look at my comparision of device
> performance at
> http://pogoplug.cwsurf.de/forum/viewtopic.php?f=4&;
> t=13#p75 you will see that you don't reach the
> highest possible speed with your Pogoplug E02.
> -shv

Talking about test. He is not doing the proper way benchmark. He is not using the option conv=fdatasync and that's why his speed shows a little higher than my original test.



Edited 1 time(s). Last edit at 11/08/2014 03:08AM by Almaz.
Re: Linux Kernel 3.17 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs
November 08, 2014 03:10AM
I think we are talking apple and orange here :)) I am sure Shv meant the local HDD speed:

Quote

If you look at my comparision of device performance at http://pogoplug.cwsurf.de/forum/viewtopic.php?f=4&t=13#p75 you will see that you don't reach the highest possible speed with your Pogoplug E02. Moreover you can see that the Goflex Net device can read data from harddrive with 100MB/s from a 2.5" harddisk but reaches just 32MB/s Samba troughput and that this speed limitation doesn't depend on the network or drive speed. The kernel and system configuration seams to have a high impact on the reachable speed. Please regard, that 4TB harddrives with 7200 rpm can reach up to 180MB/s and are not expensive compared to their size.

and Almaz meant network speed:

Quote

I've never seen a single hard drive to reach up to 180MB/s. Unless you can show me some benchmark from tomshardware then I'll be amazed. The difference between arch and debian could be how you set it up. It's hard to tell without being able to see fstab and smb.conf. Also depends on Samba version as well.

IMO, the bottom line is that hard numbers count! so if we want to definitively state performance of something we'll need benchmark results. As for me, I care about network performance, so always making sure my Gbit network reach something like this:

Quote

Client connecting to Homembp.local, TCP port 5001
TCP window size: 43.8 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.0.224 port 49350 connected with 192.168.0.234 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 3.0 sec 286 MBytes 800 Mbits/sec
[ 3] 3.0- 6.0 sec 287 MBytes 803 Mbits/sec
[ 3] 6.0- 9.0 sec 287 MBytes 803 Mbits/sec
[ 3] 9.0-12.0 sec 286 MBytes 800 Mbits/sec
[ 3] 12.0-15.0 sec 286 MBytes 800 Mbits/sec
[ 3] 15.0-18.0 sec 286 MBytes 799 Mbits/sec

Samba and nfs really need to have proper tuning to reach max potentials. I doubt we can say there is a different between Debian and Arch. I think it is actually a difference in tuning, if there is any tuning going on. My released kernel build and rootfs are basic, bare bone, and have no special tuning at all :)

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Linux Kernel 3.17 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs
November 08, 2014 03:16AM
I totally agree with Bodhi. My benchmarks were between PogoPlug and Windows PC. That's what is the most important, network speed. I didn't use dd command for testing just evarage what Windows 8.1 graph showed during transfer.
shv
Re: Linux Kernel 3.17 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs
November 08, 2014 04:27AM
In the linked post http://pogoplug.square7.de/forum/viewtopic.php?f=4&t=13#p75 I measured the top Samba speed using Totalcommander on a Windows 7 PC to copy one bigger file in both direction. This means that the last post is Samba network speed. If you have a look on the two posts before you will see that I used dd to measure the local drive speed and netio to measure the network performance to see a possible impact of them.

I used the following guideline to tune the Samba performace: http://falkhusemann.de/blog/2010/09/maximaldurchsatz-der-modifizierten-seagate-dockstar-optimieren/.

I am interessted in any hints to improve the Samba Performance of the Goflex Net device. As you can see the Samba network performance isn't better than PogoPlug E02 even the SATA drive can serve data locally with up to 100 MB/s which means 3x faster than any drive at E02 can do.

@bodhi:
The performance of openmediavault is based on your Debian-3.14.0-kirkwood-tld-1-rootfs-bodhi rootfs/kernel. Installation guideline is as follows:
http://zyxel.nas-central.org/wiki/Debian_on_325 + https://flexion.org/posts/2014-06-openmediavault-on-debian.html using openmediavault 1.0

Debian: nfs ~45MB/s, samba 50MB/s vs.
Archlinux: nfs 120MB/s, samba 110MB/s

-shv



Edited 9 time(s). Last edit at 03/12/2017 08:21AM by shv.
Re: Linux Kernel 3.17 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs
November 08, 2014 05:44AM
@shv

I tryed to use OMV on the PogoE02, but stopped it.
I See OMV has a big overhead, so everything is much slower but it comes with some tweaks for smb.
And the mainthing with smb is CPU performace.

+ With OMV I had about 95-99% CPU-Load @ ~28-30mb/s write speed.

+ Without OMV, I got about 28-30mb/s write speed but only 65-70% CPU load.

So as the NSA325 is about 25% faster and you dont have the bottleneck of the USB 2.0 you shoud easy reach the 60MB/s write speed if everything is set up right and you don't have overloaded your setup with several services.

So just try it :-)
shv
Re: Linux Kernel 3.17 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs
November 08, 2014 05:49AM
@Pacemaker,

I will do a performance comparision of Debian vs. Archlinux with my Goflex Net device. I didn't find an installation guideline for Freenas on Kirkwood devices yet.

-shv



Edited 1 time(s). Last edit at 11/08/2014 05:50AM by shv.
Re: Linux Kernel 3.17 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs
November 08, 2014 05:57AM
Can you do the test with just plain debian? If you need optimize settings for smb.conf then let me know.
Re: Linux Kernel 3.17 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs
November 08, 2014 06:02AM
May I suggest we move this to a new thread, specific about performance?

@Shv, please start the new thread with your numbers. I think you had the most info so it would be helpful.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Linux Kernel 3.17 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs
November 08, 2014 06:41AM
Freenas on an ARM device, even if it is possible, is not a good idea.

1.: You need an FreeBSD ARM port, with a good working FreeBSD-Kernel.

2.: FreeNAS use ZFS and ZFS loves RAM, RAM and RAM.
A good point to start is 1 gb ram / 1 tb hdd.
And the ram is higly recomended to be ECC

So FreeNAS is a good system for big X86 mashines and not small arm nas.


A really intresting thing would be a xpenology / DSM port for krikwood devices.
shv
Re: Linux Kernel 3.17 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs
November 08, 2014 11:21AM
@all:

I've got the information from the author of the performance values that they are not for Zyxel NSA 325-v2 even they were posted in the OMV for Zyxel NSA thread. This means they are completely useless with regard to Debian on Zyxel device.

Nevertheless I will open a new thread to discuss NFS/Samba performance of Kirkwood devices to see if there are differences with different operating systems or different configurations. I am really interested to see if the Debian system can reach the performance of Zyxel OS on NSA 325 devices.

-shv



Edited 1 time(s). Last edit at 11/08/2014 11:22AM by shv.
Re: Linux Kernel 3.17 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs
November 09, 2014 04:06PM
Just my 2 cents on network (samba) performance for NSA325 on Debian:

Read from NAS to my pc SSD drive: 59.5MB/sec
Write to NAS from my pc SSD drive: 37.5MB/sec

Both speeds are of 2GB file.

My smb.conf

Bye!

--
DavideDG
My NAS userspace configs
My Zyxel NSA325 mod
My D-Link DNS325 mod
My Lacie NS2MAX mod
Re: Linux Kernel 3.17 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs
November 16, 2014 04:17AM
So I am attempting to setup/prep the newest 3.17 kernal on a 32GB Sandisk Micro Cruzer with the rootfs from op on my ZyXEL NSA325 v1. I starts to load all the way then reboots. about maybe 30seconds after it starts the boot debian. My boot log is below. I have a working 3.10 image on my other 16GB sandisk micro cruzer that works fine. Any ideas?

 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** MARVELL BOARD: DB-88F6282A-BP LE

U-Boot 1.1.4 (Sep 16 2011 - 17:51:53) Marvell version: 3.5.9

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

Soc: 88F6282 A1CPU running @ 1600Mhz L2 running @ 533Mhz
SysClock = 533Mhz , TClock = 200Mhz

DRAM (DDR3) CAS Latency = 7 tRP = 7 tRAS = 20 tRCD=7
DRAM CS[0] base 0x00000000   size 512MB
DRAM Total size 512MB  16bit width
Addresses 10M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (10M - 7M): Done
NAND:128 MB
Flash:  0 kB

CPU : Marvell Feroceon (Rev 1)
Kernel address is 0x4640000.

Streaming disabled
Write allocate disabled


USB 0: host mode
        [BlueDBG] reseting SoC Pex[0]  0 ...
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
        [BlueDBG] reseting SoC Pex[1]  0 ...
        [BlueDBG] reseting SoC Pex[1]  1 ...
        [BlueDBG] reseting SoC Pex[1]  2 ...
        [BlueDBG] reseting SoC Pex[1]  3 ...
        [BlueDBG] reseting SoC Pex[1]  4 ...
        [BlueDBG] reseting SoC Pex[1]  5 ...
        [BlueDBG] reseting SoC Pex[1]  6 ...
        [BlueDBG] reseting SoC Pex[1]  7 ...
        [BlueDBG] reseting SoC Pex[1]  8 ...
        [BlueDBG] reseting SoC Pex[1]  9 ...
        [BlueDBG] reseting SoC Pex[1]  10 ...
PEX 1: interface detected no Link.
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0
(Re)start USB...
USB:   scanning bus for devices... 3 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
1 Storage Device(s) found
....
................................................................................................................................................................................................................................................................................

2836494 bytes read
....
.........................................................................................................................................................................................................................................................................................................................................................................................................................
......................................................................................................................................................................................

6114335 bytes read
## Booting image at 02000000 ...
   Image Name:   Linux-3.17.0-kirkwood-tld-1
   Created:      2014-11-16   9:36:30 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2836430 Bytes =  2.7 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 01100000 ...
   Image Name:   initramfs-3.17.0-kirkwood-tld-1
   Created:      2014-10-25   3:29:30 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6114271 Bytes =  5.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 3.17.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.6.3 (Debian 4.6.3-14) ) #4 PREEMPT Wed Oct 22 00:55:17 PDT 2014
[    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 NSA325
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 131072
[    0.000000] free_area_init_node: node 0, pgdat c07e3078, node_mem_map dfbfa000
[    0.000000]   DMA zone: 1024 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 131072 pages, LIFO batch:31
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: 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/sdb1 rw loglevel=8
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 505312K/524288K available (5553K kernel code, 358K rwdata, 1892K rodata, 262K init, 302K bss, 18976K reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc074d83c   (7447 kB)
[    0.000000]       .init : 0xc074e000 - 0xc078f90c   ( 263 kB)
[    0.000000]       .data : 0xc0790000 - 0xc07e998c   ( 359 kB)
[    0.000000]        .bss : 0xc07e998c - 0xc08352dc   ( 303 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000011] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474836475ns
[    0.000285] Console: colour dummy device 80x30
[    0.000307] Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816)
[    0.090069] pid_max: default: 32768 minimum: 301
[    0.090164] Security Framework initialized
[    0.090217] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090234] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090785] Initializing cgroup subsys devices
[    0.090810] Initializing cgroup subsys freezer
[    0.090827] Initializing cgroup subsys net_cls
[    0.090842] Initializing cgroup subsys blkio
[    0.090913] CPU: Testing write buffer coherency: ok
[    0.091253] Setting up static identity map for 0x542138 - 0x542190
[    0.091485] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.093279] devtmpfs: initialized
[    0.095128] prandom: seed boundary self test passed
[    0.098125] prandom: 100 self tests passed
[    0.098141] pinctrl core: initialized pinctrl subsystem
[    0.098532] regulator-dummy: no parameters
[    0.102905] NET: Registered protocol family 16
[    0.103210] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.104079] cpuidle: using governor ladder
[    0.104098] cpuidle: using governor menu
[    0.104405] Feroceon L2: Enabling L2
[    0.104439] Feroceon L2: Cache support initialised.
[    0.104742] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.108555] No ATAGs?
[    0.141345] vgaarb: loaded
[    0.141654] usbcore: registered new interface driver usbfs
[    0.141718] usbcore: registered new interface driver hub
[    0.141820] usbcore: registered new device driver usb
[    0.142682] Switched to clocksource orion_clocksource
[    0.172874] NET: Registered protocol family 2
[    0.173637] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.173693] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.173744] TCP: Hash tables configured (established 4096 bind 4096)
[    0.173796] TCP: reno registered
[    0.173807] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.173827] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.173988] NET: Registered protocol family 1
[    0.174249] RPC: Registered named UNIX socket transport module.
[    0.174258] RPC: Registered udp transport module.
[    0.174264] RPC: Registered tcp transport module.
[    0.174270] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.174288] PCI: CLS 0 bytes, default 32
[    0.174509] Unpacking initramfs...
[    0.554026] Freeing initrd memory: 5964K (c1101000 - c16d4000)
[    0.554124] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.555196] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.555225] Initialise system trusted keyring
[    0.555307] audit: initializing netlink subsys (disabled)
[    0.555357] audit: type=2000 audit(0.550:1): initialized
[    0.555991] zpool: loaded
[    0.556004] zbud: loaded
[    0.556225] VFS: Disk quotas dquot_6.5.2
[    0.556271] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.556697] NFS: Registering the id_resolver key type
[    0.556734] Key type id_resolver registered
[    0.556741] Key type id_legacy registered
[    0.556763] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.556775] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.556906] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.557154] msgmni has been set to 998
[    0.557281] Key type big_key registered
[    0.559028] alg: No test for stdrng (krng)
[    0.559113] bounce: pool size: 64 pages
[    0.559162] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.559176] io scheduler noop registered
[    0.559185] io scheduler deadline registered
[    0.559215] io scheduler cfq registered (default)
[    0.560225] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.560737] irq: Cannot allocate irq_descs @ IRQ33, assuming pre-allocated
[    0.561051] irq: Cannot allocate irq_descs @ IRQ65, assuming pre-allocated
[    0.561709] mvebu-pcie mbus:pcie-controller: PCI host bridge to bus 0000:00
[    0.561724] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    0.561733] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    0.561743] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.561772] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    0.561987] PCI: bus0: Fast back to back transfers disabled
[    0.561999] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.562134] pci 0000:01:00.0: [1033:0194] type 00 class 0x0c0330
[    0.562177] pci 0000:01:00.0: reg 0x10: [mem 0x90000000-0x90001fff 64bit]
[    0.562313] pci 0000:01:00.0: PME# supported from D0 D3hot
[    0.562556] PCI: bus1: Fast back to back transfers disabled
[    0.562570] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.562633] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    0.562649] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe0001fff 64bit]
[    0.562673] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.562828] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    0.562910] pci 0000:00:01.0: enabling device (0140 -> 0142)
[    0.563146] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.602737] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
[    0.642730] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
[    0.642866] mv_xor f1060900.xor: Marvell shared XOR driver
[    0.682729] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
[    0.722728] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
[    0.723060] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.724094] console [ttyS0] disabled
[    0.724142] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, base_baud = 12500000) is a 16550A
[    1.469784] console [ttyS0] enabled
[    1.474440] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[    1.480820] nand: Samsung NAND 128MiB 3,3V 8-bit
[    1.485480] nand: 128MiB, SLC, page size: 2048, OOB size: 64
[    1.491169] Scanning device for bad blocks
[    1.577294] Bad eraseblock 796 at 0x000006380000
[    1.586417] Bad eraseblock 840 at 0x000006900000
[    1.615967] libphy: Fixed MDIO Bus: probed
[    1.620347] libphy: orion_mdio_bus: probed
[    1.629043] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    1.636882] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:50:43:00:02:02
[    1.645901] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.652461] ehci-pci: EHCI PCI platform driver
[    1.657016] ehci-orion: EHCI orion driver
[    1.661177] orion-ehci f1050000.ehci: EHCI Host Controller
[    1.666746] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    1.674622] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    1.692714] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    1.698883] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.705721] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.712988] usb usb1: Product: EHCI Host Controller
[    1.717884] usb usb1: Manufacturer: Linux 3.17.0-kirkwood-tld-1 ehci_hcd
[    1.724629] usb usb1: SerialNumber: f1050000.ehci
[    1.729931] hub 1-0:1.0: USB hub found
[    1.733755] hub 1-0:1.0: 1 port detected
[    1.738392] mousedev: PS/2 mouse device common for all mice
[    1.744303] i2c /dev entries driver
[    1.752389] rtc-pcf8563 0-0051: chip found, driver version 0.4.3
[    1.763586] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0
[    1.772099] hidraw: raw HID events driver (C) Jiri Kosina
[    1.777883] drop_monitor: Initializing network drop monitor service
[    1.784399] TCP: cubic registered
[    1.787736] NET: Registered protocol family 17
[    1.792290] Key type dns_resolver registered
[    1.797137] Loading compiled-in X.509 certificates
[    1.801973] registered taskstats version 1
[    1.808132] rtc-pcf8563 0-0051: setting system clock to 2014-11-16 10:12:18 UTC (1416132738)
[    1.817444] PM: Hibernation image not present or could not be loaded.
[    1.824913] Freeing unused kernel memory: 260K (c074e000 - c078f000)
Loading, please wait...
[    1.883426] udevd[60]: starting version 175
[    2.038586] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    2.052817] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    2.129366] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    2.177905] SCSI subsystem initialized
[    2.191037] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    2.214515] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    2.221264] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.240091] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.247410] usb 1-1: Product: USB2.0 Hub
[    2.252210] hub 1-1:1.0: USB hub found
[    2.259036] hub 1-1:1.0: 4 ports detected
[    2.272410] libata version 3.00 loaded.
[    2.292231] sata_mv f1080000.sata: version 1.28
[    2.297754] usb usb2: Product: xHCI Host Controller
[    2.302673] usb usb2: Manufacturer: Linux 3.17.0-kirkwood-tld-1 xhci_hcd
[    2.329052] sata_mv f1080000.sata: slots 32 ports 2
[    2.354562] usb usb2: SerialNumber: 0000:01:00.0
[    2.370371] scsi host0: sata_mv
[    2.381792] hub 2-0:1.0: USB hub found
[    2.386004] hub 2-0:1.0: 2 ports detected
[    2.390095] scsi host1: sata_mv
[    2.393996] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    2.399257] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 3
[    2.407079] ata1: SATA max UDMA/133 irq 32
[    2.411194] ata2: SATA max UDMA/133 irq 32
[    2.416527] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
[    2.423503] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.430753] usb usb3: Product: xHCI Host Controller
[    2.435702] usb usb3: Manufacturer: Linux 3.17.0-kirkwood-tld-1 xhci_hcd
[    2.442429] usb usb3: SerialNumber: 0000:01:00.0
[    2.448087] hub 3-0:1.0: USB hub found
[    2.451888] hub 3-0:1.0: 2 ports detected
[    2.543010] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[    2.653626] usb 1-1.2: New USB device found, idVendor=0781, idProduct=5571
[    2.660545] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.667922] usb 1-1.2: Product: Cruzer Fit
[    2.672034] usb 1-1.2: Manufacturer: SanDisk
[    2.676331] usb 1-1.2: SerialNumber: 4C530010550725103025
[    2.694586] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[    2.701155] scsi host2: usb-storage 1-1.2:1.0
[    2.706970] usbcore: registered new interface driver usb-storage
[    2.715493] usbcore: registered new interface driver uas
[    2.922724] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    2.962749] ata1.00: ATA-8: ST3500514NS, SN12, max UDMA/133
[    2.968350] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    3.032752] ata1.00: configured for UDMA/133
[    3.052993] scsi 0:0:0:0: Direct-Access     ATA      ST3500514NS      SN12 PQ: 0 ANSI: 5
[    3.402714] ata2: SATA link down (SStatus 0 SControl F300)
[    3.451555] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
[    3.460223] sd 0:0:0:0: [sda] Write Protect is off
[    3.465157] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    3.470320] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    3.491547]  sda:
[    3.494479] sd 0:0:0:0: [sda] Attached SCSI disk
[    3.507860] sd 0:0:0:0: Attached scsi generic sg0 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: Waiting for root file system ... [    3.703957] scsi 2:0:0:0: Direct-Access     SanDisk  Cruzer Fit       1.27 PQ: 0 ANSI: 6
[    3.720590] sd 2:0:0:0: Attached scsi generic sg1 type 0
[    3.727684] sd 2:0:0:0: [sdb] 62530624 512-byte logical blocks: (32.0 GB/29.8 GiB)
[    3.744038] sd 2:0:0:0: [sdb] Write Protect is off
[    3.748863] sd 2:0:0:0: [sdb] Mode Sense: 43 00 00 00
[    3.754654] sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    3.772862]  sdb: sdb1
[    3.785674] sd 2:0:0:0: [sdb] Attached SCSI removable disk
done.
Begin: Running /scripts/local-premount ... done.
[    3.887033] kjournald starting.  Commit interval 5 seconds
[    3.894790] EXT3-fs (sdb1): using internal journal
[    3.899617] EXT3-fs (sdb1): recovery complete
[    3.904047] EXT3-fs (sdb1): mounted filesystem with ordered data mode
Begin: Running /scripts/local-bottom ... done.
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[    5.082220] udevd[276]: starting version 175
. ok
[ ok ] Synthesizing the initial hotplug events...done.
[....] Waiting for /dev to be fully populated...[    5.385370] input: gpio_keys as /devices/gpio_keys/input/input0
[    5.657589] orion_wdt: Initial timeout 21 sec
[    5.865692] USB Power: 5000 mV
[    5.893293] SATA1 Power: 5000 mV
[    5.950494] ata2: exception Emask 0x10 SAct 0x0 SErr 0x4010000 action 0xe frozen
[    5.961816] ata2: edma_err_cause=00000010 pp_flags=00000000, dev connect
[    5.976363] ata2: SError: { PHYRdyChg DevExch }
[    5.980944] ata2: hard resetting link
done.
▒
At this point it reboots. I thought that maybe it was a bad sata drive (ata2: exception Emask 0x10 SAct 0x0 SErr 0x4010000 action 0xe frozen). so I pulled them both out and all that does it buy me about an extra 5 seconds before still rebooting.



Edited 2 time(s). Last edit at 11/16/2014 04:23AM by SomeoneOnLine.
Re: Linux Kernel 3.17 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs
November 16, 2014 04:41AM
@SomeoneOnLine,

With stock u-boot the last kernel version that you can use that kills the watchdog is 3.16.0-kirkwood-tld-2. So you should use the 3.16.0-kirkwood-tld-2 rootfs.

Quote
The 1st post


Updated 28 Sept 2014:

Kernel 3.16.0-kirkwood-tld-3 package was uploaded. The only change in this version from 3.16.0-kirkwood-tld-2 is to incorporate the fix for the NSA325 watchdog.

NOTE: for NSA325, don't install this kernel if you still have the stock u-boot. This kernel will not kill the watchdog by itself, it is assumed that the new u-boot was already installed and already turned off the watchdog during boot.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Linux Kernel 3.17 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs
November 16, 2014 11:46AM
Thanks. I guess I over looked that part of the OP. My bad. Is there much benefit with 3.17 over 3.16 on the nsa325?

I was thinking about updating my uboot but too chicken il brick my nsa325. I have a serial to usb adapter that I use with putty to connect to said com port and interact with uboot while the nsa325 is booting. I just need to read up on this uart booting part to see if that is the same thing as what im already doing before I attempt to update uboot.

~SOL
Re: Linux Kernel 3.17 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs
November 16, 2014 04:54PM
SomeoneOnLine,

> Is there much benefit with 3.17 over 3.16
> on the nsa325?

I think it's really individual case where the new features would be beneficial to update. You could look at the general kernel changes log (link in the 1 post). I would update the kernel to get any bug fixes that come with it.

>
> I was thinking about updating my uboot but too
> chicken il brick my nsa325. I have a serial to usb
> adapter that I use with putty to connect to said
> com port and interact with uboot while the nsa325
> is booting. I just need to read up on this uart
> booting part to see if that is the same thing as
> what im already doing before I attempt to update
> uboot.

The benefit of running new u-boot are worthwhile for the hassle: large GPT HDD, ext4, netconsole,...Once you can boot with UART at will, then flashing new u-boot is relatively safe! But I would recommend upgrade only if booting with UART works consistenly.

See this post for a small nsa325 u-boot image that should work great as a rescue boot loader. It is really good to have this rescue capability, even if you decide to stay with stock u-boot:
http://forum.doozan.com/read.php?2,14351,17193#msg-17193

For the nsa325, to boot with UART:

- connect serial console.
- start putty, terminal, ssh (or whichever supports on your box).
- type the kwboot command, but don't execute it yet.
- press the nsa325 power button, the Blue power light will come on, wait for it to turn off (for a second), and then on again
- execute kwboot command right after that.
- to verify the watchdog has been killed by this u-boot, interrupt serial console and stay at the prompt (executing u-boot commands or just idle) for more than 30 seconds.

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



Edited 1 time(s). Last edit at 11/16/2014 06:23PM by bodhi.
WzL
Re: Linux Kernel 3.17 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs
November 18, 2014 03:13PM
Hi all,

I was installing FDT 3.17 kernel to pogoplug e02 and i ran into the following issue. My USB drive is partitioned as 1. boot 2. root 3. swap. Adjusted /etc/fstab on the usbstick so that init can mount /boot on sda1 etc.

Why is it that no matter what kind of root= or LABEL= flags i put into uboot env, every time kernel tries to mount rootfs from SDA1 stating: "VFS: Cannot open root device "sda1" or unknown-block(0,0): error -6"

Edit: i saw this during booting: "Kernel command line: console=ttyS0,115200n8 earlyprintk root=/dev/sda1 rootdelay=10" i should investigate that ....

What is the proper way to pass root= to the FDT 3.17 kernel?

Yes i know, to get the plug working i just need to make one big partition on the USB key. The thing is, that i want to understand what is happening here, and why.

Thanks in advance ..... you guys are doing great work, thats the truth and nothing but!

my uboot env (not clean, in the middle of debugging):

U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:29:52)
Pogo E02

SoC:   Kirkwood 88F6281_A0
DRAM:  256 MiB
WARNING: Caches not enabled
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Hit any key to stop autoboot:  0
PogoE02> printenv
baudrate=115200
bootargs_console=console=ttyS0,115200
bootcmd=setenv bootargs console=ttyS0,115200 root=UUID=73ad98b4-c9c1-4f44-9013-ecb5a32995a4 rootdelay=$bootdelay rootfstype=ext3 $mtdparts; run usb_bootcmd
bootdelay=1
dt_load_dtb=ext2load usb 0:1 0x1c00000 /dts/kirkwood-pogo_e02.dtb
dt_load_initrd=ext2load usb 0:1 0x1100000 /uInitrd
dt_load_uimage=ext2load usb 0:1 0x800000 /uImage
dt_usb_boot=run dt_load_dtb; run dt_load_uimage; root=UUID=73ad98b4-c9c1-4f44-9013-ecb5a32995a4; run dt_load_initrd; bootm 0x800000 0x1100000 0x1c00000
dt_usb_bootcmd=usb start; run usb_set_bootargs; run dt_usb_boot
ethact=egiga0
ethaddr=00:xx:xx:xx:xx:
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
stderr=serial
stdin=serial
stdout=serial
usb_bootcmd=setenv usb_root LABEL=rootfs; run usb_set_bootargs; run dt_usb_bootcmd
usb_set_bootargs=setenv bootargs console=$console root=UUID=73ad98b4-c9c1-4f44-9013-ecb5a32995a4 rootdelay=$usb_rootdelay rootfstype=ext3 $mtdparts $usb_custom_params

Environment size: 1067/131068 bytes

Boot:
U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:29:52)
Pogo E02

SoC:   Kirkwood 88F6281_A0
DRAM:  256 MiB
WARNING: Caches not enabled
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Hit any key to stop autoboot:  0
(Re)start 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
10228 bytes read in 828 ms (11.7 KiB/s)
2832460 bytes read in 312 ms (8.7 MiB/s)
6114335 bytes read in 483 ms (12.1 MiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-3.17.0-kirkwood-tld-1
   Created:      2014-11-18  15:55:49 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2832396 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.17.0-kirkwood-tld-1
   Created:      2014-10-25   3:29:30 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6114271 Bytes = 5.8 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 0f54a000, end 0fb1ebdf ... OK
   Loading Device Tree to 0f544000, end 0f5497f3 ... 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.17.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.6.3 (Debian 4.6.3-14) ) #4 PREEMPT Wed Oct 22 00:55:17 PDT 2014
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine model: CloudEngines Pogoplug E02
[    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: 65024
[    0.000000] Kernel command line: console=ttyS0,115200n8 earlyprintk root=/dev/sda1 rootdelay=10
[    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: 251408K/262144K available (5553K kernel code, 358K rwdata, 1892K rodata, 262K init, 302K bss, 10736K reserved)
[    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 - 0xc074d83c   (7447 kB)
[    0.000000]       .init : 0xc074e000 - 0xc078f90c   ( 263 kB)
[    0.000000]       .data : 0xc0790000 - 0xc07e998c   ( 359 kB)
[    0.000000]        .bss : 0xc07e998c - 0xc08352dc   ( 303 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.008298] Console: colour dummy device 80x30
[    0.012863] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.100943] pid_max: default: 32768 minimum: 301
[    0.105773] Security Framework initialized
[    0.110080] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.116818] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.124738] Initializing cgroup subsys devices
[    0.129360] Initializing cgroup subsys freezer
[    0.133924] Initializing cgroup subsys net_cls
[    0.138518] Initializing cgroup subsys blkio
[    0.142980] CPU: Testing write buffer coherency: ok
[    0.148464] Setting up static identity map for 0x542138 - 0x542190
[    0.155026] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[    0.162665] devtmpfs: initialized
[    0.168605] prandom: seed boundary self test passed
[    0.177596] prandom: 100 self tests passed
[    0.181895] pinctrl core: initialized pinctrl subsystem
[    0.187740] regulator-dummy: no parameters
[    0.195986] NET: Registered protocol family 16
[    0.201015] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.209196] cpuidle: using governor ladder
[    0.213412] cpuidle: using governor menu
[    0.217822] Feroceon L2: Enabling L2
[    0.221582] Feroceon L2: Cache support initialised.
[    0.226941] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.241779] No ATAGs?
[    0.279679] vgaarb: loaded
[    0.283131] usbcore: registered new interface driver usbfs
[    0.288853] usbcore: registered new interface driver hub
[    0.294381] usbcore: registered new device driver usb
[    0.300677] Switched to clocksource orion_clocksource
[    0.344965] NET: Registered protocol family 2
[    0.350400] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.357622] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.364138] TCP: Hash tables configured (established 2048 bind 2048)
[    0.370671] TCP: reno registered
[    0.374029] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.379984] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.386583] NET: Registered protocol family 1
[    0.391379] RPC: Registered named UNIX socket transport module.
[    0.397411] RPC: Registered udp transport module.
[    0.402262] RPC: Registered tcp transport module.
[    0.407072] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.414037] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.422010] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.428240] Initialise system trusted keyring
[    0.432858] audit: initializing netlink subsys (disabled)
[    0.438409] audit: type=2000 audit(0.420:1): initialized
[    0.444664] zpool: loaded
[    0.447390] zbud: loaded
[    0.450308] VFS: Disk quotas dquot_6.5.2
[    0.454411] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.461618] NFS: Registering the id_resolver key type
[    0.466816] Key type id_resolver registered
[    0.471156] Key type id_legacy registered
[    0.475296] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.482147] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.488789] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.496302] msgmni has been set to 491
[    0.500304] Key type big_key registered
[    0.506576] alg: No test for stdrng (krng)
[    0.510942] bounce: pool size: 64 pages
[    0.514930] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.522543] io scheduler noop registered
[    0.526576] io scheduler deadline registered
[    0.531048] io scheduler cfq registered (default)
[    0.537132] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.545255] irq: Cannot allocate irq_descs @ IRQ32, assuming pre-allocated
[    0.552722] irq: Cannot allocate irq_descs @ IRQ64, assuming pre-allocated
[    0.560242] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.600749] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
[    0.640748] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
[    0.646442] mv_xor f1060900.xor: Marvell shared XOR driver
[    0.690745] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
[    0.730745] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
[    0.736687] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.744548] console [ttyS0] disabled
[    0.748275] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    0.757457] console [ttyS0] enabled
[    0.757457] console [ttyS0] enabled
[    0.764594] bootconsole [earlycon0] disabled
[    0.764594] bootconsole [earlycon0] disabled
[    0.774741] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    0.781162] nand: Hynix NAND 128MiB 3,3V 8-bit
[    0.785627] nand: 128MiB, SLC, page size: 2048, OOB size: 64
[    0.791338] Scanning device for bad blocks
[    0.875151] libphy: Fixed MDIO Bus: probed
[    0.879575] libphy: orion_mdio_bus: probed
[    0.884532] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    1.971295] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:xx:xx:xx:xx:xx
[    1.980256] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.986854] ehci-pci: EHCI PCI platform driver
[    1.991404] ehci-orion: EHCI orion driver
[    1.995594] orion-ehci f1050000.ehci: EHCI Host Controller
[    2.001161] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    2.008998] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[    2.030714] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    2.036948] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.043794] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.051166] usb usb1: Product: EHCI Host Controller
[    2.056072] usb usb1: Manufacturer: Linux 3.17.0-kirkwood-tld-1 ehci_hcd
[    2.062830] usb usb1: SerialNumber: f1050000.ehci
[    2.068304] hub 1-0:1.0: USB hub found
[    2.072160] hub 1-0:1.0: 1 port detected
[    2.076976] mousedev: PS/2 mouse device common for all mice
[    2.390739] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    2.542254] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    2.549004] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.556206] usb 1-1: Product: USB2.0 Hub
[    2.561105] hub 1-1:1.0: USB hub found
[    2.565255] hub 1-1:1.0: 4 ports detected
[    2.851008] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[    2.966251] usb 1-1.2: New USB device found, idVendor=8564, idProduct=1000
[    2.973190] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.980552] usb 1-1.2: Product: Mass Storage Device
[    2.985468] usb 1-1.2: Manufacturer: JetFlash
[    2.989844] usb 1-1.2: SerialNumber: 15PY86F218EXUGHB
[    3.090711] rtc-mv f1010300.rtc: internal RTC not ticking
[    3.096350] i2c /dev entries driver
[    3.101057] hidraw: raw HID events driver (C) Jiri Kosina
[    3.106853] drop_monitor: Initializing network drop monitor service
[    3.113416] TCP: cubic registered
[    3.116753] NET: Registered protocol family 17
[    3.121392] Key type dns_resolver registered
[    3.126375] Loading compiled-in X.509 certificates
[    3.131263] registered taskstats version 1
[    3.136377] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    3.144075] Waiting 10 sec before mounting root device...
[   13.150997] VFS: Cannot open root device "sda1" or unknown-block(0,0): error -6
[   13.158339] Please append a correct "root=" boot option; here are the available partitions:
[   13.166784] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   13.175086] CPU: 0 PID: 1 Comm: swapper Not tainted 3.17.0-kirkwood-tld-1 #4
[   13.182191] [<c0014960>] (unwind_backtrace) from [<c00110e0>] (show_stack+0x10/0x14)
[   13.189984] [<c00110e0>] (show_stack) from [<c053a1cc>] (panic+0x80/0x208)
[   13.196906] [<c053a1cc>] (panic) from [<c074f160>] (mount_block_root+0x200/0x248)
[   13.204432] [<c074f160>] (mount_block_root) from [<c074f28c>] (mount_root+0xe4/0x10c)
[   13.212306] [<c074f28c>] (mount_root) from [<c074f3d8>] (prepare_namespace+0x124/0x184)
[   13.220356] [<c074f3d8>] (prepare_namespace) from [<c074ed8c>] (kernel_init_freeable+0x1f8/0x240)
[   13.229276] [<c074ed8c>] (kernel_init_freeable) from [<c0539278>] (kernel_init+0x8/0xe4)
[   13.237412] [<c0539278>] (kernel_init) from [<c000e270>] (ret_from_fork+0x14/0x24)
[   13.245022] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

PogoPlug e02 specs



Edited 2 time(s). Last edit at 11/18/2014 03:24PM by WzL.
Re: Linux Kernel 3.17 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs
November 18, 2014 04:37PM
Wzl,

Your bootcmd should be:

bootcmd=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=$bootdelay rootfstype=ext3 $mtdparts; run usb_bootcmd

However, the bootargs should be separated from the bootcmd. it will make it easier to read and debug.

Btw, Your usb_set_booargs has overided that any way. So you need to change usb_set_bootargs: remove the root=uuid....

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



Edited 1 time(s). Last edit at 11/18/2014 04:45PM by bodhi.
WzL
Re: Linux Kernel 3.17 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs
November 19, 2014 09:26AM
Hi Bodhi, thanks for your response. i adjusted the env variables and no luck, same output. It looks like the env variables from uboot don't get passed to the kernel. Other times when these variables are getting picked up by the kernel, the error message contains te value of the uboot root= variable. In this case it keeps on reporting SDA1 on and on ....

U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:29:52)
Pogo E02

SoC:   Kirkwood 88F6281_A0
DRAM:  256 MiB
WARNING: Caches not enabled
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Hit any key to stop autoboot:  0
PogoE02> printenv
baudrate=115200
bootargs_console=console=ttyS0,115200
bootcmd=root=LABEL=rootfs rootdelay=$bootdelay rootfstype=ext3 $mtdparts; run usb_bootcmd
bootdelay=1
console=ttyS0,115200
dt_load_dtb=ext2load usb 0:1 0x1c00000 /dts/kirkwood-pogo_e02.dtb
dt_load_initrd=ext2load usb 0:1 0x1100000 /uInitrd
dt_load_uimage=ext2load usb 0:1 0x800000 /uImage
dt_usb_boot=run dt_load_dtb; run dt_load_uimage; run dt_load_initrd; bootm 0x800000 0x1100000 0x1c00000
dt_usb_bootcmd=usb start; run usb_set_bootargs; run dt_usb_boot
ethact=egiga0
ethaddr=00:x:x:x:x:x
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
stderr=serial
stdin=serial
stdout=serial
usb_bootcmd=run usb_set_bootargs; run dt_usb_bootcmd
usb_set_bootargs=setenv bootargs console=$console root=LABEL=rootfs rootdelay=$usb_rootdelay rootfstype=ext3 $mtdparts $usb_custom_params

I'll leave this 3.17 kernel for what it is and move back to 3.16 with a fresh uboot and env, maybe that can be succesfull. Nevertheless, thanks for the help and the effort you put into this, i'll keep using your work, that is for sure!

PogoPlug e02 specs



Edited 2 time(s). Last edit at 11/19/2014 09:39AM by WzL.
Re: Linux Kernel 3.17 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs
November 19, 2014 12:07PM
Wzl,

Narrow down to a minimum set of envs to see it clearly:

usb_set_bootargs=setenv bootargs console=$console root=LABEL=rootfs rootdelay=$usb_rootdelay rootfstype=ext3 $mtdparts $usb_custom_params

dt_load_dtb=ext2load usb 0:1 0x1c00000 /dts/kirkwood-pogo_e02.dtb
dt_load_initrd=ext2load usb 0:1 0x1100000 /uInitrd
dt_load_uimage=ext2load usb 0:1 0x800000 /uImage
dt_usb_boot=run dt_load_dtb; run dt_load_uimage; run dt_load_initrd; bootm 0x800000 0x1100000 0x1c00000
dt_usb_bootcmd=usb start; run usb_set_bootargs; run dt_usb_boot

bootcmd=run dt_usb_bootcmd; reset

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
WzL
Re: Linux Kernel 3.17 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs
November 19, 2014 02:47PM
Bodhi,

Due to your persistence i managed to get the pogoplug e02 booting your 3.17 FDT kernel. I noticed after installation of wheezy using the default netinstaller of Debian, that kernel messages were not printing to ttyS0 during boot. I was finding that strange because in the past it always did that, so i checked my default uboot env variables which I always used on previous non FDT kernels:

baudrate=115200
bootargs_console=console=ttyS0,115200
bootargs_root=root=/dev/sda2
bootcmd=setenv bootargs ${bootargs_console} ${bootargs_root}; run bootcmd_usb; bootm 0x00800000 0x01100000
bootcmd_usb=usb start; ext2load usb 0:1 0x00800000 /uImage; ext2load usb 0:1 0x01100000 /uInitrd
bootdelay=1
ethact=egiga0
ethaddr=00:xx:xx:xx:xx:xx
ipaddr=192.192.192.1
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
serverip=192.192.192.2
stderr=serial
stdin=serial
stdout=serial

That, together with your special sauce:

usb_set_bootargs=setenv bootargs console=$console root=LABEL=rootfs rootdelay=$usb_rootdelay rootfstype=ext3 $mtdparts $usb_custom_params

dt_load_dtb=ext2load usb 0:1 0x1c00000 /dts/kirkwood-pogo_e02.dtb
dt_load_initrd=ext2load usb 0:1 0x1100000 /uInitrd
dt_load_uimage=ext2load usb 0:1 0x800000 /uImage
dt_usb_boot=run dt_load_dtb; run dt_load_uimage; run dt_load_initrd; bootm 0x800000 0x1100000 0x1c00000
dt_usb_bootcmd=usb start; run usb_set_bootargs; run dt_usb_boot

bootcmd=run dt_usb_bootcmd; reset

became the final version of environment variables:

baudrate=115200
bootargs_console=console=ttyS0,115200
bootargs_root=root=/dev/sda2
bootcmd=run dt_usb_bootcmd
bootcmd_usb=usb start; ext2load usb 0:1 0x00800000 /uImage; ext2load usb 0:1 0x01100000 /uInitrd
bootdelay=1
dt_load_dtb=ext2load usb 0:1 0x1c00000 /dts/kirkwood-pogo_e02.dtb
dt_load_initrd=ext2load usb 0:1 0x1100000 /uInitrd
dt_load_uimage=ext2load usb 0:1 0x800000 /uImage
dt_usb_boot=run dt_load_dtb; run dt_load_uimage; run dt_load_initrd; bootm 0x800000 0x1100000 0x1c00000
dt_usb_bootcmd=usb start; run usb_set_bootargs; run dt_usb_boot
ethact=egiga0
ethaddr=00:xx:xx:xx:xx
ipaddr=192.192.192.1
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
serverip=192.192.192.2
stderr=serial
stdin=serial
stdout=serial
usb_set_bootargs=setenv bootargs ${bootargs_console} ${bootargs_root}

Which booted succesfully:
U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:29:52)
Pogo E02

SoC:   Kirkwood 88F6281_A0
DRAM:  256 MiB
WARNING: Caches not enabled
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Hit any key to stop autoboot:  0
(Re)start 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
10228 bytes read in 838 ms (11.7 KiB/s)
2822232 bytes read in 341 ms (7.9 MiB/s)
6114335 bytes read in 545 ms (10.7 MiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-3.17.0-kirkwood-tld-1
   Created:      2014-10-25   3:29:23 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2822168 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.17.0-kirkwood-tld-1
   Created:      2014-10-25   3:29:30 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6114271 Bytes = 5.8 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 0f54a000, end 0fb1ebdf ... OK
   Loading Device Tree to 0f544000, end 0f5497f3 ... OK
Using machid 0x831 from environment

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.17.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.6.3 (Debian 4.6.3-14) ) #4 PREEMPT Wed Oct 22 00:55:17 PDT 2014
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine model: CloudEngines Pogoplug E02
[    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 root=/dev/sda2
[    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: 245432K/262144K available (5553K kernel code, 358K rwdata, 1892K rodata, 262K init, 302K bss, 16712K reserved)
[    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 - 0xc074d83c   (7447 kB)
[    0.000000]       .init : 0xc074e000 - 0xc078f90c   ( 263 kB)
[    0.000000]       .data : 0xc0790000 - 0xc07e998c   ( 359 kB)
[    0.000000]        .bss : 0xc07e998c - 0xc08352dc   ( 303 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.000355] Console: colour dummy device 80x30
[    0.000386] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.090113] pid_max: default: 32768 minimum: 301
[    0.090234] Security Framework initialized
[    0.090304] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090326] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091045] Initializing cgroup subsys devices
[    0.091078] Initializing cgroup subsys freezer
[    0.091102] Initializing cgroup subsys net_cls
[    0.091124] Initializing cgroup subsys blkio
[    0.091217] CPU: Testing write buffer coherency: ok
[    0.091678] Setting up static identity map for 0x542138 - 0x542190
[    0.091962] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[    0.094326] devtmpfs: initialized
[    0.096628] prandom: seed boundary self test passed
[    0.100743] prandom: 100 self tests passed
[    0.100777] pinctrl core: initialized pinctrl subsystem
[    0.101297] regulator-dummy: no parameters
[    0.105311] NET: Registered protocol family 16
[    0.105718] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.106870] cpuidle: using governor ladder
[    0.106896] cpuidle: using governor menu
[    0.107251] Feroceon L2: Enabling L2
[    0.107297] Feroceon L2: Cache support initialised.
[    0.107681] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.111941] No ATAGs?
[    0.141741] vgaarb: loaded
[    0.142132] usbcore: registered new interface driver usbfs
[    0.142214] usbcore: registered new interface driver hub
[    0.142345] usbcore: registered new device driver usb
[    0.143425] Switched to clocksource orion_clocksource
[    0.182557] NET: Registered protocol family 2
[    0.183589] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.183628] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.183659] TCP: Hash tables configured (established 2048 bind 2048)
[    0.183730] TCP: reno registered
[    0.183744] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.183766] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.183971] NET: Registered protocol family 1
[    0.184316] RPC: Registered named UNIX socket transport module.
[    0.184328] RPC: Registered udp transport module.
[    0.184336] RPC: Registered tcp transport module.
[    0.184344] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.184650] Unpacking initramfs...
[    0.695894] Freeing initrd memory: 5968K (cf54a000 - cfb1e000)
[    0.695984] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.697321] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.697355] Initialise system trusted keyring
[    0.697463] audit: initializing netlink subsys (disabled)
[    0.697523] audit: type=2000 audit(0.690:1): initialized
[    0.698344] zpool: loaded
[    0.698362] zbud: loaded
[    0.698653] VFS: Disk quotas dquot_6.5.2
[    0.698706] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.699255] NFS: Registering the id_resolver key type
[    0.699306] Key type id_resolver registered
[    0.699315] Key type id_legacy registered
[    0.699343] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.699360] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.699542] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.699870] msgmni has been set to 491
[    0.700033] Key type big_key registered
[    0.702412] alg: No test for stdrng (krng)
[    0.702523] bounce: pool size: 64 pages
[    0.702585] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.702602] io scheduler noop registered
[    0.702615] io scheduler deadline registered
[    0.702652] io scheduler cfq registered (default)
[    0.704078] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.704717] irq: Cannot allocate irq_descs @ IRQ32, assuming pre-allocated
[    0.705128] irq: Cannot allocate irq_descs @ IRQ64, assuming pre-allocated
[    0.705672] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.743505] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
[    0.783497] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
[    0.783687] mv_xor f1060900.xor: Marvell shared XOR driver
[    0.823494] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
[    0.863494] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
[    0.863946] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.865306] console [ttyS0] disabled
[    0.865370] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    1.450775] console [ttyS0] enabled
[    1.455720] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    1.462108] nand: Hynix NAND 128MiB 3,3V 8-bit
[    1.466608] nand: 128MiB, SLC, page size: 2048, OOB size: 64
[    1.472302] Scanning device for bad blocks
[    1.562306] libphy: Fixed MDIO Bus: probed
[    1.566850] libphy: orion_mdio_bus: probed
[    1.577029] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    2.664082] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:xx:xx:xx:xx:xx
[    2.673046] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.679646] ehci-pci: EHCI PCI platform driver
[    2.684202] ehci-orion: EHCI orion driver
[    2.688392] orion-ehci f1050000.ehci: EHCI Host Controller
[    2.693959] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    2.701798] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[    2.723464] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    2.729701] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.736547] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.743821] usb usb1: Product: EHCI Host Controller
[    2.748721] usb usb1: Manufacturer: Linux 3.17.0-kirkwood-tld-1 ehci_hcd
[    2.755470] usb usb1: SerialNumber: f1050000.ehci
[    2.760944] hub 1-0:1.0: USB hub found
[    2.764797] hub 1-0:1.0: 1 port detected
[    2.769627] mousedev: PS/2 mouse device common for all mice
[    3.083487] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    3.235051] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    3.241798] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.249007] usb 1-1: Product: USB2.0 Hub
[    3.253903] hub 1-1:1.0: USB hub found
[    3.258052] hub 1-1:1.0: 4 ports detected
[    3.543803] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[    3.783454] rtc-mv f1010300.rtc: internal RTC not ticking
[    3.789085] i2c /dev entries driver
[    3.793796] hidraw: raw HID events driver (C) Jiri Kosina
[    3.799571] drop_monitor: Initializing network drop monitor service
[    3.806174] TCP: cubic registered
[    3.809578] NET: Registered protocol family 17
[    3.814200] Key type dns_resolver registered
[    3.819191] Loading compiled-in X.509 certificates
[    3.824069] registered taskstats version 1
[    3.829195] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    3.837682] Freeing unused kernel memory: 260K (c074e000 - c078f000)
Loading, please wait...
[    3.914407] udevd[57]: starting version 175
[    4.021086] usb 1-1.2: New USB device found, idVendor=8564, idProduct=1000
[    4.033610] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.040998] usb 1-1.2: Product: Mass Storage Device
[    4.063531] usb 1-1.2: Manufacturer: JetFlash
[    4.067919] usb 1-1.2: SerialNumber: 6SJIAIM3
[    4.463897] SCSI subsystem initialized
[    4.472232] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[    4.478947] scsi host0: usb-storage 1-1.2:1.0
[    4.485265] usbcore: registered new interface driver usb-storage
[    4.494550] usbcore: registered new interface driver uas
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Waiting for root file system ... [    5.485534] scsi 0:0:0:0: Direct-Access     JetFlash Transcend 8GB    8.07 PQ: 0 ANSI: 4
[    5.526862] sd 0:0:0:0: [sda] 15261696 512-byte logical blocks: (7.81 GB/7.27 GiB)
[    5.535713] sd 0:0:0:0: [sda] Write Protect is off
[    5.541453] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    5.557951]  sda: sda1 sda2 sda3
[    5.566082] sd 0:0:0:0: [sda] Attached SCSI removable disk
done.
[    5.594013] sd 0:0:0:0: Attached scsi generic sg0 type 0
Begin: Running /scripts/local-premount ... done.
[    5.650895] EXT3-fs (sda2): mounted filesystem with ordered data mode
[    5.657582] kjournald starting.  Commit interval 5 seconds
Begin: Running /scripts/local-bottom ... done.
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[    6.961193] udevd[274]: starting version 175
. ok
[ ok ] Synthesizing the initial hotplug events...done.
[....] Waiting for /dev to be fully populated...[    7.592977] orion_wdt: Initial timeout 21 sec
[    7.726353] USB Power: 5000 mV
done.
[....] Activating swap...[    8.808235] random: nonblocking pool is initialized
[    8.828302] Adding 545028k swap on /dev/sda3.  Priority:-1 extents:1 across:545028k FS
done.
[....] Checking root file system...fsck from util-linux 2.20.1
/dev/sda2: clean, 13153/427392 files, 129452/1708914 blocks
done.
[    9.173271] EXT3-fs (sda2): using internal journal
[ ok ] Loading kernel modules...done.
[ ok ] Cleaning up temporary files... /tmp /lib/init/rw.
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.20.1
/dev/sda1: clean, 86/62744 files, 33308/250148 blocks
done.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables ...done.
[....] Configuring network interfaces...[   17.026408] NET: Registered protocol family 10
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

[   18.248437] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Listening on LPF/eth0/00:xx:xx:xx:xx:xx
Sending on   LPF/eth0/00:xx:xx:xx:xx:xx
Sending on   Socket/fallback
DHCPREQUEST on eth0 to 255.255.255.255 port 67
[   19.917459] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled
[   19.927303] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPNAK from 192.192.192.1
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPOFFER from 192.192.192.1
DHCPACK from 192.192.192.1
bound to 192.192.192.102 -- renewal in 38974 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...
1789 (syslogd)
. ok
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
[ ok ] Starting system message bus: dbus.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[ ok ] Starting rpcbind daemon...[....] Already running..
[ ok ] Starting OpenBSD Secure Shell server: sshd.
1788 (klogd)
. ok
[warn] Not starting NFS kernel daemon: no exports. ... (warning).

Debian GNU/Linux 7 debian ttyS0

debian login: root
Password:

Last login: Sat Oct 25 02:20:07 PDT 2014 from 192.192.192.100 on pts/0
Linux debian 3.17.0-kirkwood-tld-1 #4 PREEMPT Wed Oct 22 00:55:17 PDT 2014 armv5tel

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@debian:~# free -h
             total       used       free     shared    buffers     cached
Mem:          245M        35M       210M         0B       2.0M        19M
-/+ buffers/cache:        13M       231M
Swap:         532M         0B       532M
root@debian:~#

Date needs to be corrected but hey, its booting! Once again thanks, i am trying to adjust the root= to other solutions than just hardcoded partitions but thats easy. I think the root cause was the lack of using Curly Brackets { } calling environment variables ?! Nevertheless, i am a happy chap!

Once again, thank you for the effort Bodhi, and keep up the gooood work man!

For my own administration i added the following commands on uboot command line
setenv usb_set_bootargs 'setenv bootargs ${bootargs_console} ${bootargs_root}'
setenv dt_load_dtb 'ext2load usb 0:1 0x1c00000 /dts/kirkwood-pogo_e02.dtb'
setenv dt_load_initrd 'ext2load usb 0:1 0x1100000 /uInitrd'
setenv dt_load_uimage 'ext2load usb 0:1 0x800000 /uImage'
setenv dt_usb_boot 'run dt_load_dtb; run dt_load_uimage; run dt_load_initrd; bootm 0x800000 0x1100000 0x1c00000'
setenv dt_usb_bootcmd 'usb start; run usb_set_bootargs; run dt_usb_boot'
setenv bootcmd 'run dt_usb_bootcmd'
saveenv

PogoPlug e02 specs



Edited 3 time(s). Last edit at 11/20/2014 07:36AM by WzL.
Re: Linux Kernel 3.17 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs
November 19, 2014 04:19PM
Cool! And, btw the $ works fine the same way { does. It really depending where the variable is placed.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Linux Kernel 3.17 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs
November 27, 2014 10:01PM
I can't boot my dockstar from USB. I get checksum errors. I have rescue installed...


U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:47:44)
Seagate FreeAgent DockStar

SoC:   Kirkwood 88F6281_A0
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
No link on egiga0
ping failed; host 192.168.1.23 is not alive
Hit any key to stop autoboot:  0 
DockStar> boot
(Re)start 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
10180 bytes read in 681 ms (13.7 KiB/s)
2822232 bytes read in 405 ms (6.6 MiB/s)
6114335 bytes read in 654 ms (8.9 MiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-3.17.0-kirkwood-tld-1
   Created:      1970-01-01   0:00:40 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2822168 Bytes = 2.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!

NAND read: device 0 offset 0x100000, size 0x400000
 4194304 bytes read: OK
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-2.6.32.18-dockstar
   Created:      2011-02-17   8:10:10 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3236180 Bytes = 3.1 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...

Uncompressing Linux.....................................................................................................................................................................................



I've tried with and without the dtb, I'm using the new u-boot, I'm sure I installed the one for dockstar.

This is to what I've whittled down my environment on this box. My v4 is working dandy...


rescue:~# fw_printenv
baudrate=115200
bootcmd=run bootcmd_usb; run bootcmd_rescue; reset
bootcmd_rescue=run set_bootargs_rescue; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000
bootcmd_usb=usb start; run set_bootargs_usb; run usb_boot
bootdelay=10
console=ttyS0,115200
ethact=egiga0
ethaddr=00:10:75:1a:44:d5
if_netconsole=ping $serverip
ipaddr=192.168.1.253
led_error=orange blinking
led_exit=green off
led_init=green blinking
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
partition=nand0,2
preboot=run if_netconsole start_netconsole
preboot_nc=run if_netconsole start_netconsole
rescue_installed=1
rootdelay=10
rootfstype=ext3
serverip=192.168.1.23
set_bootargs_rescue=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts
set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
usb_boot=run usb_load_dtb; run usb_load_uimage; if run usb_load_initrd; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 - 0x1c00000; fi
usb_load_initrd=ext2load usb 0:1 0x1100000 /boot/uInitrd
usb_load_uimage=ext2load usb 0:1 0x800000 /boot/uImage
usb_load_dtb=ext2load usb 0:1 0x1c00000 /boot/dts/kirkwood-dockstar.dtb
arcNumber=2998
usb_root=LABEL=rootfs
Re: Linux Kernel 3.17 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs
November 28, 2014 03:39PM
hyperlogos,


Quote

> 10180 bytes read in 681 ms (13.7 KiB/s)
> 2822232 bytes read in 405 ms (6.6 MiB/s)
> 6114335 bytes read in 654 ms (8.9 MiB/s)
> ## Booting kernel from Legacy Image at 00800000
> ...
> Image Name: Linux-3.17.0-kirkwood-tld-1
> Created: 1970-01-01 0:00:40 UTC
> Image Type: ARM Linux Kernel Image
> (uncompressed)
> Data Size: 2822168 Bytes = 2.7 MiB
> Load Address: 00008000
> Entry Point: 00008000
> Verifying Checksum ... Bad Data CRC
> ERROR: can't get kernel image!
>

Your u-boot is fine, and being set to boot with DTB separately. But the uImage was corrupted. So mount this USB stick on a different Linux box and regenerate it. Better yet, regenerate both uImage and uInitrd.

mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-3.17.0-kirkwood-tld-1 -d /boot/vmlinuz-3.17.0-kirkwood-tld-1 /boot/uImage 
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-3.17.0-kirkwood-tld-1 -d /boot/initrd.img-3.17.0-kirkwood-tld-1 /boot/uInitrd

And one more thing: date and time on the Linux box that you've used to install kernel was bad:
Quote

> Created: 1970-01-01 0:00:40 UTC

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Linux Kernel 3.17 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs
November 28, 2014 04:22PM
bodhi Wrote:
-------------------------------------------------------
> hyperlogos,
>
> Your u-boot is fine, and being set to boot with
> DTB separately. But the uImage was corrupted. So
> mount this USB stick on a different Linux box and
> regenerate it. Better yet, regenerate both uImage
> and uInitrd.

Yes, the problem is I've done this several times now without results. I've done it on Ubuntu, on Debian, and on the rescue system installed to the pogoplug.

> And one more thing: date and time on the Linux box
> that you've used to install kernel was bad:

Yes, that was the rescue system. I think I installed the whole system like that, actually
Re: Linux Kernel 3.17 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs
November 28, 2014 05:40PM
hyperlogos,

Was it a fresh rootfs download from the 1st post? or was it your existing rootfs?

Try this: if your Pogo V4 is running with 3.17 FDT then copy your Pogo V4 uImage and uInitrd over to this USB rootfs, and boot with it.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Linux Kernel 3.17 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs
November 29, 2014 12:54AM
bodhi Wrote:
-------------------------------------------------------
> hyperlogos,
>
> Was it a fresh rootfs download from the 1st post?
> or was it your existing rootfs?

It's a fresh rootfs download.

> Try this: if your Pogo V4 is running with 3.17 FDT
> then copy your Pogo V4 uImage and uInitrd over to
> this USB rootfs, and boot with it.

Same symptoms.

I haven't tried booting this flash device on my pogo v4 yet, that will have to wait until tomorrow. but I've always used it with my dockstar, and successfully.
Re: Linux Kernel 3.17 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs
November 29, 2014 02:37AM
hyperlogos,

Sound likes you need to do a fsck. The file system could have been corrupted already,

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Linux Kernel 3.17 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs
November 29, 2014 11:29AM
bodhi Wrote:
-------------------------------------------------------
> hyperlogos,
>
> Sound likes you need to do a fsck. The file
> system could have been corrupted already,

drink@alexander:~$ sudo fsck -f /dev/sdi1
fsck from util-linux 2.20.1
e2fsck 1.42.9 (4-Feb-2014)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
rootfs: 13329/62080 files (8.4% non-contiguous), 92311/248320 blocks

Interestingly my v4 won't boot this device either, but I don't have the serial connected to it right now so I can't tell why. I have two mobiles to try to get working too, they don't seem to want to even serial though.
Hi y'all,

NSA320.....tried the 3.17 kernel with stock uboot and got a problem with mac address not being initalized...so i wrote bodhis uboot to nand:

uboot.2013.10-tld-1.nsa320.mtd0.kwb - md5 b83ebd82c6c76fa5dfa41789ba9a1bd4

used method:

tftpboot 0x800000 uboot.2013.10-tld-1.nsa320.mtd0.kwb 
nand erase 0x0 0x80000
nand write.e 0x800000 0x0 0x80000
reset

unfortunately now the kernel does not load anymore (i'm sure that my config is messed up somewhere but can't really tell where). Hangs at:

Uncompressing Linux... done, booting the kernel.

Same when trying to load stock kernel...

Setup:

U-Boot 2013.10-tld-1 (Aug 17 2014 - 23:57:26)
ZyXEL NSA320 2-Bay Power Media Server

SoC:   Kirkwood 88F6281_A1
DRAM:  512 MiB
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:  0
NSA320> printenv
arcNumber=3956
baudrate=115200
boot_sata=mw 0x800000 0 1; setenv bootargs console=ttyS0,115200 root=/dev/md0 rootdelay=10 $mtdparts; ide reset; ext2load ide 0:1 0x800000 uImage; ext2load ide 0:1 0x01100000 uInitrd; bootm 0x00800000 0x01100000
boot_sata1=mw 0x800000 0 1; setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 $mtdparts; ide reset; ext2load ide 0:1 0x800000 /boot/uImage; ext2load ide 0:1 0x01100000 /boot/uInitrd; bootm 0x00800000 0x01100000
boot_sata2=mw 0x800000 0 1; setenv bootargs console=ttyS0,115200 root=/dev/sdb1 rootdelay=10 $mtdparts; ide reset; ext2load ide 1:1 0x800000 /boot/uImage; ext2load ide 1:1 0x01100000 /boot/uInitrd; bootm 0x00800000 0x01100000
bootargs=$(bootargs_stock)
bootargs_linux=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/md1 rw rootwait loglevel=8 earlyprintk=serial
bootargs_stock=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=run bootcmd_linux
bootcmd_linux=setenv bootargs $(bootargs_linux); run bootcmd_linux2; bootm 0x800000 0x1100000 0x1c00000
bootcmd_linux2=ide reset; ext2load ide 0:1 0x00800000 /uImage_317_ftd_wodtb; ext2load ide 0:1 0x01100000 /uInitrd_317_ftd_mdadm_jessie; ext2load ide 0:1 0x1c00000 /kirkwood-nsa320.dtb
bootcmd_stock=setenv bootargs $(bootargs_stock); nand read.e $(loadaddr) $(kernel_addr) 0xA00000; bootm $(loadaddr)
bootcmd_usb=run usb_init; run usb_load_uimage; run set_bootargs_usb; run usb_boot;
bootdelay=3
console=ttyS0,115200
ethact=egiga0
ethaddr=FC:F5:28:30:0C:4E
filesize=6A4F7D
if_netconsole=ping $serverip
ipaddr=10.9.8.180
kernel_addr=0x4640000
loadaddr=0x02000000
mainlineLinux=yes
mtddevname=uboot
mtddevnum=0
mtdids=nand0=nand_mtd
mtdparts=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)
nand_erasesize=20000
nand_oobsize=40
nand_writesize=800
netmask=255.255.255.0
partition=nand0,0
preboot=run if_netconsole start_netconsole
serverip=10.9.8.170
set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
to_linux=setenv mainlineLinux yes; setenv bootcmd run bootcmd_linux; saveenv; reset
to_stock=setenv mainlineLinux no; setenv bootcmd run bootcmd_stock; saveenv; reset
usb_boot=if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000;else bootm 0x800000;fi;
usb_device=0:1
usb_init=usb start
usb_load_uimage=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage
usb_root=LABEL=USBROOT
usb_rootdelay=10
usb_rootfstype=ext2

Environment size: 3179/131068 bytes
NSA320> nand info

Device 0: nand0, sector size 128 KiB
  Page size      2048 b
  OOB size         64 b
  Erase size   131072 b
NSA320> nand bad

Device 0 bad blocks:
  01d60000
  03060000
NSA320> version

U-Boot 2013.10-tld-1 (Aug 17 2014 - 23:57:26)
ZyXEL NSA320 2-Bay Power Media Server
gcc (Debian 4.7.2-5) 4.7.2
GNU ld (GNU Binutils for Debian) 2.22
NSA320> mtdparts

device nand0 <nand_mtd>, # 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,0 - (uboot) 0x00100000 @ 0x00000000

defaults:
mtdids  : nand0=kw_nand
mtdparts: mtdparts=kw_nand:1m(uboot),512k(uboot_env),512k(key_store),512k(info),

Boot (bodhis 3.17 kernel):

U-Boot 2013.10-tld-1 (Aug 17 2014 - 23:57:26)
ZyXEL NSA320 2-Bay Power Media Server

SoC:   Kirkwood 88F6281_A1
DRAM:  512 MiB
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:  0
NSA320>
NSA320> boot

Reset IDE: Bus 0: OK Bus 1: OK
  Device 0: Model: WDC WD6400AAKS-65A7B0  Firm: 01.03B01 Ser#:  WD-WMASY1020732
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 610480.3 MB = 596.1 GB (1250263728 x 512)
  Device 1: Model: WDC WD6400AAKS-65A7B0  Firm: 01.03B01 Ser#:  WD-WMASY1001095
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 610480.3 MB = 596.1 GB (1250263728 x 512)
2822232 bytes read in 1027 ms (2.6 MiB/s)
7044805 bytes read in 2581 ms (2.6 MiB/s)
13174 bytes read in 14 ms (918.9 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-3.17.0-kirkwood-tld-1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2822168 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.17.0-kirkwood-tld-1
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7044741 Bytes = 6.7 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 0f948000, end 0ffffe85 ... OK
   Loading Device Tree to 0f941000, end 0f947375 ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.


Boot (stock kernel):

NSA320> nand read 0x02000000 0x4640000 0xA00000

NAND read: device 0 offset 0x4640000, size 0xa00000
 10485760 bytes read: OK
NSA320> bootm 0x02000000
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-2.6.31.8
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5730280 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.
Sorry, you can't reply to this topic. It has been closed.