2
0
forked from Ivasoft/openwrt

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
This commit is contained in:
John Crispin
2014-11-19 14:09:10 +00:00
parent 6521f53c65
commit da5001475c
6 changed files with 76 additions and 2 deletions

View File

@@ -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

View File

@@ -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