Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
158 commits
Select commit Hold shift + click to select a range
51c0aad
Initial plan
Copilot Nov 16, 2025
371ba92
Update OpenWrt commits to latest versions for 6.6/6.10/6.11 and 6.12 …
Copilot Nov 16, 2025
fa2c74d
Update U-Boot version from 2023.07.02 to 2024.10 and add rb5009 support
Copilot Nov 16, 2025
8997b27
Add enhanced WiFi 7 (MT7996) driver support for BananaPi R4
Copilot Nov 16, 2025
e2bc0fe
Add comprehensive driver support: Quectel RM551E-GL 5G modem, carrier…
Copilot Nov 16, 2025
9dbd28c
Merge pull request #1 from spotty118/copilot/update-this
spotty118 Nov 16, 2025
7e73b85
Initial plan
Copilot Nov 16, 2025
5299a3b
Update README and enhance BPI-R4 configs with comprehensive optimizat…
Copilot Nov 16, 2025
94222d9
Merge pull request #2 from spotty118/copilot/update-readme-and-optimi…
spotty118 Nov 16, 2025
3728dd5
Initial plan
Copilot Nov 16, 2025
99f0ce1
Add build workflow and update all kernel commit hashes to latest
Copilot Nov 16, 2025
a5bf4b2
Update branding to OpenMPTCProuter Optimized
Copilot Nov 16, 2025
26d5645
Add comprehensive VPS scripts, easy installation, and modern LuCI theme
Copilot Nov 16, 2025
e167c5b
Final updates: Complete production-ready documentation and features
Copilot Nov 16, 2025
1d2ce22
Add complete automated client setup and bidirectional auto-pairing sy…
Copilot Nov 16, 2025
94538fa
Add automated VPS-client pairing, first-boot wizard, dynamic WAN dete…
Copilot Nov 16, 2025
c829980
Merge pull request #3 from spotty118/copilot/update-create-image-and-…
spotty118 Nov 16, 2025
81e8524
Initial plan
Copilot Nov 17, 2025
fe1ae32
Add on-demand build support and enhance Quectel RM551E modem support
Copilot Nov 17, 2025
fff63d9
Add comprehensive documentation for on-demand builds and RM551E support
Copilot Nov 17, 2025
f417df8
Add comprehensive test plan
Copilot Nov 17, 2025
be35c4c
Merge pull request #4 from spotty118/copilot/fix-quectel-551e-issues
spotty118 Nov 17, 2025
e02778b
Initial plan
Copilot Nov 17, 2025
1f7a6b3
Merge pull request #5 from spotty118/copilot/build-local-image
spotty118 Nov 17, 2025
4512b37
Initial plan
Copilot Nov 17, 2025
158f2aa
Fix Quectel RM551E driver patches - correct implementation
Copilot Nov 17, 2025
794e9e6
Initial plan
Copilot Nov 17, 2025
7e96baa
Update drivers and enhance multi-WAN bonding for stability
Copilot Nov 17, 2025
404e623
Add RM551E stability monitor, clean up dead code, change default IP t…
Copilot Nov 17, 2025
17e2d88
Add self-aware auto-configuration system for WAN/LAN ports and WiFi
Copilot Nov 17, 2025
eecdf15
Enhance network monitor for instant self-aware port reconfiguration
Copilot Nov 17, 2025
73eb4fa
Add comprehensive documentation clarifying bonding preservation
Copilot Nov 17, 2025
bdbbc17
Merge pull request #7 from spotty118/copilot/update-drivers-for-stabi…
spotty118 Nov 17, 2025
78442b7
Initial plan
Copilot Nov 17, 2025
526431c
Implement smart first-boot setup and quality-of-life features
Copilot Nov 17, 2025
1c23701
Add comprehensive safety features to prevent user lockouts
Copilot Nov 17, 2025
dd71528
Add comprehensive documentation for quality-of-life features
Copilot Nov 17, 2025
02332f5
Add hardware-based recovery for locked-out scenarios
Copilot Nov 17, 2025
c11960a
Merge pull request #8 from spotty118/copilot/explore-quality-of-life-…
spotty118 Nov 17, 2025
d6ce11f
Merge pull request #6 from spotty118/copilot/verify-quectel-551e-drivers
spotty118 Nov 17, 2025
04e5946
Initial plan
Copilot Nov 17, 2025
d1b2d30
Initial plan
Copilot Nov 17, 2025
69c4548
Add self-contained VPS installation wizard
Copilot Nov 17, 2025
f3103ee
Fix router IP address from 192.168.100.1 to 192.168.2.1
Copilot Nov 17, 2025
1347d73
Merge pull request #10 from spotty118/copilot/add-vps-install-wizard-…
spotty118 Nov 17, 2025
9e1940e
Initial plan
Copilot Nov 17, 2025
f965a68
Initial plan
Copilot Nov 17, 2025
4b5285f
Fix confirmation prompt to accept Enter as default yes
Copilot Nov 17, 2025
f89a926
Add test for confirmation prompt fix
Copilot Nov 17, 2025
3e40582
Merge pull request #12 from spotty118/copilot/generate-secure-credent…
spotty118 Nov 17, 2025
8502417
Initial plan
Copilot Nov 17, 2025
eb03761
Update plan to fix both branch references and interactive prompt issue
Copilot Nov 17, 2025
3f9db69
Fix branch references and interactive prompt issue in all scripts
Copilot Nov 17, 2025
e71685d
Fix remaining branch references in GitHub workflow
Copilot Nov 17, 2025
c5c661f
Merge pull request #13 from spotty118/copilot/validate-os-compatibility
spotty118 Nov 17, 2025
5bf9842
Initial plan
Copilot Nov 17, 2025
5234c23
Fix shellcheck warnings and add integration tests
Copilot Nov 17, 2025
7c4aa03
Add comprehensive audit report and certification
Copilot Nov 17, 2025
89855c0
Add audit summary and complete code review
Copilot Nov 17, 2025
38398be
Add security summary and finalize audit documentation
Copilot Nov 17, 2025
90ce853
Merge pull request #14 from spotty118/copilot/audit-code-stability-ch…
spotty118 Nov 17, 2025
3e52f1c
Initial plan
Copilot Nov 17, 2025
68e9981
Initial plan
Copilot Nov 17, 2025
347d267
Add comprehensive LuCI frontend improvements with modern CSS, JS, and…
Copilot Nov 17, 2025
fa02554
Merge pull request #16 from spotty118/copilot/improve-luci-frontend-c…
spotty118 Nov 17, 2025
5294623
Initial plan
Copilot Nov 17, 2025
3161f1c
Fix syntax error in build.sh - remove extra fi statement
Copilot Nov 17, 2025
a8229fd
Merge pull request #17 from spotty118/copilot/fix-build-failures
spotty118 Nov 17, 2025
b6b4bc5
Modernize frontend code with lightweight, performance-focused improve…
claude Nov 17, 2025
30c67fc
Merge pull request #15 from spotty118/copilot/improve-luci-frontend-code
spotty118 Nov 17, 2025
3425548
Merge pull request #11 from spotty118/copilot/fix-curl-host-resolutio…
spotty118 Nov 17, 2025
b53f8be
Merge pull request #9 from spotty118/copilot/add-vps-install-wizard
spotty118 Nov 17, 2025
0afae44
Merge pull request #18 from spotty118/claude/modernize-frontend-01Td9…
spotty118 Nov 17, 2025
3c2970f
Fix GitHub user references from ysurac to spotty118
claude Nov 18, 2025
48f191a
Merge pull request #19 from spotty118/claude/find-pr-bugs-01Uof7Yz4wz…
spotty118 Nov 18, 2025
85b48d6
Add comprehensive frontend code analysis reports
claude Nov 18, 2025
7d7d8dd
Merge pull request #20 from spotty118/claude/fix-frontend-issues-01NM…
spotty118 Nov 18, 2025
1b97d73
Optimize Linux kernel for MPTCP and 5G modems/WAN bonding
claude Nov 18, 2025
52a536f
Add 32 new modem drivers for enhanced 5G/LTE-A support
claude Nov 18, 2025
c9b2a01
Add comprehensive kernel and userspace integration analysis
claude Nov 18, 2025
88899aa
Add comprehensive security audit report
claude Nov 18, 2025
5d5d47d
Merge pull request #21 from spotty118/claude/fetch-more-feature-0174X…
spotty118 Nov 18, 2025
38cc5c4
Add and update network drivers for improved hardware support
claude Nov 18, 2025
e239816
Merge pull request #22 from spotty118/claude/optimize-kernel-mptcp-5g…
spotty118 Nov 18, 2025
7657a41
Merge pull request #23 from spotty118/claude/investigate-kernel-usage…
spotty118 Nov 18, 2025
20f03c2
Merge pull request #24 from spotty118/claude/deploy-agents-find-bugs-…
spotty118 Nov 18, 2025
4997318
Merge pull request #25 from spotty118/claude/review-update-drivers-01…
spotty118 Nov 18, 2025
36176d3
Fix critical frontend/backend issues and add smart diagnostics
claude Nov 18, 2025
3802a68
Simplify setup process with QR codes, pairing codes, and auto-verific…
claude Nov 18, 2025
84210ba
Fix critical security vulnerabilities and bugs found in comprehensive…
claude Nov 18, 2025
b293ad5
Merge pull request #26 from spotty118/claude/fix-frontend-backend-ope…
spotty118 Nov 18, 2025
9540879
Fix critical security vulnerabilities in backend scripts
claude Nov 18, 2025
16d1e47
Merge pull request #27 from spotty118/claude/simplify-setup-process-0…
spotty118 Nov 18, 2025
257afb2
Update .gitignore to exclude Python cache and audit reports
claude Nov 18, 2025
f2cbb99
Add __pycache__ to gitignore
claude Nov 18, 2025
047ad1b
Merge pull request #29 from spotty118/claude/audit-backend-01Ga2Ckqn7…
spotty118 Nov 18, 2025
a4b72cb
Add 5 new hardware acceleration and optimization drivers
claude Nov 18, 2025
9055c0d
Fix critical issues: build system, security, CI/CD, and documentation
claude Nov 18, 2025
7e386d3
Merge branch 'origin/develop' - Resolve conflicts and combine best fixes
claude Nov 18, 2025
8c6e8de
Merge pull request #28 from spotty118/claude/debug-incomplete-code-01…
spotty118 Nov 18, 2025
cd26576
Merge pull request #30 from spotty118/claude/create-new-drivers-017A4…
spotty118 Nov 18, 2025
dee7b75
Phase 2-3: Build optimization, documentation, and validation
claude Nov 18, 2025
affa5f9
Security fixes and comprehensive multi-agent audit
claude Nov 18, 2025
6d58f16
Improve kernel tree and device driver organization
claude Nov 18, 2025
035dfbf
Add USA carrier APN support for cellular modems
claude Nov 18, 2025
e7ae55f
Fix broken functions in shell scripts
claude Nov 18, 2025
e4ca469
Merge pull request #31 from spotty118/claude/build-kernel-tree-device…
spotty118 Nov 18, 2025
6000180
Merge pull request #32 from spotty118/claude/fix-broken-functions-017…
spotty118 Nov 18, 2025
e7d8436
Fix merge conflicts and resolve code duplication issues
claude Nov 18, 2025
61414f1
Merge pull request #33 from spotty118/claude/add-usa-carrier-apns-01G…
spotty118 Nov 18, 2025
c2304ad
Merge pull request #34 from spotty118/claude/find-merge-01MeMrHF6fDRR…
spotty118 Nov 18, 2025
ba2b4c1
Merge latest develop: Resolve conflicts in build.sh and easy-install.sh
claude Nov 18, 2025
cc61a67
Fix high-priority audit issues
claude Nov 18, 2025
7824f03
Update all packages to latest stable versions for kernel 6.12
claude Nov 18, 2025
13b60f2
Merge pull request #35 from spotty118/claude/update-all-packages-01Kt…
spotty118 Nov 18, 2025
f7abba9
Optimize kernel configuration for WAN bonding performance
claude Nov 18, 2025
ca7abb6
Merge pull request #36 from spotty118/claude/checklist-step-back-revi…
spotty118 Nov 18, 2025
ba66142
Merge pull request #37 from spotty118/claude/optimize-wan-bonding-ker…
spotty118 Nov 18, 2025
6e4be76
Merge branch 'origin/develop' into claude/todo-audit-reports-01VvyFs5…
claude Nov 18, 2025
36a66d5
Merge pull request #38 from spotty118/claude/todo-audit-reports-01Vvy…
spotty118 Nov 18, 2025
356dc8b
Security: Comprehensive security audit fixes
claude Nov 18, 2025
d037a6e
Code audit: Fix critical security and correctness issues
claude Nov 18, 2025
c2d6b1a
Add quality of life enhancements for development workflow
claude Nov 18, 2025
b1f8403
Update all network drivers to latest versions
claude Nov 18, 2025
77f7691
Clean up codebase: remove obsolete files and TODO comments
claude Nov 18, 2025
3058b17
Merge pull request #39 from spotty118/claude/audit-frontend-backend-0…
spotty118 Nov 18, 2025
a1bff07
Merge pull request #40 from spotty118/claude/add-qol-enhancements-01G…
spotty118 Nov 18, 2025
d0930b8
Merge pull request #41 from spotty118/claude/code-audit-fixes-01QGmE8…
spotty118 Nov 18, 2025
373c96d
Merge pull request #42 from spotty118/claude/update-existing-drivers-…
spotty118 Nov 18, 2025
318ea44
Merge pull request #43 from spotty118/claude/clean-up-c-code-01C5aEiR…
spotty118 Nov 18, 2025
03639b3
PERF: Implement high-impact performance optimizations across user-spa…
claude Nov 18, 2025
2e8a513
Config/deployment audit: Security fixes and infrastructure improvements
claude Nov 18, 2025
e38cade
Merge pull request #44 from spotty118/claude/audit-openmptcp-performa…
spotty118 Nov 18, 2025
f1a284a
Code audit & critical fixes - Network agent reliability improvements
claude Nov 18, 2025
fff7e28
Merge origin/develop into audit-openmptcp-deployment branch
claude Nov 18, 2025
d161c74
Merge pull request #45 from spotty118/claude/code-audit-network-agent…
spotty118 Nov 18, 2025
0d1bb83
Merge pull request #46 from spotty118/claude/audit-openmptcp-deployme…
spotty118 Nov 18, 2025
b3f76ac
FIX: Kernel 6.12 BBR2 support and VPS buffer size consistency
claude Nov 18, 2025
a7bdcb1
Merge pull request #47 from spotty118/claude/investigate-wan-bonding-…
spotty118 Nov 18, 2025
52ffb36
Fix: WAN bonding infrastructure hardening and cleanup
claude Nov 18, 2025
781280f
fix: Multi-WAN bonding compatibility and reliability fixes
claude Nov 18, 2025
161ce61
Fix bonding behavior: aggressive failover, BLEST scheduler, path inte…
claude Nov 18, 2025
036adf4
Fix JavaScript syntax errors in theme.js
claude Nov 18, 2025
dd9d1bb
FIX: Critical multi-WAN bonding issues - RP filter, MPTCP sysctls, BBR2
claude Nov 18, 2025
632c602
Merge pull request #48 from spotty118/claude/investigate-wan-bonding-…
spotty118 Nov 18, 2025
448472a
Merge pull request #49 from spotty118/claude/investigate-wan-bonding-…
spotty118 Nov 18, 2025
a29cffc
Merge pull request #50 from spotty118/claude/audit-bonding-behavior-0…
spotty118 Nov 18, 2025
fc19a67
Merge pull request #51 from spotty118/claude/investigate-wan-bonding-…
spotty118 Nov 18, 2025
cd58a92
fix: security hardening and platform-aware buffer tuning
claude Nov 18, 2025
3e2ecea
Merge pull request #53 from spotty118/claude/investigate-wan-bonding-…
spotty118 Nov 18, 2025
a1b5b6b
Merge develop into wan-bonding branch and resolve conflicts
claude Nov 18, 2025
59c9329
Merge pull request #52 from spotty118/claude/investigate-wan-bonding-…
spotty118 Nov 18, 2025
3b18d14
Security hardening and performance optimization fixes
claude Nov 18, 2025
1e60669
Merge origin/develop into security-fixes branch
claude Nov 18, 2025
07ef324
Merge pull request #56 from spotty118/claude/openmptcp-full-audit-fix…
spotty118 Nov 18, 2025
5776cbd
fix: security hardening for bonding scripts and build system
claude Nov 18, 2025
f76b31c
Merge pull request #57 from spotty118/claude/investigate-wan-bonding-…
spotty118 Nov 18, 2025
2957b20
fix: MPTCP bonding improvements and VPS routing fixes
claude Nov 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
github: [Ysurac]
github: [spotty118]
patreon: Ycarus
custom: https://www.paypal.me/ycarus
86 changes: 86 additions & 0 deletions .github/workflows/build-vps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
name: Build VPS Images

