Terastation TS1400D

From Buffalo NAS Wiki

Specs

Terastation TS1400D

CPU 1.2 GHz dual issue ARM (Marvell 88F6707)
Memory 512 MB DDR3
Bays 4
Network 1x 10/100/1000 Mbps (Marvell 88E1518)
Sata 4x SATA III (Marvell 88SE9215)
NAND Flash 512MB
SPI Flash 1 MB (MX25L8006E)
USB 2.0 1 (Rear)
USB 3.0 2 (1 Front + 1 Back) (D720202)
Fan Yes
Power 19V - 7.9A

Stock Firmware Installation

Install Firmware from NAND

Oddly I haven't been able to find documentation from Buffalo on how to load the firmware via NAND but I was able to figure it out through trial and error:

  1. First install the desired drives, preferably blank. (there must be one in either bay 1 or 2).
  2. Boot up the device and wait for the led to start flashing orange.
  3. Hold the function button until the device beeps 4 times (beep....beep....beep beep)
  4. The device will now install the firmware and reboot when finished (about 20 minutes)

Video of the procedure

Other Methods

Custom Firmware/Operating System installation

Installing Debian on Armada-370 Devices

Device Notes

Like most of the other Terastation models most of the buttons and LEDS are controlled by a separate micro-controller (D78F0513A) that the system communicates with via a serial connection.

Pictures

U-Boot output

BootROM 1.08
Booting from SPI flash


General initialization - Version: 1.0.0
mvBoardSerdesModulesScan: mvTwsiRead error, Using default serdes configuration ****
High speed PHY - Version: 2.1.4 (COM-PHY-V20) 
Update PEX Device ID 0x67100
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver 5.7.1

DDR3 Training Sequence - Run DDR3 at 600 Mhz

########### LOG LEVEL 1 (D-UNIT SETUP)###########

Static D-UNIT Setup:
0x00001400 = 0x73014924
0x00001404 = 0x3000B808
0x00001408 = 0x56159996
0x0000140C = 0x3AD93F96
0x00001410 = 0x120F0000
0x00001414 = 0x00000000
0x00001418 = 0x00000E00
0x0000141C = 0x00000642
0x00001420 = 0x00000004
0x00001424 = 0x0100F37F
0x00001428 = 0x000F8830
0x00001454 = 0x00000000
0x00001474 = 0x00000000
0x0000142C = 0x014C4EE4
0x0000147C = 0x0000C671
0x00001494 = 0x00010000
0x00001498 = 0x00000000
0x0000149C = 0x0000030F
DDR3 Training Sequence - Run without PBS.
Cuurrent frequency is: 100MHz
Cuurrent frequency is: 444MHz
DDR3 - Write Leveling - Starting HW WL procedure 
DDR3 - Write Leveling - Write Leveling Cs - 0 Results: 
DDR3 - Write Leveling - PUP: 0, Phase: 0, Delay: 01
DDR3 - Write Leveling - PUP: 1, Phase: 0, Delay: 08
DDR3 - Write Leveling - HW WL Ended Successfully 
DDR3 - Read Leveling - Starting HW RL procedure 
DDR3 - Read Leveling - Results for CS - 0
DDR3 - Read Leveling - PUP: 0, Phase: 1, Delay: 1F
DDR3 - Read Leveling - PUP: 1, Phase: 2, Delay: 05
DDR3 - Read Leveling - Read Sample Delay: 09
DDR3 - Read Leveling - Read Ready Delay: 0D
DDR3 - Read Leveling - HW RL Ended Successfully 
DDR3 - Write Leveling Hi-Freq Supplement - Starting 
DDR3 - Write Leveling Hi-Freq Supplement - SW Override Enabled 
COUNT = 0
DATA PUP:
04030201 08070605 0C0B0A09 100F0E0D 
14131211 18171615 1C1B1A19 201F1E1D 
24232221 28272625 2C2B2A29 302F2E2D 
34333231 38373635 3C3B3A39 403F3E3D 
44434241 48474645 4C4B4A49 504F4E4D 
54535251 58575655 5C5B5A59 605F5E5D 
64636261 68676665 6C6B6A69 706F6E6D 
74737271 78777675 7C7B7A79 807F7E7D 
CS: 0 PUP: 0
Actual Data = 21
Expected Data = 21
uiError = 00
uiErrorN = 00

