upu=echo ===================uboot(BOOT.bin)====================;if fatload usb 0 0x100000 UBOOT.bin; then nand erase 0x00 0x780000;nand write 0x100000 0x00 ${filesize};mw.b 0x100000 0x0 ${filesize}; fi
upk=echo ===================kernel(uImage)=====================;if fatload usb 0 0x100000 uImage; then nand erase 0x780000 0x400000;nand write 0x100000 0x780000 ${filesize};mw.b 0x100000 0x0 ${filesize}; fi
upd=echo ===================devicetree(devicetree.dtb)=========;if fatload usb 0 0x100000 devicetree.dtb; then nand erase 0xB80000 0x80000;nand write 0x100000 0xB80000 ${filesize};mw.b 0x100000 0x0 ${filesize}; fi
upl=echo ====================logo(logo.bmp)====================;if fatload usb 0 0x100000 logo.bmp; then nand erase 0xC00000 0x500000;nand write 0x100000 0xC00000 ${filesize};mw.b 0x100000 0x0 ${filesize}; fi
upr=echo =============rootfs(rootfs.cramfs)====================;if fatload usb 0 0x100000 rootfs.cramfs; then nand erase 0x1600000 0x1400000;nand write 0x100000 0x1600000 ${filesize};mw.b 0x100000 0x0 ${filesize}; fi
upf0=echo =============firmdata0(firmdata0.img)==============;if fatload usb 0 0x100000 firmdata0.img; then nand erase 0x2A00000 0xA00000;nand write 0x100000 0x2A00000 ${filesize};mw.b 0x100000 0x0 ${filesize}; fi
ups=echo =============siglent(siglent.img)===================;if fatload usb 0 0x100000 siglent.img; then nand erase 0x3400000 0x6E00000;nand write 0x100000 0x3400000 ${filesize};mw.b 0x100000 0x0 ${filesize}; fi
updf=echo =============datafs(datafs.img)=====================;if fatload usb 0 0x100000 datafs.img; then nand erase 0xA200000 0x5A00000;nand write 0x100000 0xA200000 ${filesize};mw.b 0x100000 0x0 ${filesize}; fi
uenvcmd=run upu;run upk; run upd; run upl; run upr; run ups; run updf;