permissions:
contents: read
packages: write
actions: read

on:
workflow_dispatch:
inputs:
vps_type:
description: 'VPS distribution type'
required: true
type: choice
options:
- 'debian'
- 'ubuntu'
- 'all'
default: 'all'

jobs:
build-vps:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Build VPS setup scripts
run: |
echo "Building VPS installation package..."
cd vps-scripts

# Create VPS package
mkdir -p ../vps-build
cp -r * ../vps-build/

# Package the installation scripts
cd ../vps-build
tar -czf ../omr-vps-install-${{ github.sha }}.tar.gz *

- name: Upload VPS artifacts
uses: actions/upload-artifact@v4
with:
name: vps-install-package
path: omr-vps-install-*.tar.gz

- name: Create installation documentation
run: |
cat > VPS_INSTALL_README.md << 'EOF'
# OpenMPTCProuter VPS Installation

## Quick Install

Download and run the installation script:

```bash
curl -sSL https://raw.githubusercontent.com/spotty118/openmptcprouter/develop/scripts/easy-install.sh | sudo bash
```

## Auto-Pairing

For automatic pairing with client:

```bash
curl -sSL https://raw.githubusercontent.com/spotty118/openmptcprouter/develop/scripts/auto-pair.sh | sudo bash
```

## Manual Installation

