凌云实验室推出的ARM Linux物联网网关开发板IGKBoard(IoT Gateway Kit Board)项目源码
guowenxue
2021-11-05 9513f4e9d3a4e46b51bf659196c62d4404dc5a75
Add win_flash.bat script
1 files added
22 ■■■■■ changed files
tools/wintools/win_flash.bat 22 ●●●●● patch | view | raw | blame | history
tools/wintools/win_flash.bat
New file
@@ -0,0 +1,22 @@
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%