Merge branch 'main' of ssh://mail.scottc.net:2233/PublicScripts/mainsailos-build

This commit is contained in:
2024-10-12 03:10:58 +01:00
3 changed files with 3 additions and 9 deletions

View File

@@ -40,17 +40,11 @@ cd ~/klipper
make clean
make menuconfig
make
systemctl stop klipper
make flash FLASH_DEVICE=/dev/ttyUSB0
systemctl start klipper
```
(seems to work better than `make flash FLASH_DEVICE=/dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0`)
Flashing fails sometimes. Possible workarounds:
- Klipper app is still talking to device? Shutdown firmware and app first?
- `/dev/ttypUSB0` and `/dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0` are links to same device, but one works and other doesn't?
- Try rebooting Pi
## /boot
Copy `config.txt` and `cmdline.txt` from this repo.

View File

@@ -1 +1 @@
console=tty1 console=serial0,115200 root=PARTUUID=1ace4a06-02 rootfstype=ext4 fsck.repair=yes rootwait cfg80211.ieee80211_regdom=GB
console=tty1 console=serial0,115200 root=PARTUUID=1ace4a06-02 rootfstype=ext4 fsck.repair=yes rootwait cfg80211.ieee80211_regdom=GB mitigations=off