Skip to content

khadas vim2 - rescue system

Compare
Choose a tag to compare
@hyphop hyphop released this 13 Aug 15:55
· 30 commits to master since this release

NOTE: spi flash linux support
NOTE: linux kernel mainline RC
NOTE: wifi broken
NOTE: usb otg broken
NOTE: uboot legacy from spi OK
NOTE: uboot mainline from spi Freeezzzzed
NOTE: bootable from SPI/eMMC/SD

$uname -a
Linux Krescue 5.3.0-rc4 #1 SMP PREEMPT Wed Aug 14 09:29:47 MSK 2019 aarch64 GNU/Linux

NOTE: ....
DOCS: https://github.com/hyphop/khadas-rescue/tree/master/docs#docs-folder-descriptions
DISQ: https://forum.khadas.com/t/krescue-khadas-rescue-system/4864

examples commands

# get bootmode
bootmode 
# change bootmode
bootmode spi save
# change bootmode
bootmode mmc save

# clear spi boot - first 4096 bytes
spi_boot clean
# clear spi boot - first 2M bytes
spi_boot clean2
# write to spi uboot legacy
spi_boot /tmp/sd/rescue/u-boot.vim2.legacy.spi.bin
# write to spi - rescue system
spi_boot /tmp/sd/rescue/krescue.spi.bin
# write spi uboot mainline
spi_boot /tmp/sd/rescue/u-boot.vim2.mainline.spi.bin

# clear mmc boot
spi off; mmc re; mmc_boot clear
# write mmc boot
mmc_boot u-boot.vim2.mainline.sd.bin
# write mmc boot legacy
mmc_boot u-boot.vim2.legacy.sd.bin

DOWNLOAD & WRITE: curl -jkL https://github.com/hyphop/khadas-rescue/releases/download/vim2-multi/krescue.sd.img.gz -o- | gzip -dc | sudo dd conv=sync of=/dev/YOUR_SD_CARD