]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/rpi-firmware/Config.in
lrzsz: install symlinks for XMODEM and YMODEM
[coffee/buildroot.git] / package / rpi-firmware / Config.in
1 config BR2_PACKAGE_RPI_FIRMWARE
2         bool "rpi-firmware"
3         depends on BR2_arm || BR2_aarch64
4         help
5           RaspberryPi Firmware
6
7           Pre-compiled binaries of the current bootloader and GPU
8           firmware
9
10           https://github.com/raspberrypi/firmware
11
12 if BR2_PACKAGE_RPI_FIRMWARE
13
14 choice
15         bool "Firmware to boot"
16         default BR2_PACKAGE_RPI_FIRMWARE_DEFAULT
17         help
18           There are three different firmware files:
19             - the default firmware, that enables standard GPU
20               features;
21             - the extended firmware, that enables additional GPU
22               features (eg. more audio/video codecs);
23             - the cut-down firmware, for emergency situations, with
24               only features required to boot a Linux kernel.
25
26 config BR2_PACKAGE_RPI_FIRMWARE_DEFAULT
27         bool "default"
28         help
29           The default firmware, that enables standard GPU features.
30
31 config BR2_PACKAGE_RPI_FIRMWARE_X
32         bool "extended ('x', more codecs)"
33         help
34           The extended firmware, that enables additional GPU features
35           (eg. more audio/video codecs).
36
37 config BR2_PACKAGE_RPI_FIRMWARE_CD
38         bool "cut-down ('cd', emergency)"
39         help
40           The cut-down firmware, for emergency situations, with only
41           features required to boot a Linux kernel.
42
43 endchoice
44
45 config BR2_PACKAGE_RPI_FIRMWARE_BOOT
46         string
47         default ""      if BR2_PACKAGE_RPI_FIRMWARE_DEFAULT
48         default "_x"    if BR2_PACKAGE_RPI_FIRMWARE_X
49         default "_cd"   if BR2_PACKAGE_RPI_FIRMWARE_CD
50
51 config BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS
52         bool "Install Device Tree Blobs (DTBs)"
53         default y
54         depends on !BR2_LINUX_KERNEL_DTS_SUPPORT
55         help
56           If you are using a Linux kernel <= 3.18, you should say 'y'
57           here.
58
59           If you are using a Linux kernel >= 3.19, you should say 'n'
60           here, and enable BR2_LINUX_KERNEL_DTS_SUPPORT to let the
61           kernel build the DTB.
62
63 config BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS
64         bool "Install DTB overlays"
65         default y
66         depends on BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS \
67                 || BR2_LINUX_KERNEL_DTS_SUPPORT
68         help
69           Say 'y' here if you need to load one or more of the DTB
70           overlays, to support HATs (Hardware Attached on Top, add-on
71           modules).
72
73 config BR2_PACKAGE_RPI_FIRMWARE_INSTALL_VCDBG
74         bool "vcdbg"
75         depends on BR2_arm # prebuilt arm binary, rpi-userland
76         depends on BR2_TOOLCHAIN_USES_GLIBC
77         depends on BR2_INSTALL_LIBSTDCPP # rpi-userland
78         select BR2_PACKAGE_RPI_USERLAND
79         help
80           Install vcdbg, to help debug communication with the GPU.
81
82 comment "vcdbg needs a glibc toolchain w/ C++"
83         depends on BR2_arm
84         depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_INSTALL_LIBSTDCPP
85
86 endif # BR2_PACKAGE_RPI_FIRMWARE