So I followed all guides here and even clunc was not working, he didn't detect the Uboot loading, I had to use a serial USB-TTL device connected to the board and when Uboot started issue various CTRL-C with the keyboard so I can stay on "Marvell>>" prompt and them manually put the tftp commands and so on...
to install the firmware, but that went ok until the end.
Now the problem is the disk has everything ok installed but Uboot loads and goes always to his internal rescue mode and I can't manage to make it boot the firmware on /dev/sda7 as suppose to be.
This is what I got on starting the NAS trough the serial console using PuTTY on the connected COM port:
- Code: Select all
_ ____ _
| | __ _ / ___(_) ___
| | / _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:256 MB
*** Warning - bad CRC or NAND, using default environment
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]
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
[0 0 0]: Enable DMA mode (5)
Device 0 @ 0 0:
Model: WDC WD10PURX-78E5EY0 Firm: 01.01A01 Ser#: WD-WCC4J4TKTSUJ
Type: Hard Disk
Supports 48-bit addressing
Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512)
PCIe SATA:ffffffff
Booting Nexus layout from disk 0...
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - ide 0:3 **
Booting Nexus layout from disk 1...
** Bad partition 3 **
Booting Nexus rescue from NAND...
Loading from NAND 256MB 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
[ 0.000123] Console: colour dummy device 80x30
[ 0.000149] Calibrating delay loop... 1998.84 BogoMIPS (lpj=9994240)
[ 0.270101] Mount-cache hash table entries: 512
[ 0.270363] CPU: Testing write buffer coherency: ok
[ 0.271960] NET: Registered protocol family 16
[ 0.273859] Feroceon L2: Enabling L2
[ 0.273891] Feroceon L2: Cache support initialised.
[ 0.274260]
[ 0.274263] CPU Interface
[ 0.274266] -------------
[ 0.274270] SDRAM_CS0 ....base 00000000, size 256MB
[ 0.274278] SDRAM_CS1 ....disable
[ 0.274282] SDRAM_CS2 ....disable
[ 0.274286] SDRAM_CS3 ....disable
[ 0.274291] PEX0_MEM ....base e8000000, size 128MB
[ 0.274299] PEX0_IO ....base f2000000, size 1MB
[ 0.274306] INTER_REGS ....base f1000000, size 1MB
[ 0.274313] NFLASH_CS ....base fa000000, size 2MB
[ 0.274320] SPI_CS ....base f4000000, size 16MB
[ 0.274330] BOOT_ROM_CS ....no such
[ 0.274342] DEV_BOOTCS ....no such
[ 0.274354] CRYPT_ENG ....base f0000000, size 2MB
[ 0.274366]
[ 0.274368] Marvell Development Board (LSP Version KW_LSP_5.0.3)-- net2big_v2 Soc: MV88F1155 Rev 1 LE
[ 0.274378]
[ 0.274382] Detected Tclk 200000000 and SysClk 500000000
[ 0.275528] Register Marvell USB EHCI Host controller #0
[ 0.276275] Kirkwood PCIe port 0:
[ 0.276280] link up
[ 0.276283] Kirkwood PCIe port 1:
[ 0.276287] link down, ignoring
[ 0.276291] PCI: bus0 uses PCIe port 0
[ 0.276593] pci 0000:00:01.0: PME# supported from D3hot
[ 0.276600] pci 0000:00:01.0: PME# disabled
[ 0.276631] PCI: bus0: Fast back to back transfers disabled
[ 0.282677] bio: create slab <bio-0> at 0
[ 0.282952] SCSI Scattered Spinup: Enabled
[ 0.282958] o Maximum Disk Spinup: 1
[ 0.282962] o Disk Spinup timeout: 10
[ 0.283344] SCSI subsystem initialized
[ 0.284969] NET: Registered protocol family 2
[ 0.285045] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.285212] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.285406] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.285505] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.285511] TCP reno registered
[ 0.285578] NET: Registered protocol family 1
[ 0.290045] Switched to NOHz mode on CPU #0
[ 0.537803] cpufreq: Init kirkwood cpufreq driver
[ 0.538338] gpio-hd-power gpio-hd-power: GPIO Hard Disk power device initialized
[ 0.538450] gpio-usb gpio-usb: USB GPIO's initialized
[ 0.539798] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.539816] Registering unionfs 2.5.10 (for 2.6.31.14)
[ 0.540010] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 0.540695] JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 0.541043] SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled
[ 0.541365] SGI XFS Quota Management subsystem
[ 0.541387] msgmni has been set to 485
[ 0.541476] alg: No test for cipher_null (cipher_null-generic)
[ 0.541523] alg: No test for ecb(cipher_null) (ecb-cipher_null)
[ 0.541566] alg: No test for digest_null (digest_null-generic)
[ 0.541608] alg: No test for compress_null (compress_null-generic)
[ 0.546746] alg: No test for stdrng (krng)
[ 0.607152] alg: No test for hmac(digest_null) (hmac(digest_null-generic))
[ 0.635676] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 0.635687] io scheduler noop registered
[ 0.635692] io scheduler anticipatory registered (default)
[ 0.635697] io scheduler deadline registered
[ 0.635733] io scheduler cfq registered
[ 0.646198] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 0.646937] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[ 0.646957] console [ttyS0] enabled
[ 1.090745] brd: module loaded
[ 1.094255] sata_mv sata_mv.0: version 1.28
[ 1.098573] sata_mv sata_mv.0: slots 32 ports 2
[ 1.103601] scsi0 : sata_mv
[ 1.106720] scsi1 : sata_mv
[ 1.109726] ata1: SATA max UDMA/133 irq 21
[ 1.113868] ata2: SATA max UDMA/133 irq 21
[ 1.118158] PCI: enabling device 0000:00:01.0 (0146 -> 0147)
[ 1.123934] ahci 0000:00:01.0: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
[ 1.132073] ahci 0000:00:01.0: flags: 64bit ncq pm led clo pmp pio slum part
[ 1.139678] scsi2 : ahci
[ 1.142464] ata3: SATA max UDMA/133 abar m512@0xe0010000 port 0xe0010100 irq 9
[ 1.149870] INIT Marvell Ethernet Driver: mv_netdev
[ 1.154954] Loading Marvell Ethernet Driver:
[ 1.159241] o Cached descriptors in DRAM
[ 1.163364] o DRAM SW cache-coherency
[ 1.167210] o 2 Giga ports supported
[ 1.170974] o Single RX Queue support - ETH_DEF_RXQ=0
[ 1.176217] o Single TX Queue support - ETH_DEF_TXQ=0
[ 1.181462] o TCP segmentation offload (TSO) supported
[ 1.186793] o Large Receive offload (LRO) supported
[ 1.191865] o Receive checksum offload supported
[ 1.196673] o Transmit checksum offload supported
[ 1.201570] o Network Fast Processing (Routing) supported - (Disabled)
[ 1.208297] o Proc tool API enabled
[ 1.211973] o SKB Reuse supported - (Disabled)
[ 1.216607] o SKB Recycle supported - (Disabled)
[ 1.221416] o Rx descripors: q0=128
[ 1.225109] o Tx descripors: q0=532
[ 1.228799] o Loading network interface(s):
[ 1.234110] o register under mv_netdev platform
[ 1.239670] o eth0, ifindex = 2, GbE port = 0
[ 1.244421]
[ 1.244423] Warning: Giga 1 is Powered Off
[ 1.250027]
[ 1.251538] mvFpRuleDb (ce55c000): 2048 entries, 8192 bytes
[ 1.257272] console [netcon0] enabled
[ 1.260963] netconsole: network logging started
[ 1.266107] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron NAND 256MiB 3,3V 8-bit)
[ 1.274690] Scanning device for bad blocks
[ 1.405063] Creating 4 MTD partitions on "orion_nand":
[ 1.410227] 0x000000000000-0x000000100000 : "u-boot"
[ 1.415776] 0x000000100000-0x000001100000 : "uImage"
[ 1.421198] 0x000001100000-0x000009100000 : "root"
[ 1.426468] 0x000009100000-0x000010000000 : "unused"
[ 1.432511] mice: PS/2 mouse device common for all mice
[ 1.437977] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 1.445504] at24 0-0050: 512 byte 24c04 EEPROM (writable)
[ 1.452740] rtc-ds1307 0-0068: rtc core: registered ds1337 as rtc0
[ 1.459237] g762 0-003e: device successfully initialized
[ 1.464809] gpio-fan gpio-fan: GPIO fan initialized
[ 1.470454] cpuidle: using governor ladder
[ 1.474825] cpuidle: using governor menu
[ 1.479037] Registered led device: net2big-v2:blue:power
[ 1.484499] Registered led device: net2big-v2:red:power
[ 1.489833] Registered led device: net2big-v2:blue:sata0
[ 1.495298] Registered led device: net2big-v2:red:sata0
[ 1.500662] Registered led device: net2big-v2:blue:sata1
[ 1.506086] Registered led device: net2big-v2:red:sata1
[ 1.511455] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[ 1.517866] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[ 1.560053] ata3: SATA link down (SStatus 0 SControl 300)
[ 1.565505] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[ 1.610045] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[ 1.650044] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
[ 1.690044] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[ 1.696477] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
[ 1.702355] TCP cubic registered
[ 1.705593] NET: Registered protocol family 17
[ 1.710135] Bridge firewalling registered
[ 1.714167] NET: Registered protocol family 5
[ 1.718891] RPC: Registered udp transport module.
[ 1.723640] RPC: Registered tcp transport module.
[ 1.729943] rtc-ds1307 0-0068: setting system clock to 2015-06-18 01:31:01 UTC (1434591061)
[ 1.738416] ata1.00: ATA-9: WDC WD10PURX-78E5EY0, 01.01A01, max UDMA/133
[ 1.745166] ata1.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[ 1.790099] ata1.00: configured for UDMA/133
[ 1.794584] scsi 0:0:0:0: Direct-Access ATA WDC WD10PURX-78E 01.0 PQ: 0 ANSI: 5
[ 1.803268] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[ 1.810969] sd 0:0:0:0: [sda] 4096-byte physical blocks
[ 1.816422] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 1.822080] sd 0:0:0:0: [sda] Write Protect is off
[ 1.826949] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 1.836365] sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 >
[ 1.879596] sd 0:0:0:0: [sda] Attached SCSI disk
[ 2.170041] ata2: SATA link down (SStatus 0 SControl F300)
[ 2.175587] Freeing init memory: 140K
[ 2.179640] 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'... [ 2.477303] md: linear personality registered for level -1
[ 2.494565] md: raid0 personality registered for level 0
[ 2.514743] md: raid1 personality registered for level 1
[ 2.534737] md: raid10 personality registered for level 10
[ 2.720234] raid6: int32x1 123 MB/s
[ 2.890208] raid6: int32x2 170 MB/s
[ 3.060080] raid6: int32x4 192 MB/s
[ 3.230227] raid6: int32x8 224 MB/s
[ 3.233989] raid6: using algorithm int32x8 (224 MB/s)
[ 3.242255] xor: measuring software checksum speed
[ 3.290029] arm4regs : 1819.200 MB/sec
[ 3.340029] 8regs : 1091.600 MB/sec
[ 3.390027] 32regs : 1409.200 MB/sec
[ 3.394228] xor: using function: arm4regs (1819.200 MB/sec)
[ 3.403956] async_tx: api initialized (async)
[ 3.426431] md: raid6 personality registered for level 6
[ 3.431825] md: raid5 personality registered for level 5
[ 3.437157] 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.
Anyone can help or had/have this problem? Is there a solution?
Thanks.