CS: 0 PUP: 1
Actual Data = 22
Expected Data = 22
uiError = 00
uiErrorN = 00
COUNT = 1
DATA PUP:
04030201 08070605 0C0B0A09 100F0E0D 
14131211 18171615 1C1B1A19 201F1E1D 
24232221 28272625 2C2B2A29 302F2E2D 
34333231 38373635 3C3B3A39 403F3E3D 
44434241 48474645 4C4B4A49 504F4E4D 
54535251 58575655 5C5B5A59 605F5E5D 
64636261 68676665 6C6B6A69 706F6E6D 
74737271 78777675 7C7B7A79 807F7E7D 
CS: 0 PUP: 0
Actual Data = 21
Expected Data = 21
uiError = 00
uiErrorN = 00

CS: 0 PUP: 1
Actual Data = 22
Expected Data = 22
uiError = 00
uiErrorN = 00
DDR3 - Write Leveling Hi-Freq Supplement - Ended Successfully 

########## LOG LEVEL 3(Windows margins per-DQ) ##########
DDR3 - RX  CS: 0

 DATA RESULTS:

BYTE:0
  DQ's        LOW       HIGH       WIN-SIZE
============================================
DQ[ 0]     0x41       0x87       0x47
DQ[ 1]     0x1D       0xF7       0xDB
DQ[ 2]     0xE3       0x6A       0x88
DQ[ 3]     0x68       0x1F       0xB8
DQ[ 4]     0x99       0x4B       0xB3
DQ[ 5]     0xA5       0x52       0xAE
DQ[ 6]     0xFB       0xFE       0x04
DQ[ 7]     0x3B       0xAD       0x73

BYTE:1
  DQ's        LOW       HIGH       WIN-SIZE
============================================
DQ[ 8]     0xE4       0x6F       0x8C
DQ[ 9]     0x21       0xBC       0x9C
DQ[10]     0x68       0xBF       0x58
DQ[11]     0xE5       0x0A       0x26
DQ[12]     0x6C       0xDA       0x6F
DQ[13]     0x5C       0x7D       0x22
DQ[14]     0xA0       0xBF       0x20
DQ[15]     0x20       0x08       0xE9


############ LOG LEVEL 2(Windows margins) ############
DDR3 - DQS RX - Set Dqs Centralization Results - CS: 0

DQS    LOW     HIGH     WIN-SIZE      Set
==============================================
0     0x00      0x19      0x19       0x0C
1     0x00      0x19      0x19       0x0C

########## LOG LEVEL 3(Windows margins per-DQ) ##########
DDR3 - TX  CS: 0

 DATA RESULTS:

BYTE:0
  DQ's        LOW       HIGH       WIN-SIZE
============================================
DQ[ 0]      0x88        0x41        0xB9
DQ[ 1]      0xF8        0x1D        0x25
DQ[ 2]      0x6B        0xE3        0x78
DQ[ 3]      0x20        0x68        0x48
DQ[ 4]      0x4C        0x99        0x4D
DQ[ 5]      0x53        0xA5        0x52
DQ[ 6]      0xFF        0xFB        0xFC
DQ[ 7]      0xAE        0x3B        0x8D

BYTE:1
  DQ's        LOW       HIGH       WIN-SIZE
============================================
DQ[ 8]      0x70        0xE4        0x74
DQ[ 9]      0xBD        0x21        0x64
DQ[10]      0xC0        0x68        0xA8
DQ[11]      0x0B        0xE5        0xDA
DQ[12]      0xDB        0x6C        0x91
DQ[13]      0x7E        0x5C        0xDE
DQ[14]      0xC0        0xA0        0xE0
DQ[15]      0x09        0x20        0x17


############ LOG LEVEL 2(Windows margins) ############
DDR3 - DQS TX - Set Dqs Centralization Results - CS: 0

DQS    LOW     HIGH     WIN-SIZE      Set
==============================================
0     0x00      0x1B      0x1B       0x0D
1     0x00      0x1C      0x1C       0x0E
DDR3 Training Sequence - Ended Successfully 
BootROM: Image checksum verification PASSED

 ____                            _         
