Shuttle OMNINAS KD22

shuttle_kd22_device.jpg The Shuttle OMNINAS KD22 is a two-bay SATA network-attached storage (NAS) device featuring Gigabit Ethernet, Wi-Fi adapter and as well as USB 3.0.

For now loading Mirabox's image with TFTP is good enough. The GPIO mapping is wrong, the internal speaker is triggered with some signal.

The device has an unexposed, but populated 3.3V TTL level serial port on it's mainboard.

     (TP5) (TP6) (TP7) (TP8) 
(  ) (GND) (RX ) (TX ) (   )
BootROM 1.08
Booting from SPI flash
DDR3 Training Sequence - Ver 2.3.5 
DDR3 Training Sequence - Ended Successfully 
BootROM: Image checksum verification PASSED

     _           _   _   _       
    | |         | | | | | |      
 ___| |__  _   _| |_| |_| | ___  
/ __| '_ \| | | | __| __| |/ _ \ 
\__ \ | | | |_| | |_| |_| |  __/ 
|___/_| |_|\__,_|\__|\__|_|\___| 
          _   _     ____              _
         | | | |   | __ )  ___   ___ | |_ 
         | | | |___|  _ \ / _ \ / _ \| __| 
         | |_| |___| |_) | (_) | (_) | |_ 
          \___/    |____/ \___/ \___/ \__| 

 ** LOADER **


U-Boot 2009.08 ( 7月 31 2013 - 18:38:51)Marvell version: 1.1.3 NQ
U-Boot Addressing:
       Code:            00600000:006AFFF0
       BSS:             006F8E20
       Stack:           0x5fff70
       PageTable:       0x8e0000
       Heap address:    0x900000:0xe00000
Board: OMNINAS_KD22
SoC:   MV6707 A1
CPU:   Marvell PJ4B v7 UP (Rev 1) LE
       CPU @ 1200Mhz, L2 @ 600Mhz
       DDR @ 600Mhz, TClock @ 200Mhz
       DDR 16Bit Width, FastPath Memory Access
PEX 0: Root Complex Interface, Detected Link X1
PEX 1: Root Complex Interface, Detected Link X1
DRAM:  512 MB
       CS 0: base 0x00000000 size 512 MB
       Addresses 14M - 0M are saved for the U-Boot usage.
NAND:  128 MiB
*** Warning - bad CRC, using default environment


NAND read: device 0 offset 0x0, size 0x40
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
nand_read_bbt: Bad block at 0x0000011e0000
nand_read_bbt: Bad block at 0x000007640000
 64 bytes read: OK

NAND read: device 0 offset 0x800000, size 0x40
 64 bytes read: OK
Get DATE: 2000-00-00 (wday=0)  TIME:  0:00:00
FPU not initialized
USB 0: Host Mode
USB 1: Host Mode
Shutting down unused interfaces:
       GBE1
       SDIO
       AUDIO
Modules/Interfaces Detected:
       RGMII0 Phy
       PEX0 (Lane 0)
       PEX1 (Lane 1)
       SATA0 (Lane 2)
       SATA1 (Lane 3)
MMC:   MRVL_MMC: 0
Net:   egiga0
Hit any key to stop autoboot:  0 
Shuttle>> setenv serverip xxx.xxx.xxx.xxx
Shuttle>> setenv ipaddr xxx.xxx.xxx.xxx
Shuttle>> tftpboot openwrt-19.07.8-mvebu-cortexa9-globalscale_mirabox-initramfs-kernel.bin
Using egiga0 device
TFTP from server xxx.xxx.xxx.xxx; our IP address is xxx.xxx.xxx.xxx
Filename 'openwrt-19.07.8-mvebu-cortexa9-globalscale_mirabox-initramfs-kernel.bin'.
Load address: 0x2000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         ################
done
Bytes transferred = 4045977 (3dbc99 hex)
Shuttle>> bootm 0x2000000
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   ARM OpenWrt Linux-4.14.241
   Created:      2021-07-29  19:50:28 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4045913 Bytes =  3.9 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.241 (builder@buildhost) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r11364-ef56c85848)) #0 SMP Thu Jul 29 19:50:28 2021
