Skip to content

Commit

Permalink
raspberrypi-firmware: Fetch using git URI
Browse files Browse the repository at this point in the history
This brings the matching binary blobs to latest kernel

Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
kraj committed Mar 14, 2024
1 parent 607d31e commit 8a75dd2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
13 changes: 8 additions & 5 deletions recipes-bsp/common/raspberrypi-firmware.inc
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
RPIFW_DATE ?= "20230509~buster"

RPIFW_SRC_URI ?= "https://archive.raspberrypi.com/debian/pool/main/r/raspberrypi-firmware/raspberrypi-firmware_1.${RPIFW_DATE}.orig.tar.xz"
RPIFW_S ?= "${WORKDIR}/raspberrypi-firmware-1.${RPIFW_DATE}"
RPIFW_DATE ?= "20240312"
SRCREV = "5689dd184872b809af91d6636a832b1484d90fef"
RPIFW_SRC_URI ?= "git://github.com/raspberrypi/firmware;protocol=https;branch=master"
RPIFW_S ?= "${WORKDIR}/git"

SRC_URI = "${RPIFW_SRC_URI}"
SRC_URI[sha256sum] = "1d9eb83111826b708f461101766fd2000d45f1c171ad573936d000f623ca8098"

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"
2 changes: 1 addition & 1 deletion recipes-multimedia/picamera-libs/picamera-libs.bb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://opt/vc/LICENCE;md5=86e53f5f5909ee66900418028de11780"

include recipes-bsp/common/raspberrypi-firmware.inc

S = "${WORKDIR}/raspberrypi-firmware-1.${PV}"
S = "${RPIFW_S}"

do_install(){
install -m 0755 -d ${D}${libdir}
Expand Down

0 comments on commit 8a75dd2

Please sign in to comment.