From ec06e94f2a459e57eacf3f70e078b6442a433aa9 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 20 Mar 2024 22:39:51 -0700 Subject: [PATCH] raspberrypi-firmware: Revert to debian archive This file is now used to fetch binary blobs used by picamera and vc library recipes, which are only compatible with 32bit userspace Perhaps we need to sunset these recipe as some point and repace with alternatives like picamera2 which is built on top of libcamera and works on both 32bit and 64 bit rpi-bootfiles is fetching from latest firmware. Signed-off-by: Khem Raj --- recipes-bsp/common/raspberrypi-firmware.inc | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/recipes-bsp/common/raspberrypi-firmware.inc b/recipes-bsp/common/raspberrypi-firmware.inc index 9de0d01..311da21 100644 --- a/recipes-bsp/common/raspberrypi-firmware.inc +++ b/recipes-bsp/common/raspberrypi-firmware.inc @@ -1,12 +1,9 @@ -RPIFW_DATE ?= "20240312" -SRCREV = "5689dd184872b809af91d6636a832b1484d90fef" -RPIFW_SRC_URI ?= "git://github.com/raspberrypi/firmware;protocol=https;branch=master" -RPIFW_S ?= "${WORKDIR}/git" +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}" 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"