====== LaCie 2big NAS ======
===== Revision =====
^PCB|2Big-NAS-V2R|
^:::|1108 150 Rev B2|
^PLD|CPLD rev7 20120320|
===== Hardware =====
^Func ^Designator ^Description ^Part ^Notes ^
|CPU|IC23|Marvell Kirkwood 88F6282|[[http://www.marvell.com/embedded-processors/kirkwood/|88F6282]]A1C200||
|ROM|IC15|4Gb (512Mx8) NAND Flash|[[http://www.hynix.co.kr/inc/pdfDownload.jsp?path=/datasheet/pdf/flash/HY27UF(08_16)4G2B%20(Rev0.4).pdf|HY27UF084G2B]]-TPCB||
|RAM|IC4,18|1Gb (128Mx8) DDR3 DRAM|[[http://www.samsung.com/global/business/semiconductor/file/2011/product/2011/8/29/520209ds_k4b1gxx46g_rev11.pdf|K4B1G0846G]]-BCH9|as 128Mx16|
|||||
|RTC|IC28?|Maxim DS1337|[[http://datasheets.maximintegrated.com/en/ds/DS1337-DS1337C.pdf|DS1337]]||
|NIC|IC3|Marvell Alaska 88E1518 GbE transceiver|[[http://www.marvell.com/transceivers/alaska-gbe/|88E1518]]-NNB2||
|eSATA|IC16|JMicron JMB360 PCIe to SATA II Host Controller|[[http://www.jmicron.com/PDF/JMB360/JMB360.pdf|JMB360]]||
|||||
|PLD|IC24|Altera MAX EPM3064A PLD|[[http://www.altera.com/literature/ds/m3000a.pdf|EPM3064ATC100-7N / EPM3064ATI100-10N]]||
|E2|IC2|8Kb (1Kx8) I2C EEPROM|[[http://www.holtek.com/pdf/memory/24lc08v170.pdf|HT24LC08]]||
|||||
|REG|IC17,19|MPS MP2365 3A Buck Regulator, 1.4MHz|[[http://www.monolithicpower.com/Page/DownLoad.aspx?ListID=149b7d2b-0bb2-4ba6-a219-a0495acb8b0b&&ItemID=36|MP2365]]||
|REG|IC22|Marvell 88PG847B 4.5A Current-Limited Buck Regulator, 1MHz|[[http://www.datasheetarchive.com/indexer.php?file=DSA007266.pdf&dir=Datasheet-0103&keywords=88PG847B&database=user-highscore#|88PG847B]]||
|REG|IC34|TI TPS51100 3A DDR Termination Regulator|[[http://www.ti.com/lit/ds/symlink/tps51100.pdf|TPS51100]]||
===== Headers =====
^J2 ^JTAG & UART ^^
|1|3V3||
|2|GND||
|3|TMS|IC24-15|
|4|TCK|IC24-62|
|5|TDO|IC24-73|
|6|TDI|IC24-4|
|7|RX|IC23-?|
|8|TX|IC23-?|
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 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
^Address ^Part ^Description ^
|0x3E|G762|Fan controller|
|0x50 - 0x53|HT24LC08|1KB EEPROM|
|0x64|Debug Port/Serial ROM ?||
|0x68|DS1337|RTC|
=== EEPROM Data ===
^Offset ^Size ^Value ^Description ^
|0x000|1|0x00| |
|0x001|1|0x04|EEPROM version|
|0x002|6|unique|MAC address; big endian|
|0x008|6 ?|0xFF| |
|0x00E|1 ?|0x01| |
|0x00F|74 ?|ASCII|Text|
|0x0C5|1 ?|0x01|hmmm...|
|Remainder||0xFF| |
2bigNAS> i2c read 0x50 0x0 0x100 0x800000
2bigNAS> i2c read 0x51 0x0 0x100 0x800100
2bigNAS> i2c read 0x52 0x0 0x100 0x800200
2bigNAS> i2c read 0x53 0x0 0x100 0x800300
2bigNAS> md.b 0x800000 0x400
00800000: 00 04 My MA CA dd re ss ff ff ff ff ff ff 01 53 ...............S
00800010: 6c 65 65 70 20 6d 6f 64 65 20 64 69 73 61 62 6c leep mode disabl
00800020: 65 64 0a 53 65 74 20 6c 65 64 20 6d 6f 64 65 3a ed.Set led mode:
00800030: 20 73 79 73 74 65 6d 5f 6f 66 66 0a 53 65 74 20 system_off.Set
00800040: 6c 65 64 20 6d 6f 64 65 3a 20 73 79 73 74 65 6d led mode: system
00800050: 5f 73 74 61 72 74 75 70 0a ff ff ff ff ff ff ff _startup........
00800060: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
00800070: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
00800080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
00800090: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
008000a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
008000b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
008000c0: ff ff ff ff ff 01 ff ff ff ff ff ff ff ff ff ff ................
008000d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
008000e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
008000f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
: : :
: : :
: : :
008003c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
008003d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
008003e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
008003f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
==== Functional Specs ====
=== CPU Address Decoding ===
Sheeva CPU core has 13 address windows:
* 4x for CPU access to DRAM CS
* 1x for CPU access to internal registers
* 8x configurable for CPU access to remaining chip resources
== DRAM Windows ==
* 8-bit BASE & SIZE registers
* BASE corresponds to address bits [31:24]
* Min. SIZE (0x01) = 16MB; max. SIZE (0xFF) = 4GB
* SIZE is a mask; only 8 legal values (0x01, 0x03, 0x07, 0x0F, etc.)
== Register Window ==
* Fixed SIZE of 1MB
* BASE register
== Configurable Windows ==
* 16-bit BASE & SIZE registers
* BASE corresponds to address bits [31:16]
* Min. SIZE (0x0001) = 64KB; max. SIZE (0xFFFF) = 4GB
* SIZE is a mask; 16 legal values
=== SATA Address Decoding ===
* 4x address windows
* SDRAM and PCIe interface access
=== GbE Address Decoding ===
* 6x address windows
* SDRAM interface access only
=== USB Address Decoding ===
* 4x address windows per USB port
* SDRAM interface access only
=== SDIO Address Decoding ===
* 4x programmable address windows
* SDRAM and PCIe interface access
=== Default Address Map (p.41) ===
^Desc ^Size ^Base ^End ^Num ^State ^
|SDRAM CS0|256MB|0x0000 0000|0x0FFF FFFF| | |
|SDRAM CS1|256MB|0x1000 0000|0x1FFF FFFF| | |
|SDRAM CS2|256MB|0x2000 0000|0x2FFF FFFF| | |
|SDRAM CS3|256MB|0x3000 0000|0x3FFF FFFF| | |
|reserved| |0x4000 0000|0x7FFF FFFF| | |
|PCIe Memory|512MB|0x8000 0000|0x9FFF FFFF| | |
|PCIe-1 Memory|512MB|0xA000 0000|0xBFFF FFFF|(reserved)|6282 guess|
|PCIe I/O|64KB|0xC000 0000|0xC000 FFFF| | |
|PCIe-1 I/O|64KB|0xC001 0000|0xC001 FFFF|(reserved)|6282 guess|
|reserved| |0xC002 0000|0xC800 FFFF| | |
|Security SRAM|64KB (2KB)|0xC801 0000|0xC801 FFFF| | |
|reserved| |0xC802 0000|0xCFFF FFFF| | |
|Internal Registers|1MB|0xD000 0000|0xD00F FFFF| | |
|reserved| |0xD010 0000|0xD7FF FFFF| | |
|NAND Flash|128MB|0xD800 0000|0xDFFF FFFF| | |
|reserved| |0xE000 0000|0xE7FF FFFF| | |
|SPI Flash|128MB|0xE800 0000|0xEFFF FFFF| | |
|BootROM|128MB|0xF000 0000|0xF7FF FFFF| | |
|Boot device|128MB|0xF800 0000|0xFFFF FFFF| | |
=== LaCie Configured Address Map (mvSysHwConfig.h) ===
^Desc ^Size ^Base ^Notes ^Num ^State ^
|SDRAM CS0|256MB|0x00000000| | |dis|
|SDRAM CS1|256MB|0x10000000| | |dis|
|SDRAM CS2|256MB|0x20000000| | |dis|
|SDRAM CS3|256MB|0x30000000| | |dis|
|PEX0 MEM|128M|0x90000000| |0|en|
|PEX1 MEM|128M|0x98000000|6282 only|1|en|
|PEX0 I/O|16M|0xF0000000| |2|en|
|INTER REGS|1M?|0xF1000000| |8|en|
|PEX1 I/O|16M|0xF2000000|6282 only|3|en|
|DEVICE CS2|1M|0xF4000000|Boot ROM|9|dis|
|DEVICE CS1|16M|0xF8000000|SPI|5|en|
|DEVICE CS0|8M|0xF9000000|NAND|4|en|
|CRYPT ENG|64K|0xFB000000| |7|en|
|DEVICE CS3|16M|0xFF000000|Boot device|0xA|dis|
Wish I found this earlier (kirkwood/cpu.c): Linux expects the internal registers to be at 0xF1000000
Internal registers base address is set in register offset 0x20080 (arch-kirkwood/kirkwood.h): i.e. 0xF1020080 = 0xF1000000