User Tools

Site Tools


2big_nas

This is an old revision of the document!


LaCie 2big NAS

Revision

PCB2Big-NAS-V2R
1108 150 Rev B2
PLDCPLD rev7 20120320

Hardware

Func Designator Description Part Notes
CPUIC23Marvell Kirkwood 88F628288F6282A1C200
ROMIC154Gb (512Mx8) NAND FlashHY27UF084G2B-TPCB
RAMIC4,181Gb (128Mx8) DDR3 DRAMK4B1G0846G-BCH9as 128Mx16
RTCIC28?Maxim DS1337DS1337
NICIC3Marvell Alaska 88E1518 GbE transceiver88E1518-NNB2
eSATAIC16JMicron JMB360 PCIe to SATA II Host ControllerJMB360
PLDIC24Altera MAX EPM3064A PLDEPM3064ATC100-7N / EPM3064ATI100-10N
E2IC28Kb (1Kx8) I2C EEPROMHT24LC08
REGIC17,19MPS MP2365 3A Buck Regulator, 1.4MHzMP2365
REGIC22Marvell 88PG847B 4.5A Current-Limited Buck Regulator, 1MHz88PG847B
REGIC34TI TPS51100 3A DDR Termination RegulatorTPS51100

Headers

J2 JTAG & UART
13V3
2GND
3TMSIC24-15
4TCKIC24-62
5TDOIC24-73
6TDIIC24-4
7RXIC23-?
8TXIC23-?

JTAG ↔ EPM3064A PLD
UART ↔ 88F6282 CPU

Stock LaCie U-Boot & Kernel

