Config.in 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. config BR2_PACKAGE_RPI_FIRMWARE
  2. bool "rpi-firmware"
  3. depends on BR2_arm || BR2_aarch64
  4. help
  5. RaspberryPi Firmware
  6. Pre-compiled binaries of the current bootloader and GPU
  7. firmware
  8. https://github.com/raspberrypi/firmware
  9. if BR2_PACKAGE_RPI_FIRMWARE
  10. config BR2_PACKAGE_RPI_FIRMWARE_BOOTCODE_BIN
  11. bool "rpi 0/1/2/3 bootcode.bin"
  12. help
  13. The bootcode.bin for versions Zero/1/2/3 (not needed on rpi4,
  14. because it has been replaced by boot code in the onboard
  15. EEPROM).
  16. config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI
  17. bool "rpi 0/1/2/3 (default)"
  18. help
  19. The default set of files for versions Zero/1/2/3.
  20. config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI_X
  21. bool "rpi 0/1/2/3 (extended)"
  22. help
  23. The extended set of files for versions Zero/1/2/3 (additional
  24. GPU features, eg. more audio/video codecs).
  25. config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI_CD
  26. bool "rpi 0/1/2/3 (cut-down)"
  27. help
  28. The cut-down set of files for versions Zero/1/2/3 (only
  29. features required to boot a Linux kernel).
  30. config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI_DB
  31. bool "rpi 0/1/2/3 (debug)"
  32. help
  33. The debug set of files for versions Zero/1/2/3.
  34. config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4
  35. bool "rpi 4 (default)"
  36. help
  37. The default set of files for versions 4 (standard GPU
  38. features).
  39. config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4_X
  40. bool "rpi 4 (extended)"
  41. help
  42. The extended set of files for versions 4 (additional GPU
  43. features, eg. more audio/video codecs).
  44. config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4_CD
  45. bool "rpi 4 (cut-down)"
  46. help
  47. The cut-down set of files for versions 4 (only features
  48. required to boot a Linux kernel).
  49. config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4_DB
  50. bool "rpi 4 (debug)"
  51. help
  52. The debug set of files for versions 4.
  53. config BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE
  54. string "Path to a file stored as boot/config.txt"
  55. help
  56. Path to a file stored as config.txt in the boot partition
  57. of the generated SD card image.
  58. config BR2_PACKAGE_RPI_FIRMWARE_CMDLINE_FILE
  59. string "Path to a file stored as boot/cmdline.txt"
  60. default "board/raspberrypi/cmdline.txt" # legacy
  61. help
  62. Path to a file stored as cmdline.txt in the boot partition
  63. of the generated SD card image.
  64. config BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS
  65. bool "Install Device Tree Blobs (DTBs)"
  66. default y
  67. depends on !BR2_LINUX_KERNEL_DTS_SUPPORT
  68. help
  69. If you are using a Linux kernel <= 3.18, you should say 'y'
  70. here.
  71. If you are using a Linux kernel >= 3.19, you should say 'n'
  72. here, and enable BR2_LINUX_KERNEL_DTS_SUPPORT to let the
  73. kernel build the DTB.
  74. config BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS
  75. bool "Install DTB overlays"
  76. default y
  77. depends on BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS \
  78. || BR2_LINUX_KERNEL_DTS_SUPPORT
  79. select BR2_LINUX_KERNEL_DTB_OVERLAY_SUPPORT \
  80. if BR2_LINUX_KERNEL_DTS_SUPPORT
  81. help
  82. Say 'y' here if you need to load one or more of the DTB
  83. overlays, to support HATs (Hardware Attached on Top, add-on
  84. modules).
  85. config BR2_PACKAGE_RPI_FIRMWARE_INSTALL_VCDBG
  86. bool "vcdbg"
  87. depends on BR2_arm # prebuilt arm binary, rpi-userland
  88. depends on BR2_TOOLCHAIN_USES_GLIBC
  89. depends on BR2_INSTALL_LIBSTDCPP # rpi-userland
  90. help
  91. Install vcdbg, to help debug communication with the GPU.
  92. comment "vcdbg needs a glibc toolchain w/ C++"
  93. depends on BR2_arm
  94. depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_INSTALL_LIBSTDCPP
  95. endif # BR2_PACKAGE_RPI_FIRMWARE