diff options
author | John Crispin <blogic@openwrt.org> | 2014-11-19 14:09:10 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-11-19 14:09:10 +0000 |
commit | c3d6194c74744adabfa83a02dc98319662a3e898 (patch) | |
tree | e291e2fcce3d7a365e31ada559dc067d3ddb898e /target/linux/gemini/raidsonic | |
parent | e3890cfcbfda3e14b17a9f56898878ad34d3ebdf (diff) | |
download | upstream-c3d6194c74744adabfa83a02dc98319662a3e898.tar.gz upstream-c3d6194c74744adabfa83a02dc98319662a3e898.tar.bz2 upstream-c3d6194c74744adabfa83a02dc98319662a3e898.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43319 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/gemini/raidsonic')
-rw-r--r-- | target/linux/gemini/raidsonic/config-3.10 | 5 | ||||
-rw-r--r-- | target/linux/gemini/raidsonic/target.mk | 11 |
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 |