New file |
| | |
| | | |
| | | REM This bat script used to flash u-boot or linux system image to EMMC |
| | | |
| | | REM uuu.exe official address: https://github.com/NXPmicro/mfgtools |
| | | REM LingYun download address: http://weike-iot.com:2211/imx6ull/tools |
| | | |
| | | REM Erase u-boot command in u-boot: mmc dev 1 1 && mmc erase 0 40000 |
| | | |
| | | @echo off |
| | | |
| | | set IMAGE_UBOOT=u-boot-imx6ull-14x14-ddr512-emmc.imx |
| | | set IMAGE_SYS=linuxsys_iMX6ULL_512MB.img |
| | | |
| | | echo "Image Download Choices:" |
| | | |
| | | echo 1: Download bootloader [ %IMAGE_UBOOT% ] |
| | | echo 2: Download System Image [ %IMAGE_SYS% ] |
| | | |
| | | set /p choice= Please Input Your Choice: |
| | | |
| | | if %choice% == 1 uuu -b emmc %IMAGE_UBOOT% |
| | | if %choice% == 2 uuu -b emmc_all %IMAGE_UBOOT% %IMAGE_SYS% |