Commit Graph
31 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 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
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 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 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 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 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 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 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 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 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
lotherkandClaude Opus 5.5 5233d8297a mobile: mark the booted A/B slot successful from Linux
The bootloader counts a slot's retries down on every boot until the slot
is marked successful, and at 0 stops on "image destroyed" without falling
back to the other slot (measured).  qcom-ab-slot (soc/sm8150/rootfs, POSIX
sh) sets the successful bit of boot_<slot> in byte 6 of its GPT
attributes, in the primary and the backup table with both CRCs, checking
both before and after -- the edit qbootctl makes (docs/reference/
qbootctl.txt).  The runit service slot-successful runs it once sshd runs;
tools/mkrootimg.sh copies soc/<soc>/rootfs and rootfs-<base> into the
image.

Measured on hotdogb: after a flash (retry 7, not successful) the first
boot marks the slot at 6.4 s; fastboot then reports
slot-successful:a:yes and the retry count no longer drops.

devices/hotdogb/AGENTS.md: a rarer hang remains, 2 of 10 boots with
kernel patch 0003.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 21:12:16 +00:00
lotherkandClaude Sonnet 5.5 840782e24c sysinst, media, tests: desktop defaults, four CDs, Portuguese, AHCI test VMs
- sysinst simple mode: sshd on with root login by password, npf firewall,
  mDNS (mdnsd, nsswitch), PulseAudio, CUPS, dbus; extra programs from N
  package CDs (extras.c); cgd root fix (mnt2_mounted)
- Portuguese (pt_BR) catalogs and patch 0013; welcome text for DVD/CDs
- media: console=auto (0008), RAM-disk installer with two CDs (0012),
  package CDs and DVD packages (cd3.sh), userland.sh for the build VM
- tests: line-by-line checks, mDNS pattern, UEFI Enter loop, VMSH_AHCI
  (QEMU 11.1.2 loses PIIX IDE interrupts under load)
- docs: UPDATING.md, npf-default.conf, AGENTS.md updates

Measured 2026-11-07: simple 37 PASS, DVD+sources 42 PASS, cgd BIOS 35 PASS;
cgd UEFI with console=auto not green yet.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 21:09:35 +00:00
lotherkandClaude Sonnet 5.5 b83aaa425b docs: GOAL, AGENTS.md in every directory, build VM, offline build, references
Measurements named with their logs: the installs (BIOS, UEFI, encrypted, two CDs), the NetBSD self-build in the build VM (2 h 02 min, stopping only at checkflist for the missing userland), 9p and NFS against the local disk.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 12:53:21 +00:00
lotherkandClaude Opus 5.5 0cf14ec379 mobile: root image on userdata, Void (runit) boots on hotdogb
tools/mkrootimg.sh makes an ext4 image with the device's ROOT_UUID from the
base's rootfs tar, the kernel modules, fstab, a usb0 profile and the root
password (ROOT_PASSWORD, default makronix); tools/flash-root.sh writes it to
ROOT_PARTITION (userdata).  mkbootimg.sh appends pmos_root_uuid=$ROOT_UUID;
the pmOS UUIDs left the cmdline.  BASE defaults to void.

Measured: Void reaches "void login:" with runit, sshd and NetworkManager, with
the baseline kernel on slot a.  The pinned kernel tree's build garbles the
display and does not reach the initramfs (devices/hotdogb/AGENTS.md).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 11:30:02 +00:00
makronix fbe0f4ed1b handoff: measured state of the FDE medium, and the build order that fixes it
The installer cannot read its own CD: cd9660.kmod is 62 hours older than the
kernel inside the same ISO, so the module does not load. build.sh iso-image
only packages releasedir; the kmods come from distribution. Two steps, in this
order, with the timestamp check as the gate.

docs/HANDOFF-2026-11-05.md carries the measurements, the file map and what is
already proven (unencrypted GPT/EFI install boots to login:).
2026-11-05 16:00:21 +00:00
Makronix 0636e6ea15 reference: the install image needs a writable medium, and what happens when it does not
The amd64 EFI install image remounts its root read-write and copies
/tmp/gettytab into etc (distrib/amd64/installimage/etc.rc:39,46).  On a
read-only device the kernel accepts the remount and every write returns EIO,
which is the ld0d fsbn-264208 and gettytab transcript the boot failure was
reported as.  Measured both ways on the medium this tree built (2026-11-04):
attached writable it reaches install.sh, attached readonly=on it reproduces
the card.  The CD needs no writable medium -- tmpfs union on etc plus a
gettytab symlink.

Also corrects docs/reference/boot-cfg-timeout.txt section 9: install-image
does build; those runs failed on a stale work.fstab in an object directory
that is not used, because the EFI target builds inside src/.
2026-11-04 23:26:15 +00:00
makronix 9b62ae139d boot.cfg: the amd64 media declare a 5 second menu timeout, and what boots is measured.
The five amd64 boot.cfg.in files carried upstream's 30.  What a medium
actually waits comes from /boot.cfg, and on this tree's media that file is the
etc set's (distrib/sets/lists/etc/md.amd64:3), extracted after the medium's
own copy; measured with tools/boottimeout-probe.py on the built CD: countdown
5,4,3,2,1, menu gone at 5.8s; the same image with that byte set to 9 counts
from 9 and leaves the menu at 16.5s.  The patch makes the declared value equal
to the value that boots.

docs/reference/boot-cfg-timeout.txt records the quotes and the finding;
build/logs/t-d1972f2e-media.log is the release that carried it (rc=0).
2026-11-04 22:28:25 +00:00