From d2fd241fe00199a04fb7a15dcbb2a166e6d44ad6 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 15 Oct 2024 17:59:23 +0100 Subject: [PATCH 1/4] configure: remove unused file Remove the dummy and unused configure file. Glancing across distributions (Alpine, Arch, Fedora, CentOS Stream, Gentoo, Debian, Ubuntu) - they don't use it. It's not mentioned in our README either, so let's just remove it. Signed-off-by: Emil Velikov --- check_whence.py | 1 - configure | 4 ---- 2 files changed, 5 deletions(-) delete mode 100644 configure diff --git a/check_whence.py b/check_whence.py index 09dbdd54..cf2ac0ba 100755 --- a/check_whence.py +++ b/check_whence.py @@ -84,7 +84,6 @@ def main(): "WHENCE", "build_packages.py", "check_whence.py", - "configure", "contrib/process_linux_firmware.py", "contrib/templates/debian.changelog", "contrib/templates/debian.control", diff --git a/configure b/configure deleted file mode 100644 index 3260f9a9..00000000 --- a/configure +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash -# -*- mode: sh -*- -# Our Makefile doesn't do srcdir != builddir -#buildapi-variable-no-builddir From 5ddb886bef89173979c3e4fc5f4f74a7c1e4372c Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 15 Oct 2024 18:49:04 +0100 Subject: [PATCH 2/4] Remove execute bit from firmware files AFAICT neither of the firmware files need to be executable, so drop the execute bit. Signed-off-by: Emil Velikov --- amlogic/aml_w155s2_bt_uart.bin | Bin amlogic/aml_w265s1_bt_uart.bin | Bin amlogic/aml_w265s2_bt_uart.bin | Bin amphion/vpu/vpu_fw_imx8_dec.bin | Bin amphion/vpu/vpu_fw_imx8_enc.bin | Bin cirrus/cs35l41-dsp1-spk-prot-104316d3-spkid0-l0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-104316d3-spkid0-r0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-104316d3-spkid1-l0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-104316d3-spkid1-r0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-104316f3-spkid0-l0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-104316f3-spkid0-r0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-104316f3-spkid1-l0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-104316f3-spkid1-r0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-10431863-spkid0-l0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-10431863-spkid0-r0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-10431863-spkid1-l0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-10431863-spkid1-r0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-104318d3-spkid0-l0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-104318d3-spkid0-r0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-104318d3-spkid1-l0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-104318d3-spkid1-r0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-10431da2-spkid0-l0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-10431da2-spkid0-r0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-10431da2-spkid1-l0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-10431da2-spkid1-r0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-10431ee2-l0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-10431ee2-r0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-10431f1f-l0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-10431f1f-r0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-10431f62-spkid0-l0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-10431f62-spkid0-r0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-10431f62-spkid1-l0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-10431f62-spkid1-r0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-17aa3865-l0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-17aa3865-r0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-17aa3866-l0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-17aa3866-r0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-17aa386e-spkid0-l0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-17aa386e-spkid0-r0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-17aa386e-spkid1-l0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-17aa386e-spkid1-r0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-17aa386f-l0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-17aa386f-r0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-17aa3877-l0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-17aa3877-r0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-17aa3878-l0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-17aa3878-r0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-17aa38a9-spkid0-l0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-17aa38a9-spkid0-r0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-17aa38ab-spkid0-l0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-17aa38ab-spkid0-r0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-17aa38c7-spkid0-l0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-17aa38c7-spkid0-l1.bin | Bin cirrus/cs35l41-dsp1-spk-prot-17aa38c7-spkid0-r0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-17aa38c7-spkid0-r1.bin | Bin cirrus/cs35l41-dsp1-spk-prot-17aa38c8-spkid1-l0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-17aa38c8-spkid1-l1.bin | Bin cirrus/cs35l41-dsp1-spk-prot-17aa38c8-spkid1-r0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-17aa38c8-spkid1-r1.bin | Bin cirrus/cs35l41-dsp1-spk-prot-17aa38f9-spkid1-l0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-17aa38f9-spkid1-r0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-17aa38fa-spkid0-l0.bin | Bin cirrus/cs35l41-dsp1-spk-prot-17aa38fa-spkid0-r0.bin | Bin .../v6.56.0/halo_cspl_RAM_revB2_29.58.0.wmfw | Bin .../v6.63.0/halo_cspl_RAM_revB2_29.65.0.wmfw | Bin .../v6.68.0/halo_cspl_RAM_revB2_29.70.0.wmfw | Bin .../v6.80.0/halo_cspl_RAM_revB2_29.82.0.wmfw | Bin .../v6.83.0/halo_cspl_RAM_revB2_29.85.0.wmfw | Bin cs42l43.bin | Bin i915/mtl_gsc_1.bin | Bin i915/mtl_huc_gsc.bin | Bin intel/ish/ish_lnlm.bin | Bin mediatek/mt7622pr2h.bin | Bin mediatek/mt7668pr2h.bin | Bin mrvl/prestera/mvsw_prestera_fw-v2.0.img | Bin mrvl/prestera/mvsw_prestera_fw-v3.0.img | Bin mrvl/sdsd8977_combo_v2.bin | Bin qat_402xx.bin | Bin qat_402xx_mmp.bin | Bin qca/hpbtfw21.tlv | Bin qca/hpnv21.301 | Bin qca/hpnv21.302 | Bin qca/hpnv21.309 | Bin qca/hpnv21.bin | Bin qca/hpnv21g.301 | Bin qca/hpnv21g.302 | Bin qca/hpnv21g.309 | Bin qca/hpnv21g.bin | Bin qca/msnv11.b09 | Bin qca/msnv11.b0a | Bin qed/qed_init_values-8.10.9.0.bin | Bin qed/qed_init_values-8.14.6.0.bin | Bin qed/qed_init_values-8.18.9.0.bin | Bin qed/qed_init_values-8.20.0.0.bin | Bin qed/qed_init_values-8.30.12.0.bin | Bin qed/qed_init_values-8.33.12.0.bin | Bin qed/qed_init_values-8.37.7.0.bin | Bin qed/qed_init_values-8.40.33.0.bin | Bin qed/qed_init_values_zipped-8.33.1.0.bin | Bin qed/qed_init_values_zipped-8.33.11.0.bin | Bin qed/qed_init_values_zipped-8.37.2.0.bin | Bin qed/qed_init_values_zipped-8.37.7.0.bin | Bin qed/qed_init_values_zipped-8.42.2.0.bin | Bin ti-connectivity/wl127x-fw-5-mr.bin | Bin ti-connectivity/wl127x-fw-5-plt.bin | Bin ti-connectivity/wl127x-fw-5-sr.bin | Bin ti-connectivity/wl128x-fw-5-mr.bin | Bin ti-connectivity/wl128x-fw-5-plt.bin | Bin ti-connectivity/wl128x-fw-5-sr.bin | Bin ti-connectivity/wl18xx-fw-4.bin | Bin 110 files changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 amlogic/aml_w155s2_bt_uart.bin mode change 100755 => 100644 amlogic/aml_w265s1_bt_uart.bin mode change 100755 => 100644 amlogic/aml_w265s2_bt_uart.bin mode change 100755 => 100644 amphion/vpu/vpu_fw_imx8_dec.bin mode change 100755 => 100644 amphion/vpu/vpu_fw_imx8_enc.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-104316d3-spkid0-l0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-104316d3-spkid0-r0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-104316d3-spkid1-l0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-104316d3-spkid1-r0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-104316f3-spkid0-l0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-104316f3-spkid0-r0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-104316f3-spkid1-l0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-104316f3-spkid1-r0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-10431863-spkid0-l0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-10431863-spkid0-r0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-10431863-spkid1-l0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-10431863-spkid1-r0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-104318d3-spkid0-l0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-104318d3-spkid0-r0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-104318d3-spkid1-l0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-104318d3-spkid1-r0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-10431da2-spkid0-l0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-10431da2-spkid0-r0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-10431da2-spkid1-l0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-10431da2-spkid1-r0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-10431ee2-l0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-10431ee2-r0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-10431f1f-l0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-10431f1f-r0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-10431f62-spkid0-l0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-10431f62-spkid0-r0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-10431f62-spkid1-l0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-10431f62-spkid1-r0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-17aa3865-l0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-17aa3865-r0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-17aa3866-l0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-17aa3866-r0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-17aa386e-spkid0-l0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-17aa386e-spkid0-r0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-17aa386e-spkid1-l0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-17aa386e-spkid1-r0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-17aa386f-l0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-17aa386f-r0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-17aa3877-l0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-17aa3877-r0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-17aa3878-l0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-17aa3878-r0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-17aa38a9-spkid0-l0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-17aa38a9-spkid0-r0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-17aa38ab-spkid0-l0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-17aa38ab-spkid0-r0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-17aa38c7-spkid0-l0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-17aa38c7-spkid0-l1.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-17aa38c7-spkid0-r0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-17aa38c7-spkid0-r1.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-17aa38c8-spkid1-l0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-17aa38c8-spkid1-l1.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-17aa38c8-spkid1-r0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-17aa38c8-spkid1-r1.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-17aa38f9-spkid1-l0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-17aa38f9-spkid1-r0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-17aa38fa-spkid0-l0.bin mode change 100755 => 100644 cirrus/cs35l41-dsp1-spk-prot-17aa38fa-spkid0-r0.bin mode change 100755 => 100644 cirrus/cs35l41/v6.56.0/halo_cspl_RAM_revB2_29.58.0.wmfw mode change 100755 => 100644 cirrus/cs35l41/v6.63.0/halo_cspl_RAM_revB2_29.65.0.wmfw mode change 100755 => 100644 cirrus/cs35l41/v6.68.0/halo_cspl_RAM_revB2_29.70.0.wmfw mode change 100755 => 100644 cirrus/cs35l41/v6.80.0/halo_cspl_RAM_revB2_29.82.0.wmfw mode change 100755 => 100644 cirrus/cs35l41/v6.83.0/halo_cspl_RAM_revB2_29.85.0.wmfw mode change 100755 => 100644 cs42l43.bin mode change 100755 => 100644 i915/mtl_gsc_1.bin mode change 100755 => 100644 i915/mtl_huc_gsc.bin mode change 100755 => 100644 intel/ish/ish_lnlm.bin mode change 100755 => 100644 mediatek/mt7622pr2h.bin mode change 100755 => 100644 mediatek/mt7668pr2h.bin mode change 100755 => 100644 mrvl/prestera/mvsw_prestera_fw-v2.0.img mode change 100755 => 100644 mrvl/prestera/mvsw_prestera_fw-v3.0.img mode change 100755 => 100644 mrvl/sdsd8977_combo_v2.bin mode change 100755 => 100644 qat_402xx.bin mode change 100755 => 100644 qat_402xx_mmp.bin mode change 100755 => 100644 qca/hpbtfw21.tlv mode change 100755 => 100644 qca/hpnv21.301 mode change 100755 => 100644 qca/hpnv21.302 mode change 100755 => 100644 qca/hpnv21.309 mode change 100755 => 100644 qca/hpnv21.bin mode change 100755 => 100644 qca/hpnv21g.301 mode change 100755 => 100644 qca/hpnv21g.302 mode change 100755 => 100644 qca/hpnv21g.309 mode change 100755 => 100644 qca/hpnv21g.bin mode change 100755 => 100644 qca/msnv11.b09 mode change 100755 => 100644 qca/msnv11.b0a mode change 100755 => 100644 qed/qed_init_values-8.10.9.0.bin mode change 100755 => 100644 qed/qed_init_values-8.14.6.0.bin mode change 100755 => 100644 qed/qed_init_values-8.18.9.0.bin mode change 100755 => 100644 qed/qed_init_values-8.20.0.0.bin mode change 100755 => 100644 qed/qed_init_values-8.30.12.0.bin mode change 100755 => 100644 qed/qed_init_values-8.33.12.0.bin mode change 100755 => 100644 qed/qed_init_values-8.37.7.0.bin mode change 100755 => 100644 qed/qed_init_values-8.40.33.0.bin mode change 100755 => 100644 qed/qed_init_values_zipped-8.33.1.0.bin mode change 100755 => 100644 qed/qed_init_values_zipped-8.33.11.0.bin mode change 100755 => 100644 qed/qed_init_values_zipped-8.37.2.0.bin mode change 100755 => 100644 qed/qed_init_values_zipped-8.37.7.0.bin mode change 100755 => 100644 qed/qed_init_values_zipped-8.42.2.0.bin mode change 100755 => 100644 ti-connectivity/wl127x-fw-5-mr.bin mode change 100755 => 100644 ti-connectivity/wl127x-fw-5-plt.bin mode change 100755 => 100644 ti-connectivity/wl127x-fw-5-sr.bin mode change 100755 => 100644 ti-connectivity/wl128x-fw-5-mr.bin mode change 100755 => 100644 ti-connectivity/wl128x-fw-5-plt.bin mode change 100755 => 100644 ti-connectivity/wl128x-fw-5-sr.bin mode change 100755 => 100644 ti-connectivity/wl18xx-fw-4.bin diff --git a/amlogic/aml_w155s2_bt_uart.bin b/amlogic/aml_w155s2_bt_uart.bin old mode 100755 new mode 100644 diff --git a/amlogic/aml_w265s1_bt_uart.bin b/amlogic/aml_w265s1_bt_uart.bin old mode 100755 new mode 100644 diff --git a/amlogic/aml_w265s2_bt_uart.bin b/amlogic/aml_w265s2_bt_uart.bin old mode 100755 new mode 100644 diff --git a/amphion/vpu/vpu_fw_imx8_dec.bin b/amphion/vpu/vpu_fw_imx8_dec.bin old mode 100755 new mode 100644 diff --git a/amphion/vpu/vpu_fw_imx8_enc.bin b/amphion/vpu/vpu_fw_imx8_enc.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-104316d3-spkid0-l0.bin b/cirrus/cs35l41-dsp1-spk-prot-104316d3-spkid0-l0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-104316d3-spkid0-r0.bin b/cirrus/cs35l41-dsp1-spk-prot-104316d3-spkid0-r0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-104316d3-spkid1-l0.bin b/cirrus/cs35l41-dsp1-spk-prot-104316d3-spkid1-l0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-104316d3-spkid1-r0.bin b/cirrus/cs35l41-dsp1-spk-prot-104316d3-spkid1-r0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-104316f3-spkid0-l0.bin b/cirrus/cs35l41-dsp1-spk-prot-104316f3-spkid0-l0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-104316f3-spkid0-r0.bin b/cirrus/cs35l41-dsp1-spk-prot-104316f3-spkid0-r0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-104316f3-spkid1-l0.bin b/cirrus/cs35l41-dsp1-spk-prot-104316f3-spkid1-l0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-104316f3-spkid1-r0.bin b/cirrus/cs35l41-dsp1-spk-prot-104316f3-spkid1-r0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-10431863-spkid0-l0.bin b/cirrus/cs35l41-dsp1-spk-prot-10431863-spkid0-l0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-10431863-spkid0-r0.bin b/cirrus/cs35l41-dsp1-spk-prot-10431863-spkid0-r0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-10431863-spkid1-l0.bin b/cirrus/cs35l41-dsp1-spk-prot-10431863-spkid1-l0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-10431863-spkid1-r0.bin b/cirrus/cs35l41-dsp1-spk-prot-10431863-spkid1-r0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-104318d3-spkid0-l0.bin b/cirrus/cs35l41-dsp1-spk-prot-104318d3-spkid0-l0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-104318d3-spkid0-r0.bin b/cirrus/cs35l41-dsp1-spk-prot-104318d3-spkid0-r0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-104318d3-spkid1-l0.bin b/cirrus/cs35l41-dsp1-spk-prot-104318d3-spkid1-l0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-104318d3-spkid1-r0.bin b/cirrus/cs35l41-dsp1-spk-prot-104318d3-spkid1-r0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-10431da2-spkid0-l0.bin b/cirrus/cs35l41-dsp1-spk-prot-10431da2-spkid0-l0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-10431da2-spkid0-r0.bin b/cirrus/cs35l41-dsp1-spk-prot-10431da2-spkid0-r0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-10431da2-spkid1-l0.bin b/cirrus/cs35l41-dsp1-spk-prot-10431da2-spkid1-l0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-10431da2-spkid1-r0.bin b/cirrus/cs35l41-dsp1-spk-prot-10431da2-spkid1-r0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-10431ee2-l0.bin b/cirrus/cs35l41-dsp1-spk-prot-10431ee2-l0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-10431ee2-r0.bin b/cirrus/cs35l41-dsp1-spk-prot-10431ee2-r0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-10431f1f-l0.bin b/cirrus/cs35l41-dsp1-spk-prot-10431f1f-l0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-10431f1f-r0.bin b/cirrus/cs35l41-dsp1-spk-prot-10431f1f-r0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-10431f62-spkid0-l0.bin b/cirrus/cs35l41-dsp1-spk-prot-10431f62-spkid0-l0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-10431f62-spkid0-r0.bin b/cirrus/cs35l41-dsp1-spk-prot-10431f62-spkid0-r0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-10431f62-spkid1-l0.bin b/cirrus/cs35l41-dsp1-spk-prot-10431f62-spkid1-l0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-10431f62-spkid1-r0.bin b/cirrus/cs35l41-dsp1-spk-prot-10431f62-spkid1-r0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-17aa3865-l0.bin b/cirrus/cs35l41-dsp1-spk-prot-17aa3865-l0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-17aa3865-r0.bin b/cirrus/cs35l41-dsp1-spk-prot-17aa3865-r0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-17aa3866-l0.bin b/cirrus/cs35l41-dsp1-spk-prot-17aa3866-l0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-17aa3866-r0.bin b/cirrus/cs35l41-dsp1-spk-prot-17aa3866-r0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-17aa386e-spkid0-l0.bin b/cirrus/cs35l41-dsp1-spk-prot-17aa386e-spkid0-l0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-17aa386e-spkid0-r0.bin b/cirrus/cs35l41-dsp1-spk-prot-17aa386e-spkid0-r0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-17aa386e-spkid1-l0.bin b/cirrus/cs35l41-dsp1-spk-prot-17aa386e-spkid1-l0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-17aa386e-spkid1-r0.bin b/cirrus/cs35l41-dsp1-spk-prot-17aa386e-spkid1-r0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-17aa386f-l0.bin b/cirrus/cs35l41-dsp1-spk-prot-17aa386f-l0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-17aa386f-r0.bin b/cirrus/cs35l41-dsp1-spk-prot-17aa386f-r0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-17aa3877-l0.bin b/cirrus/cs35l41-dsp1-spk-prot-17aa3877-l0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-17aa3877-r0.bin b/cirrus/cs35l41-dsp1-spk-prot-17aa3877-r0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-17aa3878-l0.bin b/cirrus/cs35l41-dsp1-spk-prot-17aa3878-l0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-17aa3878-r0.bin b/cirrus/cs35l41-dsp1-spk-prot-17aa3878-r0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-17aa38a9-spkid0-l0.bin b/cirrus/cs35l41-dsp1-spk-prot-17aa38a9-spkid0-l0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-17aa38a9-spkid0-r0.bin b/cirrus/cs35l41-dsp1-spk-prot-17aa38a9-spkid0-r0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-17aa38ab-spkid0-l0.bin b/cirrus/cs35l41-dsp1-spk-prot-17aa38ab-spkid0-l0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-17aa38ab-spkid0-r0.bin b/cirrus/cs35l41-dsp1-spk-prot-17aa38ab-spkid0-r0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-17aa38c7-spkid0-l0.bin b/cirrus/cs35l41-dsp1-spk-prot-17aa38c7-spkid0-l0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-17aa38c7-spkid0-l1.bin b/cirrus/cs35l41-dsp1-spk-prot-17aa38c7-spkid0-l1.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-17aa38c7-spkid0-r0.bin b/cirrus/cs35l41-dsp1-spk-prot-17aa38c7-spkid0-r0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-17aa38c7-spkid0-r1.bin b/cirrus/cs35l41-dsp1-spk-prot-17aa38c7-spkid0-r1.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-17aa38c8-spkid1-l0.bin b/cirrus/cs35l41-dsp1-spk-prot-17aa38c8-spkid1-l0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-17aa38c8-spkid1-l1.bin b/cirrus/cs35l41-dsp1-spk-prot-17aa38c8-spkid1-l1.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-17aa38c8-spkid1-r0.bin b/cirrus/cs35l41-dsp1-spk-prot-17aa38c8-spkid1-r0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-17aa38c8-spkid1-r1.bin b/cirrus/cs35l41-dsp1-spk-prot-17aa38c8-spkid1-r1.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-17aa38f9-spkid1-l0.bin b/cirrus/cs35l41-dsp1-spk-prot-17aa38f9-spkid1-l0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-17aa38f9-spkid1-r0.bin b/cirrus/cs35l41-dsp1-spk-prot-17aa38f9-spkid1-r0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-17aa38fa-spkid0-l0.bin b/cirrus/cs35l41-dsp1-spk-prot-17aa38fa-spkid0-l0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41-dsp1-spk-prot-17aa38fa-spkid0-r0.bin b/cirrus/cs35l41-dsp1-spk-prot-17aa38fa-spkid0-r0.bin old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41/v6.56.0/halo_cspl_RAM_revB2_29.58.0.wmfw b/cirrus/cs35l41/v6.56.0/halo_cspl_RAM_revB2_29.58.0.wmfw old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41/v6.63.0/halo_cspl_RAM_revB2_29.65.0.wmfw b/cirrus/cs35l41/v6.63.0/halo_cspl_RAM_revB2_29.65.0.wmfw old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41/v6.68.0/halo_cspl_RAM_revB2_29.70.0.wmfw b/cirrus/cs35l41/v6.68.0/halo_cspl_RAM_revB2_29.70.0.wmfw old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41/v6.80.0/halo_cspl_RAM_revB2_29.82.0.wmfw b/cirrus/cs35l41/v6.80.0/halo_cspl_RAM_revB2_29.82.0.wmfw old mode 100755 new mode 100644 diff --git a/cirrus/cs35l41/v6.83.0/halo_cspl_RAM_revB2_29.85.0.wmfw b/cirrus/cs35l41/v6.83.0/halo_cspl_RAM_revB2_29.85.0.wmfw old mode 100755 new mode 100644 diff --git a/cs42l43.bin b/cs42l43.bin old mode 100755 new mode 100644 diff --git a/i915/mtl_gsc_1.bin b/i915/mtl_gsc_1.bin old mode 100755 new mode 100644 diff --git a/i915/mtl_huc_gsc.bin b/i915/mtl_huc_gsc.bin old mode 100755 new mode 100644 diff --git a/intel/ish/ish_lnlm.bin b/intel/ish/ish_lnlm.bin old mode 100755 new mode 100644 diff --git a/mediatek/mt7622pr2h.bin b/mediatek/mt7622pr2h.bin old mode 100755 new mode 100644 diff --git a/mediatek/mt7668pr2h.bin b/mediatek/mt7668pr2h.bin old mode 100755 new mode 100644 diff --git a/mrvl/prestera/mvsw_prestera_fw-v2.0.img b/mrvl/prestera/mvsw_prestera_fw-v2.0.img old mode 100755 new mode 100644 diff --git a/mrvl/prestera/mvsw_prestera_fw-v3.0.img b/mrvl/prestera/mvsw_prestera_fw-v3.0.img old mode 100755 new mode 100644 diff --git a/mrvl/sdsd8977_combo_v2.bin b/mrvl/sdsd8977_combo_v2.bin old mode 100755 new mode 100644 diff --git a/qat_402xx.bin b/qat_402xx.bin old mode 100755 new mode 100644 diff --git a/qat_402xx_mmp.bin b/qat_402xx_mmp.bin old mode 100755 new mode 100644 diff --git a/qca/hpbtfw21.tlv b/qca/hpbtfw21.tlv old mode 100755 new mode 100644 diff --git a/qca/hpnv21.301 b/qca/hpnv21.301 old mode 100755 new mode 100644 diff --git a/qca/hpnv21.302 b/qca/hpnv21.302 old mode 100755 new mode 100644 diff --git a/qca/hpnv21.309 b/qca/hpnv21.309 old mode 100755 new mode 100644 diff --git a/qca/hpnv21.bin b/qca/hpnv21.bin old mode 100755 new mode 100644 diff --git a/qca/hpnv21g.301 b/qca/hpnv21g.301 old mode 100755 new mode 100644 diff --git a/qca/hpnv21g.302 b/qca/hpnv21g.302 old mode 100755 new mode 100644 diff --git a/qca/hpnv21g.309 b/qca/hpnv21g.309 old mode 100755 new mode 100644 diff --git a/qca/hpnv21g.bin b/qca/hpnv21g.bin old mode 100755 new mode 100644 diff --git a/qca/msnv11.b09 b/qca/msnv11.b09 old mode 100755 new mode 100644 diff --git a/qca/msnv11.b0a b/qca/msnv11.b0a old mode 100755 new mode 100644 diff --git a/qed/qed_init_values-8.10.9.0.bin b/qed/qed_init_values-8.10.9.0.bin old mode 100755 new mode 100644 diff --git a/qed/qed_init_values-8.14.6.0.bin b/qed/qed_init_values-8.14.6.0.bin old mode 100755 new mode 100644 diff --git a/qed/qed_init_values-8.18.9.0.bin b/qed/qed_init_values-8.18.9.0.bin old mode 100755 new mode 100644 diff --git a/qed/qed_init_values-8.20.0.0.bin b/qed/qed_init_values-8.20.0.0.bin old mode 100755 new mode 100644 diff --git a/qed/qed_init_values-8.30.12.0.bin b/qed/qed_init_values-8.30.12.0.bin old mode 100755 new mode 100644 diff --git a/qed/qed_init_values-8.33.12.0.bin b/qed/qed_init_values-8.33.12.0.bin old mode 100755 new mode 100644 diff --git a/qed/qed_init_values-8.37.7.0.bin b/qed/qed_init_values-8.37.7.0.bin old mode 100755 new mode 100644 diff --git a/qed/qed_init_values-8.40.33.0.bin b/qed/qed_init_values-8.40.33.0.bin old mode 100755 new mode 100644 diff --git a/qed/qed_init_values_zipped-8.33.1.0.bin b/qed/qed_init_values_zipped-8.33.1.0.bin old mode 100755 new mode 100644 diff --git a/qed/qed_init_values_zipped-8.33.11.0.bin b/qed/qed_init_values_zipped-8.33.11.0.bin old mode 100755 new mode 100644 diff --git a/qed/qed_init_values_zipped-8.37.2.0.bin b/qed/qed_init_values_zipped-8.37.2.0.bin old mode 100755 new mode 100644 diff --git a/qed/qed_init_values_zipped-8.37.7.0.bin b/qed/qed_init_values_zipped-8.37.7.0.bin old mode 100755 new mode 100644 diff --git a/qed/qed_init_values_zipped-8.42.2.0.bin b/qed/qed_init_values_zipped-8.42.2.0.bin old mode 100755 new mode 100644 diff --git a/ti-connectivity/wl127x-fw-5-mr.bin b/ti-connectivity/wl127x-fw-5-mr.bin old mode 100755 new mode 100644 diff --git a/ti-connectivity/wl127x-fw-5-plt.bin b/ti-connectivity/wl127x-fw-5-plt.bin old mode 100755 new mode 100644 diff --git a/ti-connectivity/wl127x-fw-5-sr.bin b/ti-connectivity/wl127x-fw-5-sr.bin old mode 100755 new mode 100644 diff --git a/ti-connectivity/wl128x-fw-5-mr.bin b/ti-connectivity/wl128x-fw-5-mr.bin old mode 100755 new mode 100644 diff --git a/ti-connectivity/wl128x-fw-5-plt.bin b/ti-connectivity/wl128x-fw-5-plt.bin old mode 100755 new mode 100644 diff --git a/ti-connectivity/wl128x-fw-5-sr.bin b/ti-connectivity/wl128x-fw-5-sr.bin old mode 100755 new mode 100644 diff --git a/ti-connectivity/wl18xx-fw-4.bin b/ti-connectivity/wl18xx-fw-4.bin old mode 100755 new mode 100644 From 8c232721a5d1e9b108e38887d9231a9b08ea62a6 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 15 Oct 2024 18:38:26 +0100 Subject: [PATCH 3/4] check_whence.py: check the permissions A handful of in-tree scripts must have the execute bit, as well as all directories. Everything else should not. In the past we had multiple commits adding and removing execute bit(s), so instead we can check before things get in-tree. With all the firmware files updated to drop the bit (as of last commit), we can add some tests to enforce it going forward. Signed-off-by: Emil Velikov --- check_whence.py | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/check_whence.py b/check_whence.py index cf2ac0ba..c3d4a2e3 100755 --- a/check_whence.py +++ b/check_whence.py @@ -1,6 +1,6 @@ #!/usr/bin/python3 -import os, re, sys +import os, re, stat, sys from io import open @@ -95,6 +95,17 @@ def main(): ) known_prefixes = set(name for name in whence_list if name.endswith("/")) git_files = set(list_git()) + executable_files = set( + [ + "build_packages.py", + "carl9170fw/genapi.sh", + "carl9170fw/autogen.sh", + "check_whence.py", + "contrib/process_linux_firmware.py", + "copy-firmware.sh", + "dedup-firmware.sh", + ] + ) for name in set(name for name in whence_files if name.endswith("/")): sys.stderr.write("E: %s listed in WHENCE as File, but is directory\n" % name) @@ -161,6 +172,29 @@ def main(): else: sys.stderr.write("E: %s not listed in WHENCE\n" % name) ret = 1 + + for name in sorted(list(executable_files)): + mode = os.stat(name).st_mode + if not (mode & stat.S_IXUSR and mode & stat.S_IXGRP and mode & stat.S_IXOTH): + sys.stderr.write("E: %s is missing execute bit\n" % name) + ret = 1 + + for name in sorted(list(git_files - executable_files)): + mode = os.stat(name).st_mode + if stat.S_ISDIR(mode): + if not ( + mode & stat.S_IXUSR and mode & stat.S_IXGRP and mode & stat.S_IXOTH + ): + sys.stderr.write("E: %s is missing execute bit\n" % name) + ret = 1 + elif stat.S_ISREG(mode): + if mode & stat.S_IXUSR or mode & stat.S_IXGRP or mode & stat.S_IXOTH: + sys.stderr.write("E: %s incorrectly has execute bit\n" % name) + ret = 1 + else: + sys.stderr.write("E: %s is neither a directory nor regular file\n" % name) + ret = 1 + return ret From 515022675f815d454ac95e60fd0587887f5ad1a6 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 15 Oct 2024 18:56:03 +0100 Subject: [PATCH 4/4] make: separate installation and de-duplication targets For better or worse some distributions cannot have the firmware de-duplication happen automatically. In addition, when it was introduced it changed the default behaviour leaving people with no firmware in their systems. Revert to the original behaviour: in the worst case, people will have a few MB extra of duplicate firmware, yet their systems will continue to work. To make things stand out, we print a message at the end of install so that everyone can opt-in as needed. In addition, I've went ahead and opened tentative MR/PR with Alpine, Arch, CentOS Stream, Debian, Gentoo, informing them of this change. Signed-off-by: Emil Velikov --- Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 216dd488..033e3fb6 100644 --- a/Makefile +++ b/Makefile @@ -26,22 +26,23 @@ deb: rpm: ./build_packages.py --rpm -install: install-nodedup +dedup: ./dedup-firmware.sh $(DESTDIR)$(FIRMWAREDIR) -install-nodedup: +install: install -d $(DESTDIR)$(FIRMWAREDIR) ./copy-firmware.sh $(DESTDIR)$(FIRMWAREDIR) + @echo "Now run \"make dedup\" to de-duplicate any firmware files" install-xz: install -d $(DESTDIR)$(FIRMWAREDIR) ./copy-firmware.sh --xz $(DESTDIR)$(FIRMWAREDIR) - ./dedup-firmware.sh $(DESTDIR)$(FIRMWAREDIR) + @echo "Now run \"make dedup\" to de-duplicate any firmware files" install-zst: install -d $(DESTDIR)$(FIRMWAREDIR) ./copy-firmware.sh --zstd $(DESTDIR)$(FIRMWAREDIR) - ./dedup-firmware.sh $(DESTDIR)$(FIRMWAREDIR) + @echo "Now run \"make dedup\" to de-duplicate any firmware files" clean: rm -rf release dist