| __ )  _   _  ___   ___   ___  | |  ___   
|  _  \| | | |/   | /   | / _  \| | / _  \ 
| |_) || |_| ||  __||  __| (_) || || (_) | 
|____/  \___/ |_|   |_|   \__/|||_| \___/  
         _   _     ____                _   
        | | | |   | __ )   ___   ___  | |_ 
        | | | |___|  _  \ / _  \/ _  \| __|
        | |_| |___| |_) || (_) | (_) || |_ 
         \___/    |____/  \___/ \___/  \__|
 ** LOADER **


U-Boot 2011.12 (Aug 01 2017 - 14:41:52) Marvell version: v2011.12 2014_T2.0p1 

Board: MVLS441D-xx
BoardID= 0
SoC:   MV6710 A1
CPU:   Marvell PJ4B v7 UP (Rev 1) LE
       CPU    @ 1200 [MHz]
       L2     @ 600 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 600 [MHz]
       DDR 16Bit Width, FastPath Memory Access
DRAM:  512 MiB
PHY ID = 1d 
PHY ID = 1d 

Map:   Code:            0x1ff0c000:0x1ffa58a8
       BSS:             0x1ffef504
       Stack:           0x1f9fbef8
       Heap:            0x1f9fc000:0x1ff0c000

NAND:  512 MiB
MMC:   MRVL_MMC: 0
SF: Detected MX25L8005 with page size 64 KiB, total 1 MiB

Initialize and scan all PCI interfaces
PEX unit.port(active IF[-first bus]):
------------------------------------------
PEX 0: Root Complex Interface, Detected Link X1, GEN 1.1
    00:01.0     - 11ab:6710 - Memory controller
PEX 1: Root Complex Interface, Detected Link X1, GEN 1.1
    01:01.0     - 11ab:6710 - Memory controller
u-boot envinit tval=f1e65a55
FPU initialized to Run Fast Mode.
USB 0: Host Mode
USB 1: Host Mode
boot trigger=normal
sending BOOT_START
Modules/Interfaces Detected:
       RGMII0 Phy
       RGMII1 Phy
       PEX0 (Lane 0)
       PEX1 (Lane 1)
UCOM ID= 0
boot trigger=normal
HDD0 Power ON
HDD3 Power ON
USB Power ON
Target spinup took 0 ms.
SATA link 1 timeout.
SATA link 2 timeout.
Target spinup took 0 ms.
AHCI 0001.0000 32 slots 4 ports 6 Gbps 0xf impl SATA mode
flags: 64bit ncq led only pmp fbss pio slum part sxs 
scanning bus for devices...
  Device 0: (0:0) Vendor: ATA Prod.: KingDian S100 16 Rev: 2014
            Type: Hard Disk
            Capacity: 15104.0 MB = 14.7 GB (30932992 x 512)
  Device 1: (3:0) Vendor: ATA Prod.: SanDisk SSD U100 Rev: 10.5
            Type: Hard Disk
            Capacity: 15272.0 MB = 14.9 GB (31277232 x 512)
Found 2 device(s).
scanning bus for devices...
  Device 0: (0:0) Vendor: ATA Prod.: KingDian S100 16 Rev: 2014
            Type: Hard Disk
            Capacity: 15104.0 MB = 14.7 GB (30932992 x 512)
  Device 1: (3:0) Vendor: ATA Prod.: SanDisk SSD U100 Rev: 10.5
            Type: Hard Disk
            Capacity: 15272.0 MB = 14.9 GB (31277232 x 512)
Found 2 device(s).
MAC Address : CC:E1:D5:8C:26:AD
MAC Address read from block device 0 : 00:24:a5:59:35:00
Loading file "/initrd.buffalo" from scsi device 0:1 (primary)
5295753 bytes read
MAC Address read from block device 1 : 
Loading file "/initrd.buffalo" from scsi device 1:1 (Linux filesystem)
17082292 bytes read
** Bad partition - 2:0 **
** Bad partition 1 **
** Bad partition - 3:0 **
** Bad partition 1 **
Booting from Device 0
Net:   egiga0, egiga1 [PRIME]
hit any key to switch tftp boot.
Hit any key to stop autoboot:  0 
Hit any key to stop autoboot:  0

DMESG output

