1
0
mirror of https://github.com/home-assistant/operating-system.git synced 2026-04-19 16:30:44 +01:00
Files
operating-system/buildroot-external/package/vcgencmd/vcgencmd.mk
Jan Čermák 65fdef963c Enable usage of rpi-eeprom-update on Raspberry Pi 4/5/Yellow (#4063)
* package/vcgencmd: add tool for RPi VideoCore commands

This tool is used by rpi-eeprom-update and is fairly lightweight binary without
dependencies. Use it as-is from raspberry/utils repo.

* package/rpi-eeprom: change package to install EEPROM userspace scripts

* configs: enable rpi-eeprom for rpi4, rpi4-64, rpi5-64 and yellow

On Pi5 and Yellow also enable flashrom so the firmware can be installed
directly without recovery being involved. On Yellow/CM4 this can't be done
without config.txt changes though (SPI and pinmuxing needs to be enabled) but
the image is shared there and users may eventually use the tools if they want,
so install BCM2711 on Yellow too. The "officially recommended" method is
rpiboot though, which is also documented in Yellow docs.
2025-05-14 17:25:29 +02:00

18 lines
546 B
Makefile

################################################################################
#
# vcgencmd
#
################################################################################
VCGENCMD_VERSION = c57d8c29c46993d93f191218bbc1dc3a73fc7918
VCGENCMD_SITE = $(call github,raspberrypi,utils,$(VCGENCMD_VERSION))
VCGENCMD_LICENSE = BSD-3-Clause
VCGENCMD_LICENSE_FILES = LICENSE
VCGENCMD_SUBDIR = vcgencmd
define VCGENCMD_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/vcgencmd/vcgencmd $(TARGET_DIR)/usr/bin/vcgencmd
endef
$(eval $(cmake-package))