Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

Debian on LaCie Wireless Space (3 replies)

$
0
0
Hi,
After Bodhi suggested, I create here a topic having as purpose adding support for Lacie wireless space in openwrt.

So here are the basic informations of the device:

from https://wikidevi.wi-cat.ru/LaCie
LaCie Wireless Space Marvell 88F6281 (Kirkwood) 1x @800MHz 256 128 1 1x Eth. 10/100, 3x Eth. 10/100/1000 switch, 3x USB 2.0 host, 1x Wi-Fi b/g/n

from http://lacie-nas.org/doku.php?id=start
Wireless Space Kirkwood 6281 1@800Mhz 256 128 1 1x 10/100 3x ethernet 10/100/1000 switch 3x usb 2.0 host 1x WiFi b/g/n mainline in progress none

Board name reads:
LaCie WS GE ASTON GN3 Rev C
0901 140

CPU is ARM926EJ-S rev 1 (v5l)

Main chip reads:
M (marwell logo)
88E6161-LG02
N2C2360 .1
1020 A.1P
TW

Second chip (round metallic inscription)
M (marwell logo)
88F6-BIA2
N1P1060.1
1005 A1E
TW
88F6281 - A1
C080

Flash is
NAND FLASH SAMSUNG K9F1G08U0B-PCB0 and it seems to have 128 Mb
I found it on http://www.linux-mtd.infradead.org/nand-data/nanddata.html. (the last one listed)
Vendor 0xec, chip id 0xf1

Ram is
hynix h5ps1g83efr s6c 031ak and there are 2 chips of 128 Mb it seems.



Wifi is
It has a mini pci-e port with a wifi card with the followind info:
23k-400-0183R V00 (on the metallic part)
0380 : -084 |19k-A06-3203R HF |CK77-1 3
|WPER-120GN_V03 |E85792 94V-0
there is also a qR code on the wifi card:
GSM10090237
3000214R
00301733
It seems to be Ralink RT3092 and it looks exactly like this:
https://www.everythingrf.com/products/rf-modules/sparklan/528-872-wper-120gn
I guess if it's on mini pci-e it doesn't need to read any flash nvram.

