Config.in 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813
  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. # mark broken devices
  4. config ADK_BROKEN
  5. bool
  6. config ADK_TOOLCHAIN_ONLY
  7. bool
  8. config ADK_TARGET_NO_FPU
  9. bool
  10. config ADK_EABI
  11. bool
  12. config ADK_LINUX_64
  13. bool
  14. config ADK_NATIVE
  15. tristate
  16. config ADK_alix1c
  17. tristate
  18. config ADK_alix2d
  19. tristate
  20. config ADK_wrap
  21. tristate
  22. config ADK_arm_qemu
  23. tristate
  24. config ADK_mips_qemu
  25. tristate
  26. config ADK_mipsel_qemu
  27. tristate
  28. config ADK_mips64_qemu
  29. tristate
  30. config ADK_mips64el_qemu
  31. tristate
  32. config ADK_cris_qemu
  33. tristate
  34. config ADK_x86_qemu
  35. tristate
  36. config ADK_x86_64_qemu
  37. tristate
  38. config ADK_rb532
  39. tristate
  40. config ADK_rb411
  41. tristate
  42. config ADK_rb433
  43. tristate
  44. config ADK_zaurus
  45. tristate
  46. config ADK_tomtom
  47. tristate
  48. config ADK_foxboard
  49. tristate
  50. config ADK_lemote
  51. tristate
  52. config ADK_x86_rescue
  53. tristate
  54. config ADK_x86_64_rescue
  55. tristate
  56. config ADK_mips_rescue
  57. tristate
  58. config ADK_mipsel_rescue
  59. tristate
  60. config ADK_ag241
  61. tristate
  62. config ADK_wag54g
  63. tristate
  64. config ADK_shuttle
  65. tristate
  66. config ADK_g1
  67. tristate
  68. config ADK_TARGET
  69. string
  70. default "alix1c" if ADK_alix1c
  71. default "alix2d" if ADK_alix2d
  72. default "wrap" if ADK_wrap
  73. default "qemu-arm" if ADK_arm_qemu
  74. default "qemu-cris" if ADK_cris_qemu
  75. default "qemu-mips" if ADK_mips_qemu
  76. default "qemu-mipsel" if ADK_mipsel_qemu
  77. default "qemu-mips64" if ADK_mips64_qemu
  78. default "qemu-mips64el" if ADK_mips64el_qemu
  79. default "qemu-x86" if ADK_x86_qemu
  80. default "qemu-x86_64" if ADK_x86_64_qemu
  81. default "foxboard" if ADK_foxboard
  82. default "native" if ADK_NATIVE
  83. default "rb532" if ADK_rb532
  84. default "rb411" if ADK_rb411
  85. default "rb433" if ADK_rb433
  86. default "zaurus" if ADK_arm
  87. default "lemote" if ADK_lemote
  88. default "wag54g" if ADK_wag54g
  89. default "ag241" if ADK_ag241
  90. default "rescue-x86" if ADK_x86_rescue
  91. default "rescue-x86_64" if ADK_x86_64_rescue
  92. default "rescue-mips" if ADK_mips_rescue
  93. default "rescue-mipsel" if ADK_mipsel_rescue
  94. default "shuttle" if ADK_shuttle
  95. default "tomtom" if ADK_tomtom
  96. default "g1" if ADK_g1
  97. menu "Target system"
  98. choice
  99. prompt "Embedded Device or Emulator"
  100. default ADK_LINUX_NATIVE
  101. config ADK_LINUX_NATIVE
  102. bool "Native platform"
  103. select ADK_NATIVE
  104. depends on ADK_HOST_LINUX
  105. help
  106. Make a native build. Use host tools.
  107. No toolchain will be created.
  108. config ADK_LINUX_X86_ALIX1C
  109. bool "PC Engines Alix1C"
  110. select ADK_alix1c
  111. select ADK_KERNEL_SCSI
  112. select ADK_KERNEL_ATA
  113. select ADK_KERNEL_BLK_DEV_SD
  114. select ADK_KERNEL_EXT2_FS
  115. select ADK_KERNEL_NET_PCI
  116. select ADK_KERNEL_NETDEVICES
  117. select ADK_KERNEL_NET_ETHERNET
  118. select ADK_KERNEL_MII
  119. select BUSYBOX_HWCLOCK
  120. help
  121. Support for ALIX1C boards.
  122. http://www.pcengines.ch/
  123. config ADK_LINUX_X86_ALIX2D
  124. bool "PC Engines Alix2D"
  125. select ADK_alix2d
  126. select ADK_KERNEL_SCSI
  127. select ADK_KERNEL_ATA
  128. select ADK_KERNEL_BLK_DEV_SD
  129. select ADK_KERNEL_EXT2_FS
  130. select ADK_KERNEL_NET_PCI
  131. select ADK_KERNEL_NETDEVICES
  132. select ADK_KERNEL_NET_ETHERNET
  133. select ADK_KERNEL_MII
  134. select BUSYBOX_HWCLOCK
  135. help
  136. Support for ALIX2D boards.
  137. http://www.pcengines.ch/
  138. config ADK_LINUX_X86_WRAP
  139. bool "PC Engines WRAP"
  140. select ADK_wrap
  141. select ADK_KERNEL_SCSI
  142. select ADK_KERNEL_ATA
  143. select ADK_KERNEL_BLK_DEV_SD
  144. select ADK_KERNEL_EXT2_FS
  145. select ADK_KERNEL_NET_PCI
  146. select ADK_KERNEL_NETDEVICES
  147. select ADK_KERNEL_NET_ETHERNET
  148. select ADK_KERNEL_MII
  149. select BUSYBOX_HWCLOCK
  150. help
  151. End of life, but I still have one board.
  152. http://www.pcengines.ch/
  153. config ADK_LINUX_CRIS_FOXBOARD
  154. bool "Foxboard (ETRAX LX100)"
  155. select ADK_foxboard
  156. select ADK_PACKAGE_KMOD_USB_CONTROLLER
  157. select ADK_KERNEL_NLS
  158. help
  159. Support for Foxboard targets.
  160. http://foxlx.acmesystems.it/
  161. config ADK_LINUX_MIPS64_LEMOTE
  162. bool "Lemote Subnotebook Yeeloong"
  163. select ADK_lemote
  164. select ADK_LINUX_64
  165. select ADK_KERNEL_BLK_DEV_SD
  166. select ADK_KERNEL_INPUT_KEYBOARD
  167. select ADK_KERNEL_NETDEVICES
  168. select ADK_KERNEL_NET_PCI
  169. select ADK_KERNEL_NET_ETHERNET
  170. select ADK_KERNEL_MII
  171. select ADK_KERNEL_SWAP
  172. help
  173. Lemote Subnotebook.
  174. http://www.lemote.com/english/index.html
  175. http://www.tekmote.nl/
  176. config ADK_LINUX_MIKROTIK
  177. bool "Mikrotik Routerboards"
  178. help
  179. Support for Mikrotik Routerboards
  180. http://www.mikrotik.com
  181. http://www.routerboards.com
  182. #config ADK_LINUX_MIPS_WAG54G
  183. # bool "Linksys WAG54G"
  184. # select ADK_KERNEL_NETDEVICES
  185. # select ADK_KERNEL_NET_PCI
  186. # select ADK_KERNEL_NET_ETHERNET
  187. # select ADK_KERNEL_MII
  188. # select ADK_wag54g
  189. # help
  190. # Linksys WAG54G DSL router with Wireless.
  191. # (Texas Instruments AR7 platform)
  192. config ADK_LINUX_MIPS_AG241
  193. bool "Linksys AG241v2"
  194. select ADK_KERNEL_NETDEVICES
  195. select ADK_KERNEL_NET_PCI
  196. select ADK_KERNEL_NET_ETHERNET
  197. select ADK_KERNEL_MII
  198. select ADK_ag241
  199. help
  200. Linksys AG241 DSL router.
  201. (Texas Instruments AR7 platform)
  202. config ADK_LINUX_ARM_TOMTOM
  203. bool "TomTom Applications"
  204. select ADK_tomtom
  205. select ADK_TARGET_NO_FPU
  206. select ADK_EABI
  207. select ADK_TOOLCHAIN_ONLY
  208. help
  209. Support for TomTom Rider 2 (or others).
  210. Just toolchain support to cross-compile your own
  211. applications.
  212. config ADK_LINUX_ARM_G1
  213. bool "Google G1 Applications"
  214. select ADK_g1
  215. select ADK_TARGET_NO_FPU
  216. select ADK_EABI
  217. select ADK_TOOLCHAIN_ONLY
  218. help
  219. Support for Google G1.
  220. Just toolchain support to cross-compile your own
  221. applications. Use static linking for your packages.
  222. config ADK_LINUX_XSCALE_ZAURUS
  223. bool "Zaurus SL-C3200"
  224. select ADK_zaurus
  225. select ADK_TARGET_NO_FPU
  226. help
  227. Support for Sharp Zaurus SL-C3200 (aka Terrier)
  228. config ADK_LINUX_RESCUE
  229. bool "Minimal Linux Rescuesystem"
  230. select ADK_KERNEL_INPUT_KEYBOARD
  231. help
  232. Rescuesystem with can be used to Boot from Disk or USB stick.
  233. config ADK_LINUX_QEMU
  234. bool "Qemu Emulator"
  235. select ADK_KERNEL_NET_PCI
  236. select ADK_KERNEL_NETDEVICES
  237. select ADK_KERNEL_NET_ETHERNET
  238. help
  239. Support for Qemu Emulator
  240. config ADK_LINUX_X86_64_SHUTTLE
  241. bool "Shuttle PC"
  242. select ADK_shuttle
  243. select ADK_KERNEL_INPUT_KEYBOARD
  244. select ADK_KERNEL_NETDEVICES
  245. select ADK_KERNEL_NET_PCI
  246. select ADK_KERNEL_NET_ETHERNET
  247. select ADK_KERNEL_SATA_AHCI if ADK_TARGET_ROOTFS_ARCHIVE
  248. select ADK_KERNEL_BLK_DEV_MD if ADK_TARGET_ROOTFS_ARCHIVE
  249. select ADK_KERNEL_MD_RAID0 if ADK_TARGET_ROOTFS_ARCHIVE
  250. select ADK_KERNEL_MD_RAID1 if ADK_TARGET_ROOTFS_ARCHIVE
  251. select ADK_KPACKAGE_KMOD_SATA_AHCI if ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
  252. select ADK_KPACKAGE_KMOD_BLK_DEV_MD if ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
  253. select ADK_KPACKAGE_KMOD_MD_RAID0 if ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
  254. select ADK_KPACKAGE_KMOD_MD_RAID1 if ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
  255. help
  256. Support for a nice and fast shuttle xpc with AMD quad-core CPU.
  257. endchoice
  258. choice
  259. prompt "Architecture"
  260. depends on ADK_LINUX_RESCUE
  261. config ADK_LINUX_X86_64_RESCUE
  262. bool "x86_64"
  263. select ADK_x86_64_rescue
  264. help
  265. X86 architecture.
  266. config ADK_LINUX_X86_RESCUE
  267. bool "x86"
  268. select ADK_x86_rescue
  269. help
  270. X86 architecture.
  271. config ADK_LINUX_MIPSEL_RESCUE
  272. bool "mips (little endian)"
  273. select ADK_mipsel_rescue
  274. help
  275. MIPS LE architecture.
  276. config ADK_LINUX_MIPS_RESCUE
  277. bool "mips (big endian)"
  278. select ADK_mips_rescue
  279. help
  280. MIPS BE architecture.
  281. endchoice
  282. choice
  283. prompt "Architecture"
  284. depends on ADK_LINUX_QEMU
  285. config ADK_LINUX_ARM_QEMU
  286. bool "arm"
  287. select ADK_arm_qemu
  288. select ADK_EABI
  289. help
  290. Qemu support for ARM architecture.
  291. Right now this is optimized for Zaurus PDA spitz.
  292. config ADK_LINUX_MIPS_QEMU
  293. bool "mips (big endian)"
  294. select ADK_mips_qemu
  295. help
  296. Qemu support for MIPS BE architecture.
  297. config ADK_LINUX_MIPSEL_QEMU
  298. bool "mipsel (little endian)"
  299. select ADK_mipsel_qemu
  300. help
  301. Qemu support for MIPS LE architecture.
  302. config ADK_LINUX_MIPS64_QEMU
  303. bool "mips64 (big endian)"
  304. select ADK_mips64_qemu
  305. select ADK_LINUX_64
  306. help
  307. Qemu support for MIPS64 BE architecture.
  308. config ADK_LINUX_MIPS64EL_QEMU
  309. bool "mips64 (little endian)"
  310. select ADK_mips64el_qemu
  311. select ADK_LINUX_64
  312. help
  313. Qemu support for MIPS64 LE architecture.
  314. config ADK_LINUX_CRIS_QEMU
  315. bool "cris"
  316. select ADK_cris_qemu
  317. depends on ADK_BROKEN
  318. help
  319. Qemu support for CRISv32 architecture.
  320. config ADK_LINUX_X86_QEMU
  321. bool "x86"
  322. select ADK_x86_qemu
  323. select ADK_KPACKAGE_KMOD_8139CP
  324. select ADK_KERNEL_INPUT_KEYBOARD
  325. select ADK_KERNEL_SCSI
  326. select ADK_KERNEL_ATA
  327. select ADK_KERNEL_BLK_DEV_SD
  328. help
  329. Qemu support for x86 architecture.
  330. config ADK_LINUX_X86_64_QEMU
  331. bool "x86_64"
  332. select ADK_x86_64_qemu
  333. select ADK_KPACKAGE_KMOD_8139CP
  334. select ADK_KERNEL_INPUT_KEYBOARD
  335. select ADK_KERNEL_SCSI
  336. select ADK_KERNEL_ATA
  337. select ADK_KERNEL_BLK_DEV_SD
  338. help
  339. Qemu support for x86_64 architecture.
  340. endchoice
  341. choice
  342. prompt "Routerboard model"
  343. default ADK_LINUX_MIPS_RB433
  344. depends on ADK_LINUX_MIKROTIK
  345. config ADK_LINUX_MIPS_RB411
  346. bool "Mikrotik Routerboard 411"
  347. select ADK_rb411
  348. select ADK_KERNEL_NETDEVICES
  349. select ADK_KERNEL_NET_PCI
  350. select ADK_KERNEL_NETDEV_1000
  351. select ADK_KERNEL_NET_ETHERNET
  352. help
  353. Support for Mikrotik RB411.
  354. config ADK_LINUX_MIPS_RB433
  355. bool "Mikrotik Routerboard 433"
  356. select ADK_rb433
  357. select ADK_KERNEL_NETDEVICES
  358. select ADK_KERNEL_NET_PCI
  359. select ADK_KERNEL_NETDEV_1000
  360. select ADK_KERNEL_NET_ETHERNET
  361. help
  362. Support for Mikrotik RB433.
  363. config ADK_LINUX_MIPS_RB532
  364. bool "Mikrotik Routerboard 532"
  365. select ADK_rb532
  366. select ADK_KERNEL_NETDEVICES
  367. select ADK_KERNEL_NET_PCI
  368. select ADK_KERNEL_NET_ETHERNET
  369. select ADK_KERNEL_MII
  370. select ADK_KERNEL_BLK_DEV_SD
  371. help
  372. Support for Mikrotik RB532.
  373. endchoice
  374. choice
  375. prompt "Device model"
  376. default ADK_LINUX_CRIS_FOXBOARD_CLASSIC
  377. depends on ADK_LINUX_CRIS_FOXBOARD
  378. config ADK_LINUX_CRIS_FOXBOARD_CLASSIC
  379. bool "Foxboard classic (4x16)"
  380. help
  381. Foxboard classic with red board.
  382. (4 MB flash size and 16 MB RAM)
  383. config ADK_LINUX_CRIS_FOXBOARD_LX
  384. bool "Foxboard LX (8x32)"
  385. help
  386. Latest Foxboard with green board.
  387. (8 MB flash size and 32 MB RAM)
  388. endchoice
  389. source "target/linux/config/Config.in.kernel"
  390. choice
  391. prompt "Target C library"
  392. depends on ! ADK_NATIVE
  393. config ADK_TARGET_LIB_UCLIBC
  394. bool "uClibc embedded C library"
  395. # broken, because of 16kB pagesize
  396. depends on !ADK_LINUX_MIPS64_LEMOTE
  397. help
  398. http://uclibc.org
  399. config ADK_TARGET_LIB_EGLIBC
  400. bool "Embedded GNU C library"
  401. depends on ADK_LINUX_X86_QEMU || \
  402. ADK_LINUX_ARM_QEMU || \
  403. ADK_LINUX_MIPS_QEMU || \
  404. ADK_LINUX_MIPS64_QEMU || \
  405. ADK_LINUX_MIPSEL_QEMU || \
  406. ADK_LINUX_MIPS64EL_QEMU || \
  407. ADK_LINUX_X86_64_QEMU || \
  408. ADK_LINUX_X86_ALIX1C || \
  409. ADK_LINUX_X86_ALIX2D || \
  410. ADK_LINUX_X86_WRAP || \
  411. ADK_LINUX_MIPS_RB411 || \
  412. ADK_LINUX_MIPS_RB433 || \
  413. ADK_LINUX_MIPS_RB532 || \
  414. ADK_LINUX_RESCUE || \
  415. ADK_LINUX_X86_64_SHUTTLE || \
  416. ADK_LINUX_ARM_TOMTOM || \
  417. ADK_LINUX_ARM_G1 || \
  418. ADK_LINUX_MIPS64_LEMOTE
  419. help
  420. http://www.eglibc.org
  421. config ADK_TARGET_LIB_GLIBC
  422. bool "GNU C library"
  423. depends on ADK_LINUX_X86_QEMU || \
  424. ADK_LINUX_ARM_QEMU || \
  425. ADK_LINUX_MIPS_QEMU || \
  426. ADK_LINUX_MIPS64_QEMU || \
  427. ADK_LINUX_MIPSEL_QEMU || \
  428. ADK_LINUX_MIPS64EL_QEMU || \
  429. ADK_LINUX_X86_64_QEMU || \
  430. ADK_LINUX_X86_ALIX1C || \
  431. ADK_LINUX_X86_ALIX2D || \
  432. ADK_LINUX_X86_WRAP || \
  433. ADK_LINUX_MIPS_RB411 || \
  434. ADK_LINUX_MIPS_RB433 || \
  435. ADK_LINUX_RESCUE || \
  436. ADK_LINUX_X86_64_SHUTTLE || \
  437. ADK_LINUX_ARM_TOMTOM || \
  438. ADK_LINUX_ARM_G1 || \
  439. ADK_LINUX_MIPS64_LEMOTE
  440. help
  441. http://www.gnu.org/libc
  442. endchoice
  443. config ADK_TARGET_SUFFIX
  444. string
  445. default "gnueabi" if (ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC) && ADK_EABI
  446. default "gnu" if (ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC) && !ADK_EABI
  447. default "uclibcgnueabi" if ADK_TARGET_LIB_UCLIBC && ADK_EABI
  448. default "uclibc" if ADK_TARGET_LIB_UCLIBC && !ADK_EABI
  449. choice
  450. prompt "Target Firmware type"
  451. depends on !ADK_TOOLCHAIN_ONLY
  452. default ADK_TARGET_ROOTFS_ARCHIVE
  453. config ADK_TARGET_ROOTFS_INITRAMFS
  454. bool "initramfs filesystem"
  455. depends on \
  456. ADK_LINUX_QEMU || \
  457. ADK_LINUX_NATIVE || \
  458. ADK_LINUX_RESCUE
  459. select ADK_KERNEL_BLK_DEV_INITRD
  460. help
  461. create an read-only initramfs system.
  462. config ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
  463. bool "initramfs filesystem included into kernel image"
  464. select ADK_LINUX_INITRAMFS_BUILTIN
  465. depends on \
  466. ADK_LINUX_QEMU || \
  467. ADK_LINUX_X86_64_SHUTTLE || \
  468. ADK_LINUX_NATIVE || \
  469. ADK_LINUX_RESCUE
  470. help
  471. create an read-only initramfs system.
  472. config ADK_TARGET_ROOTFS_SQUASHFS
  473. bool "Compressed read-only root filesystem (squashfs)"
  474. select ADK_KERNEL_SQUASHFS
  475. depends on \
  476. ADK_LINUX_CRIS_FOXBOARD || \
  477. ADK_LINUX_MIPS_AG241 || \
  478. ADK_LINUX_MIPS_WAG54G
  479. help
  480. highly compressed read-only filesystem for flash.
  481. config ADK_TARGET_ROOTFS_YAFFS
  482. bool "YAFFS2 rootfilesystem (NAND)"
  483. depends on \
  484. ADK_LINUX_MIPS_RB532 || \
  485. ADK_LINUX_MIPS_RB433 || \
  486. ADK_LINUX_MIPS_RB411
  487. help
  488. Root filesystem on NAND.
  489. config ADK_TARGET_ROOTFS_NFSROOT
  490. bool "NFS root"
  491. depends on \
  492. ADK_LINUX_CRIS_FOXBOARD || \
  493. ADK_LINUX_X86_ALIX1C || \
  494. ADK_LINUX_X86_ALIX2D || \
  495. ADK_LINUX_X86_WRAP || \
  496. ADK_LINUX_MIPS_RB532 || \
  497. ADK_LINUX_MIPS_RB433 || \
  498. ADK_LINUX_MIPS_RB411 || \
  499. ADK_LINUX_MIPS_WAG54G || \
  500. ADK_LINUX_MIPS_AG241 || \
  501. ADK_LINUX_MIPS64_LEMOTE
  502. select ADK_KERNEL_NFS_FS
  503. select ADK_KERNEL_NFS_V3
  504. select ADK_KERNEL_ROOT_NFS
  505. select ADK_KERNEL_NFS_COMMON
  506. select ADK_KERNEL_IP_PNP
  507. select ADK_KERNEL_IP_PNP_DHCP
  508. help
  509. Root filesystem mounted via NFS. (DHCP)
  510. config ADK_TARGET_ROOTFS_EXT2_CF
  511. bool "read-write filesystem for compact flash (ext2)"
  512. depends on \
  513. ADK_LINUX_X86_ALIX1C || \
  514. ADK_LINUX_X86_ALIX2D || \
  515. ADK_LINUX_X86_WRAP || \
  516. ADK_LINUX_MIPS_RB532
  517. select ADK_KERNEL_EXT2_FS
  518. select ADK_KERNEL_SCSI
  519. help
  520. Use this option if you have a compact flash reader
  521. inside your hardware and want to boot from it.
  522. config ADK_TARGET_ROOTFS_ARCHIVE
  523. bool "Archive usable for different filesystems"
  524. depends on \
  525. ADK_LINUX_QEMU || \
  526. ADK_LINUX_XSCALE_ZAURUS || \
  527. ADK_LINUX_MIPS64_LEMOTE || \
  528. ADK_LINUX_X86_64_SHUTTLE
  529. help
  530. Use this option if your root filesystem is ext2/ext3/ext4/xfs.
  531. config ADK_TARGET_ROOTFS_ENCRYPTED
  532. bool "Encrypted read-write root filesystem"
  533. depends on ADK_LINUX_MIPS64_LEMOTE
  534. select ADK_LINUX_INITRAMFS_BUILTIN
  535. select ADK_PACKAGE_CRYPTINIT
  536. select ADK_KERNEL_BLK_DEV_DM
  537. select ADK_KERNEL_DM_CRYPT
  538. select ADK_KERNEL_CRYPTO_AES
  539. select ADK_KERNEL_CRYPTO_CBC
  540. select ADK_KERNEL_CRYPTO_SHA256
  541. select ADK_KERNEL_XFS_FS
  542. help
  543. Use this option if you want an encrypted rootfs.
  544. Default is XFS filesystem. Use following commands to setup
  545. your hard disk, after booting via NFS or USB.
  546. Create at least three partitions with fdisk
  547. /dev/sda1 (ext2)
  548. /dev/sda2 (encrypted root)
  549. /dev/sda3 (swap)
  550. mkdir /mnt/{boot,root}
  551. cryptsetup luksFormat /dev/sda2
  552. cryptsetup luksOpen /dev/sda2 root
  553. cryptsetup luksFormat /dev/sda3
  554. cryptsetup luksOpen /dev/sda3 swap
  555. mkswap /dev/mapper/swap
  556. mkfs.xfs /dev/mapper/root
  557. mount /dev/mapper/root /mnt/root
  558. tar xzvf lemote-mips-encryptedroot.tar.gz -C /mnt/root
  559. mount /dev/sda1 /mnt/boot
  560. mkdir /mnt/boot/boot
  561. cp lemote-mips-kernel /mnt/boot/boot
  562. mv /mnt/root/boot/boot.cfg /mnt/boot/boot
  563. cd /mnt/root ; mknod -m 644 console c 5 1
  564. endchoice
  565. choice
  566. prompt "Compression method for initramfs and kernel"
  567. depends on ADK_TARGET_ROOTFS_INITRAMFS || ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
  568. config ADK_TARGET_INITRAMFS_COMPRESSION_GZIP
  569. boolean
  570. prompt "gzip"
  571. select ADK_KERNEL_RD_GZIP
  572. select ADK_KERNEL_KERNEL_GZIP
  573. help
  574. Select gzip compression.
  575. config ADK_TARGET_INITRAMFS_COMPRESSION_BZIP2
  576. boolean
  577. prompt "bzip2"
  578. select ADK_KERNEL_RD_BZIP2
  579. select ADK_KERNEL_KERNEL_BZIP2
  580. help
  581. Select BZIP2 compression.
  582. config ADK_TARGET_INITRAMFS_COMPRESSION_LZMA
  583. boolean
  584. prompt "lzma"
  585. select ADK_KERNEL_RD_LZMA
  586. select ADK_KERNEL_KERNEL_LZMA
  587. help
  588. Select LZMA compression.
  589. endchoice
  590. config ADK_COMPRESSION_TOOL
  591. string
  592. default "gzip -n9" if ADK_TARGET_INITRAMFS_COMPRESSION_GZIP
  593. default "bzip2" if ADK_TARGET_INITRAMFS_COMPRESSION_BZIP2
  594. default "lzma -9" if ADK_TARGET_INITRAMFS_COMPRESSION_LZMA
  595. help
  596. choice
  597. prompt "Root filesystem type"
  598. depends on ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
  599. default ADK_TARGET_ROOT_XFS
  600. config ADK_TARGET_ROOT_XFS_MOD
  601. boolean
  602. prompt "XFS filesystem"
  603. select ADK_KPACKAGE_KMOD_XFS_FS
  604. select ADK_PACKAGE_XFSPROGS
  605. help
  606. Select XFS filesystem kernel module and filesystem utilities.
  607. config ADK_TARGET_ROOT_EXT2_MOD
  608. boolean
  609. prompt "EXT2 filesystem"
  610. select ADK_KPACKAGE_KMOD_EXT2_FS
  611. select ADK_PACKAGE_E2FSPROGS
  612. help
  613. Select EXT2 filesystem kernel module and filesystem utilities.
  614. config ADK_TARGET_ROOT_EXT3_MOD
  615. boolean
  616. prompt "EXT3 filesystem"
  617. select ADK_KPACKAGE_KMOD_EXT3_FS
  618. select ADK_PACKAGE_E2FSPROGS
  619. help
  620. Select EXT3 filesystem kernel module and filesystem utilities.
  621. config ADK_TARGET_ROOT_EXT4_MOD
  622. boolean
  623. prompt "EXT4 filesystem"
  624. select ADK_KPACKAGE_KMOD_EXT4_FS
  625. select ADK_PACKAGE_E2FSPROGS
  626. help
  627. Select EXT4 filesystem kernel module and filesystem utilities.
  628. endchoice
  629. choice
  630. prompt "Root filesystem type"
  631. depends on ADK_TARGET_ROOTFS_ARCHIVE
  632. default ADK_TARGET_ROOT_XFS
  633. config ADK_TARGET_ROOT_XFS
  634. boolean
  635. prompt "XFS filesystem"
  636. select ADK_KERNEL_XFS_FS
  637. help
  638. Compile XFS filesystem into kernel and use it as root filesystem.
  639. config ADK_TARGET_ROOT_EXT2
  640. boolean
  641. prompt "EXT2 filesystem"
  642. select ADK_KERNEL_EXT2_FS
  643. help
  644. Compile EXT2 filesystem into kernel and use it as root filesystem.
  645. config ADK_TARGET_ROOT_EXT3
  646. boolean
  647. prompt "EXT3 filesystem"
  648. select ADK_KERNEL_EXT3_FS
  649. help
  650. Compile EXT3 filesystem into kernel and use it as root filesystem.
  651. config ADK_TARGET_ROOT_EXT4
  652. boolean
  653. prompt "EXT4 filesystem"
  654. select ADK_KERNEL_EXT4_FS
  655. help
  656. Compile EXT4 filesystem into kernel and use it as root filesystem.
  657. endchoice
  658. config ADK_TARGET_ROOTFS
  659. string
  660. default "xfs" if ADK_TARGET_ROOT_XFS
  661. default "ext2" if ADK_TARGET_ROOT_EXT2
  662. default "ext3" if ADK_TARGET_ROOT_EXT3
  663. default "ext4" if ADK_TARGET_ROOT_EXT4
  664. help
  665. config ADK_PACKAGE_SUFFIX
  666. string
  667. default "ipk" if ADK_TARGET_PACKAGE_IPKG
  668. default "tar.gz" if ADK_TARGET_PACKAGE_TGZ
  669. default "rpm" if ADK_TARGET_PACKAGE_RPM
  670. help
  671. choice
  672. prompt "Package backend format"
  673. default ADK_TARGET_PACKAGE_IPKG
  674. config ADK_TARGET_PACKAGE_IPKG
  675. boolean
  676. prompt "ipkg package format"
  677. select BUSYBOX_IPKG
  678. help
  679. Create ipkg packages.
  680. config ADK_TARGET_PACKAGE_TGZ
  681. boolean
  682. prompt "gzip compressed tar archive"
  683. help
  684. Create compressed tar archives.
  685. config ADK_TARGET_PACKAGE_RPM
  686. boolean
  687. prompt "rpm package format"
  688. help
  689. Create rpm packages.
  690. endchoice
  691. endmenu