User Tools

Site Tools


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
      a) Re-flash (kills all prior settings)
         see g:\down\dev\sovol-sv06-3d-printer\klipper\screen-fw-tm.txt
         - Find image online (armbian-update.deb)
	 - Flash via USB-stick
      b) Revert just kernel (keeps settings)
         - Extract kernel from image
	   (sth like "dpkg -x armbian-update.deb xtract"
            contains DATA/root/system_deb/linux-image-edge-rockchip64_22.05.0-trunk_arm64.deb
	   )
    - Keep that kernel-version
      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
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.1706435567.txt.gz · Last modified: 2024/01/28 10:52 by torte