Booting Linux on physical CPU 0
Initializing cgroup subsys cpu
Linux version 3.3.4 (root@nasbuild) (gcc version 4.6.2 (Linaro GCC branch-4.6.2. Marvell GCC 201201-883.01c949de) ) #1 Tue Dec 19 21:25:52 JST 2017
CPU: Marvell PJ4Bv7 Processor [561f5811] revision 1 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
Machine: Marvell Armada-370
Using UBoot passing parameters structure
>>>>>>>Tag MAC 0c:c0:9c:43:50:00
>>>>>>>Tag MAC ad:26:8c:d5:e1:cc
Memory policy: ECC disabled, Data cache writealloc
On node 0 totalpages: 131072
free_area_init_node: node 0, pgdat c0612d48, node_mem_map c0652000
  Normal zone: 1024 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 130048 pages, LIFO batch:31
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0 
Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 130048
Kernel command line: console=ttyS0,115200 root=/dev/nfs rw BOOTVER=0.68 UBOOT_DATE=2017/08/01 mtdparts=armada-nand:0x2000000(boot),0x1e000000(rootfs)
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 512MB = 512MB total
Memory: 485148k/485148k available, 39140k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
    lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc05b8d78   (5828 kB)
      .init : 0xc05b9000 - 0xc05df000   ( 152 kB)
      .data : 0xc05e0000 - 0xc0613b20   ( 207 kB)
       .bss : 0xc0613b44 - 0xc0651af8   ( 248 kB)
NR_IRQS:256
axp_time_init
Calibrating delay loop... 1196.85 BogoMIPS (lpj=5984256)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
hw perfevents: no hardware support available
Setting up static identity map for 0x43eb98 - 0x43ebdc
devtmpfs: initialized
xor: measuring software checksum speed
   arm4regs  :  1150.800 MB/sec
   8regs     :   817.600 MB/sec
   32regs    :  1148.800 MB/sec
xor: using function: arm4regs (1150.800 MB/sec)
NET: Registered protocol family 16
L0 cache Enabled
Speculative Prefetch Disabled
aurora_l2_init 
Aurora: Enabling L2
AuroraL2: System L2 cache support initialised
Support IO coherency.
Enable DLB and DRAM write coalescing

CPU Interface
-------------
SDRAM_CS0 ....base 00000000, size 512MB 
SDRAM_CS1 ....disable
SDRAM_CS2 ....disable
SDRAM_CS3 ....disable
DEVICE_CS0 ....base f2000000, size  32MB 
DEVICE_CS1 ....no such
DEVICE_CS2 ....no such
DEVICE_CS3 ....no such
PEX0_MEM ....base e0000000, size  32MB 
PEX0_IO ....base f1100000, size   1MB 
PEX1_MEM ....base e2000000, size  32MB 
PEX1_IO ....base f1200000, size   1MB 
INTER_REGS ....base d0000000, size   1MB 
DMA_UART ....no such
SPI_CS0 ....base f0000000, size  16MB 
SPI_CS1 ....no such
SPI_CS2 ....no such
SPI_CS3 ....no such
SPI_CS4 ....no such
SPI_CS5 ....no such
SPI_CS6 ....no such
SPI_CS7 ....no such
BOOT_ROM_CS ....no such
DEV_BOOTCS ....base f5000000, size  16MB 
PMU_SCRATCHPAD ....no such
CRYPT0_ENG ....base c8010000, size  64KB 

  Marvell Armada370 Board-- TS1400D  Soc: MV6710 A1 LE
  LSP version: Armada370_LSP_3.1.0_p15_NQ


 Detected Tclk 200000000, SysClk 600000000, FabricClk 600000000
