We need to write a generic mfgtool scrtipt for the different versions of a similler hardware. These hardware provides some gpios for indicating the hardware revision. Our aim is to flash different binaries by reading these gpio states. So is it possible to read the gpio status from the mfgtool (ucl script)?.
I have gone through the 'Manufacturing Tool V2 (MFGTool2) Update Command List (UCL) User Guide.doc', which explains some 'Firmware Specific Commands' like 'read'. Is it possible to read gpio state using this types of commands or any other mechanisms available for reading the gpio states.
It seems that you may need to get the mfgtool source code and recompile it. According to this
Apps\MfgTool.exe\OpUtpUpdate.cpp may be helpful.