Files
makronix/mobile/base/void/packages
T
lotherkandClaude Opus 5.5 4ea31d69c1 mobile: hotdogb modem, WLAN, charger and fuel gauge
- kernel/patches 0014-0016: ath10k keeps the WCN powered from probe
  (qcom,keep-powered); the modem with its firmware from the phone's
  partition, WLAN, rmtfs outside the TZ region; charger and the bq27411
  fuel gauge.
- firmware-partitions maps the modem partition too;
  /usr/lib/firmware/qcom/sm8150/partitions links there for tqftpserv.
- wlan-board and ath10k-board: the phone's own WLAN board data from
  persist, as board-2.bin under /run, before ath10k loads.
- qcom_pd_mapper in stage 1, so the modem's WLAN domain starts.
- base/void: rmtfs, tqftpserv (services), linux-firmware-network.

Measured: wlan0 up, a scan finds 12 networks, Bluetooth alongside, the
charger charges, the gauge reads 4.433 V / 100 %.  Open: the display
white in some boots, and one sysrq reboot that ended switched off
(devices/hotdogb/AGENTS.md).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 15:17:42 +00:00

42 lines
1.3 KiB
Plaintext

# The system layer of Makronix Mobile on Void: what Void provides, and only that.
# One xbps package a line; '#' starts a comment. base-system is already in
# the ROOTFS (glibc, runit, eudev, xbps, openssl, ...). The userland (X11,
# CDE, the makronix set) is pkgsrc's, in /usr/pkg.
#
# Rule as for base/debian/packages: here only what the phone cannot boot,
# log in, reach the network or drive its hardware without.
# session and device access (no systemd: elogind + polkit)
dbus
elogind
polkit
# login and administration
sudo
openssh
# network
NetworkManager
wpa_supplicant
iproute2
chrony
# DHCP for the host on the USB network (usb0-dhcp), so the host keeps its
# address after the initramfs is gone or the cable is replugged
dnsmasq
# Bluetooth: the stack for the kernel's hci (WCN3998 on hotdogb)
bluez
# the modem's userspace on Qualcomm phones: its file systems from the EFS
# partitions (rmtfs, read-only: Void's -r keeps writes in memory) and its
# files over QRTR (tqftpserv: wlanmdsp.mbn for WLAN); the PD mapper is the
# kernel's (qcom_pd_mapper)
rmtfs
tqftpserv
# WLAN firmware for the host side (ath10k WCN3990 firmware-5.bin, board-2.bin)
linux-firmware-network
# graphics stack: the kernel's DRM needs Mesa's userspace
mesa-dri
libinput
# certificates and filesystems the phone's partitions use
ca-certificates
e2fsprogs
f2fs-tools
dosfstools