summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2013-11-06 19:24:32 +0000
committerLuka Perkov <luka@openwrt.org>2013-11-06 19:24:32 +0000
commitb2943192155ee094ecd42df11181c5fb55fc19e6 (patch)
tree383865c7de073d8737b65d637f370deefb484ec4
parentd9c9633d194fd3059464a280854862807b1b98d9 (diff)
downloadmtk-20170518-b2943192155ee094ecd42df11181c5fb55fc19e6.zip
mtk-20170518-b2943192155ee094ecd42df11181c5fb55fc19e6.tar.gz
mtk-20170518-b2943192155ee094ecd42df11181c5fb55fc19e6.tar.bz2
kirkwood: add support for dockstar
Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38664
-rw-r--r--target/linux/kirkwood/image/Makefile3
-rw-r--r--target/linux/kirkwood/profiles/110-nas.mk17
2 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/kirkwood/image/Makefile b/target/linux/kirkwood/image/Makefile
index d78c5a2..d166152 100644
--- a/target/linux/kirkwood/image/Makefile
+++ b/target/linux/kirkwood/image/Makefile
@@ -114,6 +114,9 @@ endef
Image/BuildKernel/Template/Generic=$(call Image/BuildKernel/Template)
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/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 28b1802..ebb71b7 100644
--- a/target/linux/kirkwood/profiles/110-nas.mk
+++ b/target/linux/kirkwood/profiles/110-nas.mk
@@ -5,6 +5,23 @@
# See /LICENSE for more information.
#
+define Profile/DOCKSTAR
+ NAME:=Seagate FreeAgent Dockstar
+ PACKAGES:= \
+ kmod-ata-core kmod-ata-marvell-sata \
+ kmod-rtc-marvell kmod-usb2 kmod-usb-storage \
+ uboot-envtools
+endef
+
+define Profile/DOCKSTAR/Description
+ Package set compatible with Seagate FreeAgent Dockstar board.
+endef
+
+DOCKSTAR_UBIFS_OPTS:="-m 2048 -e 126KiB -c 4096 -U"
+DOCKSTAR_UBI_OPTS:="-m 2048 -p 128KiB -s 512"
+
+$(eval $(call Profile,DOCKSTAR))
+
define Profile/IB62X0
NAME:=RaidSonic ICY BOX IB-NAS62x0
PACKAGES:= \