aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/gemini/raidsonic
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-11-19 14:09:10 +0000
committerJohn Crispin <john@openwrt.org>2014-11-19 14:09:10 +0000
commitda5001475c093f296248fe6842d9188d4f64fd4e (patch)
treea32f6d32a31f513e20c975d92b09d3e456ea4687 /target/linux/gemini/raidsonic
parent6521f53c653fcea9ca9b7d0f338a2afc5e4c5946 (diff)
downloadupstream-da5001475c093f296248fe6842d9188d4f64fd4e.tar.gz
upstream-da5001475c093f296248fe6842d9188d4f64fd4e.tar.bz2
upstream-da5001475c093f296248fe6842d9188d4f64fd4e.zip
gemini: add basic nas4220 board support
Few notes: - redboot partitions are unusable - redboot declares only 16M of RAM, hence the mem arg in cmdline and separate kernel config - boots fine but only ethernet works for now - split wiliboard and raidsonic boards into different subtargets Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 43319
Diffstat (limited to 'target/linux/gemini/raidsonic')
-rw-r--r--target/linux/gemini/raidsonic/config-3.105
-rw-r--r--target/linux/gemini/raidsonic/target.mk11
2 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/gemini/raidsonic/config-3.10 b/target/linux/gemini/raidsonic/config-3.10
new file mode 100644
index 0000000000..91605238b4
--- /dev/null
+++ b/target/linux/gemini/raidsonic/config-3.10
@@ -0,0 +1,5 @@
+CONFIG_CMDLINE="rootfstype=squashfs,jffs2 noinitrd console=ttyS0,19200 mem=128M mtdparts=physmap-flash.0:128k(BOOT),3072k(Kern),6144k(Ramdisk),6144k(Application),128k(VCTL),640k(CurConf),128k(FIS-directory),12288k@0x320000(rootfs),15360k@0x20000(firmware) root=/dev/mtdblock7"
+CONFIG_MACH_NAS4220B=y
+CONFIG_MTD_CMDLINE_PARTS=y
+# CONFIG_MTD_REDBOOT_PARTS is not set
+CONFIG_MTD_SPLIT_FIRMWARE=y
diff --git a/target/linux/gemini/raidsonic/target.mk b/target/linux/gemini/raidsonic/target.mk
new file mode 100644
index 0000000000..1e4320e863
--- /dev/null
+++ b/target/linux/gemini/raidsonic/target.mk
@@ -0,0 +1,11 @@
+#
+# Copyright (C) 2014 OpenWrt.org
+#
+
+SUBTARGET:=raidsonic
+BOARDNAME:=Raidsonic NAS42x0
+FEATURES+=jffs2
+
+define Target/Description
+ Build firmware images for Raidsonic NAS4220.
+endef