新手上路
- 积分
- 27
- 金钱
- 27
- 注册时间
- 2021-10-14
- 在线时间
- 3 小时
|
1金钱
我用的是正点原子官方的mfg
vs文件如下:
Set wshShell = CreateObject("WScript.shell")
wshShell.run "mfgtool2.exe -c ""linux"" -l ""NAND Flash"" -s ""sxuboot=sabreauto"" -s ""sxdtb=sabreauto"" -s ""6uluboot=41x14evk"" -s ""board=sabreauto"" -s ""nand=nand"" -s ""nanddtb=gpmi-weim"" -s ""part_uboot=0"" -s ""part_kernel=1"" -s ""part_dtb=2"" -s ""part_rootfs=4"" "
Set wshShell = Nothing
ucl2文件如下:
<!--
* Copyright (C) 2012, Freescale Semiconductor, Inc. All Rights Reserved.
* The CFG element contains a list of recognized usb devices.
* DEV elements provide a name, class, vid and pid for each device.
*
* Each LIST element contains a list of update instructions.
* "Install" - Erase media and install firmware.
* "Update" - Update firmware only.
*
* Each CMD element contains one update instruction of attribute type.
* "pull" - Does UtpRead(body, file) transaction.
* "push" - Does UtpWrite(body, file) transaction.
* "drop" - Does UtpCommand(body) then waits for device to disconnect.
* "boot" - Finds configured device, forces it to "body" device and downloads "file".
* "find" - Waits for "timeout" seconds for the "body" device to connect.
* "show" - Parse and show device info in "file".
-->
<UCL>
<CFG>
|
最佳答案
查看完整内容[请看2#楼]
它提示你了:ModuleID[2] LevelID[1]: Push command--file D:\ccp\ModuleID[2] LevelID[1]: Parse ucl script failed, error code: 4
显示解析ucl2.xml文件解析失败,重新检查下写的内容,或者文件名字、文件路径,是否真实存在
|