gpiochip_add: registered GPIOs 0 to 64 on device: mv_gpio
hw-breakpoint: debug architecture 0x4 unsupported.
Marvell USB EHCI Host controller #0: d0052d80
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io  0x0000-0xfffff]
pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe1ffffff]
pci 0000:00:01.0: [1b4b:9215] type 0 class 0x000106
pci 0000:00:01.0: reg 10: [io  0xfffffff8-0xffffffff]
pci 0000:00:01.0: reg 14: [io  0xfffffffc-0xffffffff]
pci 0000:00:01.0: reg 18: [io  0xfffffff8-0xffffffff]
pci 0000:00:01.0: reg 1c: [io  0xfffffffc-0xffffffff]
pci 0000:00:01.0: reg 20: [io  0xffffffe0-0xffffffff]
pci 0000:00:01.0: reg 24: [mem 0x40000000-0x400007ff]
pci 0000:00:01.0: reg 30: [mem 0xd0000000-0xd000ffff pref]
pci 0000:00:01.0: PME# supported from D3hot
PCI: bus0: Fast back to back transfers disabled
PCI host bridge to bus 0000:01
pci_bus 0000:01: root bus resource [io  0x100000-0x1fffff]
pci_bus 0000:01: root bus resource [mem 0xe2000000-0xe3ffffff]
pci 0000:01:01.0: [1912:0015] type 0 class 0x000c03
pci 0000:01:01.0: reg 10: [mem 0x42000000-0x42001fff 64bit]
pci 0000:01:01.0: PME# supported from D0 D3hot D3cold
PCI: bus1: Fast back to back transfers disabled
pci 0000:01:01.0: BAR 0: assigned [mem 0xe2000000-0xe2001fff 64bit]
pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe000ffff pref]
pci 0000:00:01.0: BAR 5: assigned [mem 0xe0010000-0xe00107ff]
pci 0000:00:01.0: BAR 4: assigned [io  0x1000-0x101f]
pci 0000:00:01.0: BAR 0: assigned [io  0x1020-0x1027]
pci 0000:00:01.0: BAR 2: assigned [io  0x1028-0x102f]
pci 0000:00:01.0: BAR 1: assigned [io  0x1030-0x1033]
pci 0000:00:01.0: BAR 3: assigned [io  0x1034-0x1037]
bio: create slab <bio-0> at 0
raid6: int32x1    135 MB/s
raid6: int32x2    210 MB/s
raid6: int32x4    203 MB/s
raid6: int32x8    244 MB/s
raid6: using algorithm int32x8 (244 MB/s)
vgaarb: loaded
SCSI subsystem initialized
libata version 3.00 loaded.
Switching to clocksource armada370_clocksource
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
PCI: CLS 32 bytes, default 32
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 24024K
cesadev_init(c05c0c0c)
mvCesaInit: channels=1, session=640, queue=64
Armada XP hwmon thermal sensor initialized.
Initializing Armada-XP CPU power management  (DISABLED)
MICON ctrl (C) BUFFALO INC. V.1.00 installed.
Buffalo Gpio Control Driver (C) BUFFALO INC. Ver.1.00 installed.
[Switch Driver] fail install irq(-1)[Switch Driver] fail install irq(-1)Buffalo Switch Driver (C) BUFFALO INC. Ver.0.01 installed.
Kernel event proc (C) BUFFALO INC. V.1.00 installed.
initial_polarity_val = 0x00000000
initial_polarity_val_high = 0x00000000
Buffalo GPIO SATA Hotplug Event Driver (C) BUFFALO INC. Ver.1.00 installed.-Polling mode-
MICON V2 (C) BUFFALO INC. V.2.00 installed.(IRQ=176)
-- BuffaloInitUart 6c 145 --
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
nfs4filelayout_init: NFSv4 File Layout Driver Registering...
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
JFFS2 version 2.2. (NAND) \xffffffc2\xffffffa9 2001-2006 Red Hat, Inc.
fuse init (API version 7.18)
SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled
SGI XFS Quota Management subsystem
msgmni has been set to 994
async_tx: api initialized (async)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Initializing ths8200_init
Initializing dove_adi9889_init
mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
mv_xor mv_xor.0: Marvell XOR: ( xor )
mv_xor mv_xor.1: Marvell XOR: ( xor )
mv_xor mv_xor.2: Marvell XOR: ( cpy )
mv_xor mv_xor.3: Marvell XOR: ( fill cpy )
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xd0012000 (irq = 41) is a 16550A
console [ttyS0] enabled
serial8250.1: ttyS1 at MMIO 0xd0012100 (irq = 42) is a 16550A
brd: module loaded
loop: module loaded
ahci 0000:00:01.0: version 3.0
PCI: enabling device 0000:00:01.0 (0146 -> 0147)
** BUFFALO Disable Command Queuing Function [ahci 0000:00:01.0] **
ahci 0000:00:01.0: controller can't do NCQ, turning off CAP_NCQ
ahci 0000:00:01.0: AHCI 0001.0000 32 slots 4 ports 6 Gbps 0xf impl SATA mode
ahci 0000:00:01.0: flags: 64bit sntf led only pmp fbs pio slum part sxs 
scsi0 : ahci
scsi1 : ahci
scsi2 : ahci
scsi3 : ahci
ata1: SATA max UDMA/133 abar m2048@0xe0010000 port 0xe0010100 irq 58
ata2: SATA max UDMA/133 abar m2048@0xe0010000 port 0xe0010180 irq 58
ata3: SATA max UDMA/133 abar m2048@0xe0010000 port 0xe0010200 irq 58
ata4: SATA max UDMA/133 abar m2048@0xe0010000 port 0xe0010280 irq 58
SPI Serial flash detected @ 0xf0000000, 1024KB (16sec x 64KB)
armada-nand armada-nand.0: Initialize HAL based NFC in 8bit mode with DMA Disabled using BCH 4bit ECC
NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit)
Bad block table found at page 262080, version 0x01
Bad block table found at page 262016, version 0x01
2 cmdlinepart partitions found on MTD device armada-nand
Creating 2 MTD partitions on "armada-nand":
0x000000000000-0x000002000000 : "boot"
0x000002000000-0x000020000000 : "rootfs"
mv_eth_probe: port_mask=0x3, cpu_mask=0x1 
0 - Base 0x00000000 , Size = 0x20000000.
4 - Base 0xf2000000 , Size = 0x02000000.
8 - Base 0xe0000000 , Size = 0x02000000.
9 - Base 0xf1100000 , Size = 0x00100000.
10 - Base 0xe2000000 , Size = 0x02000000.
11 - Base 0xf1200000 , Size = 0x00100000.
12 - Base 0xd0000000 , Size = 0x00100000.
14 - Base 0xf0000000 , Size = 0x01000000.
23 - Base 0xf5000000 , Size = 0x01000000.
25 - Base 0xc8010000 , Size = 0x00010000.
  o 2 Giga ports supported
  o NETA acceleration mode 1
  o RX Queue support: 1 Queues * 128 Descriptors
  o TX Queue support: 1 Queues * 512 Descriptors
  o GSO supported
  o GRO supported
  o Receive checksum offload supported
  o Transmit checksum offload supported
  o Driver ERROR statistics enabled
  o Switch support enabled

  o Loading network interface(s)

  o Port 0 is connected to Linux netdevice
	giga p=0: mtu=1500, mac=d002beec
    o eth0, ifindex = 2, GbE port = 0

  o Port 1 is connected to Linux netdevice
	giga p=1: mtu=1500, mac=d002beec
    o eth1, ifindex = 3, GbE port = 1

