#define CONFIG_BOOTCOMMAND \
"echo Begin update system to Nand;"\
"nand erase.chip;mmc rescan; "\
"echo start Update MLO;"\
"fatload mmc 0 80A00000 MLO;nand write.i 80A00000 0 ${filesize}; "\                                   怎样同步在LCD屏上显示烧写进度条?
"echo start Update u-boot.img;"\
"fatload mmc 0 80A00000 u-boot.img;nand write.i 80A00000 800000 ${filesize}; "\                                怎样同步在LCD屏上显示烧写进度条?
"echo start Update uImage;"\
"fatload mmc 0 80A00000 uImage;nand write.i 80A00000 c00000 ${filesize}; "\                                怎样同步在LCD屏上显示烧写进度条?
"echo start Update ubi.img;"\
"fatload mmc 0 80A00000 ubi.img;nand write.i 80A00000 1400000 ${filesize};"\                                怎样同步在LCD屏上显示烧写进度条?
"echo start Update logo.bmp;"\
"fatload mmc 0 80A00000 logo.bmp;nand write.i 80A00000 600000 ${filesize};"\
"echo Update system to Nand success;"\
" if test $bootdev = MMC; then " \
"mmc dev ${mmcdev}; mmc rescan;"\
"echo hejx debug test SD/MMC found on device ${mmcdev};" \
"run hejx_auto_update_nand;"\
"if run loadbootenv; then " \
"echo Loaded environment from ${bootenv};" \
"run importbootenv;" \
"run hejx_auto_update_nand;"\
"fi;" \
"if test -n $uenvcmd; then " \
"echo Running uenvcmd …;" \
"run uenvcmd;" \
"run hejx_auto_update_nand;"\
"fi;" \
"if run loaduimagefat; then " \
"run mmcboot;" \
"run hejx_auto_update_nand;"\
"elif run loaduimage; then " \
"run mmcboot;" \
"run hejx_auto_update_nand;"\
"else " \
"echo Could not find ${bootfile} ;" \
"run hejx_auto_update_nand;"\
"fi;" \
"else " \
"run nandboot;" \
"fi;" \