From c335e2a6fbcc441d4caf089017821f4650125d43 Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Tue, 10 May 2022 05:53:25 -0700 Subject: [PATCH] package/linux-firmware: add support for ti vpdma Add a symlink to the expected location for vpdma-1ba in the root of the firmware directory. Signed-off-by: Christian Stewart --- ...i-tspa-add-link-to-vpdma-1ba-in-root.patch | 25 +++++++++++++++++++ package/linux-firmware/Config.in | 5 ++++ package/linux-firmware/linux-firmware.hash | 3 ++- package/linux-firmware/linux-firmware.mk | 6 ++++- 4 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 package/linux-firmware/0001-ti-tspa-add-link-to-vpdma-1ba-in-root.patch diff --git a/package/linux-firmware/0001-ti-tspa-add-link-to-vpdma-1ba-in-root.patch b/package/linux-firmware/0001-ti-tspa-add-link-to-vpdma-1ba-in-root.patch new file mode 100644 index 00000000000..789c074ee1e --- /dev/null +++ b/package/linux-firmware/0001-ti-tspa-add-link-to-vpdma-1ba-in-root.patch @@ -0,0 +1,25 @@ +From 25e53eaf9e766713bed499cfff6f43855cd35e61 Mon Sep 17 00:00:00 2001 +From: Christian Stewart +Date: Tue, 10 May 2022 06:21:46 -0700 +Subject: [PATCH] ti-tspa: add link to vpdma-1ba in root + +Signed-off-by: Christian Stewart +--- + WHENCE | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/WHENCE b/WHENCE +index eab2f22..6f08e79 100644 +--- a/WHENCE ++++ b/WHENCE +@@ -3034,6 +3034,7 @@ Licence: Redistributable. See LICENCE.tda7706-firmware.txt for details. + Driver: ti-vpe - Texas Instruments V4L2 driver for Video Processing Engine + + File: ti/vpdma-1b8.bin ++Link: vpdma-1b8.bin -> ti/vpdma-1b8.bin + + Licence: Redistributable. See LICENCE.ti-tspa for details. + +-- +2.35.1 + diff --git a/package/linux-firmware/Config.in b/package/linux-firmware/Config.in index c1b34b64bd0..b0bb8a07552 100644 --- a/package/linux-firmware/Config.in +++ b/package/linux-firmware/Config.in @@ -59,6 +59,11 @@ config BR2_PACKAGE_LINUX_FIRMWARE_ROCKCHIP_DPTX help Firmware files for RockChip dptx (DisplayPort). +config BR2_PACKAGE_LINUX_FIRMWARE_TI_VPDMA + bool "TI VPDMA" + help + Firmware files for TI Video Port Direct Memory Engine. + endmenu # Video menu "Bluetooth firmware" diff --git a/package/linux-firmware/linux-firmware.hash b/package/linux-firmware/linux-firmware.hash index 3c7b68d8da4..368ffa8141b 100644 --- a/package/linux-firmware/linux-firmware.hash +++ b/package/linux-firmware/linux-firmware.hash @@ -33,6 +33,7 @@ sha256 8542aeabf2761935122d693561e16766ce1bcc2b0d003204f9040b7d6d929f2e LICENS sha256 be904cd28cb292b80cdb6cf412ab0d9159d431671e987ad433c1f62e0988a9bc LICENSE.qcom sha256 fc6223d4bfe9f2f9e2eddc44b9fe5721d0caf49f01cb08d602906add686d8c6f LICENSE.radeon sha256 2bdd2e716f05d9737d3f9a20f9a3a3c0caee0e866100ddb0673f1178e42f92b9 LICENSE.sdma_firmware -sha256 75afdb5d45a21ff95ff7aa82d67bc42a83830f2def98ea937c01d6e7603d76f9 WHENCE +sha256 5bc52a8ad08b531ee17fb3c35b8f83c8649c9aecfb6ce7a7975ee62d840f4c9b LICENCE.ti-tspa +sha256 b4b0c043910836b3a1496240fffa2de33592643986c78ff4cad0878ec7551f71 WHENCE sha256 fa43e1b9a13b341a07adca9dbe73d0f9072d7966fdfe811c01f0dd2872d7309a qcom/NOTICE.txt sha256 bef9c828e84f21e7835b4de7daf954a327e1ff777871b58e116039b684c0d604 LICENCE.e100 diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk index edf93b7ed7a..a04e5b3655f 100644 --- a/package/linux-firmware/linux-firmware.mk +++ b/package/linux-firmware/linux-firmware.mk @@ -578,7 +578,11 @@ endif ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ROCKCHIP_DPTX),y) LINUX_FIRMWARE_FILES += rockchip/dptx.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rockchip +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_TI_VPDMA),y) +LINUX_FIRMWARE_FILES += ti/vpdma-1b8.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ti-tspa endif ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_8169),y)