From a37aec6528314ee7c1052b67865b510e0042e14d Mon Sep 17 00:00:00 2001 From: scottc Date: Sun, 16 Jun 2024 13:45:20 +0000 Subject: [PATCH 1/4] Update boot/rpi-3b/cmdline.txt --- boot/{ => rpi-3b}/cmdline.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename boot/{ => rpi-3b}/cmdline.txt (100%) diff --git a/boot/cmdline.txt b/boot/rpi-3b/cmdline.txt similarity index 100% rename from boot/cmdline.txt rename to boot/rpi-3b/cmdline.txt From c697bef6bdf90217a8ff9df1a23ff6d082c61076 Mon Sep 17 00:00:00 2001 From: scottc Date: Sun, 16 Jun 2024 13:45:36 +0000 Subject: [PATCH 2/4] Update boot/rpi-3b/config.txt --- boot/{ => rpi-3b}/config.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename boot/{ => rpi-3b}/config.txt (100%) diff --git a/boot/config.txt b/boot/rpi-3b/config.txt similarity index 100% rename from boot/config.txt rename to boot/rpi-3b/config.txt From 77277eecfabb303e6fecf70d7e443cce997bcbd1 Mon Sep 17 00:00:00 2001 From: scottc Date: Sun, 23 Jun 2024 19:01:35 +0000 Subject: [PATCH 3/4] Improved flashing instructions --- README.md | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 0332e19..bf44094 100644 --- a/README.md +++ b/README.md @@ -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. From 8331b84b56a18ac35000e39e30cbf651834c2a24 Mon Sep 17 00:00:00 2001 From: scottc Date: Thu, 4 Jul 2024 20:58:57 +0000 Subject: [PATCH 4/4] Update boot/rpi-3b/cmdline.txt --- boot/rpi-3b/cmdline.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/rpi-3b/cmdline.txt b/boot/rpi-3b/cmdline.txt index 9d17680..0eca3f1 100644 --- a/boot/rpi-3b/cmdline.txt +++ b/boot/rpi-3b/cmdline.txt @@ -1 +1 @@ -console=tty1 console=serial0,115200 root=PARTUUID=1ace4a06-02 rootfstype=ext4 fsck.repair=yes rootwait cfg80211.ieee80211_regdom=GB \ No newline at end of file +console=tty1 console=serial0,115200 root=PARTUUID=1ace4a06-02 rootfstype=ext4 fsck.repair=yes rootwait cfg80211.ieee80211_regdom=GB mitigations=off