emmc:
fatls mmc 0:1 /
fatload mmc 0 0x3000000 uImage_bak
fatload mmc 0 0x2A00000 ${devicetree_image}
fatload mmc 0 0x2000000 ${ramdisk_image}
bootm 0x3000000 0x2000000 0x2A00000
//备份分区
fatload mmc 0:2 0x3000000 uimage
fatload mmc 0:2 0x2A00000 devicetree.dtb
tftp启动:
tftpboot 0x3000000 uImage
tftpboot 0x2A00000 devicetree.dtb
tftpboot 0x2000000 uramdisk.image.gz
bootm 0x3000000 0x2000000 0x2A00000
usb start
fatload usb 0 0x3000000 uImage
fatload usb 0 0x2A00000 devicetree.dtb
fatload usb 0 0x2000000 uramdisk.image.gz
bootm 0x3000000 0x2000000 0x2A00000
dd if=./sdimage.img of=/dev/mmcblk0