kirkwood: add support for dockstar
authorLuka Perkov <luka@openwrt.org>
Wed, 6 Nov 2013 19:24:32 +0000 (19:24 +0000)
committerLuka Perkov <luka@openwrt.org>
Wed, 6 Nov 2013 19:24:32 +0000 (19:24 +0000)
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38664

target/linux/kirkwood/image/Makefile
target/linux/kirkwood/profiles/110-nas.mk

index d78c5a23266af4015b945a147227a2805aa7e888..d16615249c76397f47c084e4aa90783bcb0a3b43 100644 (file)
@@ -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)
 
index 28b180223c5e337eb506d75f3a462a64314a53e0..ebb71b76b87f0bedcb60b7d63f5796072aed1e4a 100644 (file)
@@ -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:= \