mirror of
https://github.com/openglow-org/forgefirm.git
synced 2026-09-28 09:11:11 -07:00
- Controllers stop at K80, before forgectrl at K90: runlevel 0/6 no longer tears down the cooling engine, fire gates, and broker while a controller may still be executing a job. - The grblhal/gfcloud init scripts are real emergency levers: stop routes through the supervisor (POST /controller/stop - a bare pkill was safed and respawned seconds later), start resumes supervision, status exists, and the pkill fallback matches full executable paths instead of truncated names or bare substrings. - slotmigrate: the partition grow gets the same 2048-sector tolerance as the filesystem branch (an exact compare rewrote the MBR at S02 on every boot on disks where the grow cannot land on the last sector), verifies it made progress, and the resize2fs retry is bounded at three attempts with the counter kept on p3 itself. - Installer: archive product/platform are verified after the signature, and a validly signed OLDER release now requires an explicit yes instead of installing as a silent downgrade. All predictable /tmp paths in the installer and ffboot are mktemp now. - release.sh rejects multiple positional versions (the last one used to win silently) and a release without factory-era verification dies unless explicitly bypassed; mkfw.sh refuses to pack when the public key for the post-sign self-check is missing. - forgefirm-logrotate: size-capped rotation (boot + hourly) for the /data logs - a full /data breaks settings, update staging, and the controllers own writes. - Bench build scripts derive every path from their own location or FF_SRC_TOP/FF_BUILD_TOP and log to mktemp files.
35 lines
1.2 KiB
BlitzBasic
35 lines
1.2 KiB
BlitzBasic
DESCRIPTION = "grblHAL motion controller for the Glowforge factory board"
|
|
HOMEPAGE = "https://github.com/ScottW514/grblHAL-glowforge"
|
|
|
|
LICENSE = "GPL-3.0-or-later"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=3237e48bcef3455c7bea5c0ce16206f6"
|
|
|
|
PV = "0.1.0"
|
|
|
|
# gitsm: the grblHAL core rides as a submodule (ScottW514/core, branch
|
|
# forgefirm = upstream master + the step_us_min buffer fix pending
|
|
# upstream).
|
|
SRC_URI = "gitsm://github.com/ScottW514/grblHAL-glowforge.git;protocol=https;branch=main"
|
|
# Pinned; bump deliberately after pushing grblHAL-glowforge changes.
|
|
SRCREV = "e6165487be47d028185214016bd82a544f90ea7e"
|
|
|
|
SRC_URI += "file://grblhal.init"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit cmake update-rc.d
|
|
|
|
INITSCRIPT_NAME = "grblhal"
|
|
# stop 80 < forgectrl's 90: at runlevel 0/6 the controller goes down
|
|
# BEFORE the daemon that carries the cooling engine, fire gates, and
|
|
# broker - never the other way around.
|
|
INITSCRIPT_PARAMS = "start 92 2 3 4 5 . stop 80 0 1 6 ."
|
|
|
|
do_install:append() {
|
|
install -d ${D}${sysconfdir}/init.d
|
|
install -m 0755 ${WORKDIR}/grblhal.init ${D}${sysconfdir}/init.d/grblhal
|
|
}
|
|
|
|
# The controller streams into /dev/glowforge (glowforge.ko) at runtime.
|
|
RRECOMMENDS:${PN} = "kernel-module-glowforge"
|