From 8dfb87bebc2c64863d75c0248b73a7144c3c00c9 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 26 Nov 2014 09:00:48 +0000 Subject: [PATCH] kirkwood: Add support for Iomega StorCenter ix2-200 Signed-off-by: Richard Kunze SVN-Revision: 43391 --- target/linux/kirkwood/image/Makefile | 3 +++ target/linux/kirkwood/profiles/110-nas.mk | 19 +++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/target/linux/kirkwood/image/Makefile b/target/linux/kirkwood/image/Makefile index 3852cacd3a..ec1b9780ae 100644 --- a/target/linux/kirkwood/image/Makefile +++ b/target/linux/kirkwood/image/Makefile @@ -135,6 +135,9 @@ Image/InstallKernel/Template/ICONNECT=$(call Image/InstallKernel/Template,iconne Image/BuildKernel/Template/POGOE02=$(call Image/BuildKernel/Template,pogo_e02) Image/InstallKernel/Template/POGOE02=$(call Image/InstallKernel/Template,pogo_e02) +Image/BuildKernel/Template/IOMEGA_IX2_200=$(call Image/BuildKernel/Template,iomega_ix2_200) +Image/InstallKernel/Template/IOMEGA_IX2_200=$(call Image/InstallKernel/Template,iomega_ix2_200) + define Image/BuildKernel $(call Image/BuildKernel/Template/$(PROFILE)) endef diff --git a/target/linux/kirkwood/profiles/110-nas.mk b/target/linux/kirkwood/profiles/110-nas.mk index eff59528a0..1bd188c11e 100644 --- a/target/linux/kirkwood/profiles/110-nas.mk +++ b/target/linux/kirkwood/profiles/110-nas.mk @@ -84,3 +84,22 @@ POGOE02_UBIFS_OPTS:="-m 2048 -e 126KiB -c 4096" POGOE02_UBI_OPTS:="-m 2048 -p 128KiB -s 512" $(eval $(call Profile,POGOE02)) + + +define Profile/IOMEGA_IX2_200 + NAME:=Iomega StorCenter ix2-200 + PACKAGES:= \ + kmod-ata-core kmod-ata-marvell-sata \ + kmod-usb2 kmod-usb-storage \ + uboot-envtools +endef + +define Profile/IOMEGA_IX2_200/Description + Package set compatible with Iomega StorCenter ix2-200 board. +endef + +IOMEGA_IX2_200_UBIFS_OPTS:="-m 512 -e 15872 -c 2048" +IOMEGA_IX2_200_UBI_OPTS:="-m 512 -p 16384 -s 256" + +$(eval $(call Profile,IOMEGA_IX2_200)) + -- 2.30.2