Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This feature can be used in an emergency to restore a file.

The RCE serial console must be used for this operation.

The bootloader countdown must be enabled in order to enter the bootloader shell.

Reboot the RCE and press any key to enter to enter the bootloader shell.

To list the contents of a partition:

...

To restore a file, first load it the backup from the SD card into memory at 0x700000

zynq-uboot> fatload mmc 0:7 0x700000 uimageimage.backup
reading uimageimage.backup
3678504 bytes read in 629 ms (5.6 MiB/s)

(A backup file may also be loaded into memory using NFS)

Now write the in memory Convert the bytes read count to a hexadecimal value, then write the file to the SD card

zynq-uboot> fatwrite mmc 0:7 0x700000 uimage.backup 0x382128$filesize
writing uimage.backup
3678504 bytes written in 770 ms (4.6 MiB/s)
zynq-uboot>

Execute reset to reboot RCE in the OS.