mirror of
https://github.com/dikeckaan/mu300-linux.git
synced 2026-12-05 08:02:40 +00:00
- mu300-toolkit: raspi-config style menu and live monitor (per-core load/frequency, RAM, temperatures, throttling, network rates, eMMC I/O, processes), eco/balanced/performance profiles re-applied at boot, network/VPN/services/system menus; POSIX sh + awk, works with dash/mawk and busybox - mu300-vpn: sing-box VLESS client with TUN auto_route for the device and its clients, nft kill switch on cellular egress; settings in /etc/mu300/vpn.conf (vpn.conf.example), systemd unit and procd init - tools/fetch-sing-box.sh downloads sing-box 1.14.1 and checks its sha256; both rootfs builds pick it up - display setup.sh: create ~/.config owned by the user (install -d -o only owns the last component) Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017Z17MBkdHmZPvNPNSLxcHk
USB-C DisplayPort / HDMI (5.4 kernel, experimental)
The F50/MU300 device tree ships with the USB-PD block (pd@e00) and the DisplayPort controller (dptx@31890000)
disabled, and ZTE's kernel config leaves the Unisoc display driver out. kernel/build-display.sh builds:
sprd-drm.ko: Unisoc DRM (DPU1 + DPTX; DPU0/DSI linked but disabled at runtime)sc27xx_pd.ko: PMIC USB-PD PHY for the TCPM; the missingconnectornode is replaced by a dual-role software nodemu300-dp-enable.ko: marks PD/DPTX "okay" (and the panel-less DPU0/DSI "disabled") at runtime and creates the devices
Install the modules (with unisoc-iommu.ko and sprd_typec_displayport.ko from the kernel build) in
/usr/lib/modules/<release>/display/, blacklist autoloading of sprd_drm and sc27xx_pd, then setup.sh installs:
mu300-display.service: loads the stack in order at boot (/dev/dri/card0, connectorDP-1)mu300-desktop.service: labwc (Wayland) asubuntuonce a monitor is connected; the 5.4 kernel has no VT, so it runs withLIBSEAT_BACKEND=noopand the pixman renderermu300-hdmi-test: color bars throughmodetest(stop the desktop first)
Packages: libdrm-tests labwc foot waybar swaybg wlr-randr xwayland fonts-dejavu-core.
The adapter must use DisplayPort alternate mode (not DisplayLink). It occupies the only USB-C port, so power the device through the adapter's PD input and use the Wi-Fi hotspot for SSH.
Status (2026-09-17): no image, USB-PD receives nothing
- The DRM side works (
/dev/dri/card0, connectorDP-1), but DisplayPort alternate mode needs a USB-PD contract and the PMIC PD PHY never reports a received message or RX interrupt: not from a dock, not from a PD charger, not even withsc27xx_pdloaded from the initramfs 2.3 s after kernel start (inside the source's Source_Capabilities window). ZTE ships this node disabled and Android never uses PD on this product. sc27xx_pdis patched to find the AON APB syscon (26 MHz sine driver for the PD PHY) and to suppress hard resets: the device has no battery and a PD source drops VBUS on hard reset. Leave the services disabled.mu300-pd-log.service: appends Type-C/PD/DP kernel messages per boot, for tests on a dock/charger.