i2c /dev entries driver
rtc-rs5c372 0-0032: rs5c372a found, 24hr, driver version 0.6
rtc-rs5c372 0-0032: create wakealarm
rtc-rs5c372 0-0032: rtc core: registered rtc-rs5c372 as rtc0
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
cpuidle: using governor ladder
cpuidle: using governor menu
mmc0: mvsdio driver initialized, lacking card detect (fall back to polling)
TCP cubic registered
NET: Registered protocol family 17
Registering the dns_resolver key type
VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6
rtc-rs5c372 0-0032: setting system clock to 2018-12-25 19:50:29 UTC (1545767429)
ata3: SATA link down (SStatus 0 SControl 300)
ata4: SATA link down (SStatus 0 SControl 300)
ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
ata1.00: ATA-8: TOSHIBA DT01ACA200, MX4OABB0, max UDMA/133
ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 0/32)
ata2.00: ATA-8: TOSHIBA DT01ACA200, MX4OABB0, max UDMA/133
ata2.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 0/32)
ata1.00: configured for UDMA/133
scsi 0:0:0:0: Direct-Access     ATA      TOSHIBA DT01ACA2 MX4O PQ: 0 ANSI: 5
ata2.00: configured for UDMA/133
sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
sd 0:0:0:0: [sda] 4096-byte physical blocks
scsi 1:0:0:0: Direct-Access     ATA      TOSHIBA DT01ACA2 MX4O PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 1:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
sd 1:0:0:0: [sdb] 4096-byte physical blocks
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
 sda: sda1 sda2 sda3 sda4 sda5 sda6