1. Download the VPS package from the artifacts
2. Extract: `tar -xzf omr-vps-install-*.tar.gz`
3. Run: `sudo bash omr-vps-install.sh`

## Supported Platforms

- Debian 10, 11, 12
- Ubuntu 20.04, 22.04, 24.04

EOF

- name: Upload documentation
uses: actions/upload-artifact@v4
with:
name: vps-documentation
path: VPS_INSTALL_README.md
161 changes: 161 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
name: Build OpenMPTCProuter Optimized Images

permissions:
contents: read
packages: write
actions: read

on:
push:
workflow_dispatch:
inputs:
target:
description: 'Target platform (leave empty for all)'
required: false
type: choice
options:
- 'all'
- 'bpi-r1'
- 'bpi-r2'
- 'bpi-r3'
- 'bpi-r4'
- 'bpi-r4-poe'
- 'bpi-r64'
- 'rpi2'
- 'rpi3'
- 'rpi4'
- 'rpi5'
- 'wrt3200acm'
- 'wrt32x'
- 'espressobin'
- 'r2s'
- 'r4s'
- 'r5s'
- 'r5c'
- 'r7800'
- 'rutx12'
- 'rutx50'
- 'qnap-301w'
- 'ubnt-erx'
- 'x86'
- 'x86_64'
- 'z8102ax_128m'
- 'z8102ax_64m'
- 'z8102ax-emmc'
- 'z8109ax_128m'
- 'gl-mt2500'
- 'gl-mt3000'
- 'gl-mt6000'
default: 'all'
kernel:
description: 'Kernel version (leave empty for all)'
required: false
type: choice
options:
- 'all'
- '6.6'
- '6.12'
default: 'all'

