Things learned while building this, kept because each one cost time.
/dev/spidev5.0; there is no
hardware SPI5 on the RK3566. It is a bit-banged spi-gpio bus declared in
the DTB, so no overlay is needed (and armbianEnv.txt overlays are ignored
anyway: the boot script loads the DTB directly).reset_bobcat_g295.sh on start and stop. The script finds the right
gpiochip by label because chip numbers depend on probe order.sx1302_rns/patches/) lets it carry on.rnstatus, an announce script) before
rnsd is up. The first process becomes the shared instance, takes the
radio, and the real daemon attaches to it as a client. The installer waits
for the service's own "interface online" log line first.enable_transport = yes makes the node repeat announces it hears, which
doubles the airtime of every announce. It is the installer's default; use
--no-transport to turn it off.netplan set in 0.106 fails with "Duplicate access point SSID" when the SSID
is already defined. Edit the file instead. Netplan also rejects the same SSID
in two files.hidden: true.netplan apply does not remove virtual devices or always the in-memory
NetworkManager profile of a deleted definition; the revert script prunes
stale netplan-* profiles.dhcp-identifier and renders IPv6 as
ignore even with accept-ra.systemd-run --on-active=240 ...) and switch
from a detached job.pkill -f <pattern> can kill your own SSH shell when the pattern
appears in its command line; use pgrep -f '[b]in/rnsd'-style patterns.chrony syncs, which breaks TLS (apt, pip). First boot waits for sync.unattended-upgrades is enabled in the base image; the kernel, DTB and
U-Boot packages are held first thing so it cannot replace them.rk3566-bobcat.dtb directly and ignores
the fdtfile line in armbianEnv.txt.debugfs -w image?offset=N edits a filesystem inside a disk image. Read-only
debugfs and e2fsck -fn accept the same syntax. dumpe2fs does not on
every version (1.47.2 fails with "Unable to resolve '-h'"), so superblock
facts come from debugfs -R "stats -h".e2fsck -fy does not work through ?offset=: after replaying the journal
it re-opens the file by plain name and fails. Extract the partition, repair it,
write it back (repair_partition in image/lib.sh).debugfs writes
metadata directly; replaying the journal afterwards (at mount, or by e2fsck)
overwrites those edits with older logged blocks. The community flasher's
filesystem has one. Replay first, then edit; assert_clean_journal enforces it.debugfs leaves the
free-block counters stale; fix with an e2fsck -fy pass once the journal is clean.image/tools/gpt_tool.py).cp; copy with cat src > dst and compare
with cmp.--config, and --dry-run makes the whole thing
testable without hardware." and $(...) safely because nothing is evaluated.set -o pipefail pipeline: a failure
there ends the script with no message. Capture output into a variable and
report it (super_info in image/lib.sh). grep -q at the end of a pipe can
also close it early and make the left side look like it failed (SIGPIPE)./var/log is a RAM disk (zram) managed by armbian-ramlog; the on-disk copy is
/var/log.hdd. It is written only at shutdown and by logrotate (armbian-ramlog
write), so after a hard reset everything since boot is gone./var/log/journal is a symlink into /var/log.hdd/journal, but armbian-ramlog
write ends with journalctl --relinquish-var, which sends journald back to RAM
until something flushes again. journalctl --flush on a timer fixes that.rsync without --delete: archives logrotate removes from RAM stay
on disk forever. That is what bobcat-logprune prunes.dw_wdt) has no magic-close support: once armed it cannot be
stopped, only fed. systemd's RuntimeWatchdogSec arms it; removing the setting
needs a reboot to take effect./run, no action without a connection profile.