package/rpi-firmware: add option for the debug set of start/fixup boot files

Add option for the debug set of start/fixup boot files.

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Peter Seiderer 2021-09-21 22:21:35 +02:00 committed by Yann E. MORIN
parent 689b9ac439
commit b900a63357
2 changed files with 13 additions and 1 deletions

View File

@ -35,6 +35,11 @@ config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI_CD
The cut-down set of files for versions Zero/1/2/3 (only The cut-down set of files for versions Zero/1/2/3 (only
features required to boot a Linux kernel). features required to boot a Linux kernel).
config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI_DB
bool "rpi 0/1/2/3 (debug)"
help
The debug set of files for versions Zero/1/2/3.
config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4 config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4
bool "rpi 4 (default)" bool "rpi 4 (default)"
help help
@ -53,6 +58,11 @@ config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4_CD
The cut-down set of files for versions 4 (only features The cut-down set of files for versions 4 (only features
required to boot a Linux kernel). required to boot a Linux kernel).
config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4_DB
bool "rpi 4 (debug)"
help
The debug set of files for versions 4.
config BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE config BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE
string "Path to a file stored as boot/config.txt" string "Path to a file stored as boot/config.txt"
help help

View File

@ -15,9 +15,11 @@ RPI_FIRMWARE_FILES = \
$(if $(BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI), start.elf fixup.dat) \ $(if $(BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI), start.elf fixup.dat) \
$(if $(BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI_X), startx.elf fixupx.dat) \ $(if $(BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI_X), startx.elf fixupx.dat) \
$(if $(BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI_CD), start_cd.elf fixup_cd.dat) \ $(if $(BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI_CD), start_cd.elf fixup_cd.dat) \
$(if $(BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI_DB), start_db.elf fixup_db.dat) \
$(if $(BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4), start4.elf fixup4.dat) \ $(if $(BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4), start4.elf fixup4.dat) \
$(if $(BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4_X), start4x.elf fixup4x.dat) \ $(if $(BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4_X), start4x.elf fixup4x.dat) \
$(if $(BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4_CD), start4cd.elf fixup4cd.dat) $(if $(BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4_CD), start4cd.elf fixup4cd.dat) \
$(if $(BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4_DB), start4db.elf fixup4db.dat)
define RPI_FIRMWARE_INSTALL_BIN define RPI_FIRMWARE_INSTALL_BIN
$(foreach f,$(RPI_FIRMWARE_FILES), \ $(foreach f,$(RPI_FIRMWARE_FILES), \