cc-fw-tools/docs/EMMC_BACKUP.md
2024-02-09 07:19:36 +01:00

1.5 KiB

EMMC Backup Procedure

  1. Use app version 2.39 and stop the booting process by holding key 's'
  2. Insert USB disk with the file backup.scr on it
  3. From the uboot shell enter the following:
usb reset
usb dev 0
fatload usb 0:0 42000000 backup.scr

If you see an error, try typing in usb part and see what partitions are available. Then enter:

fatload usb 0:<Enter partition number in here> 42000000 backup.scr

Example:

fatload usb 0:1 42000000 backup.scr

(Partition 1)

source 42000000

  1. Remove the USB disk and insert at least 8GB USB disk
  2. Wait about 15 minutes and the entire emmc will be transfered 1:1 to the USB disk If you see an error and the script stopped before showing 100%, insert another type USB disk and enter:
source 42000000
  1. From a linux machine export the backup as a file:
dd if=/dev/sdh of=emmc_backup.bin bs=512 count=15269888 status=progress

With the xfel tool:

You could either do:

xfel exec 0x0

to boot into uboot and then enter the commands above or:

  1. Enter the printer in FEL mode
  2. Enter the following:
xfel ddr t113-s3
xfel write 0x43000000 uboot239.bin
xfel exec 0x43000b50

Press and hold key 's' until the boot process stop in uboot shell and go to step 3 above

You can modify the script and create new backup.scr image by:

mkimage -T script -n 'EMMC Backup' -d backup.txt backup.scr