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