Config.in 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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. choice
  11. bool "rpi variant"
  12. help
  13. The Raspberry Pi 4 introduced a slightly different naming
  14. convention and set of boot files. This option controls which
  15. format to use.
  16. config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI
  17. bool "rpi 0/1/2/3"
  18. help
  19. The default set of files, for versions pre-4
  20. config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4
  21. bool "rpi 4"
  22. help
  23. The Raspberry Pi 4 files
  24. endchoice
  25. choice
  26. bool "Firmware to boot"
  27. default BR2_PACKAGE_RPI_FIRMWARE_DEFAULT
  28. help
  29. There are three different firmware files:
  30. - the default firmware, that enables standard GPU
  31. features;
  32. - the extended firmware, that enables additional GPU
  33. features (eg. more audio/video codecs);
  34. - the cut-down firmware, for emergency situations, with
  35. only features required to boot a Linux kernel.
  36. config BR2_PACKAGE_RPI_FIRMWARE_DEFAULT
  37. bool "default"
  38. help
  39. The default firmware, that enables standard GPU features.
  40. config BR2_PACKAGE_RPI_FIRMWARE_X
  41. bool "extended ('x', more codecs)"
  42. help
  43. The extended firmware, that enables additional GPU features
  44. (eg. more audio/video codecs).
  45. config BR2_PACKAGE_RPI_FIRMWARE_CD
  46. bool "cut-down ('cd', emergency)"
  47. help
  48. The cut-down firmware, for emergency situations, with only
  49. features required to boot a Linux kernel.
  50. endchoice
  51. config BR2_PACKAGE_RPI_FIRMWARE_BOOT
  52. string
  53. default "" if BR2_PACKAGE_RPI_FIRMWARE_DEFAULT && BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI
  54. default "4" if BR2_PACKAGE_RPI_FIRMWARE_DEFAULT && BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4
  55. default "_x" if BR2_PACKAGE_RPI_FIRMWARE_X && BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI
  56. default "4x" if BR2_PACKAGE_RPI_FIRMWARE_X && BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4
  57. default "_cd" if BR2_PACKAGE_RPI_FIRMWARE_CD && BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI
  58. default "4cd" if BR2_PACKAGE_RPI_FIRMWARE_CD && BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4
  59. config BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS
  60. bool "Install Device Tree Blobs (DTBs)"
  61. default y
  62. depends on !BR2_LINUX_KERNEL_DTS_SUPPORT
  63. help
  64. If you are using a Linux kernel <= 3.18, you should say 'y'
  65. here.
  66. If you are using a Linux kernel >= 3.19, you should say 'n'
  67. here, and enable BR2_LINUX_KERNEL_DTS_SUPPORT to let the
  68. kernel build the DTB.
  69. config BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS
  70. bool "Install DTB overlays"
  71. default y
  72. depends on BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS \
  73. || BR2_LINUX_KERNEL_DTS_SUPPORT
  74. select BR2_LINUX_KERNEL_DTB_OVERLAY_SUPPORT \
  75. if BR2_LINUX_KERNEL_DTS_SUPPORT
  76. help
  77. Say 'y' here if you need to load one or more of the DTB
  78. overlays, to support HATs (Hardware Attached on Top, add-on
  79. modules).
  80. config BR2_PACKAGE_RPI_FIRMWARE_INSTALL_VCDBG
  81. bool "vcdbg"
  82. depends on BR2_arm # prebuilt arm binary, rpi-userland
  83. depends on BR2_TOOLCHAIN_USES_GLIBC
  84. depends on BR2_INSTALL_LIBSTDCPP # rpi-userland
  85. select BR2_PACKAGE_RPI_USERLAND
  86. help
  87. Install vcdbg, to help debug communication with the GPU.
  88. comment "vcdbg needs a glibc toolchain w/ C++"
  89. depends on BR2_arm
  90. depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_INSTALL_LIBSTDCPP
  91. endif # BR2_PACKAGE_RPI_FIRMWARE