env:
REPO_URL: ${{ github.server_url }}/${{ github.repository }}

jobs:
build:
strategy:
matrix:
OMR_TARGET: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.target != 'all' && fromJSON(format('["{0}"]', github.event.inputs.target)) || fromJSON('["bpi-r1", "bpi-r2", "bpi-r3", "bpi-r4", "bpi-r4-poe", "bpi-r64", "rpi2", "rpi4", "wrt32x", "espressobin", "r2s", "rpi3", "wrt3200acm", "x86", "x86_64", "ubnt-erx", "r4s", "r7800", "rutx12", "rutx50", "r5s", "qnap-301w", "rpi5", "z8102ax_128m", "z8102ax_64m", "z8102ax-emmc", "gl-mt6000", "gl-mt3000", "gl-mt2500", "r5c", "z8109ax_128m"]') }}
OMR_KERNEL: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.kernel != 'all' && fromJSON(format('["{0}"]', github.event.inputs.kernel)) || fromJSON('["6.6", "6.12"]') }}
runs-on: ubuntu-latest
# Removed continue-on-error to ensure build failures are properly reported

steps:
- name: Branch name
id: branch_name
run: |
echo "SOURCE_NAME=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
echo "SOURCE_BRANCH=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT
echo "SOURCE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
echo "WORKSPACE=${GITHUB_WORKSPACE}" >> $GITHUB_OUTPUT
- name: Prepare
run: |
sudo apt-get update
sudo apt-get install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc-s1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler python3-pyelftools llvm clang
- if: matrix.OMR_KERNEL == '6.6'
name: Install LLVM
run: |
sudo apt-get install llvm clang
- name: Cache build dependencies
uses: actions/cache@v4
with:
path: |
~/.ccache
/home/runner/work/omr/${{ matrix.OMR_TARGET }}/${{ matrix.OMR_KERNEL }}/dl
/home/runner/work/omr/${{ matrix.OMR_TARGET }}/${{ matrix.OMR_KERNEL }}/staging_dir/host
key: build-cache-${{ matrix.OMR_TARGET }}-${{ matrix.OMR_KERNEL }}-${{ github.sha }}
restore-keys: |
build-cache-${{ matrix.OMR_TARGET }}-${{ matrix.OMR_KERNEL }}-
build-cache-${{ matrix.OMR_TARGET }}-

