Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ Quick steps:
2. On the printer go to `Settings` > `About` > `Firmware Version` > `Local Update`
3. Select `.bin` and confirm.

## Troubleshooting

- **Klipper failed to start**: Open Firmware Config at `http://IP/firmware-config`, go to `Recovery` and select `Reset Extended to Defaults`. This will reset all extended settings and reboot the printer.

## Revert

1. Download `.bin` from the [Snapmaker U1 Wiki](https://wiki.snapmaker.com/en/snapmaker_u1/firmware/release_notes).
Expand Down
1 change: 1 addition & 0 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,5 @@ If you need to revert to the original Snapmaker firmware:
- **Update fails**: Ensure the USB drive is formatted as FAT32
- **File not found**: Make sure the `.bin` file is in the root directory of the USB drive
- **Printer won't boot**: Try reverting to stock firmware
- **Klipper failed to start** (Extended only): Open Firmware Config at `http://IP/firmware-config`, go to `Recovery` and select `Reset Extended to Defaults`. This will reset all extended settings and reboot the printer.
- For additional help, open an issue on the [GitHub repository](https://github.com/paxx12/SnapmakerU1/issues)
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ DEFAULT_DIR="/usr/local/share/firmware-config/extended"
EXTENDED_DIR="/home/lava/printer_data/config/extended"

start() {
if [ -f /mnt/udisk/extended-recover.txt ]; then
if [ -f /mnt/udisk/extended-recover.txt ] || [ -f /oem/.extended-recover ]; then
# Move existing extended config to a backup location
# find the next available backup number
if [ -d "$EXTENDED_DIR" ]; then
Expand All @@ -14,7 +14,7 @@ start() {
done
mv "$EXTENDED_DIR" "$EXTENDED_DIR.backup.$BACKUP_NUM"
fi
rm -f /mnt/udisk/extended-recover.txt
rm -f /mnt/udisk/extended-recover.txt /oem/.extended-recover
fi

mkdir -p "$EXTENDED_DIR"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,40 @@ actions:
recovery:
label: Recovery
items:
revert-changes:
label: Revert Changes
confirm: "Remove printer configuration changes, disable data persistence and reboot?"
reset-extended-to-defaults:
label: Reset Extended to Defaults
confirm: "Reset all extended settings to defaults and reboot?"
background: true
cmd:
- /bin/bash
- -xc
- |
rm -f /oem/.printer_data /oem/.debug &&
touch /oem/.extended-recover &&
/sbin/reboot
message: "Reverting changes..."
message: "Resetting extended to defaults..."

recover-to-backup-firmware:
label: Recover to Backup Firmware
confirm: "Restore previous firmware version, remove printer configuration changes, disable data persistence and reboot?"
reset-to-backup-firmware:
label: Reset Extended to Backup Firmware
confirm: "Reset all extended settings to defaults, switch to backup firmware and reboot?"
background: true
cmd:
- /bin/bash
- -xc
- |
rm -f /oem/.printer_data /oem/.debug &&
touch /oem/.extended-recover &&
updateEngine --misc=other --reboot
message: "Recovering to backup firmware..."
message: "Resetting to backup firmware..."

switch-to-backup-firmware:
label: Switch to Backup Firmware
confirm: "Switch to backup firmware and reboot?"
background: true
cmd:
- /bin/bash
- -xc
- |
rm -f /oem/.printer_data /oem/.debug &&
updateEngine --misc=other --reboot
message: "Switching to backup firmware..."
Loading