# SoftwareCannery phone stations: SOM-STM32F7 programmer + board inspector This machine is the stock brintos/linux-6.12-musl-bash-coreutils image (it boots to bash) plus the full source and a prebuilt copy of the SoftwareCannery phone stations in /opt/sc-station. Fork it to get your own copy. The stations do NOT run inside this brintos.io machine. They are a separate browser app (own page, boot worker, kernel with GLR1 + USB Ethernet drivers) that a phone's Chrome loads from an HTTPS image server. This repo is the source of record for that app. ## What is here /opt/sc-station/ src/h7-glr/ Rust station app (GLR1/egui). One binary, picks its job from /etc/h7.env: STATION=f7v2a SOM-STM32F7 V2A load + test (JTAG U-Boot program, console, TFTP kernel, SDRAM, NOR) STATION=inspect board inspector, INSPECT_BOARD picks the checklist (som-stm32f7-v2a, som-stm32h753-2a-top/-bottom) main.rs UI + steps, jtag.rs FTDI JTAG + F7 flash loader, console.rs, net.rs/tftp.rs (SR9700 USB Ethernet TFTP server), inspect.rs src/f7-flash-stub/ f7flash.s: SRAM flash loader (0x2004C000) used by jtag.rs src/appliance-boot/ browser page + boot worker (src/*.mjs, build.mjs -> dist/), loader-server.mjs (HTTPS image server, inspection limits), inspect-agent.mjs (photo inspection via the Claude API), inspect-knowledge/ + inspect-ref/ (per-board notes and reference photos) kernel/ station kernel changes: linux-local-changes.diff, sr9700.c, config fragments, kbuild_install.sh bundle/ prebuilt, served exactly as the image server serves it: kernel/current-glr.json + vmlinux-627cd763....wasm lib/ libc.so, libEGL, libGLESv2 (hash-named) station//manifest.json + index.html (+ fw/ for the F7) station/som-stm32h7-glr/img/h7-glr (the app binary) ## Stations (bundle/station) som-stm32f7-v2a station A (Galaxy): NET_IP 192.168.0.253, BOARD_IP .252 som-stm32f7-v2a-b station B (moto): NET_IP 192.168.0.251, BOARD_IP .254 board-inspector-h753-top / -bottom SOM-STM32H753-2A inspection checklists board-inspector SOM-STM32F7 V2A inspection Each manifest.json gives the kernel, init binary, libs, /etc/h7.env and the WebUSB vendor IDs. Copy a station dir and edit its env to make a new station. ## Build (BrintOS-Build server) h7-glr: cd src/h7-glr && ./build.sh (brintium emc-dev toolchain, wasm32-hwjs-linux-gnu) page + worker: cd src/appliance-boot && npm ci && node build.mjs kernel: kernel/kbuild_install.sh "" (linux-in-the-browser rust-target branch) serve: node src/appliance-boot/loader-server.mjs (HTTPS :8443, COOP/COEP; phones must trust SoftwareCannery-Root-CA.crt) inspector: needs ANTHROPIC_API_KEY (or ~/.anthropic-key) on the server; never commit it. ## Notes - F7 U-Boot program: 10.8 s full write, 3.5-6 s when already current (skip-if-identical; FORCE_FLASH=1 in env to always write). U-Boot stop key is "z". - SR9700 through WebUSB only accepts single-register writes (request 0x03); see kernel/sr9700.c. - Never set NET_IP=192.168.0.1 on the office LAN (that is the router). - Built 2026-11-13. Live server: https://159.223.207.122:8443