- name: Free disk space
run: |
df -h
sudo swapoff -a >/dev/null 2>&1 || true
sudo rm -f /swapfile >/dev/null 2>&1 || true
sudo apt-get autoremove -y >/dev/null 2>&1 || true
sudo apt-get autoclean -y >/dev/null 2>&1 || true
sudo rm -rf "/usr/local/share/boost" >/dev/null 2>&1 || true
sudo rm -rf "$AGENT_TOOLSDIRECTORY" >/dev/null 2>&1 || true
sudo rm -rf /usr/share/dotnet >/dev/null 2>&1 || true
sudo rm -rf /usr/local/lib/android >/dev/null 2>&1 || true
sudo rm -rf /opt/ghc >/dev/null 2>&1 || true
sudo docker rmi $(docker images -qf "dangling=true") >/dev/null 2>&1 || true
df -h
- name: Clone source code
working-directory: ../../
env:
REPO_URL: ${{ github.server_url }}/${{ github.repository }}
SOURCE_NAME: ${{ steps.branch_name.outputs.SOURCE_NAME }}
GITHUB_WORKSPACE: ${{ steps.branch_name.outputs.WORKSPACE }}
run: |
git clone $REPO_URL omr
cd omr
pwd
git fetch
git checkout $SOURCE_NAME
git pull
pwd
- name: Build toolchain
working-directory: ../../omr
env:
OMR_FEED_URL: https://github.com/spotty118/openmptcprouter-feeds
SOURCE_NAME: ${{ steps.branch_name.outputs.SOURCE_NAME }}
OMR_TARGET: ${{ matrix.OMR_TARGET }}
OMR_KERNEL: ${{ matrix.OMR_KERNEL }}
OMR_HOST: ${{ secrets.OMR_HOST }}
OMR_PORT: ${{ secrets.OMR_PORT }}
run: |
OMR_KERNEL="${OMR_KERNEL}" OMR_FEED_SRC="develop" sh build.sh prepare {tools,toolchain}/install -j$(nproc) || OMR_KERNEL="${OMR_KERNEL}" OMR_FEED_SRC="develop" sh build.sh prepare {tools,toolchain}/install -j1 V=s
- name: Build packages
working-directory: ../../omr
env:
OMR_TARGET: ${{ matrix.OMR_TARGET }}
OMR_KERNEL: ${{ matrix.OMR_KERNEL }}
run: |
make IGNORE_ERRORS=m -C $OMR_TARGET/$OMR_KERNEL/source package/{compile,install,index} -j$(nproc) || make IGNORE_ERRORS=m -C $OMR_TARGET/$OMR_KERNEL/source package/{compile,install,index} -j1 V=s
- name: Build image
working-directory: ../../omr
env:
OMR_TARGET: ${{ matrix.OMR_TARGET }}
OMR_KERNEL: ${{ matrix.OMR_KERNEL }}
run: |
make IGNORE_ERRORS=m -C $OMR_TARGET/$OMR_KERNEL/source target/install -j$(nproc) || make IGNORE_ERRORS=m -C $OMR_TARGET/$OMR_KERNEL/source target/install -j1 V=s
- name: Upload artifacts
uses: actions/upload-artifact@v4
if: success()
with:
name: ${{ matrix.OMR_TARGET }}-${{ matrix.OMR_KERNEL }}
retention-days: 30
compression-level: 9
path: /home/runner/work/omr/${{ matrix.OMR_TARGET }}/${{ matrix.OMR_KERNEL }}/source/bin
overwrite: true
6 changes: 5 additions & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Mark stale issues and pull requests