Serial Console Boot:

          _            ____ _
         | |     __ _ / ___(_) ___
         | |    / _V | |   | |/ _ \
         | |__ | (_| | |___| |  __/
         |____| \__,_|\____|_|\___|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** MARVELL BOARD: L2BIG_DDR3 REV: 1 LE
Hold front button - long :  FAIL


U-Boot 1.1.4 (Mar 21 2012 - 11:02:55) Marvell version: 3.5.9 LaCie 2.0.6

U-Boot code: 06000000 -> 0607FFF0  BSS: -> 060D14C0

Soc: 88F6282 A1CPU running @ 2000Mhz L2 running @ 500Mhz
SysClock = 500Mhz , TClock = 200Mhz

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

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
PEX 1: interface detected no Link.
SCSI:  AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: 64bit ncq pm led clo pmp pio slum part
scanning bus for devices...
Invaild port number 2
Invaild port number 3
Net:   egiga0 [PRIME]
egiga0 no link
Waiting for LUMP (3)
no lump receive; continuing
Hit any key to stop autoboot:  0

Reset IDE:
Marvell Serial ATA Adapter

Marvell Serial ATA Adapter
Integrated Sata device found
PCIe SATA:ffffffff

Booting Nexus layout from disk 0...
** Bad partition 3 **
Booting Nexus layout from disk 1...
** Bad partition 3 **
Booting Nexus rescue from NAND...

Loading from NAND 512MB 3,3V 8-bit, offset 0x100000

Reading data from 0x100000 -- 100% complete.
   Image Name:   Linux-2.6.31.14-svn7170
   Created:      2012-04-06  17:10:52 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    8755908 Bytes =  8.4 MB
   Load Address: 00008000
   Entry Point:  00008000

Reading data from 0x959800 -- 100% complete.
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.31.14-svn7170
   Created:      2012-04-06  17:10:52 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    8755908 Bytes =  8.4 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
bootargs from environment variables : button=0 bootfail=1 console=ttyS0,115200 root=/dev/mtdblock2 cap=gpt,lba64

Starting kernel ...

Uncompressing Linux..............................................................................................
.................................................................................................................
.................................................................................................................
...................................... done, booting the kernel.
[    0.000000] Linux version 2.6.31.14-svn7170 (root@sbs2_node0.lacie.com) (gcc version 4.4.1 (Sourcery G++ Lite 2010q1-202) ) #1 Fri Apr 6 17:10:41 UTC 2012
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: nas2big
[    0.000000] Using UBoot passing parameters structure
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: button=0 bootfail=1 console=ttyS0,115200 root=/dev/mtdblock2 cap=gpt,lba64
[    0.000000] PID hash table entries: 1024 (order: 10, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 256MB = 256MB total
[    0.000000] Memory: 248192KB available (10860K code, 370K data, 140K init, 0K highmem)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:128
[   21.474960] Console: colour dummy device 80x30
[   21.474985] Calibrating delay loop... 1998.84 BogoMIPS (lpj=9994240)
[   21.744937] Mount-cache hash table entries: 512
[   21.745200] CPU: Testing write buffer coherency: ok
[   21.746783] NET: Registered protocol family 16
[   21.748691] Feroceon L2: Enabling L2
[   21.748723] Feroceon L2: Cache support initialised.
[   21.749092]
[   21.749095] CPU Interface
[   21.749098] -------------
[   21.749102] SDRAM_CS0 ....base 00000000, size 256MB
[   21.749110] SDRAM_CS1 ....disable
[   21.749114] SDRAM_CS2 ....disable
[   21.749119] SDRAM_CS3 ....disable
[   21.749123] PEX0_MEM ....base e8000000, size 128MB
[   21.749131] PEX0_IO ....base f2000000, size   1MB
[   21.749139] INTER_REGS ....base f1000000, size   1MB
[   21.749145] NFLASH_CS ....base fa000000, size   2MB
[   21.749153] SPI_CS ....base f4000000, size  16MB
[   21.749163] BOOT_ROM_CS ....no such
[   21.749174] DEV_BOOTCS ....no such
[   21.749187] CRYPT_ENG ....base f0000000, size   2MB
[   21.749200]
[   21.749201]   Marvell Development Board (LSP Version KW_LSP_5.0.3)-- net2big_v2  Soc: MV88F1155 Rev 1 LE
[   21.749212]
[   21.749215]  Detected Tclk 200000000 and SysClk 500000000
[   21.750363] Register Marvell USB EHCI Host controller #0
[   21.751109] Kirkwood PCIe port 0:
[   21.751114] link up
[   21.751117] Kirkwood PCIe port 1:
[   21.751121] link down, ignoring
[   21.751125] PCI: bus0 uses PCIe port 0
[   21.751425] pci 0000:00:01.0: PME# supported from D3hot
[   21.751433] pci 0000:00:01.0: PME# disabled
[   21.751464] PCI: bus0: Fast back to back transfers disabled
[   21.757510] bio: create slab <bio-0> at 0
[   21.757788] SCSI Scattered Spinup: Enabled
[   21.757794]   o Maximum Disk Spinup: 1
[   21.757798]   o Disk Spinup timeout: 10
[   21.758178] SCSI subsystem initialized
[   21.759798] NET: Registered protocol family 2
[   21.759874] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[   21.760042] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[   21.760235] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[   21.760334] TCP: Hash tables configured (established 8192 bind 8192)
[   21.760340] TCP reno registered
[   21.760408] NET: Registered protocol family 1
[   21.764882] Switched to NOHz mode on CPU #0
[   22.012486] cpufreq: Init kirkwood cpufreq driver
[   22.013023] gpio-hd-power gpio-hd-power: GPIO Hard Disk power device initialized
[   22.013133] gpio-usb gpio-usb: USB GPIO's initialized
[   22.014474] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[   22.014492] Registering unionfs 2.5.10 (for 2.6.31.14)
[   22.014688] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   22.015373] JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[   22.015719] SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled
[   22.016042] SGI XFS Quota Management subsystem
[   22.016065] msgmni has been set to 485
[   22.016154] alg: No test for cipher_null (cipher_null-generic)
[   22.016203] alg: No test for ecb(cipher_null) (ecb-cipher_null)
[   22.016245] alg: No test for digest_null (digest_null-generic)
[   22.016287] alg: No test for compress_null (compress_null-generic)
[   22.021424] alg: No test for stdrng (krng)
[   22.082012] alg: No test for hmac(digest_null) (hmac(digest_null-generic))
[   22.110582] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[   22.110593] io scheduler noop registered
[   22.110598] io scheduler anticipatory registered (default)
[   22.110603] io scheduler deadline registered
[   22.110638] io scheduler cfq registered
[   22.121097] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[   22.121840] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[   22.121858] console [ttyS0] enabled
[   22.565637] brd: module loaded
[   22.569142] sata_mv sata_mv.0: version 1.28
[   22.573463] sata_mv sata_mv.0: slots 32 ports 2
[   22.578495] scsi0 : sata_mv
[   22.581605] scsi1 : sata_mv
[   22.584603] ata1: SATA max UDMA/133 irq 21
[   22.588755] ata2: SATA max UDMA/133 irq 21
[   22.593044] PCI: enabling device 0000:00:01.0 (0146 -> 0147)
[   22.598822] ahci 0000:00:01.0: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
[   22.606965] ahci 0000:00:01.0: flags: 64bit ncq pm led clo pmp pio slum part
[   22.614563] scsi2 : ahci
[   22.617352] ata3: SATA max UDMA/133 abar m512@0xe0010000 port 0xe0010100 irq 9
[   22.624760] INIT Marvell Ethernet Driver: mv_netdev
[   22.629841] Loading Marvell Ethernet Driver:
[   22.634131]   o Cached descriptors in DRAM
[   22.638257]   o DRAM SW cache-coherency
[   22.642108]   o 2 Giga ports supported
[   22.645874]   o Single RX Queue support - ETH_DEF_RXQ=0
[   22.651116]   o Single TX Queue support - ETH_DEF_TXQ=0
[   22.656362]   o TCP segmentation offload (TSO) supported
[   22.661694]   o Large Receive offload (LRO) supported
[   22.666764]   o Receive checksum offload supported
[   22.671573]   o Transmit checksum offload supported
[   22.676470]   o Network Fast Processing (Routing) supported - (Disabled)
[   22.683197]   o Proc tool API enabled
[   22.686873]   o SKB Reuse supported - (Disabled)
[   22.691508]   o SKB Recycle supported - (Disabled)
[   22.696316]   o Rx descripors: q0=128
[   22.700009]   o Tx descripors: q0=532
[   22.703699]   o Loading network interface(s):
[   22.709012]     o  register under mv_netdev platform
[   22.714541]     o eth0, ifindex = 2, GbE port = 0
[   22.719295]
[   22.719297] Warning: Giga 1 is Powered Off
[   22.724902]
[   22.726410] mvFpRuleDb (ce58a000): 2048 entries, 8192 bytes
[   22.732148] console [netcon0] enabled
[   22.735837] netconsole: network logging started
[   22.740982] NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit)
[   22.749475] Scanning device for bad blocks
[   23.006107] Creating 4 MTD partitions on "orion_nand":
[   23.011265] 0x000000000000-0x000000100000 : "u-boot"
[   23.016827] 0x000000100000-0x000001100000 : "uImage"
[   23.022222] 0x000001100000-0x000009100000 : "root"
[   23.027512] 0x000009100000-0x000020000000 : "unused"
[   23.033682] mice: PS/2 mouse device common for all mice
[   23.039195] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[   23.046707] at24 0-0050: 512 byte 24c04 EEPROM (writable)
[   23.053887] rtc-ds1307 0-0068: rtc core: registered ds1337 as rtc0
[   23.060420] g762 0-003e: device successfully initialized
[   23.065980] gpio-fan gpio-fan: GPIO fan initialized
[   23.071618] cpuidle: using governor ladder
[   23.076018] cpuidle: using governor menu
[   23.080227] Registered led device: net2big-v2:blue:power
[   23.085675] Registered led device: net2big-v2:red:power
[   23.091007] Registered led device: net2big-v2:blue:sata0
[   23.096470] Registered led device: net2big-v2:red:sata0
[   23.101811] Registered led device: net2big-v2:blue:sata1
[   23.107257] Registered led device: net2big-v2:red:sata1
[   23.112599] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[   23.119033] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[   23.125501] ata1: SATA link down (SStatus 0 SControl F300)
[   23.131121] ata3: SATA link down (SStatus 0 SControl 300)
[   23.174887] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[   23.214881] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[   23.254881] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
[   23.294881] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
[   23.300744] TCP cubic registered
[   23.303985] NET: Registered protocol family 17
[   23.308524] Bridge firewalling registered
[   23.312550] NET: Registered protocol family 5
[   23.317083] RPC: Registered udp transport module.
[   23.321807] RPC: Registered tcp transport module.
[   23.328128] rtc-ds1307 0-0068: setting system clock to 2013-06-06 00:40:24 UTC (1370479224)
[   23.474877] ata2: SATA link down (SStatus 0 SControl F300)
[   23.480420] Freeing init memory: 140K
[   23.484474] Freeing initramfs memory: 5872K
init started: BusyBox v1.19.2 (2012-04-06 16:52:36 UTC)
==== Initializing system base