Stock boot log (as it were without sata or usb hdd)
  
           _           ____ _ 
          | |    __ _ / ___(_) ___
          | |   / _` | |   | |/ _ \
          | |___ (_| | |___| |  __/
          |_____\__,_|\____|_|\___|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_ 
| | | |___|  _ \ / _ \ / _ \| __| 
| |_| |___| |_) | (_) | (_) | |_ 
 \___/    |____/ \___/ \___/ \__| 
 ** MARVELL BOARD: ASTON_WS_GN3 REV: 2 LE
Hold rear button - short :
Hold rear button - long :  FAIL


U-Boot 1.1.4 (Jul 27 2011 - 17:43:51) Marvell version: 3.4.16  LaCie 1.5.22 256MB

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

Soc: MV88F6281 Rev 3 (DDR2)
CPU running @ 800Mhz L2 running @ 400Mhz
SysClock = 200Mhz , TClock = 166Mhz 

DRAM CAS Latency = 3 tRP = 3 tRAS = 9 tRCD=3
DRAM CS[0] base 0x00000000   size 256MB 
DRAM Total size 256MB  16bit width
Flash:  0 kB
Addresses 98M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (98M - 97M): Done
NAND:128 MB
*** Warning - bad CRC or NAND, using default environment


CPU : Marvell Feroceon (Rev 1)

Streaming disabled 
Write allocate disabled

Module 0 is MII

USB 0: host mode
PCI 0: PCI Express Root Complex Interface
PEX interface detected Link X1
Net:   egiga0 [PRIME], egiga1
Waiting for LUMP (3)
no lump receive; continuing
Hit any key to stop autoboot:  0 

Reset IDE: 
Marvell Serial ATA Adapter
Integrated Sata device found

** Bad partition 1 **

## Checking Image at 00800000 ...
   Bad Magic Number

NAND read: device 0 offset 0x100000, size 0x300000


Reading data from 0x100000 --   0% complete.
Reading data from 0x107800 --   1% complete.
Reading data from 0x10f000 --   2% complete.
Reading data from 0x117000 --   3% complete.
Reading data from 0x11e800 --   4% complete.
Reading data from 0x126000 --   5% complete.
Reading data from 0x12e000 --   6% complete.
Reading data from 0x135800 --   7% complete.
Reading data from 0x13d000 --   8% complete.
Reading data from 0x145000 --   9% complete.
Reading data from 0x14c800 --  10% complete.
Reading data from 0x154000 --  11% complete.
Reading data from 0x15c000 --  12% complete.
Reading data from 0x163800 --  13% complete.
Reading data from 0x16b800 --  14% complete.
Reading data from 0x173000 --  15% complete.
Reading data from 0x17a800 --  16% complete.
Reading data from 0x182800 --  17% complete.
Reading data from 0x18a000 --  18% complete.
Reading data from 0x191800 --  19% complete.
Reading data from 0x199800 --  20% complete.
Reading data from 0x1a1000 --  21% complete.
Reading data from 0x1a8800 --  22% complete.
Reading data from 0x1b0800 --  23% complete.
Reading data from 0x1b8000 --  24% complete.
Reading data from 0x1bf800 --  25% complete.
Reading data from 0x1c7800 --  26% complete.
Reading data from 0x1cf000 --  27% complete.
Reading data from 0x1d7000 --  28% complete.
Reading data from 0x1de800 --  29% complete.
Reading data from 0x1e6000 --  30% complete.
Reading data from 0x1ee000 --  31% complete.
Reading data from 0x1f5800 --  32% complete.
Reading data from 0x1fd000 --  33% complete.
Reading data from 0x205000 --  34% complete.
Reading data from 0x20c800 --  35% complete.
Reading data from 0x214000 --  36% complete.
Reading data from 0x21c000 --  37% complete.
Reading data from 0x223800 --  38% complete.
Reading data from 0x22b800 --  39% complete.
Reading data from 0x233000 --  40% complete.
Reading data from 0x23a800 --  41% complete.
Reading data from 0x242800 --  42% complete.
Reading data from 0x24a000 --  43% complete.
Reading data from 0x251800 --  44% complete.
Reading data from 0x259800 --  45% complete.
Reading data from 0x261000 --  46% complete.
Reading data from 0x268800 --  47% complete.
Reading data from 0x270800 --  48% complete.
Reading data from 0x278000 --  49% complete.
Reading data from 0x27f800 --  50% complete.
Reading data from 0x287800 --  51% complete.
Reading data from 0x28f000 --  52% complete.
Reading data from 0x297000 --  53% complete.
Reading data from 0x29e800 --  54% complete.
Reading data from 0x2a6000 --  55% complete.
Reading data from 0x2ae000 --  56% complete.
Reading data from 0x2b5800 --  57% complete.
Reading data from 0x2bd000 --  58% complete.
Reading data from 0x2c5000 --  59% complete.
Reading data from 0x2cc800 --  60% complete.
Reading data from 0x2d4000 --  61% complete.
Reading data from 0x2dc000 --  62% complete.
Reading data from 0x2e3800 --  63% complete.
Reading data from 0x2eb800 --  64% complete.
Reading data from 0x2f3000 --  65% complete.
Reading data from 0x2fa800 --  66% complete.
Reading data from 0x302800 --  67% complete.
Reading data from 0x30a000 --  68% complete.
Reading data from 0x311800 --  69% complete.
Reading data from 0x319800 --  70% complete.
Reading data from 0x321000 --  71% complete.
Reading data from 0x328800 --  72% complete.
Reading data from 0x330800 --  73% complete.
Reading data from 0x338000 --  74% complete.
Reading data from 0x33f800 --  75% complete.
Reading data from 0x347800 --  76% complete.
Reading data from 0x34f000 --  77% complete.
Reading data from 0x357000 --  78% complete.
Reading data from 0x35e800 --  79% complete.
Reading data from 0x366000 --  80% complete.
Reading data from 0x36e000 --  81% complete.
Reading data from 0x375800 --  82% complete.
Reading data from 0x37d000 --  83% complete.
Reading data from 0x385000 --  84% complete.
Reading data from 0x38c800 --  85% complete.
Reading data from 0x394000 --  86% complete.
Reading data from 0x39c000 --  87% complete.
Reading data from 0x3a3800 --  88% complete.
Reading data from 0x3ab800 --  89% complete.
Reading data from 0x3b3000 --  90% complete.
Reading data from 0x3ba800 --  91% complete.
Reading data from 0x3c2800 --  92% complete.
Reading data from 0x3ca000 --  93% complete.
Reading data from 0x3d1800 --  94% complete.
Reading data from 0x3d9800 --  95% complete.
Reading data from 0x3e1000 --  96% complete.
Reading data from 0x3e8800 --  97% complete.
Reading data from 0x3f0800 --  98% complete.
Reading data from 0x3f8000 --  99% complete.
Reading data from 0x3ff800 -- 100% complete.
 3145728 bytes read: OK
** Bad partition 1 **

## Checking Image at 01200000 ...
   Bad Magic Number

NAND read: device 0 offset 0x400000, size 0x400000


Reading data from 0x400000 --   0% complete.
Reading data from 0x40a000 --   1% complete.
Reading data from 0x414000 --   2% complete.
Reading data from 0x41e800 --   3% complete.
Reading data from 0x428800 --   4% complete.
Reading data from 0x433000 --   5% complete.
Reading data from 0x43d000 --   6% complete.
Reading data from 0x447800 --   7% complete.
Reading data from 0x451800 --   8% complete.
Reading data from 0x45c000 --   9% complete.
Reading data from 0x466000 --  10% complete.
Reading data from 0x470800 --  11% complete.
Reading data from 0x47a800 --  12% complete.
Reading data from 0x485000 --  13% complete.
Reading data from 0x48f000 --  14% complete.
Reading data from 0x499800 --  15% complete.
Reading data from 0x4a3800 --  16% complete.
Reading data from 0x4ae000 --  17% complete.
Reading data from 0x4b8000 --  18% complete.
Reading data from 0x4c2800 --  19% complete.
Reading data from 0x4cc800 --  20% complete.
Reading data from 0x4d7000 --  21% complete.
Reading data from 0x4e1000 --  22% complete.
Reading data from 0x4eb800 --  23% complete.
Reading data from 0x4f5800 --  24% complete.
Reading data from 0x4ff800 --  25% complete.
Reading data from 0x50a000 --  26% complete.
Reading data from 0x514000 --  27% complete.
Reading data from 0x51e800 --  28% complete.
Reading data from 0x528800 --  29% complete.
Reading data from 0x533000 --  30% complete.
Reading data from 0x53d000 --  31% complete.
Reading data from 0x547800 --  32% complete.
Reading data from 0x551800 --  33% complete.
Reading data from 0x55c000 --  34% complete.
Reading data from 0x566000 --  35% complete.
Reading data from 0x570800 --  36% complete.
Reading data from 0x57a800 --  37% complete.
Reading data from 0x585000 --  38% complete.
Reading data from 0x58f000 --  39% complete.
Reading data from 0x599800 --  40% complete.
Reading data from 0x5a3800 --  41% complete.
Reading data from 0x5ae000 --  42% complete.
Reading data from 0x5b8000 --  43% complete.
Reading data from 0x5c2800 --  44% complete.
Reading data from 0x5cc800 --  45% complete.
Reading data from 0x5d7000 --  46% complete.
Reading data from 0x5e1000 --  47% complete.
Reading data from 0x5eb800 --  48% complete.
Reading data from 0x5f5800 --  49% complete.
Reading data from 0x5ff800 --  50% complete.
Reading data from 0x60a000 --  51% complete.
Reading data from 0x614000 --  52% complete.
Reading data from 0x61e800 --  53% complete.
Reading data from 0x628800 --  54% complete.
Reading data from 0x633000 --  55% complete.
Reading data from 0x63d000 --  56% complete.
Reading data from 0x647800 --  57% complete.
Reading data from 0x651800 --  58% complete.
Reading data from 0x65c000 --  59% complete.
Reading data from 0x666000 --  60% complete.
Reading data from 0x670800 --  61% complete.
Reading data from 0x67a800 --  62% complete.
Reading data from 0x685000 --  63% complete.
Reading data from 0x68f000 --  64% complete.
Reading data from 0x699800 --  65% complete.
Reading data from 0x6a3800 --  66% complete.
Reading data from 0x6ae000 --  67% complete.
Reading data from 0x6b8000 --  68% complete.
Reading data from 0x6c2800 --  69% complete.
Reading data from 0x6cc800 --  70% complete.
Reading data from 0x6d7000 --  71% complete.
Reading data from 0x6e1000 --  72% complete.
Reading data from 0x6eb800 --  73% complete.
Reading data from 0x6f5800 --  74% complete.
Reading data from 0x6ff800 --  75% complete.
Reading data from 0x70a000 --  76% complete.
Reading data from 0x714000 --  77% complete.
Reading data from 0x71e800 --  78% complete.
Reading data from 0x728800 --  79% complete.
Reading data from 0x733000 --  80% complete.
Reading data from 0x73d000 --  81% complete.
Reading data from 0x747800 --  82% complete.
Reading data from 0x751800 --  83% complete.
Reading data from 0x75c000 --  84% complete.
Reading data from 0x766000 --  85% complete.
Reading data from 0x770800 --  86% complete.
Reading data from 0x77a800 --  87% complete.
Reading data from 0x785000 --  88% complete.
Reading data from 0x78f000 --  89% complete.
Reading data from 0x799800 --  90% complete.
Reading data from 0x7a3800 --  91% complete.
Reading data from 0x7ae000 --  92% complete.
Reading data from 0x7b8000 --  93% complete.
Reading data from 0x7c2800 --  94% complete.
Reading data from 0x7cc800 --  95% complete.
Reading data from 0x7d7000 --  96% complete.
Reading data from 0x7e1000 --  97% complete.
Reading data from 0x7eb800 --  98% complete.
Reading data from 0x7f5800 --  99% complete.
Reading data from 0x7ff800 -- 100% complete.
 4194304 bytes read: OK
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.22.18
   Created:      2010-07-21   6:41:38 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2480204 Bytes =  2.4 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
bootargs from environment variables : initrd=0x1200000 root=/dev/mtdblock3 ro console=ttyS0,115200 cap=gpt,lba64
## Loading Ramdisk Image at 01200000 ...
   Image Name:   8M_ramdisk
   Created:      2010-07-21   7:16:43 UTC
   Image Type:   ARM Linux RAMDisk Image (uncompressed)
   Data Size:    3387392 Bytes =  3.2 MB
   Load Address: 01200000
   Entry Point:  01200000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux............................................................................................................................................................. done, booting the kernel.

Linux version 2.6.22.18 (root@grp-clacage) (gcc version 4.2.1) #1 Wed Jul 21 08:41:20 CEST 2010
CPU: ARM926EJ-S [56251311] revision 1 (ARMv5TE), cr=00053177
Machine: wireless_space
Using UBoot passing parameters structure
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
Built 1 zonelists.  Total pages: 65024
Kernel command line: initrd=0x1200000 root=/dev/mtdblock3 ro console=ttyS0,115200 cap=gpt,lba64
PID hash table entries: 1024 (order: 10, 4096 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB 0MB 0MB 0MB = 256MB total
Memory: 251392KB available (4556K code, 322K data, 144K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16

CPU Interface
-------------
SDRAM_CS0 ....base 00000000, size 256MB 
SDRAM_CS1 ....disable
SDRAM_CS2 ....disable
SDRAM_CS3 ....disable
PEX0_MEM ....base e8000000, size 128MB 
PEX0_IO ....base f2000000, size   1MB 
INTER_REGS ....base f1000000, size   1MB 
NFLASH_CS ....base fa000000, size   2MB 
SPI_CS ....base f4000000, size  16MB 
BOOT_ROM_CS ....no such
DEV_BOOTCS ....no such
CRYPT_ENG ....base f0000000, size   2MB 

  Marvell Development Board (LSP Version KW_LSP_4.2.7_patch2)-- wireless_space  Soc: MV88F6281 Rev 3 LE

 Detected Tclk 166666667 and SysClk 200000000 
MV Buttons Device Load
Register Marvell USB EHCI Host controller #0
PEX0 interface detected Link X1
PCI: bus0: Fast back to back transfers disabled
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
Time: kw_clocksource clocksource has been installed.
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd
Freeing initrd memory: 3308K
Use the XOR engines (acceleration) for enhancing the following functions:
  o RAID 5 Xor calculation
  o kernel memcpy
  o kenrel memzero
Number of XOR engines to use: 2
cesadev_init(c00118ac)
mvCesaInit: sessions=640, queue=64, pSram=f0000000
MV Buttons Driver Load
mv_rtc mv_rtc: rtc core: registered mv_rtc as rtc0
mv_rtc mv_rtc: Kirkwood SoC RTC added
Init kirkwood cpufreq driver
gpio-fan gpio-fan: GPIO fan initialized
gpio-hd-power gpio-hd-power: GPIO Hard Disk power device initialized
gpio-usb gpio-usb: GPIO USB mode switch is not available
gpio-usb gpio-usb: GPIO USB device VBUS is not available
gpio-usb gpio-usb: USB GPIO's initialized
Registered led device: ws:red:front
Registered led device: ws:green:front
Registered led device: ws:blue:front
squashfs: version 3.3 (2007/10/31) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
NTFS driver 2.1.28 [Flags: R/O].
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
fuse init (API version 7.8)
SGI XFS with ACLs, security attributes, realtime, large block numbers, no debug enabled
io scheduler noop registered
io scheduler anticipatory registered (default)
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
serial8250.0: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 32768K size 1024 blocksize
INIT Marvell Ethernet Driver: mv_netdev
Loading Marvell Ethernet Driver:
  o Cached descriptors in DRAM
  o DRAM SW cache-coherency
  o Single RX Queue support - ETH_DEF_RXQ=0
  o Single TX Queue support - ETH_DEF_TXQ=0
  o TCP segmentation offload enabled
  o Receive checksum offload enabled
  o Transmit checksum offload enabled
  o Network Fast Processing (Routing) supported
  o Driver ERROR statistics enabled
  o Driver INFO statistics enabled
  o Driver DEBUG statistics enabled
  o Proc tool API enabled
  o Gateway support enabled
     o Using Marvell Header Mode
     o L2 IGMP support
  o Rx descripors: q0=128
  o Tx descripors: q0=532
  o Loading network interface(s):
    o eth0, ifindex = 1, GbE port = 1
  o Loading Gateway interface(s):
      o Using default network configuration, overriding boot MAC address
      o MTU set to 1500.
      o mac_addr 00:00:00:00:00:00, VID 0x100, port list: port-0 port-1 port-2 
    o eth1, ifindex = 2, GbE port = 0

mvFpRuleDb (cfdf6000): 2048 entries, 8192 bytes
e100: Intel(R) PRO/100 Network Driver, 3.5.17-k4-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
Integrated Sata device found
scsi0 : Marvell SCSI to SATA adapter
scsi1 : Marvell SCSI to SATA adapter
NFTL driver: nftlcore.c $Revision: 1.98 $, nftlmount.c $Revision: 1.41 $
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
Scanning device for bad blocks
Using static partition definition
Creating 4 MTD partitions on "nand_mtd":
0x00000000-0x00100000 : "u-boot"
0x00100000-0x00400000 : "uImage"
0x00400000-0x00800000 : "uInitrd_m"
0x00800000-0x08000000 : "root"
ehci_marvell ehci_marvell.70059: Marvell Orion EHCI
ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1
ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100
ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
usb 1-1: new high speed USB device using ehci_marvell and address 2
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 3 ports detected
usbcore: registered new interface driver usblp
/home/clac/dev/products/product-wirelessspace_r1.0.6/components/kernel/source/drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
input: gpio-keys as /class/input/input0
i2c /dev entries driver
at24 0-0050: 512 byte 24c04 EEPROM (writable)
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
raid6: int32x1     73 MB/s
raid6: int32x2     80 MB/s
raid6: int32x4     83 MB/s
raid6: int32x8     75 MB/s
raid6: using algorithm int32x4 (83 MB/s)
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
raid5: measuring checksumming speed
   arm4regs  :   726.400 MB/sec
   8regs     :   506.000 MB/sec
   32regs    :   603.200 MB/sec
raid5: using function: arm4regs (726.400 MB/sec)
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com
dm_crypt using the OCF package.
u32 classifier
    Performance counters on
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (2048 buckets, 16384 max)
ctnetlink v0.93: registering with nfnetlink.
ip_tables: (C) 2000-2006 Netfilter Core Team
arp_tables: (C) 2002 David S. Miller
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
mv_rtc mv_rtc: setting the system clock to 2000-01-18 18:37:36 (948220656)
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
RAMDISK: squashfs filesystem found at block 0
RAMDISK: Loading 3306KiB [1 disk] into ram disk... |?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?\?|?/?-?done.
VFS: Mounted root (squashfs filesystem) readonly.
date too old: 2000-01-18 18:37:36
Thu Jan  1 00:00:00 UTC 2009
* Mounting base stuff *
HDD not present, abort partition checking
* Rebuild disk LED alert *
HDD not present, failsafe boot
FAILED:Format
[LACHECKHDD]FAILED:cannot_initialize_hd
umount: can't umount /tmp/root: No such file or directory
<<<<<<<<<<<<<<<<<<<<<<<<<
*** Booting from flash **
<<<<<<<<<<<<<<<<<<<<<<<<<
start flashing red led
*Done*
Port 2: Link-up, Full-duplex, Speed-100Mbps.
Empty flash at 0x031cb80c ends at 0x031cc000
VFS: Mounted root (jffs2 filesystem) readonly.
Trying to move old root to /initrd ... okay
Freeing init memory: 144K
INIT: version 2.86 booting
Unmount old /proc
umount: can't umount /initrd/proc: Invalid argument
Unmount old /initrd
Mounting tmp /etc...
Populate /etc...
Mounting all...
Mounting tmp /var...
Populating /var...
Done.
INIT: Entering runlevel: 2
[Lo] mounting loopback interface
tntfs: module license 'Commercial' taints kernel.
NTFS driver 3010.1.29 [Flags: R/W MODULE].
** Checking shares **
** Shares checked **
Starting kernel event manager...udev: starting version 139
done
Loading hardware drivers...done
** hwClock **
Set system date from RTC HW clock
Tue Jan 18 19:38:03 CET 2000
Starting klaxon
Running klaxon in reduced Mode
eth0: started
eth0: stopped
mv_gateway: starting eth1
mv_gateway: stopping eth1
eth0: mac address changed
eth0: started
mv_gateway: eth1 change mac address to 00:d0:4b:92:ff:13
mv_gateway: starting eth1
Syslogd Started
creating directory /lacie/var/lacie_fand
creating file /lacie/var/lacie_fand/lacie_fand.pid
[thumbd] Starting application
using old certificate
Starting setup server
  reduced mode detected, not starting the server
* bootcheck *

WirelessSpace login: !! ------------------------------------------------------------
!!
!! No disks to monitor !!!
!!
!! ------------------------------------------------------------
!! An error occured while executing smart_spindown.
!! Please, report this error to the LaCie support team.
!!
!! Thanks.
!!
>> Spindowns counter: 0, time up/down: 0/0.
>> smart_spindown stop

WirelessSpace login: root

Stock bootlog (After I put a brand-new usb flash disk in it)
Marvell>> boot
** Bad partition 1 **

## Checking Image at 00800000 ...
   Bad Magic Number

NAND read: device 0 offset 0x100000, size 0x300000

Reading data from 0x3ff800 -- 100% complete.
 3145728 bytes read: OK
** Bad partition 1 **

## Checking Image at 01200000 ...
   Bad Magic Number

NAND read: device 0 offset 0x400000, size 0x400000

Reading data from 0x7ff800 -- 100% complete.
 4194304 bytes read: OK
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.22.18
   Created:      2010-07-21   6:41:38 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2480204 Bytes =  2.4 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
bootargs from environment variables : initrd=0x1200000 root=/dev/mtdblock3 ro console=ttyS0,115200 cap=gpt,lba64
## Loading Ramdisk Image at 01200000 ...
   Image Name:   8M_ramdisk
   Created:      2010-07-21   7:16:43 UTC
   Image Type:   ARM Linux RAMDisk Image (uncompressed)
   Data Size:    3387392 Bytes =  3.2 MB
   Load Address: 01200000
   Entry Point:  01200000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux............................................................................................................................................................. done, booting the kernel.
Linux version 2.6.22.18 (root@grp-clacage) (gcc version 4.2.1) #1 Wed Jul 21 08:41:20 CEST 2010
CPU: ARM926EJ-S [56251311] revision 1 (ARMv5TE), cr=00053177
Machine: wireless_space
Using UBoot passing parameters structure
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
Built 1 zonelists.  Total pages: 65024
Kernel command line: initrd=0x1200000 root=/dev/mtdblock3 ro console=ttyS0,115200 cap=gpt,lba64
PID hash table entries: 1024 (order: 10, 4096 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB 0MB 0MB 0MB = 256MB total
Memory: 251392KB available (4556K code, 322K data, 144K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16

CPU Interface
-------------
SDRAM_CS0 ....base 00000000, size 256MB 
SDRAM_CS1 ....disable
SDRAM_CS2 ....disable
SDRAM_CS3 ....disable
PEX0_MEM ....base e8000000, size 128MB 
PEX0_IO ....base f2000000, size   1MB 
INTER_REGS ....base f1000000, size   1MB 
NFLASH_CS ....base fa000000, size   2MB 
SPI_CS ....base f4000000, size  16MB 
BOOT_ROM_CS ....no such
DEV_BOOTCS ....no such
CRYPT_ENG ....base f0000000, size   2MB 

  Marvell Development Board (LSP Version KW_LSP_4.2.7_patch2)-- wireless_space  Soc: MV88F6281 Rev 3 LE

 Detected Tclk 166666667 and SysClk 200000000 
MV Buttons Device Load
Register Marvell USB EHCI Host controller #0
PEX0 interface detected Link X1
PCI: bus0: Fast back to back transfers disabled
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
Time: kw_clocksource clocksource has been installed.
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd
Freeing initrd memory: 3308K
Use the XOR engines (acceleration) for enhancing the following functions:
  o RAID 5 Xor calculation
  o kernel memcpy
  o kenrel memzero
Number of XOR engines to use: 2
cesadev_init(c00118ac)
mvCesaInit: sessions=640, queue=64, pSram=f0000000
MV Buttons Driver Load
mv_rtc mv_rtc: rtc core: registered mv_rtc as rtc0
mv_rtc mv_rtc: Kirkwood SoC RTC added
Init kirkwood cpufreq driver
gpio-fan gpio-fan: GPIO fan initialized
gpio-hd-power gpio-hd-power: GPIO Hard Disk power device initialized
gpio-usb gpio-usb: GPIO USB mode switch is not available
gpio-usb gpio-usb: GPIO USB device VBUS is not available
gpio-usb gpio-usb: USB GPIO's initialized
Registered led device: ws:red:front
Registered led device: ws:green:front
Registered led device: ws:blue:front
squashfs: version 3.3 (2007/10/31) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
NTFS driver 2.1.28 [Flags: R/O].
JFFS2 version 2.2. (NAND) �Â�© 2001-2006 Red Hat, Inc.
fuse init (API version 7.8)
SGI XFS with ACLs, security attributes, realtime, large block numbers, no debug enabled
io scheduler noop registered
io scheduler anticipatory registered (default)
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
serial8250.0: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 32768K size 1024 blocksize
INIT Marvell Ethernet Driver: mv_netdev
Loading Marvell Ethernet Driver:
  o Cached descriptors in DRAM
  o DRAM SW cache-coherency
  o Single RX Queue support - ETH_DEF_RXQ=0
  o Single TX Queue support - ETH_DEF_TXQ=0
  o TCP segmentation offload enabled
  o Receive checksum offload enabled
  o Transmit checksum offload enabled
  o Network Fast Processing (Routing) supported
  o Driver ERROR statistics enabled
  o Driver INFO statistics enabled
  o Driver DEBUG statistics enabled
  o Proc tool API enabled
  o Gateway support enabled
     o Using Marvell Header Mode
     o L2 IGMP support
  o Rx descripors: q0=128
  o Tx descripors: q0=532
  o Loading network interface(s):
    o eth0, ifindex = 1, GbE port = 1
  o Loading Gateway interface(s):
      o Using default network configuration, overriding boot MAC address
      o MTU set to 1500.
      o mac_addr 00:00:00:00:00:00, VID 0x100, port list: port-0 port-1 port-2 
    o eth1, ifindex = 2, GbE port = 0
Port 0: Link-up, Full-duplex, Speed-100Mbps.

mvFpRuleDb (cfdf6000): 2048 entries, 8192 bytes
e100: Intel(R) PRO/100 Network Driver, 3.5.17-k4-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
Integrated Sata device found
scsi0 : Marvell SCSI to SATA adapter
scsi1 : Marvell SCSI to SATA adapter
NFTL driver: nftlcore.c $Revision: 1.98 $, nftlmount.c $Revision: 1.41 $
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
Scanning device for bad blocks
Using static partition definition
Creating 4 MTD partitions on "nand_mtd":
0x00000000-0x00100000 : "u-boot"
0x00100000-0x00400000 : "uImage"
0x00400000-0x00800000 : "uInitrd_m"
0x00800000-0x08000000 : "root"
ehci_marvell ehci_marvell.70059: Marvell Orion EHCI
ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1
ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100
ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
usb 1-1: new high speed USB device using ehci_marvell and address 2
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 3 ports detected
usb 1-1.3: new high speed USB device using ehci_marvell and address 3
usb 1-1.3: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usblp
/home/clac/dev/products/product-wirelessspace_r1.0.6/components/kernel/source/drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
scsi2 : SCSI emulation for USB Mass Storage devices
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
input: gpio-keys as /class/input/input0
i2c /dev entries driver
at24 0-0050: 512 byte 24c04 EEPROM (writable)
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
raid6: int32x1     73 MB/s
raid6: int32x2     80 MB/s
raid6: int32x4     83 MB/s
raid6: int32x8     75 MB/s
raid6: using algorithm int32x4 (83 MB/s)
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
raid5: measuring checksumming speed
   arm4regs  :   726.400 MB/sec
   8regs     :   505.600 MB/sec
   32regs    :   602.800 MB/sec
raid5: using function: arm4regs (726.400 MB/sec)
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com
dm_crypt using the OCF package.
scsi 2:0:0:0: Direct-Access     ADATA    USB Flash Drive  1100 PQ: 0 ANSI: 4
Disk topology: host_no=2 channel=0 id=0
u32 classifier
    Performance counters on
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (2048 buckets, 16384 max)
ctnetlink v0.93: registering with nfnetlink.
ip_tables: (C) 2000-2006 Netfilter Core Team
arp_tables: (C) 2002 David S. Miller
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
mv_rtc mv_rtc: setting the system clock to 2000-01-19 03:35:17 (948252917)
sd 2:0:0:0: [sea] 60620800 512-byte hardware sectors (31038 MB)
sd 2:0:0:0: [sea] Write Protect is off
sd 2:0:0:0: [sea] Assuming drive cache: write through
sd 2:0:0:0: [sea] 60620800 512-byte hardware sectors (31038 MB)
sd 2:0:0:0: [sea] Write Protect is off
sd 2:0:0:0: [sea] Assuming drive cache: write through
 sea: sea1
sd 2:0:0:0: [sea] Attached SCSI removable disk
sd 2:0:0:0: Attached scsi generic sg0 type 0
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
RAMDISK: squashfs filesystem found at block 0
RAMDISK: Loading 3306KiB [1 disk] into ram disk... done.
VFS: Mounted root (squashfs filesystem) readonly.
date too old: 2000-01-19 03:35:17
Thu Jan  1 00:00:00 UTC 2009
* Mounting base stuff *
program parted is using a deprecated SCSI ioctl, please convert it to SG_IO
program parted is using a deprecated SCSI ioctl, please convert it to SG_IO
Partition 1 failed: size=31.0GB, fs=primary
program parted is using a deprecated SCSI ioctl, please convert it to SG_IO
Partition 2 failed: size=, fs=
program parted is using a deprecated SCSI ioctl, please convert it to SG_IO
Partition 3 failed: size=, fs=
program parted is using a deprecated SCSI ioctl, please convert it to SG_IO
Partition 4 failed: size=, fs=
* Rebuild disk LED alert *
program parted is using a deprecated SCSI ioctl, please convert it to SG_IO
HDD present, continue...
program parted is using a deprecated SCSI ioctl, please convert it to SG_IO
program parted is using a deprecated SCSI ioctl, please convert it to SG_IO
Partition 1 failed: size=31.0GB, fs=primary
program parted is using a deprecated SCSI ioctl, please convert it to SG_IO
Partition 2 failed: size=, fs=
program parted is using a deprecated SCSI ioctl, please convert it to SG_IO
Partition 3 failed: size=, fs=
program parted is using a deprecated SCSI ioctl, please convert it to SG_IO
Partition 4 failed: size=, fs=
* Erasing Disk *
program parted is using a deprecated SCSI ioctl, please convert it to SG_IO
program parted is using a deprecated SCSI ioctl, please convert it to SG_IO
program parted is using a deprecated SCSI ioctl, please convert it to SG_IO
program parted is using a deprecated SCSI ioctl, please convert it to SG_IO
program parted is using a deprecated SCSI ioctl, please convert it to SG_IO
program parted is using a deprecated SCSI ioctl, please convert it to SG_IO
* Creating partitions *
program parted is using a deprecated SCSI ioctl, please convert it to SG_IO
program parted is using a deprecated SCSI ioctl, please convert it to SG_IO
program parted is using a deprecated SCSI ioctl, please convert it to SG_IO
program parted is using a deprecated SCSI ioctl, please convert it to SG_IO
* Partition done,formating*
mke2fs 1.41.4 (27-Jan-2009)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
73440 inodes, 292952 blocks
14647 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=67633152
36 block groups
8192 blocks per group, 8192 fragments per group
2040 inodes per group
Superblock backups stored on blocks: 
        8193, 24577, 40961, 57345, 73729, 204801, 221185

Writing inode tables: done                            
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 23 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
mke2fs 1.41.4 (27-Jan-2009)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
24480 inodes, 97656 blocks
4882 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=67371008
12 block groups
8192 blocks per group, 8192 fragments per group
2040 inodes per group
Superblock backups stored on blocks: 
        8193, 24577, 40961, 57345, 73729

Writing inode tables: done                            
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 34 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
Setting up swapspace version 1, size = 255995904 bytes
  Format fourth partiton as xfs
meta-data=/dev/sda4              isize=256    agcount=4, agsize=1854360 blks
         =                       sectsz=512   attr=2
data     =                       bsize=4096   blocks=7417439, imaxpct=25
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0
log      =internal log           bsize=4096   blocks=3621, version=2
         =                       sectsz=512   sunit=0 blks, lazy-count=0
realtime =none                   extsz=4096   blocks=0, rtextents=0
* Disk Ready *
*Mounting source/destination*
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sea1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
Empty flash at 0x031cb80c ends at 0x031cc000
*Copying*
*Copy done*
*Marking it as hdd
* umounting *
** check : Todo **
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sea1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
* Removing copyCheck *
Hdd seems sane...
*Checking if a new firmware is there
 * Mount /proc...
 * Mount /tmp...
 * Create /tmp/sda4...
 * Mount /dev/sda4...
XFS mounting filesystem sea4
* Unmount all...
 * Done.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
No update found, boot from  HDD...
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
start flashing blue led
pivoting 
*Done*
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Trying to move old root to /initrd ... okay
Freeing init memory: 144K
INIT: version 2.86 booting
Unmount old /proc
Unmount old /initrd
Mounting tmp /etc...
Populate /etc...
Mounting all...
Mounting /dev/sda3 on /lacie/var
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sea3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Mounting /dev/sda4 on /lacie/var/userPart
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
XFS mounting filesystem sea4
Creating new /var into hdd...
EXT3 FS on sea1, internal journal
Adding 249992k swap on /dev/sda2.  Priority:-1 extents:1 across:249992k
Populating /var...
Done.
INIT: Entering runlevel: 2
[Lo] mounting loopback interface
tntfs: module license 'Commercial' taints kernel.
NTFS driver 3010.1.29 [Flags: R/W MODULE].
** Checking shares **
** Shares checked **
Starting kernel event manager...udev: starting version 139
done
Loading hardware drivers...done
** hwClock **
Set system date from RTC HW clock
Wed Jan 19 04:38:26 CET 2000
Starting klaxon
Running klaxon from HDD
eth0: started
eth0: stopped
mv_gateway: starting eth1
mv_gateway: stopping eth1
mv_gateway: eth1 change mac address to 00:d0:4b:92:ff:13
mv_gateway: starting eth1
eth0: mac address changed
eth0: started
PHY eth0: link up, full duplex, speed 10 Mbps
Syslogd Started
creating directory /lacie/var/lacie_fand
creating file /lacie/var/lacie_fand/lacie_fand.pid
[thumbd] Starting application
using old certificate
Starting setup server
  setup server is starting
* bootcheck *
klaxonWrite, build on Jul 21 2010
Process tree:
  Process ID: 1893
  Parent process: 1825 => sh
  Parent process: 1814 => S99udev-coldplu
  Parent process: 560 => rc
  Parent process: 1 => init
[device.usb.devPath] [#1] @ [string] = [sea3]
[device.usb.mountPath] [#1] @ [string] = []
[device.usb.name] [#1] @ [string] = []
[device.usb.totalSize] [#1] @ [string] = [ADATA]
error: invalid argument 'USB'
!! ------------------------------------------------------------
!!                                                             
!! No disks to monitor !!!
!!                                                             
!! ------------------------------------------------------------
!! An error occured while executing smart_spindown.
!! Please, report this error to the LaCie support team.
!! 
!! Thanks.
!! 
>> Spindowns counter: 0, time up/down: 0/0.
>> smart_spindown stop
klaxonWrite, build on Jul 21 2010
Process tree:
  Process ID: 2245
  Parent process: 1996 => sh
  Parent process: 1814 => S99udev-coldplu
  Parent process: 560 => rc
  Parent process: 1 => init
[device.usb.devPath] [#2] @ [string] = [sea4]
[device.usb.mountPath] [#2] @ [string] = []
[device.usb.name] [#2] @ [string] = []
[device.usb.totalSize] [#2] @ [string] = [ADATA]
error: invalid argument 'USB'

WirelessSpace login: 
CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.7.1 | VT102 | Online 0:47 | ttyUSB0

U-boot stock printenv
Marvell>> printenv
baudrate=115200
loads_echo=0
ipaddr=10.4.50.165
serverip=10.4.50.5
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
stdin=serial
stdout=serial
stderr=serial
console=console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x7f00000@0x100000(root)
mainlineLinux=no
CASset=min
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
MALLOC_len=1
ethprime=egiga0
netbsd_en=no
vxworks_en=no
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
disaMvPnp=no
ethmtu=1500
eth1mtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
enaAutoRecovery=yes
uboot_capabilities=gpt,lba64
start_lump=lump 3
pre_lump=lump 1
resetdisk=ide reset
boot_fail=lump
kernel_addr=0x800000
productType_env=ASTON_KW
primaryPart=6
secondaryPart=A
boot_usb=usb start;usbboot 0x800000 0:1;bootm;
resetFlag_env=0
ethaddr=00:D0:4B:92:FF:13
eth1addr=00:D0:4B:92:FF:12
load_kernel_mtd=nand read.jffs2 0x800000 0x100000 0x300000
load_initrd_mtd=nand read.jffs2 0x1200000 0x400000 0x400000
load_kernel_ide=mw.l 00800000 0 4; ext2load ide 0:1 800000 /boot/uImage
load_initrd_ide=mw.l 01200000 0 4; ext2load ide 0:1 01200000 /boot/uInitrd_m
load_kernel=run load_kernel_ide; if iminfo 00800000;then echo Kernel IDE success; else run load_kernel_mtd;fi
load_initrd=run load_initrd_ide; if iminfo 01200000;then echo IinitRD IDE success; else run load_initrd_mtd;fi
bootargs_common=initrd=0x1200000 root=/dev/mtdblock3 ro console=ttyS0,115200
bootargs=initrd=0x1200000 root=/dev/mtdblock3 ro console=ttyS0,115200
load_default=run load_kernel_mtd; run load_initrd_mtd
load_use=run load_kernel; run load_initrd
bootcmd=if test ${resetFlag_env} -eq 1; then setenv bootargs initrd=0x1200000 root=/dev/mtdblock3 ro console=ttyS0,115200 LACIE_FAILSAFE=1; run load_default; else run load_use; fi; bootm 800000 1200000
ethact=egiga0
bootdelay=3

Environment size: 2270/131068 bytes

GPL sourcecode:
https://www.lacie.com/files/lacie-content/download/drivers/GPL_WirelessSpace.tar

Some more readings from stock linux using user admin and password admin
$ cat /proc/cpuinfo
Processor       : ARM926EJ-S rev 1 (v5l)
BogoMIPS        : 799.53
Features        : swp half thumb fastmult edsp
CPU implementer : 0x56
CPU architecture: 5TE
CPU variant     : 0x2
CPU part        : 0x131
CPU revision    : 1
Cache type      : write-back
Cache clean     : cp15 c7 ops
Cache lockdown  : format C
Cache format    : Harvard
I size          : 16384
I assoc         : 4
I line length   : 32
I sets          : 128
D size          : 16384
D assoc         : 4
D line length   : 32
D sets          : 128

Hardware        : wireless_space
Revision        : 0002
Serial          : 0000000000000000

$ cat /proc/mtd 
dev:    size   erasesize  name
mtd0: 00100000 00020000 "u-boot"
mtd1: 00300000 00020000 "uImage"
mtd2: 00400000 00020000 "uInitrd_m"
mtd3: 07800000 00020000 "root"

$ cat /proc/partitions 
major minor  #blocks  name

  31     0       1024 mtdblock0
  31     1       3072 mtdblock1
  31     2       4096 mtdblock2
  31     3     122880 mtdblock3
   8     0   30310400 sea
   8     1     292952 sea1
   8     2     250000 sea2
   8     3      97656 sea3
   8     4   29669758 sea4

$ cat /proc/swaps      
Filename                                Type            Size    Used    Priority
/dev/sda2                               partition       249992  0       -1

$ df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                  277.0M    128.9M    133.9M  49% /
/dev/root               277.0M    128.9M    133.9M  49% /
tmpfs                     2.0M    624.0k      1.4M  30% /etc
tmpfs                   512.0k         0    512.0k   0% /tmp
/dev/sda3                92.3M      6.9M     80.6M   8% /lacie/var
/dev/sda4                28.3G    504.0k     28.3G   0% /lacie/var/userPart
/dev/root               277.0M    128.9M    133.9M  49% /dev/.static/dev
udev                    124.5M     44.0k    124.5M   0% /dev
/dev/sea3                92.3M      6.9M     80.6M   8% /lacie/var/userPart/share/USB-device
/dev/sea4                28.3G    504.0k     28.3G   0% /lacie/var/userPart/share/USB-device_2

$ cat /proc/filesystems
nodev   sysfs
nodev   rootfs
nodev   bdev
nodev   proc
nodev   debugfs
nodev   sockfs
nodev   usbfs
nodev   pipefs
nodev   anon_inodefs
nodev   futexfs
nodev   tmpfs
nodev   inotifyfs
nodev   devpts
        ext3
        ext2
        squashfs
nodev   ramfs
        msdos
        vfat
        hfsplus
nodev   nfs
        ntfs
        jffs2
nodev   fuse
        fuseblk
nodev   fusectl
        xfs
nodev   rpc_pipefs
        tntfs
$ cat /proc/devices 
Character devices:
  1 mem
  2 pty
  3 ttyp
  4 /dev/vc/0
  4 tty
  4 ttyS
  5 /dev/tty
  5 /dev/console
  5 /dev/ptmx
  7 vcs
 10 misc
 13 input
 21 sg
 89 i2c
 90 mtd
108 ppp
128 ptm
136 pts
180 usb
189 usb_device
253 usb_endpoint
254 rtc

Block devices:
  1 ramdisk
  8 sd
  9 md
 31 mtdblock
 65 sd
 66 sd
 67 sd
 68 sd
 69 sd
 70 sd
 71 sd
 93 nftl
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd
179 mmc
253 device-mapper
254 mdp

$ cat /proc/interrupts 
           CPU0
  1:     119355   orion_irq  kw_tick
 11:          0   orion_irq  mv_gateway
 15:        822   orion_irq  mv_ethernet
 19:      71547   orion_irq  ehci_hcd:usb1
 21:          0   orion_irq  mvSata
 22:          0   orion_irq  cesa
 33:       2568   orion_irq  serial
 53:          0   orion_irq  mv_rtc
 77:          0  feroceon_kw_gpio  Rear power button
 78:          0  feroceon_kw_gpio  usb_fuse
103:          0  feroceon_kw_gpio  fan_alarm
104:          2  feroceon_kw_gpio  link status
107:          0  feroceon_kw_gpio  Front Wifi button (WPS, activity)
Err:          0

$ cat /proc/iomem      
00000000-0fffffff : System RAM
  0002c000-0049efff : Kernel text
  004a0000-004f09cf : Kernel data
e8000000-efffffff : PEX Memory
  e8000000-e800ffff : 0000:00:01.0
f1010300-f1010318 : mv_rtc
  f1010300-f1010318 : mv_rtc
f1011000-f101101f : i2c base
f1012000-f10120ff : serial8250.0
  f1012000-f101201f : serial
f1012100-f101211f : serial

$ cat /proc/ioports
00000000-000fffff : PEX IO

$ cat /proc/meminfo
MemTotal:       254972 kB
MemFree:        188544 kB
Buffers:          6900 kB
Cached:          35280 kB
SwapCached:          0 kB
Active:          27564 kB
Inactive:        21404 kB
SwapTotal:      249992 kB
SwapFree:       249992 kB
Dirty:              20 kB
Writeback:           0 kB
AnonPages:        6816 kB
Mapped:           9184 kB
Slab:            14508 kB
SReclaimable:     1908 kB
SUnreclaim:      12600 kB
PageTables:        584 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:    377476 kB
Committed_AS:    94284 kB
VmallocTotal:   385024 kB
VmallocUsed:       472 kB
VmallocChunk:   384548 kB

$ cat /proc/misc   
 63 device-mapper
 70 crypto
229 fuse
 72 btns
 71 cesa

$ cat /proc/modules
iptable_mangle 2848 0 - Live 0xbf05f000
tntfs 383772 0 - Live 0xbf000000 (P)

$ cat /proc/mounts 
rootfs / rootfs rw 0 0
/dev/root / ext3 ro,data=ordered 0 0
tmpfs /etc tmpfs rw 0 0
none /proc proc rw 0 0
none /sys sysfs rw 0 0
tmpfs /tmp tmpfs rw 0 0
/dev/sda3 /lacie/var ext3 rw,data=ordered 0 0
/dev/sda4 /lacie/var/userPart xfs rw 0 0
usbfs /proc/bus/usb usbfs rw 0 0
/dev/root /dev/.static/dev ext3 ro,data=ordered 0 0
udev /dev tmpfs rw 0 0
/dev/sea3 /lacie/var/userPart/share/USB-device ext3 rw,data=ordered 0 0
/dev/sea4 /lacie/var/userPart/share/USB-device_2 xfs rw 0 0

$ cat /proc/soc_type 
Extra Feature Reg = 0x41410000
Control Reg = 0x5317f
ID Code Reg = 0x56251311
Cache Type Reg = 0x1d152152
MV88F6281 Rev 3
L2 Enabled
L2 ECC Disabled
L2 Prefetch Disabled
Write Allocate Disabled
CPU Streaming Disabled

$ cat /proc/version 
Linux version 2.6.22.18 (root@grp-clacage) (gcc version 4.2.1) #1 Wed Jul 21 08:41:20 CEST 2010




In the stock flash I found a strange chunk of data that seems to be a kind of "boot check" at address 0x039CC000 - 0x039CC7F0

zdc@ZDC-PC:~/Desktop$ hexdump -C possible-nvram-bootcheck-039cc000-039cc7f0
00000000  85 19 01 e0 31 00 00 00  1d d9 82 42 09 00 00 00  |....1......B....|
00000010  84 01 00 00 00 00 00 00  cf 55 c3 4b 09 00 00 00  |.........U.K....|
00000020  2c 4e b7 de e4 1c 7e ad  62 6f 6f 74 43 68 65 63  |,N....~.bootChec|
00000030  6b ff ff ff 85 19 04 20  cc 07 00 00 8a 78 19 8a  |k...... .....x..|
00000040  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000800

Viewing all articles
Browse latest Browse all 3247

Trending Articles