From 2d49e9d8ace437c4e88b5f6b032f6c902da2dd4e Mon Sep 17 00:00:00 2001 From: Luka Perkov Date: Sun, 16 Feb 2014 00:14:27 +0000 Subject: kirkwood: add support for Seagate GoFlexNet Signed-off-by: Alexander Couzens git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39595 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/kirkwood/image/Makefile | 3 +++ target/linux/kirkwood/profiles/110-nas.mk | 17 +++++++++++++++++ 2 files changed, 20 insertions(+) (limited to 'target/linux/kirkwood') diff --git a/target/linux/kirkwood/image/Makefile b/target/linux/kirkwood/image/Makefile index d7ace45199..00a6f3f81a 100644 --- a/target/linux/kirkwood/image/Makefile +++ b/target/linux/kirkwood/image/Makefile @@ -117,6 +117,9 @@ Image/InstallKernel/Template/Generic=$(call Image/InstallKernel/Template) Image/BuildKernel/Template/DOCKSTAR=$(call Image/BuildKernel/Template,dockstar) Image/InstallKernel/Template/DOCKSTAR=$(call Image/InstallKernel/Template,dockstar) +Image/BuildKernel/Template/GOFLEXNET=$(call Image/BuildKernel/Template,goflexnet) +Image/InstallKernel/Template/GOFLEXNET=$(call Image/InstallKernel/Template,goflexnet) + Image/BuildKernel/Template/IB62X0=$(call Image/BuildKernel/Template,ib62x0) Image/InstallKernel/Template/IB62X0=$(call Image/InstallKernel/Template,ib62x0) diff --git a/target/linux/kirkwood/profiles/110-nas.mk b/target/linux/kirkwood/profiles/110-nas.mk index 6605f69362..bcd7555b44 100644 --- a/target/linux/kirkwood/profiles/110-nas.mk +++ b/target/linux/kirkwood/profiles/110-nas.mk @@ -22,6 +22,23 @@ DOCKSTAR_UBI_OPTS:="-m 2048 -p 128KiB -s 512" $(eval $(call Profile,DOCKSTAR)) +define Profile/GOFLEXNET + NAME:=Seagate GoFlexNet + PACKAGES:= \ + kmod-ata-core kmod-ata-marvell-sata \ + kmod-rtc-marvell kmod-usb2 kmod-usb-storage \ + uboot-envtools +endef + +define Profile/GOFLEXNET/Description + Package set compatible with Seagate GoFlexNet +endef + +GOFLEXNET_UBIFS_OPTS:="-m 2048 -e 126KiB -c 4096" +GOFLEXNET_UBI_OPTS:="-m 2048 -p 128KiB -s 512" + +$(eval $(call Profile,GOFLEXNET)) + define Profile/IB62X0 NAME:=RaidSonic ICY BOX IB-NAS62x0 PACKAGES:= \ -- cgit v1.2.3