The 3 GB GPT image without /source fails the same way under OVMF from USB
(test-smoke-usb-uefi-2026-11-09.log), so the size was never the cause.
make test installs fully from the GPT stick through its BIOS path.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The hand-edited 0018 of 1615fe2 was malformed (patch: line 70) and src/ had
drifted from it. Regenerated with diff -u from a/ and b/: MD_IMGSPEC_DIRS and
/source on the BIOS image; the GPT image is left alone until a 3 GB GPT image
has been booted under QEMU/OVMF for comparison. Removed debug printf from
efiboot (unrecorded in src/), recorded etc/motd.current as 0019.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sysinst finds them in /source/sets when it runs from the stick (main.c:144)
and installs them in the simple mode (util.c:1536). Chain 2026-11-09c
proved the config-menu flow of 0b4d2a9 up to the reboot.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Written by opencode (iceman-contributor-free), checked against Makefile:79-92,
tools/test.sh, tools/vmsh.sh:97-100, tools/cd-com0.sh:7-12.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
setup.c calls set_network/add_new_user (configmenu.c wrappers) and
root_pw_setup while the target is mounted, instead of its own forms;
ordinary users get the desktop groups afterwards. dup_file_into_target
copies only a source that exists. Tests answer the new prompts.
Not built yet.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- bt-address runs as a runit service (no longer from udev, where its wait
for wlan0 held up the WLAN modules); on failure it re-probes the
controller (unbind/bind of hci_uart_qca), three attempts.
- rmtfs (which starts the modem) waits for tqftpserv.
- tools/boot-loop.sh: N reboots with a check per boot, every wait
bounded; tools/checks/ holds the checks.
- docs/HANDOFF.md: how to work with the phone, what works, what is open
(WLAN missing in 2-3 boots of 15 -- the modem's WLAN QMI service never
appears -- first).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- wlan-address (udev) and NetworkManager's conf.d: a WLAN address derived
from the serial number, kept across boots. With a random one per boot
the router's DHCP pool ran out after a day of test boots; with it the
phone got its lease at once.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
kernel/patches/0019: the panel driver resets the panel and sends the
stock 7T sequence by default. Taking over ABL's panel state gave a white
panel in 25 of 90 boots, the full init in 0 of 40, counted with a camera
on the screen: tools/phone-screen.sh (brightness of the screen in a
camera frame) and tools/display-loop.sh (N reboots, screen, SMMU faults,
panel state, msm/DSI interrupt rates per boot).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MacBookPro8,1 has EFI 1.1 by Apple; NetBSD's EFI loader stops after loading the
kernel there (gnats 58279). rEFInd 0.14.2 (pinned SHA-256) starts the loader.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- elogind: a short press on the power key no longer powers the phone off
(base/void/rootfs, logind.conf.d).
- runit stage 3: ath10k is unloaded before rmtfs stops the modem; with it
loaded the system hung after "stopped remote processor modem" and the
watchdog left it in crash-dump mode (05c6:900e).
- kernel/patches/0018: qcom_scm clears the bootloader's download-mode bit.
Measured: reboot-mode bootloader with WLAN connected reaches fastboot in
12 s; make flash end to end on 7.0.0-sm8150-g6b20b1b06323, WLAN
reconnects by itself.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
kernel/patches/0017: msm clears the blend stages ABL leaves in ctl_0
(sspp_0 on LM_0, sspp_1 on LM_1, both reading the boot framebuffer) when
it takes over. The SMMU faults on the boot framebuffer went away in two
boots of four. The white display is not explained by them nor by the
panel's compression state: devices/hotdogb/AGENTS.md has the table.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 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>
- kernel/patches/0013: WCN3998 on uart13 in the DTS.
- firmware-partitions (soc/sm8150/rootfs, stage 1 before udev): mounts the
partitions /etc/makronix/firmware-partitions names, of the active slot,
read-only under /run and puts them first in firmware_class.path; the
vendor's signed firmware stays on the phone and out of our images.
- bt-address (udev rule): a stable, locally administered address from the
serial number for a controller that has none.
- base/void: bluez, bluetoothd.
Measured: firmware loaded from bluetooth_a, setup complete at 3.3 s, the
same address after a reboot, a scan finds 14 devices.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- base/initramfs/init builds the gadget with NCM and ACM at once: the root's
stage 1 no longer rebinds it, so the host keeps its link and address and
netconsole runs from 1.5 s.
- The root grows itself online to its partition
(base/void/rootfs/.../03-grow-root.sh), which the pmOS initramfs did;
tools/mkrootimg.sh copies base/<base>/rootfs/ before the SoC's files.
- tools/build-busybox.sh: SOURCE_DATE_EPOCH of the pinned source, so the
initramfs is reproducible; pinned in device.conf (4950e286679ca4fa).
- Makefile: INITRAMFS defaults to ours; bootimg checks the pins after the
inputs are built.
Measured on hotdogb: switch_root at 1.27 s (pmOS: about 3.5 s), a fresh
root grown from 281468 to 25493504 blocks, 10 of 10 warm reboots, no
WARNING, make flash end to end.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>