Error in testing linux-runvbs.sh on ubuntu
What is the cause?
L4.1.15_2.1.0-ga_mfg-tools/mfgtools$ ./linux-runvbs.sh mfgtool2-yocto-mx-sabresd-emmc.vbs
mfgtool2-yocto-mx-sabresd-emmc.vbs
Executing: ./mfgtoolcli -l eMMC -s board=sabresd -s sxdtb=sdb -s mmc=3
Your Options:
board: sabresd
sxdtb: sdb
mmc: 3
Ready to flash.
init op Failed code# 24
In the ucl2.xml, please try to remove the " <STATE name="BootStrap" dev="MX6ULL" vid="15A2" pid="0080"/>"
I modified the ucl2.xml file and tried again.
<CFG>
<!--<STATE name="BootStrap" dev="MX6SL" vid="15A2" pid="0063"/>-->
<!--<STATE name="BootStrap" dev="MX6SLL" vid="1FC9" pid="0128"/>-->
<!--<STATE name="BootStrap" dev="MX6D" vid="15A2" pid="0061"/>-->
<STATE name="BootStrap" dev="MX6Q" vid="15A2" pid="0054"/>
<!--<STATE name="BootStrap" dev="MX6SX" vid="15A2" pid="0071"/>-->
<!--<STATE name="BootStrap" dev="MX6UL" vid="15A2" pid="007D"/>-->
<!--<STATE name="BootStrap" dev="MX7D" vid="15A2" pid="0076"/>-->
<!--<STATE name="BootStrap" dev="MX6ULL" vid="15A2" pid="0080"/>-->
<STATE name="Updater" dev="MSC" vid="066F" pid="37FF"/>
</CFG>
---------------------------------------
L4.1.15_2.1.0-ga_mfg-tools/mfgtools$ ./linux-runvbs.sh mfgtool2-yocto-mx-sabresd-sdcard-sd3.vbs
mfgtool2-yocto-mx-sabresd-sdcard-sd3.vbs
Executing: ./mfgtoolcli -l SDCard -s board=sabresd -s mmc=2 -s sxuboot=sabresd -s sxdtb=sdb
Your Options:
board: sabresd
mmc: 2
sxuboot: sabresd
sxdtb: sdb
Ready to flash.
----------------------------------------
I tried again and there is no response after Ready to flash.
You can check the MfgToolLibLog.txt to see where it stop.
Thanks jimmychan
The contents of MfgToolLibLog.txt are as follows.
-----------------------------------------------------------------
DLL version: 2.3.4
Mon Oct 16 20:13:29 2017
Start new logging
ModuleID[2] LevelID[10]: address from XML 0x12000000
ModuleID[2] LevelID[10]: address from XML 0x80800000
ModuleID[2] LevelID[10]: address from XML 0x12C00000
ModuleID[2] LevelID[10]: address from XML 0x83800000
ModuleID[2] LevelID[10]: address from XML 0x18000000
ModuleID[2] LevelID[10]: address from XML 0x18000000
ModuleID[2] LevelID[10]: address from XML 0x83000000
ModuleID[2] LevelID[10]: address from XML 0x83000000
ModuleID[2] LevelID[10]: address from XML 0x83000000
ModuleID[2] LevelID[10]: address from XML 0x83000000
ModuleID[2] LevelID[10]: address from XML 0x83000000
ModuleID[2] LevelID[10]: address from XML 0x83000000
ModuleID[2] LevelID[10]: CMyExceptionHandler thread is running
ModuleID[2] LevelID[1]: new MxHidDeviceClass
It's ready now, the last thing you have to do is power up your board.