[    0.000000] CPU: ARMv7 Processor [561f5811] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Globalscale Mirabox
[    0.000000] Memory policy: Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] random: get_random_bytes called from 0xc08008c0 with crng_init=0
[    0.000000] percpu: Embedded 11 pages/cpu s14860 r8192 d22004 u45056
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 root=ubi0:rootfs ubi.mtd=3,2048 initrd=0x12000000 rootfstype=ubifs
[    0.000000] Bootloader command line (ignored): console=ttyS0,115200 root=ubi0:rootfs ubi.mtd=3,2048 initrd=0x12000000 rootfstype=ubifs
[    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: 505888K/524288K available (6144K kernel code, 199K rwdata, 820K rodata, 6144K init, 233K bss, 18400K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0700000   (7136 kB)
[    0.000000]       .init : 0xc0800000 - 0xc0e00000   (6144 kB)
[    0.000000]       .data : 0xc0e00000 - 0xc0e31e80   ( 200 kB)
[    0.000000]        .bss : 0xc0e31e80 - 0xc0e6c450   ( 234 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C: DT/platform modifies aux control register: 0x12086302 -> 0x1a086302
[    0.000000] Aurora cache controller enabled, 4 ways, 256 kB
[    0.000000] Aurora: CACHE_ID 0x00000100, AUX_CTRL 0x1a086302
[    0.000000] Switching to timer-based delay loop, resolution 53ns
[    0.000006] sched_clock: 32 bits at 18MHz, resolution 53ns, wraps every 114840871909ns
[    0.000021] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 102208375848 ns
[    0.000216] Calibrating delay loop (skipped), value calculated using timer frequency.. 37.39 BogoMIPS (lpj=186996)
[    0.000231] pid_max: default: 32768 minimum: 301
[    0.000332] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000343] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000681] CPU: Testing write buffer coherency: ok
[    0.000893] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.001172] Setting up static identity map for 0x100000 - 0x100060
[    0.001439] mvebu-soc-id: MVEBU SoC ID=0x6707, Rev=0x1
[    0.001525] mvebu-pmsu: Initializing Power Management Service Unit
[    0.001625] Hierarchical SRCU implementation.
[    0.001964] smp: Bringing up secondary CPUs ...
[    0.001974] smp: Brought up 1 node, 1 CPU
[    0.001981] SMP: Total of 1 processors activated (37.39 BogoMIPS).
[    0.001988] CPU: All CPU(s) started in SVC mode.
[    0.004339] VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6
[    0.004457] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.004474] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.004524] pinctrl core: initialized pinctrl subsystem
[    0.005197] NET: Registered protocol family 16
[    0.005513] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.006042] cpuidle: using governor ladder
[    0.024477] SCSI subsystem initialized
[    0.025156] usbcore: registered new interface driver usbfs
[    0.025196] usbcore: registered new interface driver hub
[    0.025239] usbcore: registered new device driver usb
[    0.027465] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.028093] NET: Registered protocol family 2
[    0.028227] IP idents hash table entries: 8192 (order: 4, 65536 bytes)
[    0.028658] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.028691] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.028729] TCP: Hash tables configured (established 4096 bind 4096)
[    0.028791] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.028807] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.028903] NET: Registered protocol family 1
[    0.105696] Crashlog allocated RAM at address 0x3f00000
[    0.106207] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.109352] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.109364] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.115928] io scheduler noop registered
[    0.115941] io scheduler deadline registered (default)
[    0.116529] armada-370-pinctrl d0018000.pin-ctrl: registered pinctrl driver
[    0.118455] mvebu-pcie soc:pcie@82000000: PCI host bridge to bus 0000:00
[    0.118473] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    0.118482] pci_bus 0000:00: root bus resource [mem 0xf8000000-0xffdfffff]
[    0.118491] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.118812] PCI: bus0: Fast back to back transfers disabled
[    0.118824] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.118835] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.119020] pci 0000:01:00.0: enabling Extended Tags
[    0.119206] PCI: bus1: Fast back to back transfers disabled
[    0.119562] PCI: bus2: Fast back to back transfers disabled
[    0.119607] pci 0000:00:01.0: BAR 8: assigned [mem 0xf8000000-0xf80fffff]
[    0.119619] pci 0000:00:02.0: BAR 8: assigned [mem 0xf8100000-0xf81fffff]
[    0.119629] pci 0000:00:02.0: BAR 7: assigned [io  0x10000-0x10fff]
[    0.119641] pci 0000:01:00.0: BAR 0: assigned [mem 0xf8000000-0xf8007fff 64bit]
[    0.119659] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.119670] pci 0000:00:01.0:   bridge window [mem 0xf8000000-0xf80fffff]
[    0.119684] pci 0000:02:00.0: BAR 2: assigned [mem 0xf8100000-0xf8103fff 64bit]
[    0.119700] pci 0000:02:00.0: BAR 0: assigned [io  0x10000-0x100ff]
[    0.119711] pci 0000:00:02.0: PCI bridge to [bus 02]
[    0.119719] pci 0000:00:02.0:   bridge window [io  0x10000-0x10fff]
[    0.119729] pci 0000:00:02.0:   bridge window [mem 0xf8100000-0xf81fffff]
[    0.119778] pci 0000:00:01.0: enabling device (0140 -> 0142)
[    0.120138] mv_xor d0060800.xor: Marvell shared XOR driver
[    0.178343] mv_xor d0060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.178531] mv_xor d0060900.xor: Marvell shared XOR driver
[    0.238328] mv_xor d0060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.238551] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.239866] console [ttyS0] disabled
[    0.259996] d0012000.serial: ttyS0 at MMIO 0xd0012000 (irq = 20, base_baud = 12500000) is a 16550A
[    0.946551] console [ttyS0] enabled
[    0.953149] loop: module loaded
[    0.957005] pxa3xx-nand d00d0000.nand: This platform can't do DMA on this device
[    0.966548] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    0.972978] nand: Hynix H27U1G8F2BTR-BC
[    0.976834] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.984456] pxa3xx-nand d00d0000.nand: ECC strength 1, ECC step size 512
[    0.991449] Bad block table found at page 65472, version 0x01
[    0.997670] Bad block table found at page 65408, version 0x01
[    1.003616] nand_read_bbt: bad block at 0x0000011e0000
[    1.008813] nand_read_bbt: bad block at 0x000007640000
[    1.018971] 3 fixed-partitions partitions found on MTD device pxa3xx_nand-0
[    1.025975] Creating 3 MTD partitions on "pxa3xx_nand-0":
[    1.031461] 0x000000000000-0x000000400000 : "U-Boot"
[    1.036945] 0x000000400000-0x000000800000 : "Linux"
[    1.042268] 0x000000800000-0x000040000000 : "Filesystem"
[    1.047629] mtd: partition "Filesystem" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x7800000
[    1.059723] libphy: Fixed MDIO Bus: probed
[    1.064348] libphy: orion_mdio_bus: probed
[    1.076117] mdio_bus d0072004.mdio-mii: MDIO device at address 1 is missing.
[    1.084610] mvneta d0070000.ethernet eth0: Using hardware mac address XX:XX:XX:XX:XX:XX
[    1.093823] mvneta d0074000.ethernet eth1: Using random mac address XX:XX:XX:XX:XX:XX
[    1.101911] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.108485] ehci-pci: EHCI PCI platform driver
[    1.112989] ehci-platform: EHCI generic platform driver
[    1.118341] ehci-orion: EHCI orion driver
[    1.122479] orion-ehci d0050000.usb: EHCI Host Controller
[    1.127941] orion-ehci d0050000.usb: new USB bus registered, assigned bus number 1
[    1.135639] orion-ehci d0050000.usb: irq 26, io mem 0xd0050000
[    1.167437] orion-ehci d0050000.usb: USB 2.0 started, EHCI 1.00
[    1.173918] hub 1-0:1.0: USB hub found
[    1.177949] hub 1-0:1.0: 1 port detected
[    1.182235] orion-ehci d0051000.usb: EHCI Host Controller
[    1.187721] orion-ehci d0051000.usb: new USB bus registered, assigned bus number 2
[    1.195422] orion-ehci d0051000.usb: irq 27, io mem 0xd0051000
[    1.227428] orion-ehci d0051000.usb: USB 2.0 started, EHCI 1.00
[    1.233830] hub 2-0:1.0: USB hub found
[    1.237807] hub 2-0:1.0: 1 port detected
[    1.242220] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    1.247516] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 3
[    1.255172] xhci_hcd 0000:01:00.0: hcc params 0x040040a5 hci version 0x100 quirks 0x0000000000080490
[    1.265311] hub 3-0:1.0: USB hub found
[    1.269350] hub 3-0:1.0: 2 ports detected
[    1.273646] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    1.278961] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 4
[    1.286398] xhci_hcd 0000:01:00.0: Host supports USB 3.0  SuperSpeed
[    1.293089] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.301756] hub 4-0:1.0: USB hub found
[    1.305692] hub 4-0:1.0: 2 ports detected
[    1.310428] usbcore: registered new interface driver usb-storage
[    1.527412] usb 2-1: new high-speed USB device number 2 using orion-ehci
[    1.742148] usb-storage 2-1:1.0: USB Mass Storage device detected
[    1.748657] scsi host0: usb-storage 2-1:1.0
[    2.327410] rtc-mv d0010300.rtc: internal RTC not ticking
[    2.332967] i2c /dev entries driver
[    2.336869] pca953x 0-0025: 0-0025 supply vcc not found, using dummy regulator
[    2.344658] pca953x 0-0025: failed reading register
[    2.360148] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[    2.372705] orion_wdt: Initial timeout 229 sec
[    2.377668] sdhci: Secure Digital Host Controller Interface driver
[    2.383878] sdhci: Copyright(c) Pierre Ossman
[    2.447705] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.460978] marvell-cesa d0090000.crypto: CESA device successfully registered
[    2.469033] NET: Registered protocol family 10
[    2.476899] Segment Routing with IPv6
[    2.480760] NET: Registered protocol family 17
[    2.485291] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    2.499082] 8021q: 802.1Q VLAN Support v1.8
[    2.503384] Registering SWP/SWPB emulation handler
[    2.511287] UBI error: cannot open mtd 3, error -19
[    2.516411] hctosys: unable to open rtc device (rtc0)
[    2.528018] Freeing unused kernel memory: 6144K
[    2.553092] init: Console is alive
[    2.556755] init: - watchdog -
[    2.569336] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.577863] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    2.586719] init: - preinit -
[    2.731756] random: jshn: uninitialized urandom read (4 bytes read)
[    2.769636] random: jshn: uninitialized urandom read (4 bytes read)
[    2.799145] random: jshn: uninitialized urandom read (4 bytes read)
[    2.809412] scsi 0:0:0:0: Direct-Access     Generic  STORAGE DEVICE   9454 PQ: 0 ANSI: 0
[    2.821857] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    2.998122] mvneta d0070000.ethernet eth0: PHY [d0072004.mdio-mii:00] driver [Marvell 88E1510]
[    3.007027] mvneta d0070000.ethernet eth0: configuring for phy/rgmii-id link mode
[    3.015451] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    6.180397] procd: - early -
[    6.183409] procd: - watchdog -
[    6.759371] procd: - watchdog -
[    6.762872] procd: - ubus -
[    6.771483] urandom_read: 3 callbacks suppressed
[    6.771491] random: ubusd: uninitialized urandom read (4 bytes read)
[    6.815987] random: ubusd: uninitialized urandom read (4 bytes read)
[    6.822840] random: ubusd: uninitialized urandom read (4 bytes read)
[    6.830477] procd: - init -
Please press Enter to activate this console.
[    7.156851] kmodloader: loading kernel modules from /etc/modules.d/*
[    7.181353] urngd: v1.0.2 started.
[    7.189172] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    7.210394] ip_tables: (C) 2000-2006 Netfilter Core Team
[    7.231407] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
[    7.287358] random: crng init done
[    7.290888] random: 1 urandom warning(s) missed due to ratelimiting
[    7.308303] xt_time: kernel timezone is -0000
[    7.330983] PPP generic driver version 2.4.2
[    7.338212] NET: Registered protocol family 24
[    7.359850] kmodloader: done loading kernel modules from /etc/modules.d/*
[   16.049202] mvneta d0070000.ethernet eth0: PHY [d0072004.mdio-mii:00] driver [Marvell 88E1510]
[   16.087019] mvneta d0070000.ethernet eth0: configuring for phy/rgmii-id link mode
[   16.109185] br-lan: port 1(eth0) entered blocking state
[   16.114455] br-lan: port 1(eth0) entered disabled state
[   16.120071] device eth0 entered promiscuous mode
[   16.169102] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   19.288898] mvneta d0070000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   19.296981] br-lan: port 1(eth0) entered blocking state
[   19.302297] br-lan: port 1(eth0) entered forwarding state
[   19.309315] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
BootROM 1.08
Booting from SPI flash
DDR3 Training Sequence - Ver 2.3.5 
DDR3 Training Sequence - Ended Successfully 
BootROM: Image checksum verification PASSED

     _           _   _   _       
    | |         | | | | | |      
 ___| |__  _   _| |_| |_| | ___  
/ __| '_ \| | | | __| __| |/ _ \ 
\__ \ | | | |_| | |_| |_| |  __/ 
|___/_| |_|\__,_|\__|\__|_|\___| 
          _   _     ____              _
         | | | |   | __ )  ___   ___ | |_ 
         | | | |___|  _ \ / _ \ / _ \| __| 
         | |_| |___| |_) | (_) | (_) | |_ 
          \___/    |____/ \___/ \___/ \__| 

 ** LOADER **


U-Boot 2009.08 ( 7月 31 2013 - 18:38:51)Marvell version: 1.1.3 NQ
U-Boot Addressing:
       Code:            00600000:006AFFF0
       BSS:             006F8E20
       Stack:           0x5fff70
       PageTable:       0x8e0000
       Heap address:    0x900000:0xe00000
Board: OMNINAS_KD22
SoC:   MV6707 A1
CPU:   Marvell PJ4B v7 UP (Rev 1) LE
       CPU @ 1200Mhz, L2 @ 600Mhz
       DDR @ 600Mhz, TClock @ 200Mhz
       DDR 16Bit Width, FastPath Memory Access
PEX 0: Root Complex Interface, Detected Link X1
PEX 1: Detected No Link.
DRAM:  512 MB
       CS 0: base 0x00000000 size 512 MB
       Addresses 14M - 0M are saved for the U-Boot usage.
NAND:  128 MiB
*** Warning - bad CRC, using default environment

NAND read: device 0 offset 0x0, size 0x40
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
nand_read_bbt: Bad block at 0x0000011e0000
nand_read_bbt: Bad block at 0x000007640000
 64 bytes read: OK

NAND read: device 0 offset 0x800000, size 0x40
 64 bytes read: OK
Get DATE: 2000-00-00 (wday=0)  TIME:  0:00:00
FPU not initialized
USB 0: Host Mode
USB 1: Host Mode
Shutting down unused interfaces:
       GBE1
       SDIO
       AUDIO
Modules/Interfaces Detected:
       RGMII0 Phy
       PEX0 (Lane 0)
       PEX1 (Lane 1)
       SATA0 (Lane 2)
       SATA1 (Lane 3)
MMC:   MRVL_MMC: 0
Net:   egiga0
Hit any key to stop autoboot:  0
Device 0: nand0, sector size 128 KiB

NAND read: device 0 offset 0x0, size 0x360000
 3538944 bytes read: OK

NAND read: device 0 offset 0x800000, size 0x300000
 3145728 bytes read: OK
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-3.2.34
   Created:      2014-07-01  12:43:37 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3464128 Bytes =  3.3 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 04000000 ...
   Image Name:   
   Created:      2014-07-21   1:58:56 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    3053413 Bytes =  2.9 MB
   Load Address: 12000000
   Entry Point:  12000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
mvBoardEnvInit
axp_db_init...done
[    0.000000] Linux version 3.2.34 (root@localhost.localdomain) (gcc version 4.6.4 20120731 (prerelease) (Linaro GCC branch-4.6.4. Marvell GCC 201211-1642.a7a01a7a) ) #1 T4
[    0.000000] CPU: Marvell PJ4Bv7 Processor [561f5811] revision 1 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] Machine: Marvell Armada-370
[    0.000000] Using UBoot passing parameters structure
[    0.000000] >>>>>>>Tag MAC XX:XX:XX:XX:XX:XX
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 root=ubi0:rootfs ubi.mtd=3,2048 initrd=0x12000000 rootfstype=ubifs
[    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: 512MB = 512MB total
[    0.000000] Memory: 505548k/505548k available, 18740k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xa0800000 - 0xfa800000   (1440 MB)
[    0.000000]     lowmem  : 0x80000000 - 0xa0000000   ( 512 MB)
[    0.000000]     modules : 0x7f000000 - 0x80000000   (  16 MB)
[    0.000000]       .text : 0x80008000 - 0x80666000   (6520 kB)
[    0.000000]       .init : 0x80666000 - 0x80690000   ( 168 kB)
[    0.000000]       .data : 0x80690000 - 0x806c15a0   ( 198 kB)
[    0.000000]        .bss : 0x806c15c4 - 0x806f4b7c   ( 206 kB)
[    0.000000] NR_IRQS:256
[    0.000000] a370_time_init
[    0.000000] sched_clock: 32 bits at 600MHz, resolution 1ns, wraps every 7158ms
[    6.493787] Calibrating delay loop... 1196.85 BogoMIPS (lpj=5984256)
[    6.583760] pid_max: default: 32768 minimum: 301
[    6.583885] Mount-cache hash table entries: 512
[    6.584141] CPU: Testing write buffer coherency: ok
[    6.584287] hw perfevents: no hardware support available
[    6.584758] devtmpfs: initialized
[    6.587780] NET: Registered protocol family 16
[    6.589583] L0 cache Enabled
[    6.589594] Speculative Prefetch Disabled
[    6.589618] Aurora L2 Cache Enabled
[    6.589653] Support IO coherency.
[    6.589667] Enable DLB and DRAM write coalescing
[    6.590890] mvBoardEnvInit:Turn OFF HDD-A Power.
[    6.590904] mvBoardSerdesModulesScan: srdsMode=1b, speed=1b
[    6.592071] 
[    6.592076] CPU Interface
[    6.592081] -------------
[    6.592086] SDRAM_CS0 ....base 00000000, size 512MB 
[    6.592098] SDRAM_CS1 ....disable
[    6.592104] SDRAM_CS2 ....disable
[    6.592111] SDRAM_CS3 ....disable
[    6.592117] DEVICE_CS0 ....base f2000000, size  32MB 
[    6.592129] DEVICE_CS1 ....no such
[    6.592145] DEVICE_CS2 ....no such
[    6.592160] DEVICE_CS3 ....no such
[    6.592175] PEX0_MEM ....base e0000000, size  32MB 
[    6.592186] PEX0_IO ....base f1100000, size   1MB 
[    6.592197] PEX1_MEM ....base e2000000, size  32MB 
[    6.592207] PEX1_IO ....base f1200000, size   1MB 
[    6.592218] INTER_REGS ....base d0000000, size   1MB 
[    6.592229] DMA_UART ....no such
[    6.592244] SPI_CS0 ....base f0000000, size  16MB 
[    6.592256] SPI_CS1 ....no such
[    6.592270] SPI_CS2 ....no such
[    6.592285] SPI_CS3 ....no such
[    6.592301] SPI_CS4 ....no such
[    6.592316] SPI_CS5 ....no such
[    6.592330] SPI_CS6 ....no such
[    6.592345] SPI_CS7 ....no such
[    6.592360] BOOT_ROM_CS ....no such
[    6.592376] DEV_BOOTCS ....base f5000000, size  16MB 
[    6.592388] PMU_SCRATCHPAD ....no such
[    6.592403] CRYPT0_ENG ....base c8010000, size  64KB 
[    6.592417] 
[    6.592419]   Shuttle Marvell Armada370 Platform-- OMNINAS-KD22  Soc: MV6707 A1 LE
[    6.592434]   LSP version: linux-3.2.34-axp_a370-2012_Q4.1p5
[    6.592440] 
[    6.592443] 
[    6.592451]  Detected Tclk 200000000, SysClk 600000000, FabricClk 600000000
[    6.593926] Marvel PHY ID1=141, ID2=dd1
[    6.593933] Marvel PHY 88E1518 init...
[    6.599571] USB-dev=1
[    6.599757] ..........USB ID=6707
[    6.599812] Marvell USB EHCI Host controller #1: 9004aa00
[    6.599930] USB-dev=0
[    6.601109] ..........USB ID=6707
[    6.601161] Marvell USB EHCI Host controller #0: 9004a800
[    6.601360] ..........PEX ID=6707
[    6.601369] mvPexInit: for PCIe0, type=ROOT_COMPLEX
[    6.602382] PEX0 interface detected Link X1
[    6.602481] ..........PEX ID=6707
[    6.602488] mvPexInit: for PCIe1, type=ROOT_COMPLEX
[    6.603496] PEX1 interface detected Link X1
[    6.604033] PCI: bus0: Fast back to back transfers disabled
[    6.604705] PCI: bus1: Fast back to back transfers disabled
[    6.604912] pci 0000:01:01.0: BAR 2: assigned [mem 0xe2000000-0xe2003fff 64bit]
[    6.604936] pci 0000:01:01.0: BAR 2: set to [mem 0xe2000000-0xe2003fff 64bit] (PCI address [0xe2000000-0xe2003fff])
[    6.604950] pci 0000:01:01.0: BAR 0: assigned [io  0x100000-0x1000ff]
[    6.604965] pci 0000:01:01.0: BAR 0: set to [io  0x100000-0x1000ff] (PCI address [0x100000-0x1000ff])
[    6.604980] pci 0000:00:01.0: BAR 0: assigned [mem 0xe0000000-0xe0007fff 64bit]
[    6.605000] pci 0000:00:01.0: BAR 0: set to [mem 0xe0000000-0xe0007fff 64bit] (PCI address [0xe0000000-0xe0007fff])
[    6.605011] Aton-Buttons Device Load
[    6.617455] bio: create slab <bio-0> at 0
[    6.617948] vgaarb: loaded
[    6.618388] SCSI subsystem initialized
[    6.619133] usbcore: registered new interface driver usbfs
[    6.619333] usbcore: registered new interface driver hub
[    6.619487] usbcore: registered new interface driver ethub
[    6.619617] usbcore: registered new device driver usb
[    6.620921] cfg80211: Calling CRDA to update world regulatory domain
[    6.621353] Switching to clocksource armada370_clocksource
[    6.623180] NET: Registered protocol family 2
[    6.623279] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    6.623512] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    6.623716] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[    6.623868] TCP: Hash tables configured (established 16384 bind 16384)
[    6.623879] TCP reno registered
[    6.623891] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    6.623910] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    6.624093] NET: Registered protocol family 1
[    6.624286] RPC: Registered named UNIX socket transport module.
[    6.624295] RPC: Registered udp transport module.
[    6.624302] RPC: Registered tcp transport module.
[    6.624309] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    6.624522] Trying to unpack rootfs image as initramfs...
[    6.624997] rootfs image is not initramfs (no cpio magic); looks like an initrd
[    6.638708] Freeing initrd memory: 2980K
[    6.639017] cesadev_init(8066dbe0)
[    6.639499] mvCesaInit: channels=1, session=640, queue=64
[    6.644876] MV Buttons Driver Load
[    6.645293] Temp max = 98, Temp min = 10
[    6.645301] Raw max = 179
[    6.645306] Raw min = 301
[    6.645467] Armada XP hwmon thermal sensor initialized.
[    6.645564] Initializing Armada-XP CPU power management  (WFI)
[    6.705991] fuse init (API version 7.17)
[    6.706294] SGI XFS with security attributes, large block/inode numbers, no debug enabled
[    6.706653] msgmni has been set to 993
[    6.707368] io scheduler noop registered
[    6.707378] io scheduler deadline registered
[    6.707430] io scheduler cfq registered (default)
[    6.707469] Initializing ths8200_init
[    6.707587] Initializing dove_adi9889_init
[    6.707718] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[    6.707757] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[    6.723752] mv_xor mv_xor.0: Marvell XOR: ( xor )
[    6.743749] mv_xor mv_xor.1: Marvell XOR: ( xor )
[    6.763749] mv_xor mv_xor.2: Marvell XOR: ( cpy )
[    6.783747] mv_xor mv_xor.3: Marvell XOR: ( fill cpy )
[    6.788814] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    6.789560] serial8250.0: ttyS0 at MMIO 0xd0012000 (irq = 41) is a 16550A
[    7.521122] console [ttyS0] enabled
[    7.525407] brd: module loaded
[    7.531696] loop: module loaded
[    7.535744] sata_mv sata_mv.0: slots 32 ports 2
[    7.541979] scsi0 : sata_mv
[    7.545220] scsi1 : sata_mv
[    7.548303] ata1: SATA max UDMA/133 irq 55
[    7.552410] ata2: SATA max UDMA/133 irq 55
[    7.568448] SPI Serial flash detected @ 0xf0000000, 1024KB (16sec x 64KB)
[    7.576426] armada-nand armada-nand.0: Initialize HAL based NFC in 8bit mode with DMA Disabled using BCH 4bit ECC
[    7.587760] index=10, flash-id=f1ad
[    7.592326] NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit)
[    7.600990] Bad block table found at page 65472, version 0x01
[    7.607046] Bad block table found at page 65408, version 0x01
[    7.612956] nand_read_bbt: bad block at 0x0000011e0000
[    7.618118] nand_read_bbt: bad block at 0x000007640000
[    7.623495] Creating 3 MTD partitions on "armada-nand":
[    7.628750] 0x000000000000-0x000000800000 : "kernel"
[    7.634579] 0x000000800000-0x000000e00000 : "initrd"
[    7.640356] 0x000000e00000-0x000008000000 : "rootfs"
[    7.646408] mv_eth_probe: port_mask=0x1, cpu_mask=0x1 
[    7.651633] 0 - Base 0x00000000 , Size = 0x00000000.
[    7.656623] 4 - Base 0xf2000000 , Size = 0x00000000.
[    7.661597] 8 - Base 0xe0000000 , Size = 0x00000000.
[    7.666577] 9 - Base 0xf1100000 , Size = 0x00000000.
[    7.671551] 10 - Base 0xe2000000 , Size = 0x00000000.
[    7.676618] 11 - Base 0xf1200000 , Size = 0x00000000.
[    7.681679] 12 - Base 0xd0000000 , Size = 0x00000000.
[    7.686745] 14 - Base 0xf0000000 , Size = 0x00000000.
[    7.691806] 23 - Base 0xf5000000 , Size = 0x00000000.
[    7.696874] 25 - Base 0xc8010000 , Size = 0x00000000.
[    7.701941] mvBoardSerdesModeGet: serdesMode=1b
[    7.706491]   o 1 Giga ports supported
[    7.710245]   o SKB recycle supported (Enabled)
[    7.714788]   o NETA acceleration mode 1
[    7.718718]   o RX Queue support: 1 Queues * 128 Descriptors
[    7.724392]   o TX Queue support: 1 Queues * 532 Descriptors
[    7.730060]   o GSO supported
[    7.733030]   o GRO supported
[    7.736005]   o Receive checksum offload supported
[    7.740804]   o Transmit checksum offload supported
[    7.745693]   o Driver ERROR statistics enabled
[    7.750230] 
[    7.751811]   o Loading network interface(s)
[    7.756105] 
[    7.757598]   o Port 0 is connected to Linux netdevice
[    7.762819]  giga p=0: mtu=1500, mac=9002be54
[    7.771021]     o eth0, ifindex = 2, GbE port = 0
[    7.775769] 
[    7.777682] e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
[    7.783803] e100: Copyright(c) 1999-2006 Intel Corporation
[    7.789445] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[    7.796521] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    7.802393] e1000e: Intel(R) PRO/1000 Network Driver - 1.5.1-k
[    7.808249] e1000e: Copyright(c) 1999 - 2011 Intel Corporation.
[    7.814307] sky2: driver version 1.30
[    7.818105] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    7.824695] ehci_marvell ehci_marvell.1: Marvell Orion EHCI
[    7.830333] ehci_marvell ehci_marvell.1: new USB bus registered, assigned bus number 1
[    7.863748] ehci_marvell ehci_marvell.1: irq 46, io base 0xfbb51100
[    7.883732] ehci_marvell ehci_marvell.1: USB 2.0 started, EHCI 1.00
[    7.890613] hub 1-0:1.0: USB hub found
[    7.894399] hub 1-0:1.0: 1 port detected
[    7.898448] ata1: SATA link down (SStatus 0 SControl F300)
[    7.904329] ehci_marvell ehci_marvell.0: Marvell Orion EHCI
[    7.909934] ehci_marvell ehci_marvell.0: new USB bus registered, assigned bus number 2
[    7.943744] ehci_marvell ehci_marvell.0: irq 45, io base 0xfbb50100
[    7.963732] ehci_marvell ehci_marvell.0: USB 2.0 started, EHCI 1.00
[    7.970572] hub 2-0:1.0: USB hub found
[    7.974355] hub 2-0:1.0: 1 port detected
[    7.979054] usbcore: registered new interface driver usblp
[    7.984678] usbcore: registered new interface driver uas
[    7.990002] Initializing USB Mass Storage driver...
[    7.995094] usbcore: registered new interface driver usb-storage
[    8.001113] USB Mass Storage support registered.
[    8.005871] usbcore: registered new interface driver usbtest
[    8.011902] mousedev: PS/2 mouse device common for all mice
[    8.017604] i2c /dev entries driver
[    8.021716] rtc-pcf8563 0-0051: chip found, driver version 0.4.3
[    8.027851] rtc-pcf8563 0-0051: pcf8563_get_datetime: read error
[    8.034081] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0
[    8.040798] rtc-pcf8563 0-0051: get date/time...
[    8.045518] rtc-pcf8563 0-0051: pcf8563_get_datetime: read error
[    8.051538] reset pcf8563...
[    8.054513] rtc-pcf8563 0-0051: pcf8563_set_datetime: err=-19 addr=00, data=00
[    8.061751] rtc-pcf8563 0-0051: date/time invailid, reset to 2013/01/01...
[    8.068723] rtc-pcf8563 0-0051: pcf8563_probe: read error
[    8.074149] rtc-pcf8563: probe of 0-0051 failed with error -5
[    8.080852] Linux telephony interface: v1.00
[    8.085151] md: linear personality registered for level -1
[    8.090648] md: raid0 personality registered for level 0
[    8.095978] md: raid1 personality registered for level 1
[    8.101300] md: raid10 personality registered for level 10
[    8.107194] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
[    8.115778] cpuidle: using governor ladder
[    8.120055] cpuidle: using governor menu
[    8.124418] usbcore: registered new interface driver usbhid
[    8.130002] usbhid: USB HID core driver
[    8.134137] oprofile: no performance counters
[    8.138695] oprofile: using timer interrupt.
[    8.143047] pktgen: Packet Generator for packet performance testing. Version: 2.74
[    8.150772] TCP cubic registered
[    8.154116] NET: Registered protocol family 10
[    8.158977] IPv6 over IPv4 tunneling driver
[    8.163687] NET: Registered protocol family 17
[    8.168255] 8021q: 802.1Q VLAN Support v1.8
[    8.172458] VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6
[    8.181863] UBI: attaching mtd3 to ubi0
[    8.185737] UBI: physical eraseblock size:   131072 bytes (128 KiB)
[    8.192017] UBI: logical eraseblock size:    126976 bytes
[    8.197434] UBI: smallest flash I/O unit:    2048
[    8.202147] UBI: VID header offset:          2048 (aligned 2048)
[    8.208171] UBI: data offset:                4096
[    8.233759] usb 1-1: new high-speed USB device number 2 using ehci_marvell
[    8.399210] scsi2 : usb-storage 1-1:1.0
[    8.403885] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    8.443789] ata2.00: ATA-10: KINGSTON SA400S37120G, S3500102, max UDMA/133
[    8.450682] ata2.00: 234441648 sectors, multi 1: LBA48 NCQ (depth 31/32)
[    8.504379] UBI: max. sequence number:       9609
[    8.513819] ata2.00: configured for UDMA/133
[    8.518509] scsi 1:0:0:0: Direct-Access     ATA      KINGSTON SA400S3 S350 PQ: 0 ANSI: 5
[    8.526910] UBI: attached mtd3 to ubi0
[    8.530667] UBI: MTD device name:            "rootfs"
[    8.535740] UBI: MTD device size:            114 MiB
[    8.540715] UBI: number of good PEBs:        902
[    8.545347] UBI: number of bad PEBs:         10
[    8.549885] UBI: number of corrupted PEBs:   0
[    8.554341] UBI: max. allowed volumes:       128
[    8.558966] UBI: wear-leveling threshold:    4096
[    8.563677] UBI: number of internal volumes: 1
[    8.568134] UBI: number of user volumes:     1
[    8.572584] UBI: available PEBs:             0
[    8.577040] UBI: total number of reserved PEBs: 902
[    8.581926] UBI: number of PEBs reserved for bad PEB handling: 9
[    8.587947] UBI: max/mean erase counter: 32/14
[    8.592398] UBI: image sequence number:  511187344
[    8.597232] UBI: background thread "ubi_bgt0d" started, PID 462
[    8.603769] sd 1:0:0:0: [sda] 234441648 512-byte logical blocks: (120 GB/111 GiB)
[    8.611582] sd 1:0:0:0: Attached scsi generic sg0 type 0
[    8.617129] sd 1:0:0:0: [sda] Write Protect is off
[    8.621997] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    8.631186] i2c 0-0051: pcf8563_get_datetime: read error
[    8.636523] i2c 0-0051: hctosys: unable to read the hardware clock
[    8.645432] GPT:Primary header thinks Alt. header is not at the end of the disk.
[    8.652850] GPT:234437103 != 234441647
[    8.656622] GPT:Alternate GPT header not at the end of the disk.
[    8.662641] GPT:234437103 != 234441647
[    8.666401] GPT: Use GNU Parted to correct GPT errors.
[    8.671613]  sda: sda1 sda2 sda3 sda4
[    8.676675] sd 1:0:0:0: [sda] Attached SCSI disk
[    8.681343] md: Waiting for all devices to be available before autodetect
[    8.688166] md: If you don't use raid, use raid=noautodetect
[    8.694409] md: Autodetecting RAID arrays.
[    8.698515] md: Scanned 0 and added 0 devices.
[    8.702965] md: autorun ...
[    8.705777] md: ... autorun DONE.
[    8.709165] RAMDISK: gzip image found at block 0
[    9.004490] VFS: Mounted root (ext2 filesystem) on device 1:0.

Start InitRD
mount: can't find /dev/ram0 in /etc/mtab
mount: can't find /dev/ram0 in /etc/mtab
rootfs / rootfs rw 0 0
/dev/root.old / ext2 rw,relatime,errors=continue 0 0
none /proc proc rw,relatime 0 0
/sys /sys sysfs rw,relatime 0 0
HddBoot=No
[    9.073657] UBI: mtd3 is detached from ubi0
[    9.086560] UBI: attaching mtd3 to ubi0
[    9.090413] UBI: physical eraseblock size:   131072 bytes (128 KiB)
[    9.096730] UBI: logical eraseblock size:    126976 bytes
[    9.102138] UBI: smallest flash I/O unit:    2048
[    9.106857] UBI: VID header offset:          2048 (aligned 2048)
[    9.112875] UBI: data offset:                4096
[    9.395207] scsi 2:0:0:0: Direct-Access     Generic  STORAGE DEVICE   9454 PQ: 0 ANSI: 0
[    9.442432] sd 2:0:0:0: Attached scsi generic sg1 type 0
[    9.459857] sd 2:0:0:0: [sdc] Attached SCSI removable disk
[    9.918596] UBI: max. sequence number:       9609
[    9.951802] UBI: attached mtd3 to ubi0
[    9.955594] UBI: MTD device name:            "rootfs"
[    9.960655] UBI: MTD device size:            114 MiB
[    9.965636] UBI: number of good PEBs:        902
[    9.970261] UBI: number of bad PEBs:         10
[    9.974805] UBI: number of corrupted PEBs:   0
[    9.979256] UBI: max. allowed volumes:       128
[    9.983885] UBI: wear-leveling threshold:    4096
[    9.988597] UBI: number of internal volumes: 1
[    9.993048] UBI: number of user volumes:     1
[    9.997504] UBI: available PEBs:             0
[   10.001955] UBI: total number of reserved PEBs: 902
[   10.006845] UBI: number of PEBs reserved for bad PEB handling: 9
[   10.012863] UBI: max/mean erase counter: 32/14
[   10.017321] UBI: image sequence number:  511187344
[   10.022138] UBI: background thread "ubi_bgt0d" started, PID 675
UBI device number 0, total 902 LEBs (114532352 bytes, 109.2 MiB), available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB)
[   10.165642] UBIFS: recovery needed
[   10.201724] UBIFS: recovery deferred
[   10.205344] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[   10.211361] UBIFS: mounted read-only
[   10.214953] UBIFS: file system size:   111484928 bytes (108872 KiB, 106 MiB, 878 LEBs)
[   10.222888] UBIFS: journal size:       9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
[   10.230220] UBIFS: media format:       w4/r0 (latest is w4/r0)
[   10.236067] UBIFS: default compressor: lzo
[   10.240171] UBIFS: reserved for root:  0 bytes (0 KiB)
bin      home     linuxrc  opt      sbin     system   var
dev      initrd   media    proc     share    tmp
etc      lib      mnt      root     sys      usr
sys_uuid=xxxxxxxx:xxxxxxxx:xxxxxxxx:xxxxxxxx
[   10.327673] UBIFS: un-mount UBI device 0, volume 0
skip!! sda1 UUID is NG
skip!! sdb1 is not existed 
SysList=
sda1_uuid=
error!! sda1 no UUID
sdb1_uuid=
error!! sdb1 no UUID
mount /dev/md0  /mnt/sda1
[   10.469328] EXT3-fs (md0): error: unable to read superblock
[   10.475057] EXT2-fs (md0): error: unable to read superblock
[   10.480697] EXT4-fs (md0): unable to read superblock
[   10.485743] FAT-fs (md0): unable to read boot sector
[   10.490774] FAT-fs (md0): unable to read boot sector
[   10.495823] isofs_fill_super: bread failed, dev=md0, iso_blknum=16, block=32
[   10.517011] UDF-fs: error (device md0): udf_read_tagged: read failed, block=256, location=256
[   10.525604] UDF-fs: error (device md0): udf_read_tagged: read failed, block=512, location=512
[   10.631995] UDF-fs: error (device md0): udf_read_tagged: read failed, block=256, location=256
[   10.640586] UDF-fs: error (device md0): udf_read_tagged: read failed, block=512, location=512
[   10.649141] UDF-fs: warning (device md0): udf_fill_super: No partition found (1)
mount: mounting /dev/md0 on /mnt/sda1 failed: Input/output error
umount: can't umount /mnt/sda1: Invalid argument
End of InitRD -- transfer to /sbin/init
[   10.962074] UBIFS: recovery needed
[   11.126104] UBIFS: recovery completed
[   11.129784] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[   11.135814] UBIFS: file system size:   111484928 bytes (108872 KiB, 106 MiB, 878 LEBs)
[   11.143754] UBIFS: journal size:       9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
[   11.151078] UBIFS: media format:       w4/r0 (latest is w4/r0)
[   11.156928] UBIFS: default compressor: lzo
[   11.161031] UBIFS: reserved for root:  0 bytes (0 KiB)
[   11.166986] VFS: Mounted root (ubifs filesystem) on device 0:13.
[   11.173291] Freeing init memory: 168K
Mounting proc filesystem...
Mount RAMDisk to initrd for run-time usage...
HardDiskBootUp=No
Boot up from flash
1 disk is found...
booting by normal...
swap_uuid=xxxxxxxx:xxxxxxxx:xxxxxxxx:xxxxxxxx
skip!! sda3 UUID is NG
skip!! sdb3 is not existed 
swapList=
sda3_uuid=
error!! sda3 no UUID
sdb3_uuid=
error!! sdb3 no UUID
[   11.559906] EXT3-fs (md0): error: unable to read superblock
[   11.565649] EXT2-fs (md0): error: unable to read superblock
[   11.571287] EXT4-fs (md0): unable to read superblock
[   11.576333] FAT-fs (md0): unable to read boot sector
[   11.581366] FAT-fs (md0): unable to read boot sector
[   11.586416] isofs_fill_super: bread failed, dev=md0, iso_blknum=16, block=32
[   11.604913] UDF-fs: error (device md0): udf_read_tagged: read failed, block=256, location=256
[   11.613473] UDF-fs: error (device md0): udf_read_tagged: read failed, block=512, location=512
[   11.698640] UDF-fs: error (device md0): udf_read_tagged: read failed, block=256, location=256
[   11.707235] UDF-fs: error (device md0): udf_read_tagged: read failed, block=512, location=512
[   11.715788] UDF-fs: warning (device md0): udf_fill_super: No partition found (1)
mount: mounting /dev/md0 on /system failed: Input/output error
only one internal scsi disk
HDD list=/dev/sda 
Build HDDs info...
0Activating swap partitions...
[    6.569807] Unable to find swap-space signature
swapon: /dev/md3: Invalid argument
[    6.653793] eth0: mac address changed
libiconv.so.2 already existed.
libid3tag.so.0 already existed.
0[    7.200398] etxhci_hcd_130321 0000:00:01.0: Etron xHCI Host Controller
[    7.207014] etxhci_hcd_130321 0000:00:01.0: new USB bus registered, assigned bus number 3
[    7.224541] etxhci_hcd_130321 0000:00:01.0: irq 58, io mem 0xe0000000
[    7.244337] ethub 3-0:1.0: USB hub found
[    7.248329] ethub 3-0:1.0: 2 ports detected
[    7.284227] etxhci_hcd_130321 0000:00:01.0: Etron xHCI Host Controller
[    7.290826] etxhci_hcd_130321 0000:00:01.0: new USB bus registered, assigned bus number 4
[    7.411441] ethub 4-0:1.0: USB hub found
[    7.415400] ethub 4-0:1.0: 2 ports detected
Kernel talks oldstyle dev
Probing for valid blkdev at /dev/sda
Detected oldstyle dev at /dev/sda
Kernel talks oldstyle dev
Added entry for /dev/sda (8, 0)
Monitoring interrupt #55 "sata_mv"
Added disk /dev/sda, current timeout 600, state 2
Error: No partition entry for device (8,16)
Thermal Timer is 600
Controlling pdflush daemon
Kernel talks linux 2.5-style stat
/tmp is existed, check it...
[    8.062513] pool #0: pkt_size=1536, buf_size=1632 - 256 of 256 buffers added
[    8.069703] eth0: link up
[    8.072346] eth0: started
Hostname: nas.mydomain.com
Network interfaces: eth0 lo 
eth0 args=dhcp
dhcp interfaces= eth0 eth0
lo args=inet 127.0.0.1 netmask 255.0.0.0
static interfaces=lo inet 127.0.0.1 netmask 255.0.0.0
dhcp_flags=-n -s /etc/dhcpcd.script -i
/sbin/udhcpc -n -s /etc/dhcpcd.script -i eth0
udhcpc (v1.20.2) started
Sending discover...
Sending discover...
Sending select for xxx.xxx.xxx.xxx...
Lease of xxx.xxx.xxx.xxx obtained, lease time 43200
deleting routers
route: SIOCDELRT: No such process
adding dns xxx.xxx.xxx.xxx
eth0      Link encap:Ethernet  HWaddr XX:XX:XX:XX:XX:XX                                                       
          inet addr:xxx.xxx.xxx.xxx  Bcast:xxx.xxx.xxx.xxx  Mask:xxx.xxx.xxx.xxx                                    
          inet6 addr: xxxx::xxxx:xxxx:xxxx:xxxx/64 Scope:Link                                                 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1                                                  
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0                                                  
          TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532 
          RX bytes:1206 (1.1 KiB)  TX bytes:1306 (1.2 KiB)
          Interrupt:8 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

Starting inetd...
Starting crond...
crond[1606]: chdir(/var/spool/cron/crontabs): No such file or directory


Sun Apr  1 12:00:00 CEST 2012
chmod: /initrd/nasd_action: No such file or directory
bound xxx.xxx.xxx.xxx:8100
Starting /etc/nasd
gpio_handler daemon on duty!
Sun Apr  1 12:00:01 CEST 2012

nas.mydomain.com login:
Shuttle>> help
?       - alias for 'help'
autoscr - DEPRECATED - use "source" command instead
base    - print or set address offset
bdinfo  - print Board Info structure
beep    - beep make beep sound
boot    - boot default, i.e., run 'bootcmd'
bootd   - boot default, i.e., run 'bootcmd'
bootelf - Boot from an ELF image in memory
bootm   - boot application image from memory
bootp   - boot image via network using BOOTP/TFTP protocol
bootvx  - Boot vxWorks from an ELF image
bubt    - bubt  - Burn an image on the Boot SPI Flash.
chpart  - change active partition
cmp     - memory compare
cmpm    - cmpm  - Compare Memory
coninfo - print console devices and information
cp      - memory copy
cpumap  - cpumap - Display CPU memory mapping settings.
crc32   - checksum calculation
date    - get/set/reset date & time
ddrPhyRead- ddrPhyRead - Read DDR PHY register
ddrPhyWrite- ddrPhyWrite - Write DDR PHY register
dhcp    - boot image via network using DHCP/TFTP protocol
diskboot- diskboot- boot from IDE device
dma     - dma   - Perform DMA using the XOR engine
echo    - echo args to console
eeprom  - EEPROM sub-system
exit    - exit script
ext2load- load binary file from a Ext2 filesystem
ext2ls  - list files in a directory (default /)
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls   - list files in a directory (default /)
fi      - fi    - Find value in the memory.
fsinfo  - print information about filesystems
fsload  - load binary file from a filesystem image
g       - g     - start application at cached address 'addr'(default addr 0x40000)
go      - start application at address 'addr'
help    - print online help
i2c     - I2C sub-system
ide     - ide     - IDE sub-system
iminfo  - print header information for application image
imxtract- extract a part of a multi-image
ir      - ir    - reading and changing MV internal register values.
itest   - return true/false on integer compare
led     - led   - LED Switch
loadb   - load binary file over serial line (kermit mode)
loads   - load S-Record file over serial line
loady   - load binary file over serial line (ymodem mode)
loop    - infinite loop on address range
ls      - list files in a directory (default /)
map     - map   - Diasplay address decode windows
md      - memory display
me      - me    - PCI master enable
mm      - memory modify (auto-incrementing address)
mmc     - MMC sub system
mmcinfo - display MMC info
mp      - mp    - map PCI BAR
mtdparts- define flash/nand partitions
mtest   - simple RAM read/write test
mw      - memory write (fill)
nand    - NAND sub-system
nboot   - boot from NAND device
nfs     - boot image via network using NFS protocol
nm      - memory modify (constant address)
pci     - list and access PCI Configuration Space
pciePhyRead- phyRead    - Read PCI-E Phy register
pciePhyWrite- pciePhyWrite      - Write PCI-E Phy register
phyRead - phyRead       - Read Phy register
phyWrite- phyWrite      - Write Phy register
ping    - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
rarpboot- boot image via network using RARP/TFTP protocol
reset   - Perform RESET of the CPU
resetenv- resetenv      - earse environment sector to reset all variables to default.
run     - run commands in an environment variable
saveenv - save environment variables to persistent storage
se      - se    - PCI Slave enable
setenv  - set environment variables
sf      - SPI flash sub-system
sg      - sg    - scanning the PHYs status
showvar - print local hushshell variables
sleep   - delay execution for some time
source  - run script from memory
sp      - sp    - Scan PCI bus.
sspi    - SPI utility commands
switchCountersRead- switchCntPrint      - Read switch port counters.
switchPhyRegRead- - Read switch register
switchPhyRegWrite- - Write switch register
switchRegRead- switchRegRead    - Read switch register
switchRegWrite- switchRegWrite  - Write switch register
temp    - temp  - Display the device temprature.
test    - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
training- training      - prints the results of the DDR3 Training.
ts_report- ts_report    - report touch screen cooridate
ts_test - ts_test       - test touch screen
ubi     - ubi commands
ubifsload- load file from an UBIFS filesystem
ubifsls - list files in a directory
ubifsmount- mount UBIFS volume
usb     - USB sub-system
usbboot - boot from USB device
version - print monitor version
whoAmI  - - reading CPU ID
Shuttle>> printenv
bootdelay=3
baudrate=115200
loads_echo=0
ipaddr=10.4.50.165                                                                                            
serverip=10.4.50.5                                                                                            
rootpath=/mnt/ARM_FS/                                                                                         
netmask=255.255.255.0                                                                                         
stdin=serial                                                                                                  
stdout=serial
stderr=serial
console=console=ttyS0,115200
image_name=uImage
mtdids=nand0=nand0
mtdparts=mtdparts=nand0:8m(kernel),6m(Initrd),-(rootfs)
select0=nand info
load0=nand read.e 0x02000000 0 360000
loadr0=nand read.e 0x04000000 800000 300000
boot=bootm 0x02000000 0x4000000
bootcmd=run beep select0 load0 loadr0 boot || run beep beep beep errled
bootargs=console=ttyS0,115200 root=ubi0:rootfs ubi.mtd=3,2048 initrd=0x12000000 rootfstype=ubifs
beep=beep
ft=n
errled=led r
ethaddr=XX:XX:XX:XX:XX:XX
ethmtu=1500
mvNetConfig=mv_net_config=1,(XX:XX:XX:XX:XX:XX,0:1:2:3:4),mtu=1500
usb0Mode=host
usb1Mode=host
usbActive=0
yuk_ethaddr=XX:XX:XX:XX:XX:XX
nandEcc=1bit
eeeEnable=no
pcieTune=no
ethact=egiga0
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • Last modified: 2024/02/12 08:58
  • by 127.0.0.1