From 9ba7cbafe4642b63470eb2d237a450c287454c23 Mon Sep 17 00:00:00 2001 From: Luka Perkov Date: Sun, 16 Feb 2014 00:14:27 +0000 Subject: [PATCH] kirkwood: add support for Seagate GoFlexNet Signed-off-by: Alexander Couzens SVN-Revision: 39595 --- target/linux/kirkwood/image/Makefile | 3 +++ target/linux/kirkwood/profiles/110-nas.mk | 17 +++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/target/linux/kirkwood/image/Makefile b/target/linux/kirkwood/image/Makefile index d7ace451992..00a6f3f81ad 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 6605f693628..bcd7555b44a 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:= \ -- 2.30.2