Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: GravityLinux/scripts
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: GravityLinux/scripts
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: experimental
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 5 commits
  • 52 files changed
  • 2 contributors

Commits on Nov 5, 2026

  1. firmware: move Linux extraction tools into scripts

    Move gravity-fwextract, its Python package, board profiles, and firmware
    tests from the retired installer into this repository. Add Make installation
    and Python source/wheel packaging without requiring the old checkout.
    
    Consume the Swift installer's j700 archives and detect board product numbers
    from the live device tree. Preserve j773g support, validate saved radio
    caches, and accept C1FE trackpad firmware. Keep DER tags intact with both the
    bundled ASN.1 library and the distro's newer implementation.
    
    Validation: all 27 tests pass with bundled ASN.1 on Python 3.9.6 and external
    ASN.1 3.3.0 on Python 3.14, including Swift/Linux firmware comparisons and
    staged install/uninstall. Source/wheel builds and the installed CLI pass.
    
    Assisted-By: LLM
    Signed-off-by: Cody Ho <[email protected]>
    ADevWithAnIdea committed Nov 5, 2026
    Configuration menu
    Copy the full SHA
    7a8019a View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2026

  1. dracut/99gravity-firmware: retry ESP mount and guard missing /vendorfw

    On MacBook Neo (j700), the ESP block device can appear after the initial
    NVMe sysfs check and vfat needs nls_ascii/nls_cp437 in the initramfs.
    Retry mount_sys_esp up to 50 times (5s), explicitly modprobe vfat, include
    nls_ascii and nls_cp437 in installkernel(), and guard install-gravity-firmware
    when /vendorfw was not unpacked.
    Cody Ho
    Cody Ho committed Dec 2, 2026
    Configuration menu
    Copy the full SHA
    881204b View commit details
    Browse the repository at this point in the history
  2. firmware: add beatdropd speaker tuning compiler and 3-tier extractor

    Add pure-stdlib gravity_firmware.beatdrop + gravity-beatdrop-extract and
    wire optional --beatdrop-out extraction into gravity-fwextract and
    gravity-fwupdate.
    
    Discovery order:
      1. audio/AID<n>/ or neo-board-data/audio/AID<n>/ inside all_firmware.tar.gz
      2. Local macOS System volume (--macos-root)
      3. Targeted HTTP-Range fetch (~5-10 MB) from Apple's public macOS OTA CDN
         (ZIP64 + pbzx + YAA1 + links.txt hardlink resolution) when --fetch-apple
         is enabled for existing installs predating audio archive collection.
    
    No Apple tuning data or binaries are bundled in this repository.
    Cody Ho
    Cody Ho committed Dec 2, 2026
    Configuration menu
    Copy the full SHA
    a9f9561 View commit details
    Browse the repository at this point in the history
  3. firmware/j700: support raw oca2/wcal calibration files for mt7932 mac…

    …80211
    
    Accept and validate the 4-file Neo Wi-Fi calibration layout
    (calibration, precal, oca2, wcal) emitted by the Swift installer for the
    bits/082-neo-wifi mt7932 driver, while remaining compatible with legacy
    2-file archives (deriving oca2/wcal from the checksum-verified BWC2
    container when present).
    Cody Ho
    Cody Ho committed Dec 2, 2026
    Configuration menu
    Copy the full SHA
    421ab00 View commit details
    Browse the repository at this point in the history
  4. firmware: add M4 board profiles for gravity-fwupdate

    Add a shared M4 Broadcom/trackpad/ISP consumer (profiles/m4.py) and
    declarative board profiles for all 9 M4 Macs (j575c, j604, j614c, j614s,
    j616c, j616s, j713, j715, j773s) matching installer-next, and enable j713
    in Swift-to-Linux handoff tests.
    Cody Ho
    Cody Ho committed Dec 2, 2026
    Configuration menu
    Copy the full SHA
    3c85b18 View commit details
    Browse the repository at this point in the history
Loading