aboutsummaryrefslogtreecommitdiff
path: root/package/rpi-firmware/Config.in
Commit message (Collapse)AuthorAgeFilesLines
* package/rpi-firmware: fix startup file namesGravatar Stéphane Veyret2020-06-261-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When booting, a Raspberry Pi will load the appropriate start files, depending on the provided configuration. For example, if the config.txt file contains ’gpu_mem=16’ the board will automatically load the cut-down startup files (start_cd.elf and fixup_cd.dat on non-Rpi4). Unfortunately, even when the appropriate version is selected in the configuration menu, if the rpi-firmware makefile takes the good files, it renames them to non-qualified, i.e. start.elf and fixup.dat. But as these are not the files searched by the Raspberry Pi, the board will not start. This patch will set the names of the files to load as constant in the config.txt file. This guarantees that the rpi firmware blobs do not take any other corner-case decision based on any other as-yet unknown conditions. This eases the maintenance, as only the names of the source files matter; the destination filenames are constants, and so are the filenames in config.txt. Fixes: #13026 Signed-off-by: Stéphane Veyret <sveyret@gmail.com> [yann.morin.1998@free.fr: - very minor fix in commit title - drop the non-conditional macro and move its content into RPI_FIRMWARE_INSTALL_IMAGES_CMDS ] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* package/rpi-firmware: select BR2_LINUX_KERNEL_DTB_OVERLAY_SUPPORT when neededGravatar Thomas Petazzoni2020-05-161-0/+2
| | | | | | | | | | | | | | | When BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS is enabled, and the DTBs are built by Linux (i.e BR2_LINUX_KERNEL_DTS_SUPPORT is enabled), these DTBs should be built with the -@ Device Tree compiler option, so that they can be used together with DTB overlays. So let's select BR2_LINUX_KERNEL_DTB_OVERLAY_SUPPORT in this situation. Fixes: https://bugs.busybox.net/show_bug.cgi?id=12831 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* package/rpi-firmware: bump version for pi4 supportGravatar Michael Cullen2019-08-031-2/+22
| | | | | | | | | | This commit pulls in the latest version of rpi-firmware to enable support for the new Pi4. The Pi4 uses a different set of start files, so it adds variant selection and copies the Pi4 variant of the files if selected. Signed-off-by: Michael Cullen <michael@michaelcullen.name> [Peter: reword / rework slightly] Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/*/Config.in: fix help text check-package warningsGravatar Thomas Petazzoni2017-12-181-12/+17
| | | | | | | | | | | | | This commit fixes the warnings reported by check-package on the help text of all package Config.in files, related to the formatting of the help text: should start with a tab, then 2 spaces, then at most 62 characters. The vast majority of warnings fixed were caused by too long lines. A few warnings were related to spaces being used instead of a tab to indent the help text. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* rpi-firmware: extend vcdbg architecture dependency commentGravatar Peter Korsgaard2017-05-071-1/+1
| | | | | | | | The main reason why vcdbg is only available on ARM is the fact that this is a prebuilt ARM binary rather than the rpi-userland dependency, so adjust the comment to clarify. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/rpi-firmware: fix unmet dependenciesGravatar Yann E. MORIN2017-05-071-0/+2
| | | | | | | | | | | Currently, vcdbg is only supported in 32-bit mode. Furthermore, vcdbg needs rpi-userland, which we currently only support in 32-bit mode. Add a dependency on BR2_arm. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/r*/Config.in: fix ordering of statementsGravatar Adam Duskett2017-05-021-2/+2
| | | | | | | | | | | | | The check-package script when ran gives warnings on ordering issues on all of these Config files. This patch cleans up all warnings related to the ordering in the Config files for packages starting with the letter r in the package directory. The appropriate ordering is: type, default, depends on, select, help See http://nightly.buildroot.org/#_config_files for more information. Signed-off-by: Adam Duskett <Adamduskett@outlook.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* rpi-firmware: allow to build for aarch64 targetsGravatar Gaël PORTAY2017-04-151-1/+1
| | | | | | | | The RaspberryPi 3 is based on a AArch64 CPU and requires binaries from this package. Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Replace (e)glibc by glibcGravatar Thomas Petazzoni2016-06-281-1/+1
| | | | | | | | | | | | | | | | Following the removal of eglibc support, this commit replaces all occurences of "(e)glibc" by just "glibc". Most of the occurences are in package Config.in comments. In addition, when the form "an (e)glibc ..." was used, it is replaced by "a glibc ...". [Peter: add new efi* packages, s/uclibc/uClibc as suggested by Romain, systemd / liquid-dsp tweaks as suggested by Yann] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Romain Naour <romain.naour@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/rpi-firmware: add option to install vcdbgGravatar Yann E. MORIN2015-07-021-0/+11
| | | | | | | | | | | | | | | | | | | | | | vcdbg is a tool to help debug the communication with the GPU. It comes as a binary-only, and in two flavours: one for the hard floating point ABI, one for the software floating point ABI. Unfortunately, we have no source code for that tool, only a binary that was dynamically linked with glibc and libraries from rpi-userland. So, just install that executable, and let's hope there is no symbol issue at runtime. Note: vcdbg needs glibc, threads and !static. Since glibc already implies threads and !static, we only need to depend on glibc. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc; Floris Bos <bos@je-eigen-domein.nl> Cc: Pascal de Bruijn <pmjdebruijn@pcode.nl> Cc: Baruch Siach <baruch@tkos.co.il> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/rpi-firmware: add option to install DTB overlaysGravatar Yann E. MORIN2015-06-291-0/+8
| | | | | | | | | | | Currently, Buildroot does not support building the overlays that are bundled in the Linux kernel, so all we can do is install the ones pre-built in rpi-firmware. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Floris Bos <bos@je-eigen-domein.nl> Cc: Pascal de Bruijn <pmjdebruijn@pcode.nl> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* rpi-firmware: allow disabling installation of binary DTBsGravatar Floris Bos2015-06-291-0/+12
| | | | | | | | | | | | | | The binary .dtb files are not suitable for everyone as they are kernel-version specific. Reintroduce BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS option. Signed-off-by: Floris Bos <bos@je-eigen-domein.nl> [yann.morin.1998@free.fr: don't install DTBs if kernel builds its own; fix default; rephrase help text] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Cc: Pascal de Bruijn <pmjdebruijn@pcode.nl> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* rpi-firmware: remove no longer used BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBSGravatar Ryan Coe2015-03-041-11/+0
| | | | | Signed-off-by: Ryan Coe <bluemrp9@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/rpi-firmware: install DTB blobsGravatar Yann E. MORIN2015-01-101-0/+11
| | | | | | | | | | | | | | | | | | | | Add an option to install all the DTBs: - standard DTBs for standalon A/B and A+/B+ models; - overlay DTBs for the 'hats' addon boards. Install the DTBs as per the traditional layout expected by all RPi users, that is: - base DTBs alongside the other boot files; - overlay DTBs in a sub-directory. This requires the user provide a specially configured Linux defconfig file, as the default ones do not enable USE_OF. [Thomas: adjust comment explaining why we use a different version when installing the DTBs is selected.] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/rpi-firmware: only install one firmware fileGravatar Yann E. MORIN2013-12-031-0/+39
| | | | | | | | | | | Since only one firmware is used to boot the Raspberry Pi, there is no reason to install all of them. Add an option to select what firmware to install. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* rpi-firmware: New packageGravatar Maxime Hadjinlian2013-01-061-0/+9
Introducing a package to install pre-built binaries for the bootloader and the GPU firmware for the RaspberryPi board. [Peter: rename to rpi-firmware, add link to http://elinux.org/RPiconfig] Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>