mirror of
https://github.com/openglow-org/forgefirm.git
synced 2026-09-30 18:11:13 -07:00
grblhal-glowforge: recipe with boot autostart
gitsm-pinned build of the controller with a sysvinit script (defaults 92, after forgectrl), installed in both images. Reboot-verified on the bench: controller and forgectrl come up unattended and Grbl answers on TCP:23.
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
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, carrying the settings-write crash fix PR'd upstream).
|
||||
SRC_URI = "gitsm://github.com/ScottW514/grblHAL-glowforge.git;protocol=https;branch=main"
|
||||
# Pinned; bump deliberately after pushing grblHAL-glowforge changes.
|
||||
SRCREV = "c421f20281bb399bdbb65a45e355b3d4ca912d1d"
|
||||
|
||||
SRC_URI += "file://grblhal.init"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit cmake update-rc.d
|
||||
|
||||
INITSCRIPT_NAME = "grblhal"
|
||||
INITSCRIPT_PARAMS = "defaults 92"
|
||||
|
||||
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"
|
||||
Reference in New Issue
Block a user