Config.in 20 KB

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