______ _____ _____ _____ _   _ _____
| ___ \  ___/  ___/  __ \ | | |  ___|
| |_/ / |__ \ `--.| /  \/ | | | |__
|    /|  __| `--. \ |   | | | |  __|
| |\ \| |___/\__/ / \__/\ |_| | |___
\_| \_\____/\____/ \____/\___/\____/

/sbin/gen-api-xml: line 28: can't create /www/api/external/system_info: nonexistent directory
Starting 'S00modules'... [   23.777385] md: linear personality registered for level -1
[   23.794715] md: raid0 personality registered for level 0
[   23.814959] md: raid1 personality registered for level 1
[   23.835014] md: raid10 personality registered for level 10
[   24.015039] raid6: int32x1    123 MB/s
[   24.185042] raid6: int32x2    170 MB/s
[   24.354915] raid6: int32x4    192 MB/s
[   24.525079] raid6: int32x8    224 MB/s
[   24.528839] raid6: using algorithm int32x8 (224 MB/s)
[   24.537092] xor: measuring software checksum speed
[   24.584865]    arm4regs  :  1819.200 MB/sec
[   24.634864]    8regs     :  1091.600 MB/sec
[   24.684862]    32regs    :  1408.800 MB/sec
[   24.689060] xor: using function: arm4regs (1819.200 MB/sec)
[   24.698780] async_tx: api initialized (async)
[   24.721205] md: raid6 personality registered for level 6
[   24.726594] md: raid5 personality registered for level 5
[   24.731928] md: raid4 personality registered for level 4
OK
Starting 'S20buttons-manager'... OK
Starting 'S30klaxon'... OK
Starting 'S70klaxon_env'... OK
Starting 'S80driveplug'... OK

