User Tools

Site Tools


network_space_lite_v2

This is an old revision of the document!


LaCie Network Space Lite v2

Since mid-2011 lacie change the hardware configuration of the network space v2 to a lower one.

Hardware

% cat /proc/cpuinfo
Processor	: Feroceon 88FR131 rev 1 (v5l)
BogoMIPS	: 795.44
Features	: swp half thumb fastmult edsp 
CPU implementer	: 0x56
CPU architecture: 5TE
CPU variant	: 0x2
CPU part	: 0x131
CPU revision	: 1
Hardware	: LaCie Network Space Lite v2
Revision	: 0001
Serial		: 0000000000000000
% cat /proc/meminfo
MemTotal:         124252 kB
  • SPI flash, NOR 512MB (MACRONIX MX25L4005CMI-12G)
  • Ethernet Gigabit port (PHY MARVELL 88E1116R)
  • 1 USB2 port, 1 connector host and 1 connector device (except for Internet Space v2)
  • 2 LEDs (blue and red with CPLD SATA activity blink)
  • Power push button

Linux Kernel

The support of this configuration is not yet mainline in the linux kernel. Here is the patch from cvubrugier to the kirkwood support to get it work :

diff --git a/arch/arm/configs/kirkwood_defconfig b/arch/arm/configs/kirkwood_defconfig
index aeb3af5..ccd645a 100644
--- a/arch/arm/configs/kirkwood_defconfig
+++ b/arch/arm/configs/kirkwood_defconfig
@@ -22,6 +22,7 @@ CONFIG_MACH_OPENRD_BASE=y
 CONFIG_MACH_OPENRD_CLIENT=y
 CONFIG_MACH_OPENRD_ULTIMATE=y
 CONFIG_MACH_NETSPACE_V2=y
+CONFIG_MACH_NETSPACE_LITE_V2=y
 CONFIG_MACH_INETSPACE_V2=y
 CONFIG_MACH_NETSPACE_MAX_V2=y
 CONFIG_MACH_D2NET_V2=y
@@ -38,6 +39,7 @@ CONFIG_ZBOOT_ROM_TEXT=0x0
 CONFIG_ZBOOT_ROM_BSS=0x0
 CONFIG_CPU_IDLE=y
 CONFIG_NET=y
+CONFIG_NETCONSOLE=y
 CONFIG_PACKET=y
 CONFIG_UNIX=y
 CONFIG_INET=y
diff --git a/arch/arm/mach-kirkwood/Kconfig b/arch/arm/mach-kirkwood/Kconfig
index 7fc603b..1e9339a 100644
--- a/arch/arm/mach-kirkwood/Kconfig
+++ b/arch/arm/mach-kirkwood/Kconfig
@@ -94,6 +94,12 @@ config MACH_NETSPACE_V2
		  Say 'Y' here if you want your kernel to support the
		  LaCie Network Space v2 NAS.
 
+config MACH_NETSPACE_LITE_V2
+    bool "LaCie Network Space Lite v2 NAS Board"
+    help
+      Say 'Y' here if you want your kernel to support the
+      LaCie Network Space Lite v2 NAS.
+
 config MACH_INETSPACE_V2
		bool "LaCie Internet Space v2 NAS Board"
		help
diff --git a/arch/arm/mach-kirkwood/Makefile b/arch/arm/mach-kirkwood/Makefile
index 5dcaa81..46debc9 100644
--- a/arch/arm/mach-kirkwood/Makefile
+++ b/arch/arm/mach-kirkwood/Makefile
@@ -12,6 +12,7 @@ obj-$(CONFIG_MACH_TS219)              += ts219-setup.o tsx1x-common.o
 obj-$(CONFIG_MACH_TS41X)               += ts41x-setup.o tsx1x-common.o
 obj-$(CONFIG_MACH_OPENRD)              += openrd-setup.o
 obj-$(CONFIG_MACH_NETSPACE_V2)         += netspace_v2-setup.o lacie_v2-common.o
+obj-$(CONFIG_MACH_NETSPACE_LITE_V2)    += netspace_v2-setup.o lacie_v2-common.o
 obj-$(CONFIG_MACH_INETSPACE_V2)                += netspace_v2-setup.o lacie_v2-common.o
 obj-$(CONFIG_MACH_NETSPACE_MAX_V2)     += netspace_v2-setup.o lacie_v2-common.o
 obj-$(CONFIG_MACH_D2NET_V2)            += d2net_v2-setup.o lacie_v2-common.o
diff --git a/arch/arm/mach-kirkwood/netspace_v2-setup.c b/arch/arm/mach-kirkwood/netspace_v2-setup.c
index 7cdab57..065a2e7 100644
--- a/arch/arm/mach-kirkwood/netspace_v2-setup.c
+++ b/arch/arm/mach-kirkwood/netspace_v2-setup.c
@@ -237,6 +237,8 @@ static void __init netspace_v2_init(void)
				lacie_v2_hdd_power_init(1);
 
		kirkwood_ehci_init();
+       if (machine_is_netspace_lite_v2())
+           netspace_v2_ge00_data.phy_addr = MV643XX_ETH_PHY_ADDR(0);
		kirkwood_ge00_init(&netspace_v2_ge00_data);
		kirkwood_sata_init(&netspace_v2_sata_data);
		kirkwood_uart0_init();
@@ -267,6 +269,17 @@ MACHINE_START(NETSPACE_V2, "LaCie Network Space v2")
 MACHINE_END
 #endif
	 
+#ifdef CONFIG_MACH_NETSPACE_LITE_V2
+MACHINE_START(NETSPACE_LITE_V2, "LaCie Network Space Lite v2")
+    .boot_params    = 0x00000100,
+    .init_machine   = netspace_v2_init,
+    .map_io         = kirkwood_map_io,
+    .init_early     = kirkwood_init_early,
+    .init_irq       = kirkwood_init_irq,
+    .timer          = &kirkwood_timer,
+MACHINE_END
+#endif
+
 #ifdef CONFIG_MACH_INETSPACE_V2
 MACHINE_START(INETSPACE_V2, "LaCie Internet Space v2")
		.boot_params    = 0x00000100,

Custom System Install

Patition Table

Current partition table

/dev/sda5	SWAP
/dev/sda6	RAW Kernel
/dev/sda7	ext3 		/
/dev/sda8	ext3
/dev/sda9	ext3 in unionfs
/dev/sda10	RAW Kernel 

Build your new partition table

The hard disk can be entirelly wipe. But if you want to be able to boot your new system without have to flash uboot you need to respect the position of the kernel and the root filesystem.

The kernel have to be on the /dev/sda6
The root filsystem have to be on the /dev/sda7

Install your custom kernel

To install your custom build kernel do a raw paste on /dev/sda6

#dd if=uImage of=/dev/sda6
network_space_lite_v2.1321534157.txt.gz · Last modified: 2011/11/17 13:49 by 193.56.60.160