Browse Source

add helper script that flashes rescue u-boot to eMMC

master
Lukas F. Hartmann 1 month ago
parent
commit
46feaf0b92
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      flash-rescue.sh

+ 10
- 0
flash-rescue.sh View File

@@ -0,0 +1,10 @@
#!/bin/bash
#
# WARNING: This overwrites the bootloader on the eMMC rescue disk!
#
# This u-boot version expects /Image and /imx8mq-mnt-reform2.dtb
# on /dev/mmcblk0p1
#
sudo dd if=flash-rescue.bin of=/dev/mmcblk0boot0 bs=1024 seek=33
sync


Loading…
Cancel
Save