Files
mu300-linux/kernel
Abdurrahman Kaan DikeçandClaude Opus 5.5 362f27eba6 ZTE U30 Air support: same kernel, its own charger modules; init finds misc and boot_b after the eMMC driver loads
The U30 Air is the F50's board (ums9620_2h10_feimao) with a battery and ZTE's SQC charger stack. On the F50 set of
modules its charger manager never probed and USB stayed down. Now:
- kernel/u30air.fragment + build-u30air.sh: the stock U30 Air config differences, built as modules next to the
  MU300 build (the Image stays the same; vmlinux exports are compared), keeping only the 15 modules that differ
- boot/module-order-u30air.txt and --device-modules/--device in build-boot-image.py; init picks the set from
  /etc/mu300-device or the device tree (charger_policy_service), only for the kernel it was built for
- init looked for misc and boot_b before the vendor modules loaded sdhci-sprd: the lookup waited 20 s for
  nothing and slot a was never restored, and there was no persistent log. It now runs after the modules.
- installers and uninstallers accept the U30 Air; tools/backup-full.sh backs up a whole device before a port

Tested on a U30 Air (5.4, Ubuntu 24.04): 93/93 modules, USB network, Wi-Fi AP, Bluetooth, battery and charger
in /sys/class/power_supply, system "running" with no failed units, misc restored at 12 s.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AeuDBrAce8rrgSJDbFJQGN
2026-09-28 00:18:23 +03:00
..