Commit Graph

19 Commits

Author SHA1 Message Date
3d73e6c59d install.sh: mask sysstat, replace dphys-swapfile with fstab entry
Round-3 cold-boot trims:
- mask sysstat.service (sadc CPU/IO logger; nothing reads it).
- mask dphys-swapfile.service and add /var/swap to /etc/fstab so swap
  is brought up by systemd at local-fs.target instead of by an LSB
  wrapper that re-checks the swap file size on every boot.

Both are reversible: `systemctl unmask <unit>` and remove the fstab
line. Before doing the dphys swap, install.sh verifies /var/swap
exists; on a fresh image where the file hasn't been created yet,
nothing is changed and dphys-swapfile keeps running normally.

Userspace boot 11.5s -> 10.7-11.4s on clean runs; bbctrl listen
unchanged at boot+10.4s (the saving moves to chromium/multi-user).
2026-05-01 10:31:40 +02:00
860ca30aba install.sh: ship cold-boot optimisations with firmware updates
Persist the cold-boot wins (was: only manually deployed via
tmp/20260501_restart_timing/deploy-fast.sh, would silently revert on
the next prod firmware update).

- Install bbserial-rebind.service alongside bbctrl.service and enable
  it. Eliminates the rc.local bbserial reload mid-boot.
- Prefer scripts/rc.local.fast over scripts/rc.local when present.
  Legacy rc.local left as a fallback for old firmware tarballs.
- Mask plymouth-read-write, plymouth-quit-wait, and raspi-config.
  Together these were ~6s of userspace startup that bought nothing
  on a deployed Onefinity Pi.

Cumulative: bbctrl listening at boot+10.6s (was 20.6s), userspace
boot 11.5s (was ~13s), bbctrl.service @2.9s in critical-chain (was
@6.5s after the first optimisation pass).
2026-05-01 10:15:35 +02:00
David A. Carley
eced4c7d6f Update install.sh
Force chromium to restart to see cookie changes
2021-12-08 10:26:30 -08:00
David Carley
5b1702c62a Changed default speeds on PWM to 6000/24000, and clean up old cookies 2021-12-07 19:15:13 -08:00
David Carley
78fce9e9da Fix for laser zeroing - only honor "dynamic power" when running a gcode program. 2021-10-05 23:09:06 -07:00
David Carley
d095b2c739 Don't clean the drive so aggressively 2021-03-10 14:40:50 -08:00
OneFinityCNC
2e166e95e9 Merge pull request #34 from dacarley/revert-resolution-change
Revert the resolution change for now
2021-03-10 13:15:56 -05:00
OneFinityCNC
bad0c7e05c Merge branch '1.0.7-devel' into fix-offline-install 2021-03-10 13:14:13 -05:00
David Carley
f6f6e1c6b9 Revert the resolution change for now 2021-03-10 07:43:27 -08:00
David Carley
937f30d844 Run logrotate at boot 2021-03-09 23:48:03 -08:00
David Carley
4571fe10e8 Fixed offline installs, with local copy of py libs 2021-03-09 22:59:43 -08:00
David Carley
851ec31b0c Added drive cleanup to the upgrade process 2021-03-07 23:57:24 -08:00
David Carley
55c0ec844e Automatically resize the root filesystem if needed 2021-03-07 21:21:35 -08:00
OneFinityCNC
1f8a743f65 Merge pull request #24 from dacarley/watch-for-uploaded-files
Added a filesystem watcher for uploaded files
2021-03-06 14:51:52 -05:00
David Carley
814d1cdd80 Added the watchdog python lib to the installer 2021-03-06 10:40:43 -08:00
David Carley
f49649b020 Fixed a bug, added the ratpoison config file 2021-03-06 09:25:14 -08:00
David Carley
9ef4444648 Allow rPi to use full screen resolution 2021-03-06 09:16:48 -08:00
OneFinityCNC
a0ae0a4e30 1.0.6 Firmware release. More Github cleanup. 2021-02-28 00:58:19 -05:00
OneFinityCNC
24dfa6c64d Verison 1.0.3 Release
Based on Buildbotics 0.4.14
2020-08-27 23:20:27 -04:00