permissions:
issues: write
pull-requests: write

on:
push:
schedule:
Expand All @@ -9,7 +13,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3.0.10
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: "This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days"
Expand Down
75 changes: 75 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: Validate Scripts

permissions:
contents: read
pull-requests: write

on:
pull_request:
paths:
- '**.sh'
- 'scripts/**'
push:
paths:
- '**.sh'
- 'scripts/**'
workflow_dispatch:

jobs:
shellcheck:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install shellcheck
run: sudo apt-get update && sudo apt-get install -y shellcheck

- name: Run script validation
run: ./scripts/validate-scripts.sh

smoke-test:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Run smoke tests
run: ./scripts/smoke-test.sh

config-validation:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Validate config files exist
run: |
echo "Checking configuration files..."
for config in config config-x86_64 config-bpi-r4 config-rpi4; do
if [ ! -f "$config" ]; then
echo "ERROR: Missing $config"
exit 1
fi
echo "✓ $config exists"
done

- name: Validate kernel directories
run: |
echo "Checking kernel directories..."
for kernel in 5.4 6.1 6.6 6.12; do
if [ ! -d "$kernel" ]; then
echo "ERROR: Missing kernel directory $kernel"
exit 1
fi
echo "✓ Kernel $kernel directory exists"
done

- name: Check for syntax errors in build.sh
run: |
echo "Checking build.sh syntax..."
sh -n build.sh
echo "✓ build.sh syntax is valid"
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
sdk
source
feeds
.cpython-*.pyc
*_AUDIT_*.txt
*_AUDIT_*.md
__pycache__/
1 change: 1 addition & 0 deletions 5.4/package/firmware/ipq-wifi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ include $(INCLUDE_DIR)/version.mk
PKG_NAME:=ipq-wifi
PKG_RELEASE:=1
PKG_FLAGS:=nonshared
PKG_LICENSE:=Proprietary