Please press Enter to activate this console.


BusyBox v1.19.2 (2012-04-06 16:52:36 UTC) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Hi there,

You are now in the Rescue.

If you want to :
1/ Reset your counter, invoke "reset_boot_count"
sh: rescue.jeeves.bootfrom: unknown operand
2/ Repair your product (will erase both rootfs bank), invoke "update "
3/ Wipe your drive (will totally wipe the drive), invoke "wipe "
4/ Mount the user data, invoke "mount_user_data mount"

Then reboot your product.
NASRescue / #

Mainline U-Boot (WIP)

U-Boot 2013.04 (Jun 12 2013 - 22:55:24) 2Big NAS

SoC:   Kirkwood 88F6282_??
DRAM:  256 MiB
WARNING: Caches not enabled
NAND:  512 MiB
SF: Unsupported manufacturer 00
*** Warning - spi_flash_probe() failed, using default environment

In:    serial
Out:   serial
Err:   serial
Error: unknown version 4 for EEPROM data
Net:   egiga0
Warning: failed to set MAC address

PHY reset timed out
Hit any key to stop autoboot:  0 
2bigNAS> 

Notes

Toolchain

  • The Ubuntu 12.04.2 LTS version of the arm-linux-gnueabi toolchain is broken for this target. A U-Boot image will successfully compile but will not boot. The LaCie GPL U-Boot source will not compile at all (processor Thumb support error).
  • The Ubuntu 13.04 version of the same toolchain works.

Discoveries

I2C devices

2bigNAS> i2c probe
Valid chip addresses: 3E 50 51 52 53 64 68
Addr Part Desc
0x3E?
0x50 - 0x53HT24LC08EEPROM
0x64?
0x68DS1337RTC
2big_nas.1371046680.txt.gz · Last modified: 2013/06/12 16:18 by hanno