From b2943192155ee094ecd42df11181c5fb55fc19e6 Mon Sep 17 00:00:00 2001 From: Luka Perkov Date: Wed, 6 Nov 2013 19:24:32 +0000 Subject: [PATCH] kirkwood: add support for dockstar Signed-off-by: Luka Perkov SVN-Revision: 38664 --- 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 d78c5a2326..d16615249c 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 28b180223c..ebb71b76b8 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:= \ -- 2.25.1