It looks better
This commit is contained in:
parent
edc70b2f48
commit
0f7f40a50e
|
@ -1,6 +1,26 @@
|
||||||
config BR2_PACKAGE_RPI_EEPROM
|
config BR2_PACKAGE_RPI_EEPROM
|
||||||
bool "rpi-eeprom"
|
bool "rpi-eeprom"
|
||||||
help
|
help
|
||||||
EEPROM bootloader firmware for Raspberry Pi 4
|
EEPROM bootloader firmware for Raspberry Pi 4 and Pi 5
|
||||||
|
|
||||||
https://github.com/raspberrypi/rpi-eeprom
|
https://github.com/raspberrypi/rpi-eeprom
|
||||||
|
|
||||||
|
if BR2_PACKAGE_RPI_EEPROM
|
||||||
|
|
||||||
|
choice
|
||||||
|
prompt "For Target"
|
||||||
|
default BR2_PACKAGE_RPI_EEPROM_RPI4
|
||||||
|
|
||||||
|
config BR2_PACKAGE_RPI_EEPROM_RPI4
|
||||||
|
bool "Raspberry Pi 4"
|
||||||
|
help
|
||||||
|
For the Raspberry Pi 4
|
||||||
|
|
||||||
|
config BR2_PACKAGE_RPI_EEPROM_RPI5
|
||||||
|
bool "Raspberry Pi 5"
|
||||||
|
help
|
||||||
|
For the Raspberry Pi 5
|
||||||
|
|
||||||
|
endchoice
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
|
@ -3,19 +3,16 @@
|
||||||
# rpi-eeprom
|
# rpi-eeprom
|
||||||
#
|
#
|
||||||
#############################################################
|
#############################################################
|
||||||
RPI_EEPROM_VERSION = 9e0bffb2916d6f31ae454a365bb1b563ee14bf97
|
RPI_EEPROM_VERSION = 8855da988935f0c09ed4cc772103d4c5408a1afb
|
||||||
RPI_EEPROM_SITE = $(call github,raspberrypi,rpi-eeprom,$(RPI_EEPROM_VERSION))
|
RPI_EEPROM_SITE = $(call github,raspberrypi,rpi-eeprom,$(RPI_EEPROM_VERSION))
|
||||||
RPI_EEPROM_LICENSE = BSD-3-Clause
|
RPI_EEPROM_LICENSE = BSD-3-Clause
|
||||||
RPI_EEPROM_LICENSE_FILES = LICENSE
|
RPI_EEPROM_LICENSE_FILES = LICENSE
|
||||||
RPI_EEPROM_INSTALL_IMAGES = YES
|
RPI_EEPROM_INSTALL_IMAGES = YES
|
||||||
|
|
||||||
# Conditional firmware path based on kernel defconfig
|
ifeq ($(BR2_PACKAGE_RPI_EEPROM_RPI4),y)
|
||||||
ifeq ($(BR2_LINUX_KERNEL_DEFCONFIG), "bcm2711") # Raspberry Pi 3/4
|
RPI_EEPROM_FIRMWARE_PATH = firmware-2711/stable/pieeprom-2023-05-11.bin
|
||||||
RPI_EEPROM_FIRMWARE_PATH = firmware-2711/stable/pieeprom-2023-05-11.bin
|
else ifeq ($(BR2_PACKAGE_RPI_EEPROM_RPI5),y) # Raspberry Pi 5
|
||||||
else ifeq ($(BR2_LINUX_KERNEL_DEFCONFIG), "bcm2712") # Raspberry Pi 5
|
RPI_EEPROM_FIRMWARE_PATH = firmware-2712/stable/pieeprom-2024-01-05.bin
|
||||||
RPI_EEPROM_FIRMWARE_PATH = firmware-2712/stable/pieeprom-2024-01-05.bin
|
|
||||||
else
|
|
||||||
$(error Unsupported Raspberry Pi model for RPI_EEPROM_FIRMWARE_PATH)
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
define RPI_EEPROM_BUILD_CMDS
|
define RPI_EEPROM_BUILD_CMDS
|
||||||
|
|
Loading…
Reference in New Issue