Versions Compared

Key

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

...

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>

...