sd 0:0:0:0: [sda] Attached SCSI disk
sd 1:0:0:0: [sdb] Attached SCSI disk
Freeing init memory: 152K
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sda1): mounted filesystem with writeback data mode
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sdb1): mounted filesystem with writeback data mode
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sda1): mounted filesystem with writeback data mode
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sdb1): mounted filesystem with writeback data mode
md: md2 stopped.
md: bind<sdb5>
md: bind<sda5>
bio: create slab <bio-1> at 1
md/raid1:md2: active with 2 out of 4 mirrors
created bitmap (1 pages) for device md2
md2: bitmap initialized from disk: read 1/1 pages, set 62 of 62 bits
md2: detected capacity change from 0 to 4094623744
md: md1 stopped.
md: bind<sdb2>
md: bind<sda2>
md/raid1:md1: active with 2 out of 4 mirrors
created bitmap (1 pages) for device md1
md1: bitmap initialized from disk: read 1/1 pages, set 245 of 245 bits
md1: detected capacity change from 0 to 16375480320
md: md0 stopped.
md: bind<sdb1>
md: bind<sda1>
md/raid1:md0: active with 2 out of 4 mirrors
md0: detected capacity change from 0 to 5120131072
 md0: unknown partition table
kjournald starting.  Commit interval 5 seconds
EXT3-fs (md0): using internal journal
EXT3-fs (md0): mounted filesystem with writeback data mode
 md1: unknown partition table
kjournald starting.  Commit interval 5 seconds
EXT3-fs (md1): using internal journal
EXT3-fs (md1): mounted filesystem with writeback data mode
kjournald starting.  Commit interval 5 seconds
EXT3-fs (md1): using internal journal
EXT3-fs (md1): mounted filesystem with writeback data mode
 md2: unknown partition table
Adding 3998652k swap on /dev/md2.  Priority:-1 extents:1 across:3998652k 
kjournald starting.  Commit interval 5 seconds
EXT3-fs (md0): using internal journal
EXT3-fs (md0): mounted filesystem with writeback data mode
ufsd: module license 'Commercial product' taints kernel.
Disabling lock debugging due to kernel taint
ufsd: driver (8.7 U87E_r192070_b6, LBD=ON, delalloc, acl, ioctl, bdi, do) loaded at bf000000
NTFS (with native replay) support included
exFAT support included
optimized: speed
Build_for__Buffalo_LS400_LS-M_k3.3.4_2012-10-26_U87E_r192070_b6

usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
xhci_hcd 0000:01:01.0: xHCI Host Controller
xhci_hcd 0000:01:01.0: new USB bus registered, assigned bus number 1
xhci_hcd 0000:01:01.0: irq 62, io mem 0xe2000000
xHCI xhci_add_endpoint called for root hub
xHCI xhci_check_bandwidth called for root hub
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
xhci_hcd 0000:01:01.0: xHCI Host Controller
xhci_hcd 0000:01:01.0: new USB bus registered, assigned bus number 2
xHCI xhci_add_endpoint called for root hub
xHCI xhci_check_bandwidth called for root hub
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_marvell ehci_marvell.0: Marvell Orion EHCI
ehci_marvell ehci_marvell.0: new USB bus registered, assigned bus number 3
ehci_marvell ehci_marvell.0: irq 45, io base 0xfbb50100
ehci_marvell ehci_marvell.0: USB 2.0 started, EHCI 1.00
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usblp
pool #1: pkt_size=1536, buf_size=1632 - 256 of 256 buffers added
eth1: link up
eth1: started
md: md10 stopped.
md: bind<sdb6>
md: bind<sda6>
md/raid0:md10: md_size is 7681251328 sectors.
md: RAID0 configuration for md10 - 1 zone
md: zone0=[sda6/sdb6]
      zone-offset=         0KB, device-offset=         0KB, size=3840625664KB

md10: detected capacity change from 0 to 3932800679936
 md10: unknown partition table
