setenv ipaddr 192.168.1.1
setenv serverip 192.168.1.10
tftp 0x80200000 MLO
nand erase 0 0x20000
nand write 0x80200000 0 ${filesize}
tftp 0x80200000 am335x-evm.dtb
nand erase 0x80000 0x20000
nand write 0x80200000 0x80000 ${filesize}
tftp 0x80200000 u-boot.img
nand erase 0xc0000 0x100000
nand write 0x80200000 0xc0000 ${filesize}
tftp 0x80200000 zImage
nand erase 0x200000 0x500000
nand write 0x80200000 0x200000 ${filesize}
tftp 0x80200000 ubi.img
nand erase 0xa00000 0x7600000
nand write 0x80200000 0xa00000 ${filesize}
setenv serverip 192.168.1.10
tftp 0x80200000 MLO
nand erase 0 0x20000
nand write 0x80200000 0 ${filesize}
tftp 0x80200000 am335x-evm.dtb
nand erase 0x80000 0x20000
nand write 0x80200000 0x80000 ${filesize}
tftp 0x80200000 u-boot.img
nand erase 0xc0000 0x100000
nand write 0x80200000 0xc0000 ${filesize}
tftp 0x80200000 zImage
nand erase 0x200000 0x500000
nand write 0x80200000 0x200000 ${filesize}
tftp 0x80200000 ubi.img
nand erase 0xa00000 0x7600000
nand write 0x80200000 0xa00000 ${filesize}