kirkwood: add initial support for NSA310s
[openwrt.git] / target / linux / kirkwood / profiles / 110-nas.mk
1 #
2 # Copyright (C) 2013 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 define Profile/DOCKSTAR
9   NAME:=Seagate FreeAgent Dockstar
10   PACKAGES:= \
11         kmod-rtc-marvell kmod-usb2 kmod-usb-storage
12 endef
13
14 define Profile/DOCKSTAR/Description
15  Package set compatible with Seagate FreeAgent Dockstar board.
16 endef
17
18 DOCKSTAR_UBIFS_OPTS:="-m 2048 -e 126KiB -c 4096"
19 DOCKSTAR_UBI_OPTS:="-m 2048 -p 128KiB -s 512"
20
21 $(eval $(call Profile,DOCKSTAR))
22
23 define Profile/GOFLEXHOME
24   NAME:=Seagate GoFlexHome
25   PACKAGES:= \
26         kmod-ata-core kmod-ata-marvell-sata \
27         kmod-rtc-marvell kmod-usb2 kmod-usb-storage \
28         uboot-envtools
29 endef
30
31 define Profile/GOFLEXHOME/Description
32  Package set compatible with Seagate GoFlexHome
33 endef
34
35 GOFLEXHOME_UBIFS_OPTS:="-m 2048 -e 126KiB -c 4096"
36 GOFLEXHOME_UBI_OPTS:="-m 2048 -p 128KiB -s 512"
37
38 $(eval $(call Profile,GOFLEXHOME))
39
40 define Profile/GOFLEXNET
41   NAME:=Seagate GoFlexNet
42   PACKAGES:= \
43         kmod-ata-core kmod-ata-marvell-sata \
44         kmod-usb2 kmod-usb-storage
45 endef
46
47 define Profile/GOFLEXNET/Description
48  Package set compatible with Seagate GoFlexNet
49 endef
50
51 GOFLEXNET_UBIFS_OPTS:="-m 2048 -e 126KiB -c 4096"
52 GOFLEXNET_UBI_OPTS:="-m 2048 -p 128KiB -s 512"
53
54 $(eval $(call Profile,GOFLEXNET))
55
56 define Profile/IB62X0
57   NAME:=RaidSonic ICY BOX IB-NAS62x0
58   PACKAGES:= \
59         kmod-ata-core kmod-ata-marvell-sata \
60         kmod-rtc-marvell kmod-usb2 kmod-usb-storage
61 endef
62
63 define Profile/IB62X0/Description
64  Package set compatible with RaidSonic ICY BOX IB-NAS62x0 board.
65 endef
66
67 IB62X0_UBIFS_OPTS:="-m 2048 -e 126KiB -c 4096"
68 IB62X0_UBI_OPTS:="-m 2048 -p 128KiB -s 512"
69
70 $(eval $(call Profile,IB62X0))
71
72 define Profile/ICONNECT
73   NAME:=Iomega Iconnect
74   PACKAGES:= \
75         kmod-usb2 kmod-usb-storage
76 endef
77
78 define Profile/ICONNECT/Description
79  Package set compatible with Iomega Iconnect board.
80 endef
81
82 ICONNECT_UBIFS_OPTS:="-m 2048 -e 126KiB -c 4096"
83 ICONNECT_UBI_OPTS:="-m 2048 -p 128KiB -s 512"
84
85 $(eval $(call Profile,ICONNECT))
86
87 define Profile/IOMEGA_IX2_200
88   NAME:=Iomega StorCenter ix2-200
89   PACKAGES:= \
90         kmod-ata-core kmod-ata-marvell-sata \
91         kmod-usb2 kmod-usb-storage
92 endef
93
94 define Profile/IOMEGA_IX2_200/Description
95  Package set compatible with Iomega StorCenter ix2-200 board.
96 endef
97
98 IOMEGA_IX2_200_UBIFS_OPTS:="-m 512 -e 15872 -c 2048"
99 IOMEGA_IX2_200_UBI_OPTS:="-m 512 -p 16384 -s 256"
100
101 $(eval $(call Profile,IOMEGA_IX2_200))
102
103 define Profile/NSA310S
104   NAME:=ZyXEL NSA310S
105   PACKAGES:= \
106         kmod-ata-core kmod-ata-marvell-sata \
107         kmod-rtc-marvell kmod-usb2 kmod-usb-storage
108 endef
109
110 define Profile/NSA310S/Description
111  Package set compatible with ZyXEL NSA310S board.
112 endef
113
114 NSA310S_UBIFS_OPTS:="-m 2048 -e 126KiB -c 4096"
115 NSA310S_UBI_OPTS:="-m 2048 -p 128KiB -s 512"
116
117 $(eval $(call Profile,NSA310S))
118
119 define Profile/POGOE02
120   NAME:=Cloud Engines Pogoplug E02
121   PACKAGES:= \
122         kmod-usb2 kmod-usb-storage
123 endef
124
125 define Profile/POGOE02/Description
126  Package set compatible with Cloud Engines Pogoplug E02 board.
127 endef
128
129 POGOE02_UBIFS_OPTS:="-m 2048 -e 126KiB -c 4096"
130 POGOE02_UBI_OPTS:="-m 2048 -p 128KiB -s 512"
131
132 $(eval $(call Profile,POGOE02))