Commit Graph
104 Commits
Author SHA1 Message Date
lotherkandClaude Opus 5.5 4e22a7aa9b patch 0018: /source on both sticks, both DVD-sized (4482 MiB); no UEFI stick test under QEMU
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>
2026-11-09 19:33:52 +00:00
lotherkandClaude Opus 5.5 88a1dfdc58 NEXT.md 3.7: halve the questions of the Makronix way (34 keys today)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 19:31:52 +00:00
lotherkandClaude Opus 5.5 32a13997ab GOAL.md: sysinst has the Makronix way (Mac OS X-simple, setup before the reboot) and the NetBSD way; simple-mode finish measured
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 19:29:43 +00:00
lotherkandClaude Opus 5.5 3b72bc1e18 GOAL.md: MCDE, the desktop like Mac OS X 10.4-10.6 built with CDE/Motif/Xlib only
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 19:28:13 +00:00
lotherkandClaude Opus 5.5 55dd380c6c GOAL.md: upgrades as simple as Mac OS X 10.4-10.6 (sysupgrade, registered packages, one command); syspkgs dropped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 19:24:31 +00:00
lotherkandClaude Opus 5.5 76cc356c68 docs/reference/syspkgs.txt: what build.sh syspkgs is (read 2026-11-09)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 19:24:28 +00:00
lotherkandClaude Opus 5.5 89d98124bb patch 0018 rewritten clean, 0019 records the motd; NEXT.md: the efiboot claim is not measured
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>
2026-11-09 18:45:44 +00:00
lotherk 1615fe2ef3 fix 0018: /source only on BIOS USB (GPT 7GB FFS breaks efiboot, 2026-11-09d); test usb-bios+sources, smoke usb-uefi 2026-11-09 11:59:52 +00:00
lotherk c21721cb63 docs: 3.1 step 6 (sysinst simple mode config-menu flow, wsrc); NEXT.md 3.2 status 2026-11-09 09:40:04 +00:00
lotherk 9312fd095a patch 0018: MD_IMGSPEC_DIRS so /source gets makefs spec entries 2026-11-09 09:38:19 +00:00
lotherkandClaude Opus 5.5 e723962ac1 patch 0018: the source sets on both install images; make test installs from the stick (UEFI)
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>
2026-11-09 08:41:11 +00:00
lotherkandClaude Opus 5.5 e92badb52c NEXT.md: source sets on the stick, patch 0018 staged; install-simple -U checks the sources
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 08:01:48 +00:00
lotherkandClaude Opus 5.5 861608eaaa AGENTS.md: make usb, compress, test; tools/AGENTS.md: cd-com0.sh, -U, VMSH_AHCI
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>
2026-11-09 07:54:37 +00:00
lotherkandClaude Opus 5.5 0b4d2a9e34 sysinst simple mode: network, root password and user from the configuration menu
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>
2026-11-09 07:50:33 +00:00
lotherkandClaude Sonnet 5.5 6c7125e6bd docs/NEXT.md: the EFI Boot measurement is done
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 07:20:57 +00:00
lotherkandClaude Sonnet 5.5 f1ce95152e PLATFORMS: the plain UEFI image boots a MacBookPro8,1 via EFI Boot
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 07:20:50 +00:00
lotherkandClaude Opus 5.5 6a71779264 mobile: docs/NEXT.md: detailed instructions for continuing (WLAN race, persistent /data with /etc overlay, BT, slot b)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 07:19:29 +00:00
lotherkandClaude Sonnet 5.5 b11fbf09ad docs/NEXT.md: no apple-amd64 in the chain
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 07:19:28 +00:00
lotherkandClaude Sonnet 5.5 074f559615 Remove the Apple special image: no tools/apple-image.sh, no make apple-amd64
A Mac that needs rEFInd boots a rEFInd stick and picks the Makronix stick.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 07:19:24 +00:00
lotherkandClaude Sonnet 5.5 338df2ba6a docs/NEXT.md: the installed Mac boots with NetBSD's loader, no rEFInd on the disk
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 07:18:32 +00:00
lotherkandClaude Opus 5.5 1c1f2ab04e mobile: HANDOFF: persistent data across updates, Android's system/data split as the model
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 07:16:27 +00:00
lotherkandClaude Sonnet 5.5 c41a9418e0 docs/NEXT.md: work plan for the hand-over (2026-11-09)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 07:15:25 +00:00
lotherkandClaude Opus 5.5 a2c6cd1347 mobile: hotdogb bt-address as a service with re-probe, rmtfs waits for tqftpserv, boot-loop tool, handoff
- 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>
2026-11-09 07:14:26 +00:00
lotherkandClaude Sonnet 5.5 b0dd9322c2 sysinst: the extra programs are installed without a question
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 06:17:38 +00:00
lotherkandClaude Sonnet 5.5 dbd45ff4f0 images raw, packed on request: images.sh, make compress; apple image raw; tests take raw images
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 22:13:25 +00:00
lotherkandClaude Sonnet 5.5 5f506e9dd2 sysinst run.c: the output helpers come before launch_subwin
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 20:21:19 +00:00
lotherkandClaude Sonnet 5.5 d6beb4e47f sysinst: say why a command failed; clear the disk's ends before the simple mode partitions
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 20:19:42 +00:00
lotherkandClaude Opus 5.5 45125223af mobile: hotdogb stable WLAN address; display test tools
- 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>
2026-11-08 19:34:34 +00:00
lotherkandClaude Opus 5.5 fd0e21d238 mobile: hotdogb white display solved: initialise the panel instead of taking it over
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>
2026-11-08 19:27:27 +00:00
lotherkandClaude Sonnet 5.5 2b5755498c apple-image: the image goes to the release directory with its checksums
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 18:22:39 +00:00
lotherkandClaude Sonnet 5.5 24d85d1ed0 Makefile: the target is apple-amd64
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 18:19:48 +00:00
lotherkandClaude Sonnet 5.5 f27c8d6f96 Makefile: make apple (rEFInd image from the existing install image)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 18:19:24 +00:00
lotherkandClaude Sonnet 5.5 6322dde7e9 tools/apple-image.sh: install image for Intel Macs with rEFInd in front
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>
2026-11-08 18:06:57 +00:00
lotherkandClaude Opus 5.5 7cb8370e98 mobile: hotdogb "switched off" explained: power key, and a hang when the modem stops under ath10k
- 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>
2026-11-08 17:25:37 +00:00
lotherkandClaude Sonnet 5.5 035aff1794 logo: palette-driven theme, 0.99.9 is Camouflage; 'based on NetBSD' without version
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 16:10:48 +00:00
lotherkandClaude Sonnet 5.5 d79574705f logo: smaller 'based on NetBSD' line
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 16:07:09 +00:00
lotherkandClaude Sonnet 5.5 879beda8c6 make test: media check, one full installation (DVD), smoke tests; patch 0016: packages on the MBR image
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 16:06:13 +00:00
lotherkandClaude Sonnet 5.5 49aaf27498 logo: square form, XPM for dtlogin, ASCII form for the console
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 16:05:41 +00:00
lotherkandClaude Sonnet 5.5 eb1fe93525 docs/logo: Makronix logo, 90s Motif style
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 16:00:10 +00:00
lotherkandClaude Opus 5.5 9803d925be mobile: hotdogb clears the bootloader's blend stages; the white display measured, still open
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>
2026-11-08 15:58:08 +00:00
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
lotherkandClaude Opus 5.5 68c3b65b20 mobile: hotdogb Bluetooth, firmware from the phone's own partitions
- 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>
2026-11-08 14:21:21 +00:00
lotherkandClaude Sonnet 5.5 2cda72050a Rebrand: Makronix 0.99.9, based on NetBSD
Kernel banner, boot loaders, motd, /etc/release, getty banner, boot.cfg menus,
sysinst messages and the media names say Makronix (patch 0015, overlay).
kern.ostype stays NetBSD on purpose.  install-simple: 38 PASS.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 13:52:49 +00:00
lotherkandClaude Sonnet 5.5 588e8ded5c PLATFORMS: board support checked in the tree
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 13:48:47 +00:00
lotherkandClaude Sonnet 5.5 4a66afedb6 GOAL, PLATFORMS: Raspberry Pi 4/Zero 2 W, ODROID M1/N2/U3+ as targets
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 13:47:39 +00:00
lotherkandClaude Sonnet 5.5 fa6936c000 GOAL: make release builds the media of all supported platforms
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 13:47:20 +00:00
lotherkandClaude Sonnet 5.5 9fa3a1eed9 PLATFORMS: QEMU for PowerPC and aarch64 installed
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 13:46:10 +00:00
lotherkandClaude Opus 5.5 d29094e24f mobile: our initramfs replaces pmOS's in the boot image
- 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>
2026-11-08 13:45:42 +00:00
lotherkandClaude Sonnet 5.5 bb2e63e1b8 settings: sudo allowed for the AI session (Konrad, 2026-11-08)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 13:45:16 +00:00
lotherkandClaude Sonnet 5.5 bcdb727059 GOAL, PLATFORMS: platforms with QEMU tests, names, planned pkgsrc X and in-tree src
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 13:31:40 +00:00