Terastation TS1400R

From Buffalo NAS Wiki

Specs

Terastation TS1400R

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 120V 60 hz (US)

Stock Firmware Installation

Custom Firmware/Operating System installation

Installing Debian on Armada-370 Devices

Device Notes

On the front, behind the sticker next to the USB port is a header with a serial console:

Caption text
Ground <disabled> Rx Tx
Caption text
Setting Value
Speed 115200
Bits 8
Parity N
Stop Bits 1
Flow Control off

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

Serial Console

The TS1400R had a ribbon cable which connects the serial header on the front to the mainboard. On the TS1400D and LS441DE don't have the header for the ribbon cable but the associated pads are connected and can be used to connect to a serial header.

Pictures

DMESG output


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: 2, Delay: 02
DDR3 - Write Leveling - PUP: 1, Phase: 0, Delay: 06
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: 2, Delay: 02
DDR3 - Read Leveling - PUP: 1, Phase: 2, Delay: 08
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:
042102A3 08030601 0C070A05 100B0E09 
140F120D 18131611 1C171A15 201B1E19 
241F221D 28232621 2C272A25 302B2E29 
342F322D 38333631 3C373A35 403B3E39 
443F423D 48434641 4C474A45 504B4E49 
544F524D 58535651 5C575A55 605B5E59 
645F625D 68636661 6C676A65 706B6E69 
746F726D 78737671 7C777A75 807B7E79 
CS: 0 PUP: 0
Actual Data = 1D
Expected Data = 21
uiError = 04
uiErrorN = FC
#### Alignment PUPS problem ####

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]     0x4D       0x49       0xFD
DQ[ 1]     0x20       0x83       0x64
DQ[ 2]     0xE6       0xFC       0x17
DQ[ 3]     0x2E       0xD6       0xA9
DQ[ 4]     0x8D       0x2F       0xA3
DQ[ 5]     0xDD       0x37       0x5B
DQ[ 6]     0x12       0xAB       0x9A
DQ[ 7]     0x3B       0xAD       0x73

BYTE:1
  DQ's        LOW       HIGH       WIN-SIZE
============================================
DQ[ 8]     0x22       0x8C       0x6B
DQ[ 9]     0xD3       0x97       0xC5
DQ[10]     0xFE       0xAE       0xB1
DQ[11]     0xD7       0x33       0x5D
DQ[12]     0x8B       0xEB       0x61
DQ[13]     0x1C       0x56       0x3B
DQ[14]     0xF5       0x51       0x5D
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      0x1A      0x1A       0x0D
1     0x00      0x1A      0x1A       0x0D

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

 DATA RESULTS:

BYTE:0
  DQ's        LOW       HIGH       WIN-SIZE
============================================
DQ[ 0]      0x4A        0x4D        0x03
DQ[ 1]      0x84        0x20        0x9C
DQ[ 2]      0xFD        0xE6        0xE9
DQ[ 3]      0xD7        0x2E        0x57
DQ[ 4]      0x30        0x8D        0x5D
DQ[ 5]      0x38        0xDD        0xA5
DQ[ 6]      0xAC        0x12        0x66
DQ[ 7]      0xAE        0x3B        0x8D

BYTE:1
  DQ's        LOW       HIGH       WIN-SIZE
============================================
DQ[ 8]      0x8D        0x22        0x95
DQ[ 9]      0x98        0xD3        0x3B
DQ[10]      0xAF        0xFE        0x4F
DQ[11]      0x34        0xD7        0xA3
DQ[12]      0xEC        0x8B        0x9F
DQ[13]      0x57        0x1C        0xC5
DQ[14]      0x52        0xF5        0xA3
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 (Mar 04 2015 - 19:56:30) 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:0x1ffa58c0
       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=f20751d9
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= 1
boot trigger=normal
USB Power ON
SATA link 0 timeout.
SATA link 1 timeout.
SATA link 2 timeout.
SATA link 3 timeout.
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...
Found 0 device(s).
scanning bus for devices...
Found 0 device(s).
MAC Address : 88:57:EE:7A:05:BB
Net:   egiga0, egiga1 [PRIME]
hit any key to switch tftp boot.
Hit any key to stop autoboot:  2 \x08\x08\x08 1 \x08\x08\x08 0 
Hit any key to stop autoboot:  3 

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.51
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:94:10:73
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/11/29"
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;if fatIsSettingRecoveryDisk usb 0;then setenv bootsystem usbboot=yes mode=rescue; elif fatIsSettingInitializeDisk usb 0;then setenv bootsystem usbboot=yes mode=initialize; else setenv bootsystem usbboot=yes;fi;run bootcommon
vxworks_en=no
eth1addr=88:57:EE:XX:XX:XX
DEVICEID=OZ7oXXXXXXXXXXXXXXXXXXX
SerialNo=40213XXXXXXXXX
EnableNandBoot=1

Buffalo Resources