Config.in 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931
  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_TARGET_WITH_USB
  7. bool
  8. config ADK_TARGET_WITH_PCI
  9. bool
  10. config ADK_TARGET_WITH_SSB
  11. bool
  12. config ADK_TARGET_WITH_MINIPCI
  13. bool
  14. config ADK_TARGET_WITH_VGA
  15. bool
  16. config ADK_TARGET_WITH_HDD
  17. bool
  18. config ADK_TARGET_WITH_INPUT
  19. bool
  20. config ADK_TARGET_WITH_LEDS
  21. bool
  22. config ADK_TARGET_WITH_PP
  23. bool
  24. config ADK_TARGET_WITH_CARDBUS
  25. bool
  26. config ADK_TARGET_WITH_RTC
  27. bool
  28. config ADK_TARGET_WITH_WATCHDOG
  29. bool
  30. config ADK_TARGET_WITH_DSL
  31. bool
  32. config ADK_TOOLCHAIN_ONLY
  33. bool
  34. config ADK_TARGET_NO_FPU
  35. bool
  36. config ADK_EABI
  37. bool
  38. config ADK_LINUX_64
  39. bool
  40. config ADK_NATIVE
  41. tristate
  42. config ADK_alix
  43. tristate
  44. config ADK_wrap
  45. tristate
  46. config ADK_arm_toolchain
  47. tristate
  48. config ADK_armel_toolchain
  49. tristate
  50. config ADK_mips_toolchain
  51. tristate
  52. config ADK_mipsel_toolchain
  53. tristate
  54. config ADK_ppc
  55. tristate
  56. config ADK_sparc
  57. tristate
  58. config ADK_arm_qemu
  59. tristate
  60. config ADK_mips_qemu
  61. tristate
  62. config ADK_mipsel_qemu
  63. tristate
  64. config ADK_mips64_qemu
  65. tristate
  66. config ADK_mips64el_qemu
  67. tristate
  68. config ADK_cris_qemu
  69. tristate
  70. config ADK_rb532
  71. tristate
  72. config ADK_rb4xx
  73. tristate
  74. config ADK_zaurus
  75. tristate
  76. config ADK_foxg20
  77. tristate
  78. config ADK_foxboard
  79. tristate
  80. config ADK_lemote
  81. tristate
  82. config ADK_brcm
  83. tristate
  84. config ADK_ag241
  85. tristate
  86. config ADK_wag54g
  87. tristate
  88. config ADK_x86_64
  89. tristate
  90. config ADK_x86
  91. tristate
  92. config ADK_TARGET
  93. string
  94. default "alix" if ADK_alix
  95. default "wrap" if ADK_wrap
  96. default "brcm" if ADK_brcm
  97. default "x86" if ADK_x86
  98. default "x86_64" if ADK_x86_64
  99. default "toolchain-arm" if ADK_arm_toolchain
  100. default "toolchain-armel" if ADK_armel_toolchain
  101. default "toolchain-mips" if ADK_mips_toolchain
  102. default "toolchain-mipsel" if ADK_mipsel_toolchain
  103. default "ppc" if ADK_ppc
  104. default "sparc" if ADK_sparc
  105. default "qemu-arm" if ADK_arm_qemu
  106. default "qemu-cris" if ADK_cris_qemu
  107. default "qemu-mips" if ADK_mips_qemu
  108. default "qemu-mips64" if ADK_mips64_qemu
  109. default "qemu-mipsel" if ADK_mipsel_qemu
  110. default "foxboard" if ADK_foxboard
  111. default "foxg20" if ADK_foxg20
  112. default "native" if ADK_NATIVE
  113. default "rb532" if ADK_rb532
  114. default "rb4xx" if ADK_rb4xx
  115. default "zaurus" if ADK_arm
  116. default "lemote" if ADK_lemote
  117. default "wag54g" if ADK_wag54g
  118. default "ag241" if ADK_ag241
  119. config ADK_HARDWARE_QEMU
  120. boolean
  121. config ADK_CPU_SPARC_V8
  122. boolean
  123. config ADK_CPU_I686
  124. boolean
  125. config ADK_CPU_PENTIUM_M
  126. boolean
  127. config ADK_CPU_AMDFAM10
  128. boolean
  129. config ADK_TARGET_CFLAGS
  130. string
  131. default "-march=i686" if ADK_CPU_I686
  132. default "-march=pentium-m" if ADK_CPU_PENTIUM_M
  133. default "-march=amdfam10" if ADK_CPU_AMDFAM10
  134. default "-mcpu=v8" if ADK_CPU_SPARC_V8
  135. # c library
  136. config ADK_uclibc
  137. tristate
  138. config ADK_eglibc
  139. tristate
  140. config ADK_glibc
  141. tristate
  142. config ADK_LIBC
  143. string
  144. default "uclibc" if ADK_uclibc
  145. default "eglibc" if ADK_eglibc
  146. default "glibc" if ADK_glibc
  147. default "native" if ADK_NATIVE
  148. menu "Target system"
  149. choice
  150. prompt "Embedded Device or Emulator"
  151. default ADK_LINUX_NATIVE
  152. config ADK_LINUX_NATIVE
  153. bool "Native platform"
  154. select ADK_NATIVE
  155. select ADK_TARGET_WITH_VGA
  156. select ADK_TARGET_WITH_USB
  157. depends on ADK_HOST_LINUX
  158. help
  159. Make a native build. Use host tools.
  160. No toolchain will be created.
  161. config ADK_LINUX_X86_ALIX
  162. bool "PC Engines ALIX boards"
  163. select ADK_x86
  164. select ADK_alix
  165. help
  166. Support for Alix boards.
  167. http://www.pcengines.ch
  168. Status: stable
  169. config ADK_LINUX_X86_WRAP
  170. bool "PC Engines WRAP boards"
  171. select ADK_x86
  172. select ADK_wrap
  173. select ADK_KERNEL_SCSI
  174. select ADK_KERNEL_ATA
  175. select ADK_KERNEL_BLK_DEV_SD
  176. select ADK_KERNEL_EXT2_FS
  177. select ADK_KERNEL_NET_PCI
  178. select ADK_KERNEL_NETDEVICES
  179. select ADK_KERNEL_NET_ETHERNET
  180. select ADK_KERNEL_MII
  181. select ADK_TARGET_WITH_WATCHDOG
  182. select ADK_TARGET_WITH_RTC
  183. help
  184. End of life.
  185. http://www.pcengines.ch/
  186. Status: stable
  187. config ADK_LINUX_ARM_FOXG20
  188. bool "Foxboard (FOXG20)"
  189. select ADK_foxg20
  190. select ADK_EABI
  191. select ADK_KERNEL_NLS
  192. select ADK_KERNEL_EXT2_FS
  193. select ADK_KERNEL_USB
  194. select ADK_KPACKAGE_KMOD_VFAT_FS
  195. select ADK_PACKAGE_KMOD_USB_CONTROLLER
  196. select ADK_KERNEL_NETDEVICES
  197. select ADK_KERNEL_NET_PCI
  198. select ADK_KERNEL_NET_ETHERNET
  199. select ADK_KERNEL_MII
  200. select ADK_TARGET_WITH_USB
  201. help
  202. Support for Foxboard target (foxg20).
  203. http://foxg20.acmesystems.it/doku.php
  204. Status: stable
  205. config ADK_LINUX_CRIS_FOXBOARD
  206. bool "Foxboard (ETRAX LX100)"
  207. select ADK_foxboard
  208. select ADK_PACKAGE_KMOD_USB_CONTROLLER
  209. select ADK_KERNEL_USB
  210. select ADK_KERNEL_NLS
  211. select ADK_KERNEL_NETDEVICES
  212. select ADK_TARGET_WITH_USB
  213. help
  214. Support for Foxboard targets.
  215. http://foxlx.acmesystems.it/
  216. Status: stable
  217. config ADK_LINUX_MIPS64_LEMOTE
  218. bool "Lemote Subnotebook Yeeloong"
  219. select ADK_lemote
  220. select ADK_HARDWARE_YEELONG
  221. select ADK_LINUX_64
  222. help
  223. Lemote Subnotebook.
  224. http://www.lemote.com/english/index.html
  225. http://www.tekmote.nl/
  226. Status: testing
  227. config ADK_LINUX_MIKROTIK
  228. bool "Mikrotik Routerboards"
  229. help
  230. Support for Mikrotik Routerboards
  231. http://www.mikrotik.com
  232. http://www.routerboards.com
  233. config ADK_LINUX_MIPS_AG241
  234. bool "Linksys AG241v2"
  235. select ADK_KERNEL_NETDEVICES
  236. select ADK_KERNEL_NET_PCI
  237. select ADK_KERNEL_NET_ETHERNET
  238. select ADK_KERNEL_MII
  239. select ADK_PACKAGE_KMOD_SANGAM_ATM
  240. select ADK_KPACKAGE_KMOD_ATM_BR2684
  241. select ADK_PACKAGE_BR2684CTL
  242. select ADK_TARGET_WITH_DSL
  243. select ADK_TARGET_WITH_WATCHDOG
  244. select ADK_ag241
  245. help
  246. Linksys AG241 DSL router.
  247. (Texas Instruments AR7 platform)
  248. Status: stable
  249. config ADK_LINUX_MIPS_BRCM
  250. bool "Broadcom BCM47xx based routers"
  251. select ADK_brcm
  252. select ADK_TARGET_WITH_SSB
  253. select ADK_KERNEL_NETDEVICES
  254. select ADK_KERNEL_NET_PCI
  255. select ADK_KERNEL_NET_ETHERNET
  256. select ADK_KERNEL_MII
  257. help
  258. Broadcom bcm47xx based router.
  259. Status: development
  260. config ADK_LINUX_XSCALE_ZAURUS
  261. bool "Zaurus SL-C3200"
  262. select ADK_zaurus
  263. select ADK_TARGET_NO_FPU
  264. select ADK_TARGET_WITH_INPUT
  265. depends on ADK_BROKEN
  266. help
  267. Support for Sharp Zaurus SL-C3200 (aka Terrier)
  268. Status: development
  269. config ADK_LINUX_QEMU
  270. bool "Qemu Emulator"
  271. select ADK_KERNEL_NET_PCI
  272. select ADK_KERNEL_NETDEVICES
  273. select ADK_KERNEL_MII
  274. select ADK_KERNEL_NET_ETHERNET
  275. select ADK_TARGET_WITH_INPUT
  276. help
  277. Support for Qemu Emulator
  278. config ADK_LINUX_TOOLCHAIN
  279. bool "Toolchain only support"
  280. help
  281. Toolchain only support
  282. config ADK_LINUX_PPC
  283. bool "ppc system"
  284. select ADK_ppc
  285. help
  286. Support for a ppc system.
  287. config ADK_LINUX_SPARC
  288. bool "sparc system"
  289. select ADK_sparc
  290. help
  291. Support for a sparc system.
  292. config ADK_LINUX_X86
  293. bool "x86 system"
  294. select ADK_x86
  295. help
  296. Support for a x86 system.
  297. config ADK_LINUX_X86_64
  298. bool "x86_64 system"
  299. select ADK_x86_64
  300. help
  301. Support for a x86_64/amd64 system.
  302. endchoice
  303. choice
  304. prompt "Architecture"
  305. depends on ADK_LINUX_TOOLCHAIN
  306. config ADK_LINUX_ARM_TOOLCHAIN
  307. bool "ARM BE Toolchain"
  308. select ADK_arm_toolchain
  309. select ADK_TARGET_NO_FPU
  310. select ADK_EABI
  311. select ADK_TOOLCHAIN_ONLY
  312. help
  313. Status: toolchain only
  314. config ADK_LINUX_ARMEL_TOOLCHAIN
  315. bool "ARM LE Toolchain"
  316. select ADK_armel_toolchain
  317. select ADK_TARGET_NO_FPU
  318. select ADK_EABI
  319. select ADK_TOOLCHAIN_ONLY
  320. help
  321. Status: toolchain only
  322. config ADK_LINUX_MIPS_TOOLCHAIN
  323. bool "MIPS BE Toolchain (32 Bit)"
  324. select ADK_mips_toolchain
  325. select ADK_TOOLCHAIN_ONLY
  326. help
  327. Status: toolchain only
  328. config ADK_LINUX_MIPSEL_TOOLCHAIN
  329. bool "MIPS EL Toolchain (32 Bit)"
  330. select ADK_mipsel_toolchain
  331. select ADK_TOOLCHAIN_ONLY
  332. help
  333. Status: toolchain only
  334. endchoice
  335. choice
  336. prompt "Architecture"
  337. depends on ADK_LINUX_QEMU
  338. config ADK_LINUX_ARM_QEMU
  339. bool "arm"
  340. select ADK_arm_qemu
  341. select ADK_EABI
  342. select ADK_KERNEL_INPUT_KEYBOARD
  343. select ADK_KERNEL_CRC32
  344. help
  345. Qemu support for ARM architecture.
  346. Right now this is optimized for Zaurus PDA spitz.
  347. Status: development
  348. config ADK_LINUX_MIPS_QEMU
  349. bool "mips (big endian)"
  350. select ADK_mips_qemu
  351. help
  352. Qemu support for MIPS BE architecture.
  353. Status: stable
  354. config ADK_LINUX_MIPSEL_QEMU
  355. bool "mipsel (little endian)"
  356. select ADK_mipsel_qemu
  357. help
  358. Qemu support for MIPS LE architecture.
  359. Status: stable
  360. config ADK_LINUX_MIPS64_QEMU
  361. bool "mips64 (big endian)"
  362. select ADK_mips64_qemu
  363. select ADK_LINUX_64
  364. depends on ADK_BROKEN
  365. help
  366. Qemu support for MIPS64 BE architecture.
  367. Status: development
  368. config ADK_LINUX_MIPS64EL_QEMU
  369. bool "mips64 (little endian)"
  370. select ADK_mips64el_qemu
  371. select ADK_LINUX_64
  372. depends on ADK_BROKEN
  373. help
  374. Qemu support for MIPS64 LE architecture.
  375. Status: development
  376. config ADK_LINUX_CRIS_QEMU
  377. bool "cris"
  378. select ADK_cris_qemu
  379. depends on ADK_BROKEN
  380. help
  381. Qemu support for CRISv32 architecture.
  382. config ADK_LINUX_X86_64_QEMU
  383. bool "x86_64"
  384. select ADK_x86_64_qemu
  385. select ADK_LINUX_64
  386. select ADK_KERNEL_NETDEV_1000
  387. select ADK_KPACKAGE_KMOD_E1000
  388. select ADK_KERNEL_INPUT_KEYBOARD
  389. select ADK_KERNEL_SCSI
  390. select ADK_KERNEL_ATA
  391. select ADK_KERNEL_BLK_DEV_SD
  392. select ADK_TARGET_WITH_VGA
  393. help
  394. Qemu support for x86_64 architecture.
  395. Status: stable
  396. endchoice
  397. source "target/Config.in.alix"
  398. source "target/Config.in.sparc"
  399. source "target/Config.in.ppc"
  400. source "target/Config.in.x86"
  401. source "target/Config.in.x86_64"
  402. choice
  403. prompt "Routerboard model"
  404. default ADK_LINUX_MIPS_RB532
  405. depends on ADK_LINUX_MIKROTIK
  406. config ADK_LINUX_MIPS_RB4XX
  407. bool "Mikrotik Routerboard 411/433"
  408. select ADK_rb4xx
  409. select ADK_KERNEL_MISC_FILESYSTEMS
  410. select ADK_KERNEL_YAFFS_FS
  411. select ADK_KERNEL_YAFFS_YAFFS2
  412. select ADK_KERNEL_YAFFS_AUTO_YAFFS2
  413. select ADK_KERNEL_NETDEVICES
  414. select ADK_KERNEL_NET_PCI
  415. select ADK_KERNEL_NETDEV_1000
  416. select ADK_KERNEL_NET_ETHERNET
  417. select ADK_TARGET_WITH_MINIPCI
  418. select ADK_TARGET_WITH_WATCHDOG
  419. help
  420. Support for Mikrotik RB411/RB433.
  421. Status: stable
  422. config ADK_LINUX_MIPS_RB532
  423. bool "Mikrotik Routerboard 532"
  424. select ADK_rb532
  425. select ADK_KERNEL_MISC_FILESYSTEMS
  426. select ADK_KERNEL_YAFFS_FS
  427. select ADK_KERNEL_YAFFS_YAFFS2
  428. select ADK_KERNEL_YAFFS_AUTO_YAFFS2
  429. select ADK_KERNEL_NETDEVICES
  430. select ADK_KERNEL_NET_PCI
  431. select ADK_KERNEL_NET_ETHERNET
  432. select ADK_KERNEL_MII
  433. select ADK_KERNEL_ATA
  434. select ADK_KERNEL_BLK_DEV_SD
  435. select ADK_KERNEL_SCSI
  436. select ADK_KERNEL_EXT2_FS
  437. select ADK_TARGET_WITH_MINIPCI
  438. select ADK_TARGET_WITH_WATCHDOG
  439. help
  440. Support for Mikrotik RB532.
  441. Status: stable
  442. endchoice
  443. choice
  444. prompt "Device model"
  445. default ADK_LINUX_CRIS_FOXBOARD_CLASSIC
  446. depends on ADK_LINUX_CRIS_FOXBOARD
  447. config ADK_LINUX_CRIS_FOXBOARD_CLASSIC
  448. bool "Foxboard classic (4x16)"
  449. help
  450. Foxboard classic with red board.
  451. (4 MB flash size and 16 MB RAM)
  452. config ADK_LINUX_CRIS_FOXBOARD_LX
  453. bool "Foxboard LX (8x32)"
  454. help
  455. Latest Foxboard with green board.
  456. (8 MB flash size and 32 MB RAM)
  457. endchoice
  458. source "target/linux/config/Config.in.kernel"
  459. choice
  460. prompt "Target C library"
  461. depends on ! ADK_NATIVE
  462. config ADK_TARGET_LIB_UCLIBC
  463. bool "uClibc embedded C library"
  464. # broken, because of 16kB pagesize
  465. depends on !ADK_LINUX_MIPS64_LEMOTE
  466. select ADK_uclibc
  467. help
  468. http://uclibc.org
  469. config ADK_TARGET_LIB_EGLIBC
  470. bool "Embedded GNU C library"
  471. select ADK_eglibc
  472. depends on ADK_LINUX_QEMU || \
  473. ADK_LINUX_PPC || \
  474. ADK_LINUX_SPARC || \
  475. ADK_LINUX_X86 || \
  476. ADK_LINUX_X86_64 || \
  477. ADK_LINUX_ARM_FOXG20 || \
  478. ADK_LINUX_X86_ALIX || \
  479. ADK_LINUX_X86_WRAP || \
  480. ADK_LINUX_MIPS_RB4XX || \
  481. ADK_LINUX_MIPS_RB532 || \
  482. ADK_LINUX_MIPS64_LEMOTE || \
  483. ADK_LINUX_TOOLCHAIN
  484. help
  485. http://www.eglibc.org
  486. config ADK_TARGET_LIB_GLIBC
  487. bool "GNU C library"
  488. select ADK_glibc
  489. depends on ADK_LINUX_QEMU || \
  490. ADK_LINUX_PPC || \
  491. ADK_LINUX_SPARC || \
  492. ADK_LINUX_X86 || \
  493. ADK_LINUX_X86_64 || \
  494. ADK_LINUX_ARM_FOXG20 || \
  495. ADK_LINUX_X86_ALIX || \
  496. ADK_LINUX_X86_WRAP || \
  497. ADK_LINUX_MIPS_RB532 || \
  498. ADK_LINUX_MIPS_RB4XX || \
  499. ADK_LINUX_MIPS64_LEMOTE || \
  500. ADK_LINUX_TOOLCHAIN
  501. help
  502. http://www.gnu.org/libc
  503. endchoice
  504. config ADK_TARGET_SUFFIX
  505. string
  506. default "gnueabi" if (ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC) && ADK_EABI
  507. default "gnu" if (ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC) && !ADK_EABI
  508. default "uclibcgnueabi" if ADK_TARGET_LIB_UCLIBC && ADK_EABI
  509. default "uclibc" if ADK_TARGET_LIB_UCLIBC && !ADK_EABI
  510. choice
  511. prompt "Target Firmware type"
  512. depends on !ADK_TOOLCHAIN_ONLY
  513. default ADK_TARGET_ROOTFS_ARCHIVE
  514. config ADK_TARGET_ROOTFS_INITRAMFS
  515. bool "initramfs filesystem"
  516. depends on \
  517. ADK_LINUX_X86 || \
  518. ADK_LINUX_X86_64 || \
  519. ADK_LINUX_PPC || \
  520. ADK_LINUX_SPARC || \
  521. ADK_LINUX_X86_ALIX || \
  522. ADK_LINUX_QEMU || \
  523. ADK_LINUX_NATIVE || \
  524. ADK_LINUX_MIPS64_LEMOTE
  525. select ADK_KERNEL_BLK_DEV_INITRD
  526. help
  527. create an read-only initramfs system.
  528. config ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
  529. bool "initramfs filesystem included into kernel image"
  530. select ADK_LINUX_INITRAMFS_BUILTIN
  531. depends on \
  532. ADK_LINUX_X86_ALIX || \
  533. ADK_LINUX_PPC || \
  534. ADK_LINUX_SPARC || \
  535. ADK_LINUX_QEMU || \
  536. ADK_LINUX_X86 || \
  537. ADK_LINUX_X86_64 || \
  538. ADK_LINUX_NATIVE || \
  539. ADK_LINUX_MIPS64_LEMOTE
  540. help
  541. create an read-only initramfs system.
  542. config ADK_TARGET_ROOTFS_SQUASHFS
  543. bool "Compressed read-only root filesystem (squashfs)"
  544. select ADK_KERNEL_SQUASHFS
  545. depends on \
  546. ADK_LINUX_CRIS_FOXBOARD || \
  547. ADK_LINUX_MIPS_AG241
  548. help
  549. highly compressed read-only filesystem for flash.
  550. config ADK_TARGET_ROOTFS_YAFFS
  551. bool "YAFFS2 rootfilesystem (NAND)"
  552. select ADK_KERNEL_MISC_FILESYSTEMS
  553. select ADK_KERNEL_YAFFS_FS
  554. select ADK_KERNEL_YAFFS_YAFFS2
  555. depends on \
  556. ADK_LINUX_MIPS_RB532 || \
  557. ADK_LINUX_MIPS_RB4XX
  558. help
  559. Root filesystem on NAND.
  560. config ADK_TARGET_ROOTFS_NFSROOT
  561. bool "NFS root"
  562. depends on \
  563. ADK_LINUX_CRIS_FOXBOARD || \
  564. ADK_LINUX_ARM_FOXG20 || \
  565. ADK_LINUX_X86_ALIX || \
  566. ADK_LINUX_X86_WRAP || \
  567. ADK_LINUX_MIPS_BRCM || \
  568. ADK_LINUX_MIPS_RB532 || \
  569. ADK_LINUX_MIPS_RB4XX || \
  570. ADK_LINUX_MIPS_AG241 || \
  571. ADK_LINUX_MIPS64_LEMOTE
  572. select ADK_KERNEL_SUNRPC
  573. select ADK_KERNEL_NFS_FS
  574. select ADK_KERNEL_NFS_V3
  575. select ADK_KERNEL_ROOT_NFS
  576. select ADK_KERNEL_NFS_COMMON
  577. select ADK_KERNEL_IP_PNP
  578. select ADK_KERNEL_IP_PNP_DHCP
  579. help
  580. Root filesystem mounted via NFS. (DHCP)
  581. config ADK_TARGET_ROOTFS_USB
  582. bool "Boot from USB stick"
  583. select ADK_KERNEL_NLS
  584. select ADK_KERNEL_SCSI
  585. select ADK_KERNEL_BLK_DEV_SD
  586. select ADK_KERNEL_USB
  587. select ADK_KERNEL_USB_EHCI_HCD
  588. select ADK_KERNEL_USB_UHCI_HCD
  589. select ADK_KERNEL_USB_STORAGE
  590. select ADK_KERNEL_EXT2_FS
  591. depends on ADK_LINUX_X86 || ADK_LINUX_X86_64
  592. depends on !ADK_HARDWARE_QEMU
  593. help
  594. Boot system from USB stick.
  595. config ADK_TARGET_ROOTFS_EXT2_BLOCK
  596. bool "read-write filesystem for block devices with ext2"
  597. depends on ADK_LINUX_X86_ALIX || \
  598. ADK_LINUX_X86_WRAP || \
  599. ADK_LINUX_ARM_FOXG20 || \
  600. ADK_LINUX_MIPS_RB532
  601. select ADK_KERNEL_EXT2_FS
  602. select ADK_KERNEL_SCSI
  603. help
  604. Use this option if you have a compact flash or mmc/sd card
  605. reader inside your hardware and want to boot from it.
  606. config ADK_TARGET_ROOTFS_ARCHIVE
  607. bool "Archive usable for different filesystems"
  608. depends on \
  609. ADK_LINUX_NATIVE || \
  610. ADK_LINUX_PPC || \
  611. ADK_LINUX_SPARC || \
  612. ADK_LINUX_QEMU || \
  613. ADK_LINUX_XSCALE_ZAURUS || \
  614. ADK_LINUX_X86 || \
  615. ADK_LINUX_MIPS64_LEMOTE || \
  616. ADK_LINUX_X86_64
  617. help
  618. Use this option if your root filesystem is ext2/ext3/ext4/xfs.
  619. config ADK_TARGET_ROOTFS_ENCRYPTED
  620. bool "Encrypted read-write root filesystem"
  621. select ADK_LINUX_INITRAMFS_BUILTIN
  622. select ADK_PACKAGE_CRYPTINIT
  623. select ADK_KERNEL_BLK_DEV_DM
  624. select ADK_KERNEL_DM_CRYPT
  625. select ADK_KERNEL_CRYPTO_AES
  626. select ADK_KERNEL_CRYPTO_CBC
  627. select ADK_KERNEL_CRYPTO_SHA256
  628. select ADK_KERNEL_XFS_FS
  629. depends on ADK_LINUX_MIPS64_LEMOTE || \
  630. ADK_LINUX_X86 || ADK_LINUX_X86_64
  631. depends on !ADK_HARDWARE_QEMU
  632. help
  633. Use this option if you want an encrypted rootfs.
  634. Default is XFS filesystem. Use following commands to setup
  635. your hard disk, after booting via NFS or USB.
  636. Create at least three partitions with fdisk
  637. /dev/sda1 (ext2)
  638. /dev/sda2 (encrypted root)
  639. /dev/sda3 (swap)
  640. mkdir /mnt/{boot,root}
  641. cryptsetup luksFormat /dev/sda2
  642. cryptsetup luksOpen /dev/sda2 root
  643. cryptsetup luksFormat /dev/sda3
  644. cryptsetup luksOpen /dev/sda3 swap
  645. mkswap /dev/mapper/swap
  646. mkfs.xfs /dev/mapper/root
  647. mount /dev/mapper/root /mnt/root
  648. tar xzvf lemote-mips-encryptedroot.tar.gz -C /mnt/root
  649. mount /dev/sda1 /mnt/boot
  650. mkdir /mnt/boot/boot
  651. cp lemote-mips-kernel /mnt/boot/boot
  652. mv /mnt/root/boot/boot.cfg /mnt/boot/boot
  653. cd /mnt/root ; mknod -m 644 console c 5 1
  654. endchoice
  655. config ADK_TARGET_ROOTFS_USB_DEVICE
  656. prompt "Target device node for USB stick"
  657. string
  658. depends on ADK_TARGET_ROOTFS_USB
  659. default "/dev/sdb1"
  660. help
  661. Target device node for the USB stick.
  662. choice
  663. prompt "Compression method for initramfs and kernel"
  664. depends on ADK_TARGET_ROOTFS_INITRAMFS || ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
  665. config ADK_TARGET_INITRAMFS_COMPRESSION_LZMA
  666. boolean
  667. prompt "lzma"
  668. select ADK_KERNEL_RD_LZMA
  669. select ADK_KERNEL_KERNEL_LZMA
  670. help
  671. Select LZMA compression.
  672. config ADK_TARGET_INITRAMFS_COMPRESSION_GZIP
  673. boolean
  674. prompt "gzip"
  675. select ADK_KERNEL_RD_GZIP
  676. select ADK_KERNEL_KERNEL_GZIP
  677. help
  678. Select gzip compression.
  679. config ADK_TARGET_INITRAMFS_COMPRESSION_BZIP2
  680. boolean
  681. prompt "bzip2"
  682. select ADK_KERNEL_RD_BZIP2
  683. select ADK_KERNEL_KERNEL_BZIP2
  684. help
  685. Select BZIP2 compression.
  686. #config ADK_TARGET_INITRAMFS_COMPRESSION_LZO
  687. # boolean
  688. # prompt "lzo"
  689. # select ADK_KERNEL_RD_LZO
  690. # select ADK_KERNEL_KERNEL_LZO
  691. # help
  692. # Select LZO compression.
  693. endchoice
  694. choice
  695. prompt "Compression method for Kernel"
  696. depends on !(ADK_TARGET_ROOTFS_INITRAMFS || ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK || ADK_TOOLCHAIN_ONLY || ADK_LINUX_ARM_FOXG20 || ADK_LINUX_ARM_QEMU )
  697. config ADK_TARGET_KERNEL_COMPRESSION_LZMA
  698. boolean
  699. prompt "lzma"
  700. select ADK_KERNEL_KERNEL_LZMA
  701. help
  702. Select LZMA compression for Kernel.
  703. config ADK_TARGET_KERNEL_COMPRESSION_GZIP
  704. boolean
  705. prompt "gzip"
  706. select ADK_KERNEL_KERNEL_GZIP
  707. help
  708. Select gzip compression for Kernel.
  709. config ADK_TARGET_KERNEL_COMPRESSION_BZIP2
  710. boolean
  711. prompt "bzip2"
  712. select ADK_KERNEL_KERNEL_BZIP2
  713. help
  714. Select BZIP2 compression for Kernel.
  715. config ADK_TARGET_KERNEL_COMPRESSION_LZO
  716. boolean
  717. prompt "lzo"
  718. select ADK_KERNEL_KERNEL_LZO
  719. help
  720. Select LZO compression for Kernel.
  721. endchoice
  722. config ADK_COMPRESSION_TOOL
  723. string
  724. default "gzip -n9" if ADK_TARGET_INITRAMFS_COMPRESSION_GZIP
  725. default "bzip2" if ADK_TARGET_INITRAMFS_COMPRESSION_BZIP2
  726. default "lzma -9" if ADK_TARGET_INITRAMFS_COMPRESSION_LZMA
  727. default "lzop" if ADK_TARGET_INITRAMFS_COMPRESSION_LZO
  728. help
  729. choice
  730. prompt "Root filesystem type"
  731. depends on ADK_TARGET_ROOTFS_ARCHIVE
  732. default ADK_TARGET_ROOT_XFS
  733. config ADK_TARGET_ROOT_XFS
  734. boolean
  735. prompt "XFS filesystem"
  736. select ADK_KERNEL_XFS_FS
  737. help
  738. Compile XFS filesystem into kernel and use it as root filesystem.
  739. config ADK_TARGET_ROOT_EXT2
  740. boolean
  741. prompt "EXT2 filesystem"
  742. select ADK_KERNEL_EXT2_FS
  743. help
  744. Compile EXT2 filesystem into kernel and use it as root filesystem.
  745. config ADK_TARGET_ROOT_EXT3
  746. boolean
  747. prompt "EXT3 filesystem"
  748. select ADK_KERNEL_EXT3_FS
  749. help
  750. Compile EXT3 filesystem into kernel and use it as root filesystem.
  751. config ADK_TARGET_ROOT_EXT4
  752. boolean
  753. prompt "EXT4 filesystem"
  754. select ADK_KERNEL_EXT4_FS
  755. help
  756. Compile EXT4 filesystem into kernel and use it as root filesystem.
  757. endchoice
  758. config ADK_TARGET_ROOTFS
  759. string
  760. default "xfs" if ADK_TARGET_ROOT_XFS
  761. default "ext2" if ADK_TARGET_ROOT_EXT2
  762. default "ext3" if ADK_TARGET_ROOT_EXT3
  763. default "ext4" if ADK_TARGET_ROOT_EXT4
  764. help
  765. config ADK_PACKAGE_SUFFIX
  766. string
  767. default "ipk" if ADK_TARGET_PACKAGE_IPKG
  768. default "tar.gz" if ADK_TARGET_PACKAGE_TGZ
  769. help
  770. choice
  771. prompt "Package backend format"
  772. default ADK_TARGET_PACKAGE_TGZ
  773. config ADK_TARGET_PACKAGE_IPKG
  774. boolean
  775. prompt "ipkg package format"
  776. select BUSYBOX_IPKG
  777. help
  778. Create ipkg packages and use ipkg package management on
  779. the target.
  780. config ADK_TARGET_PACKAGE_TGZ
  781. boolean
  782. prompt "tar archive (no package manager)"
  783. help
  784. Create compressed tar archives of packages.
  785. Pre- and post install scripts will be executed in the target
  786. directory. There will be no package manager installed onto the target.
  787. endchoice
  788. endmenu