mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2025-02-14 19:00:42 +01:00
Merge pull request #206 from BohdanBuinich/update-rpi-eeprom-script
[RPI] rpi-eeprom: Future support for RPI5
This commit is contained in:
commit
3c29193f3f
@ -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,12 +3,17 @@
|
|||||||
# rpi-eeprom
|
# rpi-eeprom
|
||||||
#
|
#
|
||||||
#############################################################
|
#############################################################
|
||||||
RPI_EEPROM_VERSION = fa281d3be17d1edd2cc10b1d9479cc6b19b96ea8
|
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
|
||||||
RPI_EEPROM_FIRMWARE_PATH = firmware/stable/pieeprom-2023-05-11.bin
|
|
||||||
|
ifeq ($(BR2_PACKAGE_RPI_EEPROM_RPI4),y)
|
||||||
|
RPI_EEPROM_FIRMWARE_PATH = firmware-2711/stable/pieeprom-2023-05-11.bin
|
||||||
|
else ifeq ($(BR2_PACKAGE_RPI_EEPROM_RPI5),y) # Raspberry Pi 5
|
||||||
|
RPI_EEPROM_FIRMWARE_PATH = firmware-2712/stable/pieeprom-2024-01-05.bin
|
||||||
|
endif
|
||||||
|
|
||||||
define RPI_EEPROM_BUILD_CMDS
|
define RPI_EEPROM_BUILD_CMDS
|
||||||
$(@D)/rpi-eeprom-config $(@D)/$(RPI_EEPROM_FIRMWARE_PATH) --out $(@D)/default.conf
|
$(@D)/rpi-eeprom-config $(@D)/$(RPI_EEPROM_FIRMWARE_PATH) --out $(@D)/default.conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user