From 11da387ffafb08f7744fd0ccc43ec2ff1d8ac836 Mon Sep 17 00:00:00 2001 From: BlackMark Date: Wed, 2 Sep 2026 09:33:48 +0200 Subject: [PATCH] deps, build: the pins catch up, and the loader is built here now Fifty-two libavr commits and twenty-seven of pureboot behind, which is far enough that "it still builds" is not the interesting part. It builds, both modes, byte-identical across them, five checks green - and the image is **byte-for-byte the 8004 B the board is running**, so the catch-up costs this deployment nothing and a redeploy was ruled out by comparison rather than skipped by assumption. The loader is the gap that mattered. pureboot rode as a submodule for its geometry alone, so the commit that pinned this firmware did not build the one image this board cannot be recovered without - the same hole tempmon had. `pureboot_add_loader(pureboot)` closes it on nothing but pureboot's own defaults for the chip, and the 386 B it produces is byte-for-byte what the board's slot reads back. Co-Authored-By: Claude Opus 5 --- CMakeLists.txt | 10 ++++++++++ libavr | 2 +- pureboot | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d9e7c46..40ec898 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,5 +37,15 @@ add_custom_command(TARGET fantemp POST_BUILD COMMAND ${CMAKE_OBJCOPY} -O ihex -R .eeprom $ $/fantemp.hex) +# The board's loader, built here rather than named from memory: consuming +# pureboot for its geometry alone left the one image this deployment cannot be +# recovered without outside the repository that pins it. Every parameter is +# pureboot's own default for this chip - USART0 at 115200 on the 16 MHz crystal +# `src/board.hpp` declares - and that is measured rather than assumed, the +# image being byte-for-byte the 386 B the board's slot reads back. It goes on +# over the wire (`--update-loader`), which is why there is no flash target +# beside it: no programmer has ever been in this board's path. +pureboot_add_loader(pureboot) + enable_testing() add_subdirectory(test) diff --git a/libavr b/libavr index 3678ed7..5c46aad 160000 --- a/libavr +++ b/libavr @@ -1 +1 @@ -Subproject commit 3678ed7e5bb90f16021390fa3f877e9d1d2129db +Subproject commit 5c46aad5d471d547ed0a637072d5e95f427df54f diff --git a/pureboot b/pureboot index 416ee18..195d7cd 160000 --- a/pureboot +++ b/pureboot @@ -1 +1 @@ -Subproject commit 416ee188e1724e9b871722d279be9b5eedd4b653 +Subproject commit 195d7cd19aab921d53df83d9655c9a5f100d7720