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. diff --git a/boot/cmdline.txt b/boot/rpi-3b/cmdline.txt similarity index 86% rename from boot/cmdline.txt rename to boot/rpi-3b/cmdline.txt index 9d17680..0eca3f1 100644 --- a/boot/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 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