gpio output 107 1
gpio output 108 1
estar bin/cis_burn
estar bin/setpart_burn
nand erase 0x0 0x073c0000
tftp 0x24000000 bin/uImage_avu1m
nand write.e 0x24000000 0x003c0000 ${filesize}
nand write.e 0x24000000 0x008c0000 ${filesize}
tftp 0x24000000 bin/rootfs_avu1m.sqfs
nand write.e 0x24000000 0x00dc0000 ${filesize}
tftp 0x24000000 bin/customer.img
nand write.e 0x24000000 0x013c0000 ${filesize}
#nand erase 0x073c0000 0xc40000
#tftp 0x24000000 bin/params.img
#nand write.e 0x24000000 0x073c0000 ${filesize}
mw.b 0x24000000 0xff 0x400000
tftp 0x24000000 bin/boot.bin
nand write.e 0x24000000 0x00000000 ${filesize}
reset
