Claude/update banana pi drivers 018g wu ncr pw ag ge a7s8u3 a52#4145
Claude/update banana pi drivers 018g wu ncr pw ag ge a7s8u3 a52#4145vzwjustin wants to merge 66 commits intoYsurac:developfrom
Conversation
…kernels Co-authored-by: spotty118 <19340462+spotty118@users.noreply.github.com>
Co-authored-by: spotty118 <19340462+spotty118@users.noreply.github.com>
Co-authored-by: spotty118 <19340462+spotty118@users.noreply.github.com>
… aggregation, and WiFi 7 optimizations Co-authored-by: spotty118 <19340462+spotty118@users.noreply.github.com>
[WIP] Update existing content
…ions Co-authored-by: spotty118 <19340462+spotty118@users.noreply.github.com>
…zations [WIP] Update frontend README with enhancements and optimizations
Co-authored-by: spotty118 <19340462+spotty118@users.noreply.github.com>
Co-authored-by: spotty118 <19340462+spotty118@users.noreply.github.com>
Co-authored-by: spotty118 <19340462+spotty118@users.noreply.github.com>
Co-authored-by: spotty118 <19340462+spotty118@users.noreply.github.com>
…stem Co-authored-by: spotty118 <19340462+spotty118@users.noreply.github.com>
…ction, and modern UI theme Co-authored-by: spotty118 <19340462+spotty118@users.noreply.github.com>
…patches Add automated VPS-client pairing, first-boot wizard, dynamic WAN detection, and modern UI theme
Co-authored-by: spotty118 <19340462+spotty118@users.noreply.github.com>
Co-authored-by: spotty118 <19340462+spotty118@users.noreply.github.com>
Co-authored-by: spotty118 <19340462+spotty118@users.noreply.github.com>
Add workflow_dispatch for on-demand builds and fix Quectel RM551E-GL modem detection
No changes required - build infrastructure complete
Co-authored-by: spotty118 <19340462+spotty118@users.noreply.github.com>
- Updated kernel 6.6 luci to latest OpenWrt 24.10 commit - Updated kernel 6.12 to latest OpenWrt main branch commit - Added missing USB network drivers (aqc111, pl) - Added Ethernet drivers (atlantic, igc, macvtap) - Enhanced BPI-R4 and BPI-R4-PoE configs with comprehensive Quectel 5G modem support - Added WiFi 7 enhancements (MT7915e, MT7921e firmware and drivers) - Added MediaTek-specific drivers (mt7530, mtk-eth, dsa-mt7530) - Enhanced kernel stability options (panic handling, printk) - Added multi-WAN bonding support (bonding, team, ipvlan modules) - Enhanced VPS sysctl config for multi-WAN bonding - Added VPS kernel modules for bonding and traffic shaping Co-authored-by: spotty118 <19340462+spotty118@users.noreply.github.com>
…o 192.168.2.1 - Created comprehensive RM551E stability monitoring script with automatic recovery - Enhanced RM551E initialization with better error handling and configuration - Added auto-start for RM551E monitor via init script - Cleaned up dead code and commented-out sections in build.sh - Changed default LAN IP from 192.168.100.1 to 192.168.2.1 to avoid router conflicts - Enabled DHCP server by default on LAN interface - Configured DNS and network defaults for better out-of-box experience - Updated first-boot wizard to reflect new IP address Co-authored-by: spotty118 <19340462+spotty118@users.noreply.github.com>
- Created port auto-detection that identifies upstream internet on any port - Auto-configures detected WAN ports with DHCP and multipath support - Auto-configures remaining ports as LAN bridge members - Created WiFi auto-configuration with secure defaults (WPA3/SAE) - Generates random but secure WiFi passwords - Supports WiFi 7 (6GHz), WiFi 6 (5GHz), and WiFi 4/5/6 (2.4GHz) - Created self-aware network monitoring daemon - Continuously monitors network state and auto-adjusts configuration - Detects cable plug/unplug events and reconfigures accordingly - Monitors WAN connectivity and triggers reconfiguration if needed - Ensures DHCP server is always running on LAN - Runs continuously in background with procd supervision - Auto-starts on boot and after any network changes - Saves WiFi password to /etc/wifi-password.txt for user reference Co-authored-by: spotty118 <19340462+spotty118@users.noreply.github.com>
Co-authored-by: spotty118 <19340462+spotty118@users.noreply.github.com>
Co-authored-by: spotty118 <19340462+spotty118@users.noreply.github.com>
…again Add self-contained VPS installation wizard
Co-authored-by: spotty118 <19340462+spotty118@users.noreply.github.com>
Co-authored-by: spotty118 <19340462+spotty118@users.noreply.github.com>
…ials Fix confirmation prompt defaulting to cancel on Enter key
Co-authored-by: spotty118 <19340462+spotty118@users.noreply.github.com>
Co-authored-by: spotty118 <19340462+spotty118@users.noreply.github.com>
Co-authored-by: spotty118 <19340462+spotty118@users.noreply.github.com>
[WIP] Validate operating system compatibility for installation
Co-authored-by: spotty118 <19340462+spotty118@users.noreply.github.com>
Co-authored-by: spotty118 <19340462+spotty118@users.noreply.github.com>
Co-authored-by: spotty118 <19340462+spotty118@users.noreply.github.com>
Co-authored-by: spotty118 <19340462+spotty118@users.noreply.github.com>
…ecks [WIP] Audit code for stability between VPS and router setups
… accessibility features Co-authored-by: spotty118 <19340462+spotty118@users.noreply.github.com>
…ode-again Implement comprehensive LuCI theme with modern CSS architecture, accessibility, and interactive enhancements
Co-authored-by: spotty118 <19340462+spotty118@users.noreply.github.com>
Fix shell syntax error blocking all builds
This commit significantly enhances driver support across all Banana Pi models with comprehensive hardware and network driver configurations. ## Updated Configurations: ### BPI-R4 (MT7988 - WiFi 7): - Added 205+ new driver configurations - WiFi 7 support (MT7996 drivers and firmware) - Enhanced storage drivers (ext4, f2fs, vfat, exfat, ntfs3, btrfs, xfs) - Complete USB modem support (5G Quectel modems: RM500Q, RM520N, etc.) - Advanced I2C, SPI, and GPIO support - PWM and fan control drivers - Comprehensive hardware monitoring (tmp102, lm75, lm85, lm90, etc.) - Cryptographic hardware acceleration - MediaTek hardware offload and flow control - Network QoS (CAKE, HTB scheduling) - SFP and 2.5G PHY support (Aquantia, Broadcom, Marvell, Realtek) - USB serial adapters (CP210x, FTDI, PL2303, CH341) - Additional USB ethernet adapters - Bluetooth, CAN bus, Video4Linux, NVMe support - IPv6, tunneling (GRE, IPsec, L2TP), and MPTCP - Enhanced kernel features and MediaTek-specific optimizations ### BPI-R4-PoE (MT7988 - WiFi 7 with PoE): - All BPI-R4 features plus: - Enhanced power management for PoE - Additional thermal and hardware monitoring - Regulator support for power control ### BPI-R3 (MT7986 - WiFi 6): - Complete WiFi 6 driver stack (MT7915, MT7916, MT7986 firmware) - Full 5G modem support (QMI, MBIM, NCM protocols) - Comprehensive USB and network drivers - Storage, I2C, SPI, GPIO support - Hardware offload and QoS - SFP support for fiber connections - Cryptographic acceleration - MPTCP and tunneling protocols ### BPI-R3-mini (MT7986 - WiFi 6 compact): - Same comprehensive driver set as BPI-R3 - Optimized for compact form factor ### BPI-R64 (MT7622 - WiFi 5): - WiFi 5 support (MT7615 drivers and firmware) - ARM64 cryptographic acceleration (SHA1, SHA2, GHASH, AES) - Complete USB modem and network support - Storage and peripheral drivers - Hardware monitoring and thermal management - Network flow offload and QoS - SFP support ### BPI-R2 (MT7623 - WiFi 5): - WiFi 5 driver support - USB modem and network drivers - Storage filesystem support - I2C, SPI, GPIO, and peripheral drivers - Network acceleration and QoS - Optimized for size while maintaining full features ## Key Driver Categories Added: **Network & WiFi:** - MT76 wireless framework (MT7615, MT7915, MT7986, MT7996) - Additional WiFi drivers (Atheros, Ralink, Realtek) - Multiple PHY drivers (Aquantia, Broadcom, Marvell, Realtek) - SFP/fiber support - Advanced Ethernet (Intel igb/ixgbe, Realtek r8169) **USB Modems (5G/4G):** - QMI, MBIM, NCM, RNDIS protocols - Quectel-specific support (RM500Q, RM520N, RM551E, RG500Q, etc.) - Huawei, Sierra Wireless support - Complete AT command interface **Storage:** - Multiple filesystems (ext4, f2fs, vfat, exfat, ntfs3, btrfs, xfs) - SCSI generic support - UAS (USB Attached SCSI) - NVMe for future expansion **Hardware Interfaces:** - I2C (including MT7621 and GPIO-based) - SPI (including MT7621 and bitbang) - GPIO (button hotplug, dev interface, expanders) - PWM (MediaTek and GPIO-based) **Sensors & Monitoring:** - Temperature sensors (tmp102, tmp103, tmp421, lm75, lm85, lm90, lm92) - Hardware monitoring core - PWM and GPIO fan control - RTC support (DS1307, DS1672, PCF8563, PT7C4338) **Cryptography:** - Hardware acceleration (EIP93, HIFN-795x, Talitos) - ARM CE acceleration (SHA, AES, GHASH) - Software crypto (authenc, cbc, ctr, gcm, hmac) **Network Features:** - MediaTek hardware flow offload - CAKE QoS - VLAN (802.1q) - Bonding and bridging - MPTCP - Tunneling (GRE, L2TP, IPsec, IP6 tunnel) - PPPoE, PPTP **Additional:** - LED triggers (netdev, timer, heartbeat) - USB HID and serial adapters - Input devices (evdev, gpio-keys) - Sound (I2S, PCM for applicable platforms) - CAN bus - Video4Linux (UVC) - Bluetooth and 6LoWPAN - Industrial I/O ## Benefits: - Comprehensive hardware support for all Banana Pi platforms - Future-proof driver configurations - Enhanced network performance with hardware offload - Full 5G modem compatibility - Professional-grade features (QoS, MPTCP, tunneling) - Better thermal management and hardware monitoring - Extensive peripheral and expansion support All configurations tested for syntax and compatibility with OpenWrt build system.
There was a problem hiding this comment.
Pull Request Overview
This pull request adds comprehensive Banana Pi driver updates and VPS/router installation infrastructure for OpenMPTCProuter Optimized. The PR introduces significant new functionality for automated setup and hardware support.
Key Changes
- New automated VPS installation wizard with web-based setup interface
- Enhanced 5G modem support (Quectel RM551E-GL) with stability monitoring
- Updated Banana Pi board configurations (R2, R3, R3-mini, R4, R4-PoE, R64) with WiFi 6/7 and extensive driver support
- Modern LuCI theme with dark mode and accessibility features
Reviewed Changes
Copilot reviewed 66 out of 74 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| vps-scripts/wizard.sh | Self-contained VPS installation wizard with interactive prompts and web interface generation |
| vps-scripts/omr-vps-install.sh | Core VPS installation script with MPTCP configuration and firewall setup |
| vps-scripts/install.sh | Issue: Incomplete script file with only single line content |
| vps-scripts/test-*.sh | Validation and integration test scripts for VPS setup |
| scripts/easy-install.sh | One-command wrapper for simplified VPS installation |
| scripts/client-auto-setup.sh | Automated router client configuration script |
| scripts/auto-pair.sh | Bidirectional VPS-router pairing system with QR code support |
| config-bpi-* | Comprehensive hardware driver configurations for all Banana Pi models |
| common/package/modems/src/data/* | Issue: Modem configuration files with "boudrate" typo (should be "baudrate") |
| common/package/modems/files/* | RM551E modem initialization, monitoring, and optimization scripts |
| common/package/modems/Makefile | Package build configuration with hotplug and init script installation |
| common/package/luci-theme-omr-optimized/* | Modern responsive theme with CSS, JavaScript, and Lua templates |
| patches/mt76-wifi7-optimizations.patch | WiFi 7 compiler flag additions for MT7996 chipset |
| config | Enhanced multi-WAN bonding kernel modules and network drivers |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @@ -0,0 +1 @@ | |||
| debian9-x86_64.sh No newline at end of file | |||
There was a problem hiding this comment.
The file vps-scripts/install.sh contains only a single line debian9-x86_64.sh without a shebang or proper script structure. This appears to be incomplete or incorrectly formatted. It should either be a proper shell script with a shebang and executable commands, or if it's meant to reference another script, it should use proper shell syntax (e.g., source or ./).
| "desc": "Quectel RM551E-GL 5G (NCM mode)", | ||
| "type": "cdc_ncm", | ||
| "control": 4, | ||
| "boudrate": 115200, |
There was a problem hiding this comment.
Spelling error: "boudrate" should be "baudrate" in the modem configuration. This is a technical term referring to baud rate (communication speed) and should be spelled correctly.
| "desc": "Quectel RM551E-GL 5G (RNDIS mode)", | ||
| "type": "rndis_host", | ||
| "control": 2, | ||
| "boudrate": 115200, |
There was a problem hiding this comment.
Spelling error: "boudrate" should be "baudrate". This typo appears in all four modem configuration files (2c7c-0800, 2c7c-0801, 2c7c-0900, 2c7c-0901) and should be corrected for consistency and technical accuracy.
| "desc": "Quectel RM551E-GL 5G", | ||
| "type": "qmi_wwan", | ||
| "control": 4, | ||
| "boudrate": 115200, |
There was a problem hiding this comment.
Spelling error: "boudrate" should be "baudrate".
| "desc": "Quectel RM551E-GL 5G (MBIM mode)", | ||
| "type": "cdc_mbim", | ||
| "control": 4, | ||
| "boudrate": 115200, |
There was a problem hiding this comment.
Spelling error: "boudrate" should be "baudrate".
Thanks for your contribution to OpenMPTCProuter!
You need to follow contributing rules.
Please remove this message before posting the pull request.