https://torte71.github.io/InsideSovolKlipperScreen/booting.html
There are different options for booting from an external device (useful e.g. to reflash the eMMC)
Troubleshooting
This is the easiest way, but does not always work.
If the image that you want to boot is the same as the one on the device, then you can simply insert the USB-stick and reboot.
Afterwards, log in via SSH and check, if you have really booted from USB-stick:
mount|grep sda
If you have successfully booted from the USB-stick, the output will read
/dev/sda2 on / type ext4 (rw,noatime,errors=remount-ro,commit=1)
If the output reads
/dev/mmcblk1p2 on / type ext4 (rw,noatime,errors=remount-ro,commit=1)''
then you didn't have luck and need to try other ways.
Background info:
/boot
will still be mounted from /dev/mmcblk1p1
)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
sudo poweroff
.Now interrupt the bootloader:
Hit any key to stop autoboot: 0
To boot from USB, enter run bootcmd_usb0
(the word “run” really has to be typed there).
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:
sudo dd if=/dev/zero of=/dev/mmcblk1 bs=512 count=1
The device will now try to boot from the USB-stick.
Back to start