XFS (md10): Mounting Filesystem
XFS (md10): Ending clean mount
Extra Features Reg[0] = 0x60000100
Extra Features Reg[1] = 0x101a7
Control Reg = 0x10c5387d
Main ID Reg = 0x561f5811
Cache Type Reg = 0x8003c003
L2 Control Reg = 0x1
L2 Auxilary Control Reg = 0x12086302
bf_eth_tool_set_wol(port=1)
bf_eth_tool_set_wol. Call buffalo the interface
bfReserveWolMagicDisable(1)
bf_eth_tool_set_wol(port=1)
bf_eth_tool_set_wol. Call buffalo the interface
bfReserveWolMagicDisable(1)

U-Boot env

CASset=min
MALLOC_len=5
autoload=n
baudrate=115200
bootargs_end=:10.4.50.254:255.255.255.0:KW40:eth0:none
bootargs_root=root=/dev/nfs rw
bootcmd=for i in $bootorder; do run ${i}bootcmd; done
bootcommon=setenv bootargs $console $bootargs_root $bootargs_func $buffalo_ver $uboot_date $mtdparts $bootsystem; ;sf protect off; bootm 0x1200000 0x2600000
bootcommon-u=setenv bootargs $console $bootargs_func $buffalo_ver $uboot_date $mtdparts $bootsystem; ;sf protect off; bootm 0x1200000
bootdelay=3
bootorder=scsi fail usb tftp
buffalo_ver=BOOTVER=0.50
cacheShare=no
console=console=ttyS0,115200
disL2Cache=yes
disaMvPnp=no
eeeEnable=no
enaAutoRecovery=yes
enaClockGating=no
enaFPU=no
enaWrAllo=no
eth1mtu=1500
ethaddr=00:50:43:9c:c0:0c
ethmtu=1500
ethprime=egiga1
failbootcmd=bootfail
image_name=uImage
initrd=initrd.buffalo
initrd_name=uInitrd
ipaddr=192.168.11.150
kernel=uImage.buffalo
loadaddr=0x02000000
loads_echo=0
mtdids=nand0=armada-nand
mtdparts=mtdparts=armada-nand:0x2000000(boot),0x1e000000(rootfs)
mvNetConfig=mv_net_config=1,(00:50:43:11:11:11,0:1:2:3:4),mtu=1500
nandEcc=1bit
nandbootcmd=ubi part boot; ubifsmount boot; ubifsload 0x1200000 /$kernel; ubifsload 0x2600000 /$initrd; setenv bootsystem nandboot=yes; run bootcommon
netbsd_en=no
netmask=255.255.255.0
netretry=no
pexMode=rc
pxe_files_load=:default.arm-armada370-db:default.arm-armadaxp:default.arm
pxefile_addr_r=3100000
rcvrip=169.254.100.100
rootpath=/srv/oneiric
sata_delay_reset=0
sata_dma_mode=yes
scsibootcmd=scsi device 0scsi part 0ext2load scsi 0 0x1200000 /$kernel; ext2load scsi 0 0x2600000 /$initrd; setenv bootsystem hddboot=yes; run bootcommon
serverip=192.168.11.1
standalone=fsload $load_addr $image_name;setenv bootargs $console $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm $load_addr;
stderr=serial
stdin=serial
stdout=serial
tftpbootcmd=tftp 0x1200000 $kernel; tftp 0x2600000 $initrd; setenv bootsystem tftpboot=yes; run bootcommon
uboot_date=UBOOT_DATE="2014/10/06"
usb0Mode=host
usb1Mode=host
usb1bootcmd=setenv usbActive 0;usb start;fatload usb 0 0x1200000 /boot/uImage370;sf protect off;run bootcommon-u
usb2Mode=device
usb2bootcmd=fatload usb 0 0x1200000 /boot/uImage.buffalo;fatload usb 0 0x2600000 /boot/initrd.buffalo;setenv bootsystem usbboot=yes;run bootcommon
usbActive=0
usbbootcmd=setenv usbActive 0;usb start;fatload usb 0 0x1200000 /uImage.buffalo;fatload usb 0 0x2600000 /initrd.buffalo;setenv bootsystem usbboot=yes;run bootcommon
vxworks_en=no
eth1addr=CC:E1:D5:8C:26:AD
DEVICEID=W9GedJhdNCWBzb-xxCriK1pxzK3HioO3
SerialNo=40207371000341
EnableNandBoot=1

Buffalo Resources