How VBS scripts is used in MFGtool

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How VBS scripts is used in MFGtool

1,262 次查看
adityanagal
Contributor III

Hi ,

I am using MFGTool for flashing the NAND Flash over my custom board . I want to know how VBS script is used in the MFGtool. I believe , this script is having certain arguments , but how these arguments are processed in MFGtool , I have no clue. Please suggest.

Regards,

Aditya Nagal

0 项奖励
回复
3 回复数

871 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Aditya

one can look at ucl2.xml file and use for example mfgtool2-yocto-mx-sabresd-nand.vbs

<CMD state="BootStrap" type="load" file="firmware/zImage-imx6q%plus%-%board%-%nanddtb%.dtb" address="0x18000000"

parameters in "" are taken from *.vbs file:

-s ""board=sabreauto"" -s ""sxuboot=sabreauto"" -s ""sxdtb=sabreauto"" -s ""nand=nand"" -s ""nanddtb=gpmi-weim"" -s ""part_uboot=0"" -s ""part_kernel=1"" -s ""part_dtb=2"" -s ""part_rootfs=3""

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

871 次查看
adityanagal
Contributor III

Hi Igor ,

Thank you for your response. One confusion is , in the MFGtool we have many VBS scripts , I want to use a particular VBS script for example the mfgtool2-yocto-mx-sabresd-nand.vbs . How to pass this mfgtool2-yocto-mx-sabresd-nand.vbs as input to the MFGtool ? Please suggest.

0 项奖励
回复

871 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Aditya

just click mouse on vbs script and it will launch mfg tools with all necessary parameters.

~igor

0 项奖励
回复