raspberrypi-firmware: Fetch using git URI

This brings the matching binary blobs to latest kernel

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2024-03-13 22:16:44 -07:00 committed by Andrei Gherzan
parent a62c7c2ca6
commit 90d4e6568a
2 changed files with 9 additions and 6 deletions

View File

@ -1,9 +1,12 @@
RPIFW_DATE ?= "20230509~buster" RPIFW_DATE ?= "20240312"
SRCREV = "5689dd184872b809af91d6636a832b1484d90fef"
RPIFW_SRC_URI ?= "https://archive.raspberrypi.com/debian/pool/main/r/raspberrypi-firmware/raspberrypi-firmware_1.${RPIFW_DATE}.orig.tar.xz" RPIFW_SRC_URI ?= "git://github.com/raspberrypi/firmware;protocol=https;branch=master"
RPIFW_S ?= "${WORKDIR}/raspberrypi-firmware-1.${RPIFW_DATE}" RPIFW_S ?= "${WORKDIR}/git"
SRC_URI = "${RPIFW_SRC_URI}" SRC_URI = "${RPIFW_SRC_URI}"
SRC_URI[sha256sum] = "1d9eb83111826b708f461101766fd2000d45f1c171ad573936d000f623ca8098"
PV = "${RPIFW_DATE}" PV = "${RPIFW_DATE}"
# Firmware repo is huge due to its content nature being binary blobs
# use shallow clone to reduce amount of git metadata being pulled down
BB_GIT_SHALLOW = "1"

View File

@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://opt/vc/LICENCE;md5=86e53f5f5909ee66900418028de11780"
include recipes-bsp/common/raspberrypi-firmware.inc include recipes-bsp/common/raspberrypi-firmware.inc
S = "${WORKDIR}/raspberrypi-firmware-1.${PV}" S = "${RPIFW_S}"
do_install(){ do_install(){
install -m 0755 -d ${D}${libdir} install -m 0755 -d ${D}${libdir}