root/trunk/freewrt/target/Config.in

Revision 3801, 12.2 kB (checked in by n0-1, 2 months ago)

add link to installation docs for fon2100

Line 
1 # $FreeWRT$
2 #-
3 # This file is part of the FreeWRT project. FreeWRT is copyrighted
4 # material, please see the LICENCE file in the top-level directory
5 # or at http://www.freewrt.org/licence for details.
6
7 menu "Target system"
8
9 choice
10 prompt "Target board category"
11 depends on !FWRT_LINUX_SNAPSHOT_META_TARGET
12
13 config FWRT_TARGET_CATEGORY_MIPS
14         bool "MIPS-based routers (Broadcom, Routerboard, Atheros)"
15         help
16           Select here to choose one of the embedded WLAN router
17           devices (ASUS WL500gP, Netgear WGT634u, Linksys WRT54G)
18           or the Mikrotik routerboard.
19
20 config FWRT_TARGET_CATEGORY_I386
21         bool "I386-based systems (Soekris, WRAP)"
22         depends on FWRT_DEVEL
23         help
24           Select here to choose one of the various i386 experimental
25           targets
26
27 config FWRT_TARGET_CATEGORY_NOKERNEL
28         bool "virtual targets for various CPUs"
29         depends on FWRT_DEVEL
30         help
31           Select here to choose a target without a Linux kernel built
32           for various machine architectures (platforms). Packages
33           build here run on all other targets with the same architecture.
34
35 endchoice
36
37 config FWRT_TARGET_CAN_LINUX_2_4
38         bool
39         default n
40
41 config FWRT_TARGET_CAN_LINUX_2_6
42         bool
43         default n
44
45 choice
46 prompt "Embedded Device"
47         default FWRT_DEVICE_BRCM_ASUS_WL500G_PREMIUM if FWRT_TARGET_CATEGORY_MIPS
48
49 #
50 # brcm-2.4, brcm-2.6
51 #
52 config FWRT_DEVICE_BRCM_ASUS_WL500G
53         depends on FWRT_TARGET_CATEGORY_MIPS
54         depends on FWRT_END_OF_LIFE
55         bool "Asus WL500g"
56         select FWRT_TARGET_CAN_LINUX_2_4
57         select !FWRT_TARGET_CAN_LINUX_2_6
58         help
59           Asus WL500g
60
61 config FWRT_DEVICE_BRCM_ASUS_WL500G_DELUXE
62         depends on FWRT_TARGET_CATEGORY_MIPS
63         depends on FWRT_END_OF_LIFE
64         bool "Asus WL500g Deluxe"
65         select FWRT_TARGET_CAN_LINUX_2_4
66         select !FWRT_TARGET_CAN_LINUX_2_6
67         help
68           Asus WL500g Deluxe
69
70 config FWRT_DEVICE_BRCM_ASUS_WL500G_PREMIUM
71         depends on FWRT_TARGET_CATEGORY_MIPS
72         bool "Asus WL500g Premium"
73         select FWRT_TARGET_CAN_LINUX_2_4
74         select FWRT_TARGET_CAN_LINUX_2_6 if FWRT_DEVEL
75         select !FWRT_TARGET_CAN_LINUX_2_6 if !FWRT_DEVEL
76         help
77           Asus WL500g Premium
78
79 config FWRT_DEVICE_BRCM_LINKSYS_WRT54G
80         depends on FWRT_TARGET_CATEGORY_MIPS
81         bool "Linksys WRT54GL"
82         select FWRT_TARGET_CAN_LINUX_2_4
83         select !FWRT_TARGET_CAN_LINUX_2_6
84         help
85           Linksys WRT54GL
86
87 config FWRT_DEVICE_BRCM_LINKSYS_WRT54GS
88         depends on FWRT_TARGET_CATEGORY_MIPS
89         depends on FWRT_END_OF_LIFE
90         bool "Linksys WRT54GS v1.0/1.1"
91         select FWRT_TARGET_CAN_LINUX_2_4
92         select !FWRT_TARGET_CAN_LINUX_2_6
93         help
94           Linksys WRT54GS v1.0 with 8 MiB flash
95           Linksys WRT54GS v1.1 with 8 MiB flash
96
97 config FWRT_DEVICE_BRCM_LINKSYS_WRT54GS_4
98         depends on FWRT_TARGET_CATEGORY_MIPS
99         depends on FWRT_END_OF_LIFE
100         bool "Linksys WRT54GS v4"
101         select FWRT_TARGET_CAN_LINUX_2_4
102         select !FWRT_TARGET_CAN_LINUX_2_6
103         help
104           Linksys WRT54GS v4 with 4 MiB flash
105
106 config FWRT_DEVICE_BRCM_LINKSYS_WRT54G3G
107         depends on FWRT_TARGET_CATEGORY_MIPS
108         bool "Linksys WRT54G3G"
109         select FWRT_TARGET_CAN_LINUX_2_4
110         select !FWRT_TARGET_CAN_LINUX_2_6
111         help
112           Linksys WRT54G3G
113
114 config FWRT_DEVICE_BRCM_NETGEAR_WGT634U
115         depends on FWRT_TARGET_CATEGORY_MIPS
116         bool "Netgear WGT634U"
117         select FWRT_TARGET_CAN_LINUX_2_4
118         select !FWRT_TARGET_CAN_LINUX_2_6
119         help
120           Netgear WGT634U
121
122 #
123 # rb-2.4, rb-2.6
124 #
125 config FWRT_DEVICE_RB_RB532
126         depends on FWRT_TARGET_CATEGORY_MIPS
127         bool "Mikrotik RouterBoard 532"
128         select FWRT_TARGET_CAN_LINUX_2_4
129         select FWRT_TARGET_CAN_LINUX_2_6
130         help
131           Mikrotik RouterBoard 532
132           http://www.routerboard.com/
133
134 #
135 # atheros
136 #
137 config FWRT_DEVICE_ATHEROS
138         depends on FWRT_TARGET_CATEGORY_MIPS
139         bool "Atheros SoC Boards"
140         select !FWRT_TARGET_CAN_LINUX_2_4
141         select FWRT_TARGET_CAN_LINUX_2_6
142         help
143           Support for the fon2100, an Atheros SoC
144           device distributed by Fon.
145
146           For installation instructions, see
147           http://freewrt.org/trac/wiki/Documentation/Hardware/Fon2100
148
149 #
150 # i386-2.4, i386-2.6
151 #
152 config FWRT_DEVICE_X86_WRAP
153         depends on FWRT_TARGET_CATEGORY_I386
154         depends on FWRT_DEVEL
155         bool "PC Engines WRAP"
156         select FWRT_TARGET_CAN_LINUX_2_4
157         select FWRT_TARGET_CAN_LINUX_2_6
158         help
159           WRAP
160           http://www.pcengines.ch/
161
162 config FWRT_DEVICE_X86_CRYPTOTOKEN
163         depends on FWRT_TARGET_CATEGORY_I386
164         depends on FWRT_DEVEL
165         bool "initramfs with cryptotoken tools"
166         select !FWRT_TARGET_CAN_LINUX_2_4
167         select FWRT_TARGET_CAN_LINUX_2_6
168         help
169           Initramfs with tools for cryptotokens.
170           Virtual target.
171
172 #
173 # virtual targets (userland only)
174 #
175 config FWRT_LINUX_NOKERNEL_ARM
176         bool "arm"
177         depends on FWRT_DEVEL
178         depends on FWRT_TARGET_CATEGORY_NOKERNEL
179         select FWRT_TARGET_CAN_LINUX_2_4
180         select FWRT_TARGET_CAN_LINUX_2_6
181         help
182           This is a target which does not build a kernel, root filesy-
183           stem or flash image; it is mostly used for testing packages.
184           Where a kernel is required, Linux 2.4 will be used.
185
186           This option selects the little-endian 32-bit ARM platform.
187
188 config FWRT_LINUX_NOKERNEL_ARMEB
189         bool "armeb"
190         depends on FWRT_DEVEL
191         depends on FWRT_TARGET_CATEGORY_NOKERNEL
192         select FWRT_TARGET_CAN_LINUX_2_4
193         select FWRT_TARGET_CAN_LINUX_2_6
194         help
195           This is a target which does not build a kernel, root filesy-
196           stem or flash image; it is mostly used for testing packages.
197           Where a kernel is required, Linux 2.4 will be used.
198
199           This option selects the big-endian 32-bit ARM platform.
200
201 #config FWRT_LINUX_NOKERNEL_AVR32
202 #       bool "avr32"
203 #       depends on FWRT_DEVEL
204 #       depends on FWRT_TARGET_CATEGORY_NOKERNEL
205 #       select FWRT_TARGET_CAN_LINUX_2_4
206 #       select FWRT_TARGET_CAN_LINUX_2_6
207 #       help
208 #         This is a target which does not build a kernel, root filesy-
209 #         stem or flash image; it is mostly used for testing packages.
210 #         Where a kernel is required, Linux 2.4 will be used.
211 #
212 #         This option selects the big-endian 32-bit AVR platform.
213
214 config FWRT_LINUX_NOKERNEL_CRIS
215         bool "cris"
216         depends on FWRT_DEVEL
217         depends on FWRT_TARGET_CATEGORY_NOKERNEL
218         select FWRT_TARGET_CAN_LINUX_2_4
219         select FWRT_TARGET_CAN_LINUX_2_6
220         help
221           This is a target which does not build a kernel, root filesy-
222           stem or flash image; it is mostly used for testing packages.
223           Where a kernel is required, Linux 2.4 will be used.
224
225           This option selects the little-endian 32-bit CRIS platform.
226
227 config FWRT_LINUX_NOKERNEL_I386
228         bool "i386"
229         depends on FWRT_DEVEL
230         depends on FWRT_TARGET_CATEGORY_NOKERNEL
231         select FWRT_TARGET_CAN_LINUX_2_4
232         select FWRT_TARGET_CAN_LINUX_2_6
233         help
234           This is a target which does not build a kernel, root filesy-
235           stem or flash image; it is mostly used for testing packages.
236           Where a kernel is required, Linux 2.4 will be used.
237
238           This option selects the little-endian 32-bit i386 platform.
239
240 config FWRT_LINUX_NOKERNEL_MIPS
241         bool "mipsel"
242         depends on FWRT_DEVEL
243         depends on FWRT_TARGET_CATEGORY_NOKERNEL
244         select FWRT_TARGET_CAN_LINUX_2_4
245         select FWRT_TARGET_CAN_LINUX_2_6
246         help
247           This is a target which does not build a kernel, root filesy-
248           stem or flash image; it is mostly used for testing packages.
249           Where a kernel is required, Linux 2.4 will be used.
250
251           This option selects the little-endian 32-bit mips platform.
252
253 config FWRT_LINUX_NOKERNEL_POWERPC
254         bool "powerpc"
255         depends on FWRT_DEVEL
256         depends on FWRT_TARGET_CATEGORY_NOKERNEL
257         select FWRT_TARGET_CAN_LINUX_2_4
258         select FWRT_TARGET_CAN_LINUX_2_6
259         help
260           This is a target which does not build a kernel, root filesy-
261           stem or flash image; it is mostly used for testing packages.
262           Where a kernel is required, Linux 2.4 will be used.
263
264           This option selects the big-endian 32-bit powerpc platform.
265
266 endchoice
267
268 source "target/linux/atheros-2.6/Config.in"
269 source "target/linux/brcm-2.4/Config.in"
270 source "target/linux/brcm-2.6/Config.in"
271 source "target/linux/rb-2.4/Config.in"
272 source "target/linux/rb-2.6/Config.in"
273 source "target/linux/x86-2.4/Config.in"
274 source "target/linux/x86-2.6/Config.in"
275 source "target/linux/nokernel/Config.in"
276
277 choice
278 prompt "Kernel"
279         default FWRT_TARGET_WITH_LINUX_2_4
280
281 config FWRT_TARGET_WITH_LINUX_2_4
282         bool "Linux 2.4.x"
283         depends on FWRT_TARGET_CAN_LINUX_2_4
284         select FWRT_LINUX_2_4
285
286 config FWRT_TARGET_WITH_LINUX_2_6
287         bool "Linux 2.6.x"
288         depends on FWRT_TARGET_CAN_LINUX_2_6
289         select FWRT_LINUX_2_6
290
291 endchoice
292
293 source "target/Config.in.kernel"
294
295 choice
296 prompt "Target Firmware type"
297         default FWRT_TARGET_ROOTFS_NFS if FWRT_LINUX_2_4_RB || FWRT_LINUX_2_6_RB
298         default FWRT_TARGET_ROOTFS_NONE if FWRT_TARGET_NOKERNEL
299         default FWRT_TARGET_ROOTFS_SQUASHFS
300
301 config FWRT_TARGET_ROOTFS_JFFS2
302         bool "writable root filesystem (jffs2)"
303         select FWRT_PACKAGE_MTD
304         select FWRT_PACKAGE_FWCF
305         select FWRT_PACKAGE_JFFS2ROOT
306         select FWRT_KERNEL_JFFS2_FS
307         select FWRT_KERNEL_JFFS2_BBC_LZARI
308         depends on FWRT_LINUX_2_4_BRCM || FWRT_LINUX_2_6_ATHEROS
309         help
310           Build firmware images with a writable jffs2 root filesystem.
311
312 config FWRT_TARGET_ROOTFS_SQUASHFS
313         bool "read-only root filesystem and overlay fs (squashfs)"
314         select FWRT_PACKAGE_MTD
315         select FWRT_PACKAGE_FWCF
316         select FWRT_PACKAGE_JFFS2ROOT
317         select FWRT_KERNEL_JFFS2_FS
318         select FWRT_KERNEL_SQUASHFS
319         select FWRT_KERNEL_MINI_FO
320         depends on FWRT_LINUX_2_4_BRCM
321         help
322           Build firmware images with a read-only and highly compressed
323           (squashfs with lzma compression) root filesystem and an overlay
324           filesystem for a pseudo writable root filesystem. Only differences
325           to the read-only image are kept on a writable jffs2 partition.
326
327 config FWRT_TARGET_ROOTFS_RAMOVL
328         bool "read-only root filesystem and tmpfs (squashfs)"
329         select FWRT_PACKAGE_MTD
330         select FWRT_PACKAGE_FWCF if !FWRT_LINUX_2_6_BRCM
331         select FWRT_KERNEL_SQUASHFS
332         select FWRT_KERNEL_MINI_FO
333         depends on FWRT_LINUX_2_4_BRCM || FWRT_LINUX_2_6_BRCM
334         help
335           Build firmware images with a read-only and highly compressed
336           (squashfs with lzma compression) root filesystem and an overlay
337           filesystem for a pseudo writable root filesystem. Differences
338           to the read-only image are kept in RAM and lost on reboot.
339
340 config FWRT_TARGET_ROOTFS_NFS
341         bool "root filesystem via NFS"
342 # for now (broken on wl-500gP)
343 #       depends on FWRT_LINUX_2_4_RB || \
344 #                  FWRT_LINUX_2_6_RB || \
345 #                  FWRT_LINUX_2_4_BRCM
346         depends on FWRT_LINUX_2_4_RB || \
347                    FWRT_LINUX_2_6_RB || \
348                    FWRT_LINUX_2_4_BRCM_NETGEAR_WGT634U || \
349                    FWRT_LINUX_2_6_ATHEROS
350         select FWRT_KERNEL_EXT2_FS if !FWRT_LINUX_2_4_BRCM
351         select FWRT_KERNEL_IP_PNP
352         select FWRT_KERNEL_IP_PNP_DHCP
353         select FWRT_KERNEL_NFS_FS
354         select FWRT_KERNEL_NFS_V3
355         select FWRT_KERNEL_ROOT_NFS
356         select FWRT_KERNEL_LOCKD
357         select FWRT_KERNEL_NFS_COMMON
358         select FWRT_KERNEL_SUNRPC
359         select FWRT_KERNEL_YAFFS_FS if FWRT_LINUX_2_4_RB || FWRT_LINUX_2_6_RB
360         select FWRT_KERNEL_YAFFS_YAFFS1 if FWRT_LINUX_2_4_RB || FWRT_LINUX_2_6_RB
361         select FWRT_KERNEL_YAFFS_YAFFS2 if FWRT_LINUX_2_4_RB || FWRT_LINUX_2_6_RB
362         select FWRT_KERNEL_YAFFS_AUTO_YAFFS2 if FWRT_LINUX_2_4_RB || FWRT_LINUX_2_6_RB
363         select FWRT_KERNEL_YAFFS_SHORT_NAMES_IN_RAM if FWRT_LINUX_2_4_RB || FWRT_LINUX_2_6_RB
364         help
365           Use this option if you want to use a nfs-mounted root filesystem.
366
367 config FWRT_TARGET_ROOTFS_EXT2_CF
368         bool "read-write filesystem for compact flash (ext2)"
369         depends on FWRT_LINUX_2_4_RB || \
370                    FWRT_LINUX_2_6_RB || \
371                    FWRT_LINUX_2_4_X86 || \
372                    FWRT_LINUX_2_6_X86 && \
373                    ! FWRT_LINUX_2_6_X86_CRYPTOTOKEN
374         select FWRT_KERNEL_EXT2_FS
375         select FWRT_KERNEL_YAFFS_FS
376         select FWRT_KERNEL_YAFFS_YAFFS1
377         select FWRT_KERNEL_YAFFS_YAFFS2
378         select FWRT_KERNEL_YAFFS_AUTO_YAFFS2
379         select FWRT_KERNEL_YAFFS_SHORT_NAMES_IN_RAM
380         help
381           Use this option if you have a compact flash
382           inside your hardware and want to boot FreeWRT from it.
383
384 config FWRT_TARGET_ROOTFS_YAFFS2
385         bool "read-write filesystem for NAND flash using YAFFS2"
386         depends on FWRT_LINUX_2_4_RB || \
387                    FWRT_LINUX_2_6_RB
388         select FWRT_KERNEL_YAFFS_FS
389         select FWRT_KERNEL_YAFFS_YAFFS1
390         select FWRT_KERNEL_YAFFS_YAFFS2
391         select FWRT_KERNEL_YAFFS_AUTO_YAFFS2
392         select FWRT_KERNEL_YAFFS_SHORT_NAMES_IN_RAM
393         help
394           Use this option if you want to install FreeWRT to RouterBoard's
395           internal NAND flash.
396
397 config FWRT_TARGET_ROOTFS_INITRAMFS
398         bool "initramfs image (cpio archive)"
399         depends on FWRT_LINUX_2_6_X86_CRYPTOTOKEN || \
400             FWRT_TARGET_NOKERNEL || \
401             (FWRT_DEVEL && FWRT_LINUX_2_6)
402         depends on !FWRT_LINUX_2_6_ATHEROS
403         help
404           create a initramfs only.
405
406 config FWRT_TARGET_ROOTFS_NONE
407         bool "none, only generate packages"
408         depends on FWRT_TARGET_NOKERNEL
409         help
410           do not create a root filesystem
411
412 endchoice
413
414 config FWRT_TARGET_USE_INITRAMFS
415         bool "use an initramfs image"
416         depends on FWRT_LINUX_2_6
417         depends on FWRT_DEVEL
418         default n
419         help
420           embed a custom initramfs into the kernel
421
422 config FWRT_INITRAMFS_SOURCE
423         string "path to initramfs image"
424         depends on FWRT_TARGET_USE_INITRAMFS
425         help
426           path, relative to ${TOPDIR}
427
428 endmenu
Note: See TracBrowser for help on using the browser.