Config.in 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. menuconfig BR2_TARGET_AT91BOOTSTRAP3
  2. bool "AT91 Bootstrap 3+"
  3. depends on BR2_arm926t || BR2_cortex_a5 || BR2_cortex_a7
  4. help
  5. AT91Bootstrap is a first level bootloader for the Atmel AT91
  6. devices. It integrates algorithms for:
  7. - Device initialization such as clock configuration, PIO
  8. settings...
  9. - Peripheral drivers such as PIO, PMC or SDRAMC...
  10. - Physical media algorithm such as DataFlash, NandFlash, NOR
  11. Flash...
  12. https://www.at91.com/linux4sam/bin/view/Linux4SAM/AT91Bootstrap
  13. if BR2_TARGET_AT91BOOTSTRAP3
  14. choice
  15. prompt "AT91 Bootstrap 3+ version"
  16. config BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION
  17. bool "4.0.0"
  18. config BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION_3X
  19. bool "3.10.3"
  20. config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT
  21. bool "Custom Git repository"
  22. help
  23. This option allows Buildroot to get the AT91 Bootstrap 3
  24. source code from a Git repository.
  25. config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_SVN
  26. bool "Custom SVN repository"
  27. help
  28. This option allows Buildroot to get the AT91 Bootstrap 3
  29. source code from a Subversion repository
  30. config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL
  31. bool "Custom tarball"
  32. endchoice
  33. config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION
  34. string "URL of custom AT91Bootstrap tarball"
  35. depends on BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL
  36. if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT || BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_SVN
  37. config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL
  38. string "URL of custom repository"
  39. config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION
  40. string "Custom repository version"
  41. help
  42. Revision to use in the typical format used by Git or SVN
  43. E.G. a sha id, a tag, branch, ..
  44. endif
  45. config BR2_TARGET_AT91BOOTSTRAP3_VERSION
  46. string
  47. default "v4.0.0" if BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION
  48. default "v3.10.3" if BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION_3X
  49. default BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION \
  50. if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT || BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_SVN
  51. default "custom" if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL
  52. config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_PATCH_DIR
  53. string "custom patch dir"
  54. help
  55. If your board requires custom patches, add the path to the
  56. directory containing the patches here. The patches must be
  57. named at91bootstrap3-<something>.patch.
  58. Most users may leave this empty
  59. #
  60. # Configuration selection
  61. #
  62. choice
  63. prompt "AT91 Bootstrap 3 configuration"
  64. default BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG
  65. config BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG
  66. bool "Using a defconfig"
  67. config BR2_TARGET_AT91BOOTSTRAP3_USE_CUSTOM_CONFIG
  68. bool "Using a custom config file"
  69. endchoice
  70. config BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG
  71. string "Defconfig name"
  72. depends on BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG
  73. help
  74. Name of the at91bootstrap3 defconfig file to use, without the
  75. trailing _defconfig. The defconfig is located at
  76. board/<processor>/<board>_defconfig in the at91bootstrap3
  77. tree.
  78. config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE
  79. string "Configuration file path"
  80. depends on BR2_TARGET_AT91BOOTSTRAP3_USE_CUSTOM_CONFIG
  81. help
  82. Path to the at91bootstrap3 configuration file
  83. config BR2_TARGET_AT91BOOTSTRAP3_NEEDS_PYTHON3
  84. bool "needs host-python3"
  85. help
  86. Enable this option if the at91bootstrap build process needs
  87. Python 3.x to be available on the host. This is needed in
  88. some at91bootstrap configurations to use NAND/PMECC Python
  89. scripts.
  90. endif # BR2_TARGET_AT91BOOTSTRAP3