Skip to content
Snippets Groups Projects
  1. Mar 03, 2025
  2. Feb 19, 2025
  3. Feb 12, 2025
  4. Feb 05, 2025
    • Arnaud Ferraris's avatar
    • Arnaud Ferraris's avatar
      scripts: add linting (with shellcheck) as unit test · a4c8291f
      Arnaud Ferraris authored and Arnaud Ferraris's avatar Arnaud Ferraris committed
      In order to ensure a reasonably good code quality for our shell scripts,
      add a shellcheck-based unit test. This is implemented through meson, and
      therefore requires a few adjustments to `d/rules` in addition to build
      dependencies.
      
      Take this opportunity to fix the errors reported in our scripts.
      a4c8291f
    • Arnaud Ferraris's avatar
      q6voiced: add wrapper script and systemd service · 69f79df1
      Arnaud Ferraris authored and Arnaud Ferraris's avatar Arnaud Ferraris committed
      As we'd rather not ship device-specific config files, let's create a
      wrapper script for `q6voiced` which will auto-detect the underlying
      device and pass the correct parameters to `q6voiced`. The latter is
      therefore patched to be installed to `/usr/libexec`, leaving `/usr/bin`
      free for our wrapper.
      
      Also add a systemd service so it can start automatically.
      69f79df1
    • Arnaud Ferraris's avatar
      q6voiced: port to "regular" ALSA · c6d6f736
      Arnaud Ferraris authored and Arnaud Ferraris's avatar Arnaud Ferraris committed
      Tinyalsa is an Android library not packaged in Debian. As it wouldn't
      have any other user and can easily be replaced with the more usual
      `libasound`, "port" `q6voiced` to the usual ALSA lib.
      c6d6f736
    • Arnaud Ferraris's avatar
      Re-organize repo layout · 0216053a
      Arnaud Ferraris authored and Arnaud Ferraris's avatar Arnaud Ferraris committed
      As we're starting to have lots of different files in there, let's use
      clearly labelled subfolders. While at it, add a `.gitignore` file.
      0216053a
    • Arnaud Ferraris's avatar
      Import `bootmac` and `q6voiced` as Meson subprojects · b770be86
      Arnaud Ferraris authored and Arnaud Ferraris's avatar Arnaud Ferraris committed
      Those are both maintained in separate repos upstream, but do not warrant
      being packaged on their own in Debian. In order to integrate those utils
      into `qcom-phone-utils`, while still making upgrades and maintenance
      realtively easy, we can simply import those as Meson subprojects.
      
      This requires the following changes:
      * drop current copies of bootmac and associated systemd service and udev
        rules
      * add a "patch" (according to Meson's definition) `meson.build` file to
        `bootmac` so it can be "built" using `meson` as well
      * update `d/copyright` and `d/rules` accordingly
      * create a top-level `meson.build` so debhelper can identify the build
        system and process the subprojects automatically
      * add the newly-needed build dependencies and make `qcom-phone-utils`
        an `Architecture: any` package as it now ships a compiled executable
      b770be86
    • Arnaud Ferraris's avatar
      zz-qcom-bootimg: improve current slot detection · 7f4e24fd
      Arnaud Ferraris authored and Arnaud Ferraris's avatar Arnaud Ferraris committed
      The method used so far for slot detection has a major flaw: it fails to
      determine the current slot when the same bootimg has been flashed to
      both slots. Now that we have a usable `qbootctl` in Debian, use it to
      make this detection more reliable.
      7f4e24fd
  5. Jan 06, 2025
  6. Dec 21, 2024
  7. Dec 15, 2024
  8. Oct 09, 2024
    • Arnaud Ferraris's avatar
      hooks: qcom-firmware: add SLPI firmware for SDM845 devices · aaf853cd
      Arnaud Ferraris authored
      The SLPI firmware is used by the sensors' DSP; as it is initialized
      before the rootfs is available, we need to embed the corresponding
      firmware file into the initramfs, otherwise the DSP won't get properly
      initialized and we won't have access to the sensors.
      aaf853cd
  9. Sep 28, 2024
  10. Sep 12, 2024
  11. Aug 21, 2024
  12. Feb 22, 2024
  13. Feb 13, 2023
  14. Feb 09, 2023
  15. Jan 21, 2023
  16. Dec 22, 2022
  17. Dec 14, 2022
Loading