How VBS scripts is used in MFGtool

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How VBS scripts is used in MFGtool

1,257 Views
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 Kudos
Reply
3 Replies

866 Views
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 Kudos
Reply

866 Views
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 Kudos
Reply

866 Views
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 Kudos
Reply