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.
This commit is contained in:
Miguel Fuertes committed 2026-02-24 10:46:35 +01:00
1 parent d3a42b4e4d
commit 81a703fcc4
57 files changed
+378 -652

No files matched your search

+2 -2
View File
@@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
device: [uz801, m9s, mf68e, uf02]
device: [uz801, uf02]
steps:
- name: Checkout
@@ -55,7 +55,7 @@ jobs:
- name: Load diffconfig
run: |
DEVICE="${{ matrix.device }}"
DIFFCONFIG=$([ "$DEVICE" = "uz801" ] && echo "diffconfig" || echo "diffconfig_${DEVICE}")
DIFFCONFIG="diffconfig_${DEVICE}"
[ -f "$DIFFCONFIG" ] && mv "$DIFFCONFIG" openwrt/.config
- name: Download package
+77
View File
@@ -0,0 +1,77 @@
name: Build Package
on:
workflow_dispatch:
inputs:
package:
description: 'Package to build'
required: true
type: string
default: luci-app-tailscale
env:
TZ: Europe/Madrid
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Initialization environment
env:
DEBIAN_FRONTEND: noninteractive
run: |
sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL
sudo docker image prune --all --force
sudo -E apt-get -qq update
sudo -E ./devenv/dependencies.sh
sudo -E apt-get -qq autoremove --purge
sudo -E apt-get -qq clean
sudo timedatectl set-timezone "$TZ"
- name: Clone OpenWrt source code
run: |
git clone https://git.openwrt.org/openwrt/openwrt.git openwrt
git -C openwrt checkout 00ceb1ed1763f7479df6edf92ffada948f0e7d45
- name: Load msm89xx target and packages
run: |
git apply --unsafe-paths enable_wcn36xx_mac80211.patch
mv msm89xx openwrt/target/linux/msm89xx
mv packages openwrt/package/uz801
- name: Update and install feeds
run: |
cd openwrt
rm -rf tmp
./scripts/feeds update -a
./scripts/feeds install -a
- name: Configure for package build
run: |
cd openwrt
mv ../diffconfig_uz801 .config
make defconfig
make download -j8
find dl -size -1024c -exec rm -f {} \; || true
- name: Build toolchain and dependencies
run: |
cd openwrt
make tools/install -j$(nproc)
make toolchain/install -j$(nproc)
- name: Build package
run: |
cd openwrt
make package/${{ inputs.package }}/compile -j$(nproc) V=s
echo "FILE_DATE=$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV
- name: Upload package
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.package }}_${{ env.FILE_DATE }}
path: openwrt/bin/packages/**/${{ inputs.package }}*.apk
+1 -3
View File
@@ -11,8 +11,6 @@ on:
default: uz801
options:
- uz801
- m9s
- mf68e
- uf02
env:
@@ -61,7 +59,7 @@ jobs:
- name: Load diffconfig
run: |
DEVICE="${{ inputs.device || 'uz801' }}"
DIFFCONFIG=$([ "$DEVICE" = "uz801" ] && echo "diffconfig" || echo "diffconfig_${DEVICE}")
DIFFCONFIG="diffconfig_${DEVICE}"
[ -f "$DIFFCONFIG" ] && mv "$DIFFCONFIG" openwrt/.config
- name: Download package