Config.in.rootfs 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. choice
  4. prompt "Firmware type" if !ADK_TARGET_CHOOSE_ARCH
  5. depends on !ADK_APPLIANCE_TOOLCHAIN && !ADK_TARGET_OS_BAREMETAL
  6. default ADK_TARGET_ROOTFS_INITRAMFSPIGGYBACK if ADK_TARGET_QEMU || ADK_TARGET_SIM
  7. default ADK_TARGET_ROOTFS_ARCHIVE
  8. config ADK_TARGET_ROOTFS_INITRAMFSPIGGYBACK
  9. bool "initramfs filesystem included into kernel image"
  10. select ADK_TARGET_ARCH_INITRAMFS_BUILTIN
  11. depends on \
  12. ADK_TARGET_QEMU || \
  13. ADK_TARGET_SIM || \
  14. ADK_TARGET_SYSTEM_OR1K_SIM || \
  15. ADK_TARGET_ARCH_AARCH64 || \
  16. ADK_TARGET_ARCH_ARC || \
  17. ADK_TARGET_ARCH_ARM || \
  18. ADK_TARGET_ARCH_M68K || \
  19. ADK_TARGET_ARCH_MICROBLAZE || \
  20. ADK_TARGET_ARCH_MIPS || \
  21. ADK_TARGET_ARCH_PPC || \
  22. ADK_TARGET_ARCH_SH || \
  23. ADK_TARGET_ARCH_SPARC || \
  24. ADK_TARGET_ARCH_X86 || \
  25. ADK_TARGET_ARCH_X86_64
  26. depends on !ADK_TARGET_VBOX
  27. depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB532
  28. help
  29. create an read-only initramfs system.
  30. config ADK_TARGET_ROOTFS_INITRAMFS
  31. bool "initramfs filesystem"
  32. depends on \
  33. ADK_TARGET_QEMU || \
  34. ADK_TARGET_ARCH_M68K || \
  35. ADK_TARGET_ARCH_ARM || \
  36. ADK_TARGET_ARCH_MICROBLAZE || \
  37. ADK_TARGET_ARCH_MIPS || \
  38. ADK_TARGET_ARCH_PPC || \
  39. ADK_TARGET_ARCH_SH || \
  40. ADK_TARGET_ARCH_SPARC || \
  41. ADK_TARGET_ARCH_X86 || \
  42. ADK_TARGET_ARCH_X86_64
  43. depends on !ADK_TARGET_VBOX
  44. depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB532
  45. depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
  46. depends on !ADK_TARGET_SYSTEM_QEMU_METAG
  47. select ADK_KERNEL_BLK_DEV_INITRD
  48. help
  49. create an read-only initramfs system.
  50. config ADK_TARGET_ROOTFS_SQUASHFS
  51. bool "Compressed read-only root filesystem (squashfs)"
  52. select ADK_KERNEL_SQUASHFS
  53. select ADK_HOST_NEED_SQUASHFS
  54. select ADK_HOST_NEED_QEMU if ADK_TARGET_QEMU
  55. depends on ADK_TARGET_WITH_MTD \
  56. || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800 \
  57. || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605
  58. help
  59. highly compressed read-only filesystem for MTD flash systems.
  60. config ADK_TARGET_ROOTFS_JFFS2
  61. bool "Compressed read-write root filesystem (jffs2)"
  62. select ADK_KERNEL_JFFS2_FS
  63. select ADK_HOST_NEED_MTD_UTILS
  64. depends on ADK_TARGET_WITH_MTD \
  65. || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800 \
  66. || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605
  67. help
  68. compressed read-write filesystem for MTD flash systems.
  69. config ADK_TARGET_ROOTFS_YAFFS
  70. bool "YAFFS2 root filesystem (NAND)"
  71. select ADK_KERNEL_MISC_FILESYSTEMS
  72. select ADK_KERNEL_YAFFS_FS
  73. select ADK_KERNEL_YAFFS_YAFFS2
  74. select ADK_KERNEL_YAFFS_AUTO_YAFFS2
  75. depends on ADK_TARGET_WITH_NAND
  76. help
  77. Root filesystem on NAND flash with YAFFS2.
  78. config ADK_TARGET_ROOTFS_NFSROOT
  79. bool "NFS root"
  80. select ADK_KERNEL_NETWORK_FILESYSTEMS
  81. select ADK_KERNEL_SUNRPC
  82. select ADK_KERNEL_NFS_FS
  83. select ADK_KERNEL_NFS_V3
  84. select ADK_KERNEL_ROOT_NFS
  85. select ADK_KERNEL_NFS_COMMON
  86. select ADK_KERNEL_IP_PNP
  87. select ADK_KERNEL_IP_PNP_DHCP
  88. depends on !ADK_TARGET_QEMU && \
  89. !ADK_TARGET_SIM && \
  90. !ADK_TARGET_VBOX && \
  91. !ADK_TARGET_SYSTEM_ARANYM_M68K && \
  92. !ADK_TARGET_SYSTEM_ARM_FM && \
  93. !ADK_TARGET_SYSTEM_FOXBOARD_LX832 && \
  94. !ADK_TARGET_SYSTEM_LINKSYS_NSLU2
  95. help
  96. Root filesystem mounted via NFS. (DHCP)
  97. config ADK_TARGET_ROOTFS_USB
  98. bool "Boot from USB stick"
  99. select ADK_KERNEL_NLS
  100. select ADK_KERNEL_SCSI
  101. select ADK_KERNEL_BLK_DEV_SD
  102. select ADK_KERNEL_USB
  103. select ADK_KERNEL_USB_EHCI_HCD
  104. select ADK_KERNEL_USB_OHCI_HCD
  105. select ADK_KERNEL_USB_UHCI_HCD
  106. select ADK_KERNEL_USB_STORAGE
  107. select ADK_PACKAGE_ADKINSTALL
  108. depends on ADK_TARGET_WITH_USB_BOOT
  109. help
  110. Boot system from USB stick.
  111. config ADK_TARGET_ROOTFS_ISO
  112. bool "ISO image"
  113. select ADK_KERNEL_ISO9660_FS
  114. select ADK_KERNEL_JOLIET
  115. select ADK_KERNEL_SCSI
  116. select ADK_KERNEL_BLK_DEV_SR
  117. select ADK_HOST_NEED_CDRTOOLS
  118. select ADK_HOST_NEED_SYSLINUX
  119. depends on ADK_TARGET_ARCH_X86
  120. help
  121. Use this option to create a bootable ISO image.
  122. config ADK_TARGET_ROOTFS_INITRAMFSARCHIVE
  123. bool "Archive usable for initramfs creation"
  124. depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB532 \
  125. && !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208 \
  126. && !ADK_TARGET_SYSTEM_QEMU_METAG \
  127. && !ADK_TARGET_SIM
  128. select ADK_KERNEL_BLK_DEV_INITRD
  129. help
  130. Use this option if your planning to create a initramfs.
  131. config ADK_TARGET_ROOTFS_ARCHIVE
  132. bool "Archive usable for different filesystems"
  133. select ADK_HOST_NEED_GENEXT2FS if ADK_TARGET_QEMU || ADK_TARGET_VBOX
  134. select ADK_KERNEL_EXT2_FS if ADK_TARGET_QEMU || ADK_TARGET_VBOX
  135. select ADK_TARGET_QEMU_WITH_BLOCK
  136. depends on !ADK_TARGET_SIM \
  137. && !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208 \
  138. && !ADK_TARGET_SYSTEM_QEMU_METAG
  139. help
  140. Use this option if your root filesystem is ext2/ext3/ext4/xfs.
  141. config ADK_TARGET_ROOTFS_GENIMAGE
  142. bool "Create a disk image for the target"
  143. select ADK_KERNEL_EXT4_FS
  144. select ADK_TARGET_QEMU_WITH_BLOCK if ADK_TARGET_QEMU
  145. select ADK_HOST_BUILD_GENIMAGE
  146. help
  147. Create a complete disk image for the target with genimage.
  148. endchoice
  149. choice
  150. prompt "Root filesystem"
  151. depends on ADK_TARGET_ROOTFS_ARCHIVE || ADK_TARGET_ROOTFS_USB && !ADK_TARGET_QEMU
  152. default ADK_TARGET_ROOT_EXT4
  153. config ADK_TARGET_ROOT_EXT4
  154. bool "EXT4"
  155. select ADK_KERNEL_EXT4_FS
  156. help
  157. Compile EXT4 filesystem into kernel and use it as root filesystem.
  158. config ADK_TARGET_ROOT_XFS
  159. bool "XFS"
  160. select ADK_KERNEL_XFS_FS
  161. help
  162. Compile XFS filesystem into kernel and use it as root filesystem.
  163. config ADK_TARGET_ROOT_EXT2
  164. bool "EXT2"
  165. select ADK_KERNEL_EXT2_FS
  166. help
  167. Compile EXT2 filesystem into kernel and use it as root filesystem.
  168. config ADK_TARGET_ROOT_EXT3
  169. bool "EXT3"
  170. select ADK_KERNEL_EXT3_FS
  171. help
  172. Compile EXT3 filesystem into kernel and use it as root filesystem.
  173. endchoice
  174. config ADK_TARGET_ROOTFS
  175. string
  176. default "xfs" if ADK_TARGET_ROOT_XFS
  177. default "ext2" if ADK_TARGET_ROOT_EXT2
  178. default "ext3" if ADK_TARGET_ROOT_EXT3
  179. default "ext4" if ADK_TARGET_ROOT_EXT4