Config.in 23 KB

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