Add build scripts for embedded (netboot) edition

This commit is contained in:
Floris Bos 2022-02-14 11:03:37 +01:00
parent 71754dd164
commit 25947fc199
223 changed files with 32637 additions and 1 deletions

View file

@ -0,0 +1,48 @@
config BR2_PACKAGE_RPI_FIRMWARE_CUSTOM
bool "rpi-firmware"
depends on BR2_arm
help
RaspberryPi Firmware
Pre-compiled binaries of the current bootloader and GPU firmware
https://github.com/raspberrypi/firmware
if BR2_PACKAGE_RPI_FIRMWARE_CUSTOM
choice
bool "Firmware to boot"
default BR2_PACKAGE_RPI_FIRMWARE_CUSTOM_DEFAULT
help
There are three different firmware files:
- the default firmware, that enables standard GPU features;
- the extended firmware, that enables additional GPU features
(eg. more audio/video codecs);
- the cut-down firmware, for emergency situations, with only
features required to boot a Linux kernel.
config BR2_PACKAGE_RPI_FIRMWARE_CUSTOM_DEFAULT
bool "default"
help
The default firmware, that enables standard GPU features.
config BR2_PACKAGE_RPI_FIRMWARE_CUSTOM_X
bool "extended ('x', more codecs)"
help
The extended firmware, that enables additional GPU features
(eg. more audio/video codecs).
config BR2_PACKAGE_RPI_FIRMWARE_CUSTOM_CD
bool "cut-down ('cd', emergency)"
help
The cut-down firmware, for emergency situations, with only
features required to boot a Linux kernel.
endchoice
config BR2_PACKAGE_RPI_FIRMWARE_CUSTOM_BOOT
string
default "" if BR2_PACKAGE_RPI_FIRMWARE_CUSTOM_DEFAULT
default "_x" if BR2_PACKAGE_RPI_FIRMWARE_CUSTOM_X
default "_cd" if BR2_PACKAGE_RPI_FIRMWARE_CUSTOM_CD
endif # BR2_PACKAGE_RPI_FIRMWARE_CUSTOM