1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
8 config ADK_TARGET_WITH_USB
11 config ADK_TARGET_WITH_PCI
14 config ADK_TARGET_WITH_MINIPCI
17 config ADK_TARGET_WITH_VGA
20 config ADK_TARGET_WITH_INPUT
23 config ADK_TARGET_WITH_LEDS
26 config ADK_TARGET_WITH_PP
29 config ADK_TARGET_WITH_CARDBUS
32 config ADK_TARGET_WITH_RTC
35 config ADK_TARGET_WITH_WATCHDOG
38 config ADK_TARGET_WITH_DSL
41 config ADK_TOOLCHAIN_ONLY
44 config ADK_TARGET_NO_FPU
68 config ADK_arm_toolchain
71 config ADK_armel_toolchain
74 config ADK_mips_toolchain
77 config ADK_mipsel_toolchain
80 config ADK_ppc_toolchain
83 config ADK_sparc_toolchain
86 config ADK_x86_toolchain
89 config ADK_x86_64_toolchain
98 config ADK_mipsel_qemu
101 config ADK_mips64_qemu
104 config ADK_mips64el_qemu
113 config ADK_x86_64_qemu
137 config ADK_x86_rescue
140 config ADK_x86_64_rescue
143 config ADK_mips_rescue
146 config ADK_mipsel_rescue
160 default "alix1c" if ADK_alix1c
161 default "alix2d" if ADK_alix2d
162 default "alix2d13" if ADK_alix2d13
163 default "wrap" if ADK_wrap
164 default "toolchain-arm" if ADK_arm_toolchain
165 default "toolchain-armel" if ADK_armel_toolchain
166 default "toolchain-mips" if ADK_mips_toolchain
167 default "toolchain-mipsel" if ADK_mipsel_toolchain
168 default "toolchain-ppc" if ADK_ppc_toolchain
169 default "toolchain-sparc" if ADK_sparc_toolchain
170 default "toolchain-x86" if ADK_x86_toolchain
171 default "toolchain-x86_64" if ADK_x86_64_toolchain
172 default "qemu-arm" if ADK_arm_qemu
173 default "qemu-cris" if ADK_cris_qemu
174 default "qemu-mips" if ADK_mips_qemu
175 default "qemu-mipsel" if ADK_mipsel_qemu
176 default "qemu-x86" if ADK_x86_qemu
177 default "qemu-x86_64" if ADK_x86_64_qemu
178 default "foxboard" if ADK_foxboard
179 default "foxg20" if ADK_foxg20
180 default "native" if ADK_NATIVE
181 default "rb532" if ADK_rb532
182 default "rb411" if ADK_rb411
183 default "rb433" if ADK_rb433
184 default "zaurus" if ADK_arm
185 default "lemote" if ADK_lemote
186 default "wag54g" if ADK_wag54g
187 default "ag241" if ADK_ag241
188 default "rescue-x86" if ADK_x86_rescue
189 default "rescue-x86_64" if ADK_x86_64_rescue
190 default "rescue-mips" if ADK_mips_rescue
191 default "rescue-mipsel" if ADK_mipsel_rescue
192 default "shuttle" if ADK_shuttle
206 default "uclibc" if ADK_uclibc
207 default "eglibc" if ADK_eglibc
208 default "glibc" if ADK_glibc
209 default "native" if ADK_NATIVE
214 prompt "Embedded Device or Emulator"
215 default ADK_LINUX_NATIVE
217 config ADK_LINUX_NATIVE
218 bool "Native platform"
220 depends on ADK_HOST_LINUX
222 Make a native build. Use host tools.
223 No toolchain will be created.
225 config ADK_LINUX_ALIX
226 bool "ALIX and WRAP boards"
228 Support for Alix and Wrap boards.
229 http://www.pcengines.ch
231 config ADK_LINUX_ARM_FOXBOARD
232 bool "Foxboard (FOXG20)"
235 select ADK_KERNEL_NLS
236 select ADK_KERNEL_EXT2_FS
237 select ADK_KPACKAGE_KMOD_VFAT_FS
238 select ADK_PACKAGE_KMOD_USB_CONTROLLER
239 select ADK_KERNEL_NETDEVICES
240 select ADK_KERNEL_NET_PCI
241 select ADK_KERNEL_NET_ETHERNET
242 select ADK_KERNEL_MII
243 select ADK_TARGET_WITH_USB
244 select ADK_TARGET_WITH_WATCHDOG
246 Support for Foxboard target (foxg20).
247 http://foxg20.acmesystems.it/doku.php
250 config ADK_LINUX_CRIS_FOXBOARD
251 bool "Foxboard (ETRAX LX100)"
253 select ADK_PACKAGE_KMOD_USB_CONTROLLER
254 select ADK_KERNEL_NLS
255 select ADK_TARGET_WITH_USB
257 Support for Foxboard targets.
258 http://foxlx.acmesystems.it/
261 config ADK_LINUX_MIPS64_LEMOTE
262 bool "Lemote Subnotebook Yeeloong"
265 select ADK_KERNEL_EXT2_FS
266 select ADK_KERNEL_SCSI
267 select ADK_KERNEL_ATA
268 select ADK_KERNEL_BLK_DEV_SD
269 select ADK_KERNEL_INPUT_KEYBOARD
270 select ADK_KERNEL_NETDEVICES
271 select ADK_KERNEL_NET_PCI
272 select ADK_KERNEL_NET_ETHERNET
273 select ADK_KERNEL_MII
274 select ADK_KERNEL_SWAP
275 select ADK_TARGET_WITH_USB
276 select ADK_TARGET_WITH_VGA
277 select ADK_TARGET_WITH_INPUT
278 select ADK_TARGET_WITH_PCI
279 select ADK_TARGET_WITH_RTC
280 select ADK_PACKAGE_KMOD_USB_CONTROLLER
283 http://www.lemote.com/english/index.html
284 http://www.tekmote.nl/
287 config ADK_LINUX_MIKROTIK
288 bool "Mikrotik Routerboards"
290 Support for Mikrotik Routerboards
291 http://www.mikrotik.com
292 http://www.routerboards.com
294 #config ADK_LINUX_MIPS_WAG54G
295 # bool "Linksys WAG54G"
296 # select ADK_KERNEL_NETDEVICES
297 # select ADK_KERNEL_NET_PCI
298 # select ADK_KERNEL_NET_ETHERNET
299 # select ADK_KERNEL_MII
302 # Linksys WAG54G DSL router with Wireless.
303 # (Texas Instruments AR7 platform)
305 config ADK_LINUX_MIPS_AG241
306 bool "Linksys AG241v2"
307 select ADK_KERNEL_NETDEVICES
308 select ADK_KERNEL_NET_PCI
309 select ADK_KERNEL_NET_ETHERNET
310 select ADK_KERNEL_MII
311 select ADK_PACKAGE_KMOD_SANGAM_ATM
312 select ADK_KPACKAGE_KMOD_ATM_BR2684
313 select ADK_PACKAGE_BR2684CTL
314 select ADK_TARGET_WITH_DSL
315 select ADK_TARGET_WITH_WATCHDOG
318 Linksys AG241 DSL router.
319 (Texas Instruments AR7 platform)
322 config ADK_LINUX_XSCALE_ZAURUS
323 bool "Zaurus SL-C3200"
325 select ADK_TARGET_NO_FPU
326 select ADK_TARGET_WITH_INPUT
327 depends on ADK_BROKEN
329 Support for Sharp Zaurus SL-C3200 (aka Terrier)
332 config ADK_LINUX_RESCUE
333 bool "Minimal Linux Rescuesystem"
334 select ADK_KERNEL_INPUT_KEYBOARD
335 select ADK_TARGET_WITH_INPUT
337 Rescuesystem with can be used to Boot from Disk or USB stick.
340 config ADK_LINUX_QEMU
342 select ADK_KERNEL_NET_PCI
343 select ADK_KERNEL_NETDEVICES
344 select ADK_KERNEL_MII
345 select ADK_KERNEL_NET_ETHERNET
346 select ADK_TARGET_WITH_INPUT
348 Support for Qemu Emulator
350 config ADK_LINUX_TOOLCHAIN
351 bool "Toolchain only support"
353 Toolchain only support
355 config ADK_LINUX_X86_64_SHUTTLE
358 select ADK_TARGET_WITH_USB
359 select ADK_TARGET_WITH_VGA
360 select ADK_TARGET_WITH_PCI
361 select ADK_TARGET_WITH_INPUT
362 select ADK_TARGET_WITH_PP
363 select ADK_KERNEL_INPUT_KEYBOARD
364 select ADK_KERNEL_SCSI
365 select ADK_KERNEL_NETDEVICES
366 select ADK_KERNEL_NET_PCI
367 select ADK_KERNEL_NET_ETHERNET
368 select ADK_KERNEL_SATA_AHCI if ADK_TARGET_ROOTFS_ARCHIVE
369 select ADK_KERNEL_BLK_DEV_SD if ADK_TARGET_ROOTFS_ARCHIVE
370 select ADK_KERNEL_BLK_DEV_MD if ADK_TARGET_ROOTFS_ARCHIVE
371 select ADK_KERNEL_MD_RAID0 if ADK_TARGET_ROOTFS_ARCHIVE
372 select ADK_KERNEL_MD_RAID1 if ADK_TARGET_ROOTFS_ARCHIVE
373 select ADK_KPACKAGE_KMOD_SATA_AHCI if ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
374 select ADK_KPACKAGE_KMOD_BLK_DEV_MD if ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
375 select ADK_KPACKAGE_KMOD_MD_RAID0 if ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
376 select ADK_KPACKAGE_KMOD_MD_RAID1 if ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
378 Support for a nice and fast shuttle xpc with AMD quad-core CPU.
384 prompt "Architecture"
385 depends on ADK_LINUX_RESCUE
387 config ADK_LINUX_X86_64_RESCUE
389 select ADK_x86_64_rescue
393 config ADK_LINUX_X86_RESCUE
395 select ADK_x86_rescue
399 config ADK_LINUX_MIPSEL_RESCUE
400 bool "mips (little endian)"
401 select ADK_mipsel_rescue
402 depends on ADK_BROKEN
404 MIPS LE architecture.
406 config ADK_LINUX_MIPS_RESCUE
407 bool "mips (big endian)"
408 select ADK_mips_rescue
409 depends on ADK_BROKEN
411 MIPS BE architecture.
416 prompt "Architecture"
417 depends on ADK_LINUX_TOOLCHAIN
419 config ADK_LINUX_ARM_TOOLCHAIN
420 bool "ARM BE Toolchain"
421 select ADK_arm_toolchain
422 select ADK_TARGET_NO_FPU
424 select ADK_TOOLCHAIN_ONLY
426 Status: toolchain only
428 config ADK_LINUX_ARMEL_TOOLCHAIN
429 bool "ARM LE Toolchain"
430 select ADK_armel_toolchain
431 select ADK_TARGET_NO_FPU
433 select ADK_TOOLCHAIN_ONLY
435 Status: toolchain only
437 config ADK_LINUX_MIPS_TOOLCHAIN
438 bool "MIPS BE Toolchain (32 Bit)"
439 select ADK_mips_toolchain
440 select ADK_TOOLCHAIN_ONLY
442 Status: toolchain only
444 config ADK_LINUX_MIPSEL_TOOLCHAIN
445 bool "MIPS EL Toolchain (32 Bit)"
446 select ADK_mipsel_toolchain
447 select ADK_TOOLCHAIN_ONLY
449 Status: toolchain only
451 config ADK_LINUX_PPC_TOOLCHAIN
452 bool "PPC Toolchain (32 Bit)"
453 select ADK_ppc_toolchain
454 select ADK_TOOLCHAIN_ONLY
456 Status: toolchain only
458 config ADK_LINUX_SPARC_TOOLCHAIN
459 bool "SPARC Toolchain (32 Bit)"
460 select ADK_sparc_toolchain
461 select ADK_TOOLCHAIN_ONLY
463 Status: toolchain only
465 config ADK_LINUX_X86_TOOLCHAIN
466 bool "X86 Toolchain (32 Bit)"
467 select ADK_x86_toolchain
468 select ADK_TOOLCHAIN_ONLY
470 Status: toolchain only
472 config ADK_LINUX_X86_64_TOOLCHAIN
473 bool "X86 Toolchain (64 Bit)"
474 select ADK_x86_64_toolchain
475 select ADK_TOOLCHAIN_ONLY
477 Status: toolchain only
483 #prompt "Target Optimization"
484 #depends on ADK_LINUX_ARMEL_TOOLCHAIN || ADK_LINUX_ARM_TOOLCHAIN
486 #config ADK_LINUX_ARM_V5TE
490 #config ADK_LINUX_ARM_V4T
496 #config ADK_TARGET_ARCH_OPTIMIZATION
498 # default "armv5te" if ADK_LINUX_ARM_V5TE
499 # default "armv4t" if ADK_LINUX_ARM_V4T
502 prompt "Architecture"
503 depends on ADK_LINUX_QEMU
505 config ADK_LINUX_ARM_QEMU
509 select ADK_KERNEL_INPUT_KEYBOARD
511 Qemu support for ARM architecture.
512 Right now this is optimized for Zaurus PDA spitz.
515 config ADK_LINUX_MIPS_QEMU
516 bool "mips (big endian)"
519 Qemu support for MIPS BE architecture.
522 config ADK_LINUX_MIPSEL_QEMU
523 bool "mipsel (little endian)"
524 select ADK_mipsel_qemu
526 Qemu support for MIPS LE architecture.
529 config ADK_LINUX_MIPS64_QEMU
530 bool "mips64 (big endian)"
531 select ADK_mips64_qemu
533 depends on ADK_BROKEN
535 Qemu support for MIPS64 BE architecture.
538 config ADK_LINUX_MIPS64EL_QEMU
539 bool "mips64 (little endian)"
540 select ADK_mips64el_qemu
542 depends on ADK_BROKEN
544 Qemu support for MIPS64 LE architecture.
547 config ADK_LINUX_CRIS_QEMU
550 depends on ADK_BROKEN
552 Qemu support for CRISv32 architecture.
554 config ADK_LINUX_X86_QEMU
557 select ADK_KERNEL_NETDEV_1000
558 select ADK_KPACKAGE_KMOD_E1000
559 select ADK_KERNEL_INPUT_KEYBOARD
560 select ADK_KERNEL_SCSI
561 select ADK_KERNEL_ATA
562 select ADK_KERNEL_BLK_DEV_SD
563 select ADK_KERNEL_CRC32
564 select ADK_TARGET_WITH_VGA
566 Qemu support for x86 architecture.
569 config ADK_LINUX_X86_64_QEMU
571 select ADK_x86_64_qemu
572 select ADK_KERNEL_NETDEV_1000
573 select ADK_KPACKAGE_KMOD_E1000
574 select ADK_KERNEL_INPUT_KEYBOARD
575 select ADK_KERNEL_SCSI
576 select ADK_KERNEL_ATA
577 select ADK_KERNEL_BLK_DEV_SD
578 select ADK_TARGET_WITH_VGA
580 Qemu support for x86_64 architecture.
586 prompt "Alix/Wrap model"
587 default ADK_LINUX_X86_ALIX1C
588 depends on ADK_LINUX_ALIX
590 config ADK_LINUX_X86_ALIX1C
591 bool "PC Engines Alix1C"
593 select ADK_KERNEL_SCSI
594 select ADK_KERNEL_ATA
595 select ADK_KERNEL_BLK_DEV_SD
596 select ADK_KERNEL_EXT2_FS
597 select ADK_KERNEL_NET_PCI
598 select ADK_KERNEL_NETDEVICES
599 select ADK_KERNEL_NET_ETHERNET
600 select ADK_KERNEL_MII
601 select BUSYBOX_HWCLOCK
602 select ADK_TARGET_WITH_USB
603 select ADK_TARGET_WITH_VGA
604 select ADK_TARGET_WITH_MINIPCI
605 select ADK_TARGET_WITH_INPUT
607 Support for ALIX1C boards.
608 http://www.pcengines.ch/
611 config ADK_LINUX_X86_ALIX2D
612 bool "PC Engines Alix2D"
614 select ADK_KERNEL_SCSI
615 select ADK_KERNEL_ATA
616 select ADK_KERNEL_BLK_DEV_SD
617 select ADK_KERNEL_EXT2_FS
618 select ADK_KERNEL_NET_PCI
619 select ADK_KERNEL_NETDEVICES
620 select ADK_KERNEL_NET_ETHERNET
621 select ADK_KERNEL_MII
622 select BUSYBOX_HWCLOCK
623 select ADK_TARGET_WITH_USB
624 select ADK_TARGET_WITH_MINIPCI
625 select ADK_TARGET_WITH_LEDS
626 select ADK_TARGET_WITH_WATCHDOG
628 Support for ALIX2D boards.
629 http://www.pcengines.ch/
632 config ADK_LINUX_X86_ALIX2D13
633 bool "PC Engines Alix2D13"
635 select ADK_KERNEL_SCSI
636 select ADK_KERNEL_ATA
637 select ADK_KERNEL_BLK_DEV_SD
638 select ADK_KERNEL_EXT2_FS
639 select ADK_KERNEL_NET_PCI
640 select ADK_KERNEL_NETDEVICES
641 select ADK_KERNEL_NEW_LEDS
642 select ADK_KERNEL_NET_ETHERNET
643 select ADK_KERNEL_MII
644 select BUSYBOX_HWCLOCK
645 select ADK_TARGET_WITH_USB
646 select ADK_TARGET_WITH_MINIPCI
647 select ADK_TARGET_WITH_LEDS
649 Support for ALIX2D13 boards.
650 http://www.pcengines.ch/
653 config ADK_LINUX_X86_WRAP
654 bool "PC Engines WRAP"
656 select ADK_KERNEL_SCSI
657 select ADK_KERNEL_ATA
658 select ADK_KERNEL_BLK_DEV_SD
659 select ADK_KERNEL_EXT2_FS
660 select ADK_KERNEL_NET_PCI
661 select ADK_KERNEL_NETDEVICES
662 select ADK_KERNEL_NET_ETHERNET
663 select ADK_KERNEL_MII
664 select ADK_KERNEL_CRC32
665 select ADK_TARGET_WITH_WATCHDOG
666 select BUSYBOX_HWCLOCK
668 End of life, but I still have one board.
669 http://www.pcengines.ch/
675 prompt "Routerboard model"
676 default ADK_LINUX_MIPS_RB532
677 depends on ADK_LINUX_MIKROTIK
679 config ADK_LINUX_MIPS_RB411
680 bool "Mikrotik Routerboard 411"
682 select ADK_KERNEL_NETDEVICES
683 select ADK_KERNEL_NET_PCI
684 select ADK_KERNEL_NETDEV_1000
685 select ADK_KERNEL_NET_ETHERNET
686 select ADK_TARGET_WITH_MINIPCI
687 depends on ADK_BROKEN
689 Support for Mikrotik RB411.
692 config ADK_LINUX_MIPS_RB433
693 bool "Mikrotik Routerboard 433"
695 select ADK_KERNEL_NETDEVICES
696 select ADK_KERNEL_NET_PCI
697 select ADK_KERNEL_NETDEV_1000
698 select ADK_KERNEL_NET_ETHERNET
699 select ADK_TARGET_WITH_MINIPCI
700 depends on ADK_BROKEN
702 Support for Mikrotik RB433.
705 config ADK_LINUX_MIPS_RB532
706 bool "Mikrotik Routerboard 532"
708 select ADK_KERNEL_NETDEVICES
709 select ADK_KERNEL_NET_PCI
710 select ADK_KERNEL_NET_ETHERNET
711 select ADK_KERNEL_MII
712 select ADK_KERNEL_ATA
713 select ADK_KERNEL_BLK_DEV_SD
714 select ADK_KERNEL_SCSI
715 select ADK_KERNEL_EXT2_FS
716 select ADK_TARGET_WITH_MINIPCI
717 select ADK_TARGET_WITH_WATCHDOG
719 Support for Mikrotik RB532.
725 prompt "Device model"
726 default ADK_LINUX_CRIS_FOXBOARD_CLASSIC
727 depends on ADK_LINUX_CRIS_FOXBOARD
729 config ADK_LINUX_CRIS_FOXBOARD_CLASSIC
730 bool "Foxboard classic (4x16)"
732 Foxboard classic with red board.
733 (4 MB flash size and 16 MB RAM)
735 config ADK_LINUX_CRIS_FOXBOARD_LX
736 bool "Foxboard LX (8x32)"
738 Latest Foxboard with green board.
739 (8 MB flash size and 32 MB RAM)
743 source "target/linux/config/Config.in.kernel"
746 prompt "Target C library"
747 depends on ! ADK_NATIVE
748 config ADK_TARGET_LIB_UCLIBC
749 bool "uClibc embedded C library"
750 # broken, because of 16kB pagesize
751 depends on !ADK_LINUX_MIPS64_LEMOTE
756 config ADK_TARGET_LIB_EGLIBC
757 bool "Embedded GNU C library"
759 depends on ADK_LINUX_X86_QEMU || \
760 ADK_LINUX_ARM_QEMU || \
761 ADK_LINUX_MIPS_QEMU || \
762 ADK_LINUX_MIPS64_QEMU || \
763 ADK_LINUX_MIPSEL_QEMU || \
764 ADK_LINUX_MIPS64EL_QEMU || \
765 ADK_LINUX_X86_64_QEMU || \
766 ADK_LINUX_X86_ALIX1C || \
767 ADK_LINUX_X86_ALIX2D || \
768 ADK_LINUX_X86_ALIX2D13 || \
769 ADK_LINUX_X86_WRAP || \
770 ADK_LINUX_MIPS_RB411 || \
771 ADK_LINUX_MIPS_RB433 || \
772 ADK_LINUX_MIPS_RB532 || \
773 ADK_LINUX_RESCUE || \
774 ADK_LINUX_X86_64_SHUTTLE || \
775 ADK_LINUX_MIPS64_LEMOTE || \
778 http://www.eglibc.org
780 config ADK_TARGET_LIB_GLIBC
783 depends on ADK_LINUX_X86_QEMU || \
784 ADK_LINUX_X86_64_QEMU || \
785 ADK_LINUX_X86_ALIX1C || \
786 ADK_LINUX_X86_ALIX2D || \
787 ADK_LINUX_X86_ALIX2D13 || \
788 ADK_LINUX_X86_WRAP || \
789 ADK_LINUX_MIPS_RB532 || \
790 ADK_LINUX_RESCUE || \
791 ADK_LINUX_X86_64_SHUTTLE || \
792 ADK_LINUX_MIPS64_LEMOTE || \
795 http://www.gnu.org/libc
799 config ADK_TARGET_SUFFIX
801 default "gnueabi" if (ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC) && ADK_EABI
802 default "gnu" if (ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC) && !ADK_EABI
803 default "uclibcgnueabi" if ADK_TARGET_LIB_UCLIBC && ADK_EABI
804 default "uclibc" if ADK_TARGET_LIB_UCLIBC && !ADK_EABI
807 prompt "Target Firmware type"
808 depends on !ADK_TOOLCHAIN_ONLY
809 default ADK_TARGET_ROOTFS_ARCHIVE
811 config ADK_TARGET_ROOTFS_INITRAMFS
812 bool "initramfs filesystem"
815 ADK_LINUX_X86_64_SHUTTLE || \
816 ADK_LINUX_NATIVE || \
817 ADK_LINUX_MIPS64_LEMOTE || \
819 select ADK_KERNEL_BLK_DEV_INITRD
821 create an read-only initramfs system.
823 config ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
824 bool "initramfs filesystem included into kernel image"
825 select ADK_LINUX_INITRAMFS_BUILTIN
828 ADK_LINUX_X86_64_SHUTTLE || \
829 ADK_LINUX_NATIVE || \
830 ADK_LINUX_MIPS64_LEMOTE || \
833 create an read-only initramfs system.
835 config ADK_TARGET_ROOTFS_SQUASHFS
836 bool "Compressed read-only root filesystem (squashfs)"
837 select ADK_KERNEL_SQUASHFS
839 ADK_LINUX_CRIS_FOXBOARD || \
840 ADK_LINUX_MIPS_AG241 || \
841 ADK_LINUX_MIPS_WAG54G
843 highly compressed read-only filesystem for flash.
845 config ADK_TARGET_ROOTFS_YAFFS
846 bool "YAFFS2 rootfilesystem (NAND)"
848 ADK_LINUX_MIPS_RB532 || \
849 ADK_LINUX_MIPS_RB433 || \
852 Root filesystem on NAND.
854 config ADK_TARGET_ROOTFS_NFSROOT
857 ADK_LINUX_CRIS_FOXBOARD || \
858 ADK_LINUX_ARM_FOXBOARD || \
859 ADK_LINUX_X86_ALIX1C || \
860 ADK_LINUX_X86_ALIX2D || \
861 ADK_LINUX_X86_ALIX2D13 || \
862 ADK_LINUX_X86_WRAP || \
863 ADK_LINUX_MIPS_RB532 || \
864 ADK_LINUX_MIPS_RB433 || \
865 ADK_LINUX_MIPS_RB411 || \
866 ADK_LINUX_MIPS_WAG54G || \
867 ADK_LINUX_MIPS_AG241 || \
868 ADK_LINUX_MIPS64_LEMOTE
869 select ADK_KERNEL_SUNRPC
870 select ADK_KERNEL_NFS_FS
871 select ADK_KERNEL_NFS_V3
872 select ADK_KERNEL_ROOT_NFS
873 select ADK_KERNEL_NFS_COMMON
874 select ADK_KERNEL_IP_PNP
875 select ADK_KERNEL_IP_PNP_DHCP
877 Root filesystem mounted via NFS. (DHCP)
879 config ADK_TARGET_ROOTFS_EXT2_BLOCK
880 bool "read-write filesystem for block devices with ext2"
882 ADK_LINUX_X86_ALIX1C || \
883 ADK_LINUX_X86_ALIX2D || \
884 ADK_LINUX_X86_ALIX2D13 || \
885 ADK_LINUX_X86_WRAP || \
886 ADK_LINUX_ARM_FOXBOARD || \
888 select ADK_KERNEL_EXT2_FS
889 select ADK_KERNEL_SCSI
891 Use this option if you have a compact flash or mmc/sd card
892 reader inside your hardware and want to boot from it.
894 config ADK_TARGET_ROOTFS_ARCHIVE
895 bool "Archive usable for different filesystems"
898 ADK_LINUX_XSCALE_ZAURUS || \
899 ADK_LINUX_MIPS64_LEMOTE || \
900 ADK_LINUX_X86_64_SHUTTLE
902 Use this option if your root filesystem is ext2/ext3/ext4/xfs.
904 config ADK_TARGET_ROOTFS_ENCRYPTED
905 bool "Encrypted read-write root filesystem"
906 depends on ADK_LINUX_MIPS64_LEMOTE
907 select ADK_LINUX_INITRAMFS_BUILTIN
908 select ADK_PACKAGE_CRYPTINIT
909 select ADK_KERNEL_BLK_DEV_DM
910 select ADK_KERNEL_DM_CRYPT
911 select ADK_KERNEL_CRYPTO_AES
912 select ADK_KERNEL_CRYPTO_CBC
913 select ADK_KERNEL_CRYPTO_SHA256
914 select ADK_KERNEL_XFS_FS
916 Use this option if you want an encrypted rootfs.
917 Default is XFS filesystem. Use following commands to setup
918 your hard disk, after booting via NFS or USB.
919 Create at least three partitions with fdisk
921 /dev/sda2 (encrypted root)
924 mkdir /mnt/{boot,root}
925 cryptsetup luksFormat /dev/sda2
926 cryptsetup luksOpen /dev/sda2 root
927 cryptsetup luksFormat /dev/sda3
928 cryptsetup luksOpen /dev/sda3 swap
929 mkswap /dev/mapper/swap
930 mkfs.xfs /dev/mapper/root
931 mount /dev/mapper/root /mnt/root
932 tar xzvf lemote-mips-encryptedroot.tar.gz -C /mnt/root
933 mount /dev/sda1 /mnt/boot
935 cp lemote-mips-kernel /mnt/boot/boot
936 mv /mnt/root/boot/boot.cfg /mnt/boot/boot
937 cd /mnt/root ; mknod -m 644 console c 5 1
942 prompt "Compression method for initramfs and kernel"
943 depends on ADK_TARGET_ROOTFS_INITRAMFS || ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
945 config ADK_TARGET_INITRAMFS_COMPRESSION_GZIP
948 select ADK_KERNEL_RD_GZIP
949 select ADK_KERNEL_KERNEL_GZIP
951 Select gzip compression.
953 config ADK_TARGET_INITRAMFS_COMPRESSION_BZIP2
956 select ADK_KERNEL_RD_BZIP2
957 select ADK_KERNEL_KERNEL_BZIP2
959 Select BZIP2 compression.
961 config ADK_TARGET_INITRAMFS_COMPRESSION_LZMA
964 select ADK_KERNEL_RD_LZMA
965 select ADK_KERNEL_KERNEL_LZMA
967 Select LZMA compression.
969 config ADK_TARGET_INITRAMFS_COMPRESSION_LZO
972 select ADK_KERNEL_RD_LZO
973 select ADK_KERNEL_KERNEL_LZO
975 Select LZO compression.
980 prompt "Compression method for Kernel"
981 depends on !(ADK_TARGET_ROOTFS_INITRAMFS || ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK || ADK_TOOLCHAIN_ONLY)
983 config ADK_TARGET_KERNEL_COMPRESSION_GZIP
986 select ADK_KERNEL_KERNEL_GZIP
988 Select gzip compression for Kernel.
990 config ADK_TARGET_KERNEL_COMPRESSION_BZIP2
993 select ADK_KERNEL_KERNEL_BZIP2
995 Select BZIP2 compression for Kernel.
997 config ADK_TARGET_KERNEL_COMPRESSION_LZMA
1000 select ADK_KERNEL_KERNEL_LZMA
1002 Select LZMA compression for Kernel.
1004 config ADK_TARGET_KERNEL_COMPRESSION_LZO
1007 select ADK_KERNEL_KERNEL_LZO
1009 Select LZO compression for Kernel.
1013 config ADK_COMPRESSION_TOOL
1015 default "gzip -n9" if ADK_TARGET_INITRAMFS_COMPRESSION_GZIP
1016 default "bzip2" if ADK_TARGET_INITRAMFS_COMPRESSION_BZIP2
1017 default "lzma -9" if ADK_TARGET_INITRAMFS_COMPRESSION_LZMA
1018 default "lzop" if ADK_TARGET_INITRAMFS_COMPRESSION_LZO
1022 prompt "Root filesystem type"
1023 depends on ADK_TARGET_ROOTFS_ARCHIVE
1024 default ADK_TARGET_ROOT_XFS
1026 config ADK_TARGET_ROOT_XFS
1028 prompt "XFS filesystem"
1029 select ADK_KERNEL_XFS_FS
1031 Compile XFS filesystem into kernel and use it as root filesystem.
1033 config ADK_TARGET_ROOT_EXT2
1035 prompt "EXT2 filesystem"
1036 select ADK_KERNEL_EXT2_FS
1038 Compile EXT2 filesystem into kernel and use it as root filesystem.
1040 config ADK_TARGET_ROOT_EXT3
1042 prompt "EXT3 filesystem"
1043 select ADK_KERNEL_EXT3_FS
1045 Compile EXT3 filesystem into kernel and use it as root filesystem.
1047 config ADK_TARGET_ROOT_EXT4
1049 prompt "EXT4 filesystem"
1050 select ADK_KERNEL_EXT4_FS
1052 Compile EXT4 filesystem into kernel and use it as root filesystem.
1056 config ADK_TARGET_ROOTFS
1058 default "xfs" if ADK_TARGET_ROOT_XFS
1059 default "ext2" if ADK_TARGET_ROOT_EXT2
1060 default "ext3" if ADK_TARGET_ROOT_EXT3
1061 default "ext4" if ADK_TARGET_ROOT_EXT4
1064 config ADK_PACKAGE_SUFFIX
1066 default "ipk" if ADK_TARGET_PACKAGE_IPKG
1067 default "tar.gz" if ADK_TARGET_PACKAGE_TGZ
1068 # default "rpm" if ADK_TARGET_PACKAGE_RPM
1072 prompt "Package backend format"
1073 default ADK_TARGET_PACKAGE_TGZ
1075 config ADK_TARGET_PACKAGE_IPKG
1077 prompt "ipkg package format"
1080 Create ipkg packages and use ipkg package management on
1083 config ADK_TARGET_PACKAGE_TGZ
1085 prompt "tar archive (no package manager)"
1087 Create compressed tar archives of packages.
1088 Pre- and post install scripts will be executed in the target
1089 directory. There will be no package manager installed onto the target.
1092 #config ADK_TARGET_PACKAGE_RPM
1094 # prompt "rpm package format"
1096 # Create rpm packages and use rpm package management on the
1097 # target. WARNING: NOT YET IMPLEMENTED