User Tools

Site Tools


booting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
booting [2024/03/13 16:15] – created tortebooting [2025/01/21 12:27] (current) torte
Line 1: Line 1:
-====== Booting ======+{{page>redirect#this_wiki_has_moved}} 
 +https://torte71.github.io/InsideSovolKlipperScreen/booting.html 
 +{{page>redirect#section}} 
 +---- 
 + 
 +====== Sovol KlipperScreen (Makerbase MKS KLIPAD50) ====== 
 +===== Booting =====
 There are different options for booting from an external device (useful e.g. to reflash the eMMC) There are different options for booting from an external device (useful e.g. to reflash the eMMC)
  
Line 42: Line 48:
 {{anchor:boot_serial}} {{anchor:boot_serial}}
 ===== Boot image from USB-stick via serial console ===== ===== Boot image from USB-stick via serial console =====
 +This way uses u-boot commands to boot from an USB-stick. It is a little tricky, but safe.
 +
 +The bootloader ("u-boot") can be interrupted using keyboard input via a serial line.
 +
 +The board has to be shut down, but still connected to power. In this state, the two visible LEDs at the top of the case are off, but there is another blue LED inside the case, which is on and can be seen through the air holes (there is also a red LED near the blue one, which is also shining, but hardly visible).
 +
 +To get into this state
 +  - Have your device booted
 +  - Connect the USB-C port to your computer
 +  - Open a serial connection (see https://github.com/TomasOlsson/BrickedSv07-Sv07Plus)
 +  - Shut down the device
 +    - either by using the power-off button on the screen
 +    - or log in via ssh and execute ''sudo poweroff''.
 +
 +Now interrupt the bootloader:
 +  - Activate the window with the serial connection and **keep the spacebar pressed**
 +  - With the other hand, press the small "on" button on the side of the device (for about a second, until the device turns on)
 +  - After some lines, the console window will stop and show ''Hit any key to stop autoboot:  0''
 +  - If you see the spaces arriving in the console, you can **now stop pressing the spacebar**
 +
 +To boot from USB, enter ''run bootcmd_usb0'' (the word "run" really has to be typed there).
 +
  
  
 {{anchor:boot_nonbootable}} {{anchor:boot_nonbootable}}
 ===== Boot from USB-stick with unbootable eMMC ===== ===== Boot from USB-stick with unbootable eMMC =====
-This is the way shown in https://github.com/TomasOlsson/BrickedSv07-Sv07Plus+This is the way shown in https://github.com/TomasOlsson/BrickedSv07-Sv07Plus \\ 
 +It is a little bit risky, as you have to brick your device before knowing if the USB-stick really boots up. 
 + 
 + 
 +The board will automatically boot from USB when the internal eMMC is unbootable.\\ 
 +(But the eMMC must still be present. When removed, no boot attempt happens at all) 
 + 
 +To make the eMMC card unbootable: 
 +  * Boot the device 
 +  * Log in via a serial connection 
 +  * Overwrite the bootsector of the eMMC: ''sudo dd if=/dev/zero of=/dev/mmcblk1 bs=512 count=1'' 
 +  * Insert the USB-stick 
 +  * Restart the device (either via command or the power plug) 
 + 
 +The device will now try to boot from the USB-stick.
  
 +----
 +Back to [[start]]
booting.1710342924.txt.gz · Last modified: 2024/03/13 16:15 by torte