updating
This is an old revision of the document!
Sovol KlipperScreen
Updating
Update Manager
Problems
System / Kernel (black screen)
- Updating "System" breaks KlipperScreen
(sometimes even breaks wifi-access)
Cause: Stock armbian kernels are incompatible with KlipperScreen
- kernel on KlipperScreen is linux-5.16.20-rockchip64 (Version: 22.05.0-trunk)
- This kernel is not found on the armbian servers (latest version: 5.16.11-rockchip64)
- All later kernels are incompatible:
- "/dev/spidev*" is not created (touchscreen and accel-sensors require spidev)
- my guess: might have to do with the devicetree files
Temporary fix:
- Revert to old kernel
Image location: see https://netztorte.de/3d/doku.php?id=firmware#where_to_download
a) Re-flash (kills all prior settings)
- Find image online (armbian-update.deb)
- Flash via USB-stick
b) Revert just kernel (keeps settings)
- upload armbian-update.deb to your klipperscreen
(e.g. using the mainsail web-frontend: Navigate to "Machine" and use the "upload file" button)
- "ssh" into your klipperscreen
- change into the directory where you uploaded armbian-update.deb to
(for the mainsail example: "cd ~/printer_data/config")
- Extract kernel package:
dpkg -x armbian-update.deb xtract
- install (downgrade) kernel:
sudo dpkg -i xtract/root/system_deb/linux-image-edge-rockchip64_22.05.0-trunk_arm64.deb
- Keep that kernel-version (choose one of the following options):
a) don't update "System" at all (stinks)
b) keep just that kernel-version (allows updating "System")
- sudo apt-mark hold linux-image-edge-rockchip64
c) freeze the kernel using "armbian-config"
(see https://github.com/3DPrintDemon/How-to-Update-Sovol-Klipper-Screen-To-Latest-Klipper-SV06-and-SV07)
Klipper-0.12.80+ (secondary mcu update)
- Compiling klipper for "mcu"
# cd klipper
# make menuconfig
- select "Micro-controller Architecture" and set to "Linux process"
# make clean ; make ; make flash
- ("make flash" replaces "/usr/local/bin/klipper_mcu" with "out/klipper.elf")
- Compiling klipper for "mcu linux"
(as from https://github.com/bassamanator/Sovol-SV06-firmware/discussions/111):
# cd klipper
# make menuconfig
- change settings ("=" are unchanged defaults)
= Enable extra low-level configuration options: [*]
= Micro-controller Architecture: STMicroelectronics STM32
* Processor model: STM32F103
* Disable SWD at startup (for GigaDevice stm32f103 clones): [*]
* Bootloader offset: 28KiB bootloader
= Clock Reference: 8 MHz crystal
* Communication interface: Serial (on USART1 PA10/PA9)
= Baud rate for serial port: 250000
# make clean ; make
- copy "out/klipper.bin" to SD-card and rename it (must end in ".bin")
!!! use a different name than that from prior updates !!!
updating.1707228284.txt.gz · Last modified: 2024/02/06 15:04 by torte
