Config.in 19 KB

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