include $(INCLUDE_DIR)/package.mk

Expand Down
1 change: 1 addition & 0 deletions 5.4/package/kernel/r2ec/src/io.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef R2EC_IO_H
#define R2EC_IO_H

Expand Down
3 changes: 2 additions & 1 deletion 5.4/package/kernel/r2ec/src/r2ec.c
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,8 @@ static int get_stm32_version(struct device *dev, uint8_t type, char *buffer)

res = (struct pt_fw_get_ver *)(&recv[3]);

sprintf(buffer, "%02d.%02d.%02d rev. %02d\n",
/* SECURITY FIX: Use snprintf instead of sprintf to prevent buffer overflow */
snprintf(buffer, PAGE_SIZE, "%02d.%02d.%02d rev. %02d\n",
res->major, res->middle, res->minor, res->rev);

done:
Expand Down
2 changes: 1 addition & 1 deletion 5.4/target/linux/generic/config-5.4
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ CONFIG_BLOCK=y
# CONFIG_BNX2X is not set
# CONFIG_BNX2X_SRIOV is not set
# CONFIG_BNXT is not set
# CONFIG_BONDING is not set
CONFIG_BONDING=m
# CONFIG_BOOKE_WDT is not set
CONFIG_BOOKE_WDT_DEFAULT_TIMEOUT=3
# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set
Expand Down
Loading