Files
Miguel Fuertes 81a703fcc4 Add support for MF68E and M9S devices with necessary patches and configurations
- Introduced device tree patches for MF68E and M9S, adding their respective .dts files and updating the Makefile to include them.
- Implemented framebuffer driver for the GC9107 LCD controller, enabling display support for the MF68E and M9S devices.
- Created UCI defaults for modem management, including network interface configurations and LED handling for modem and WiFi indicators.
- Added scripts for automatic formatting of the rootfs_data partition and generating GPT images for MSM8916 eMMC.
- Included hotplug scripts for managing LED states based on device actions.
- Updated README with instructions for re-integrating the deprecated device support into the main build.
2026-02-24 10:46:35 +01:00

1.7 KiB

TBR - Deprecated Device Support (MF68E, M9S)

These files were removed from the main build but are kept here for reference. They supported MiFi-style devices (MF68E, M9S) with displays, battery monitoring and power button handling.

How to re-integrate

1. Device definitions

Add the contents of msm8916.mk.devices to msm89xx/image/msm8916.mk, before the endif line.

2. Kernel patches

Copy the patches back into msm89xx/patches-6.12/:

cp patches/802-arm64-dts-qcom-add-msm8916-generic-mf68e.patch ../msm89xx/patches-6.12/
cp patches/805-arm64-dts-qcom-add-msm8916-generic-m9s.patch   ../msm89xx/patches-6.12/
cp patches/901-fbtft-fb_gc9107.patch                           ../msm89xx/patches-6.12/

The 801-...patch.orig only adds mf68e and m9s (UF02 is already handled by the active 801 patch). Both patches touch different lines so they apply cleanly one after another.

3. Packages

Move the packages back into the packages/ directory:

cp -r packages/configs-mifi   ../packages/
cp -r packages/router-display  ../packages/
cp -r packages/fbtft-gc9107    ../packages/

These packages provide:

  • configs-mifi: UCI defaults, LED hotplugs, battery monitoring, power button handling, and a pre-built Tailscale APK for MiFi devices.
  • router-display: SPI display manager (GC9107) with boot/shutdown logos and status display for MF68E.
  • fbtft-gc9107: Kernel module for the GC9107 framebuffer (SPI display).

4. Diffconfigs

Move diffconfig_m9s and diffconfig_mf68e back to the repository root.

5. CI/CD

Add m9s and mf68e back to the device matrix in .github/workflows/build-all.yml and the choice options in .github/workflows/build.yml.