Config.in 22 KB

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