As per the legato document, fwupdate query used for verifying the target . For that purpose I used that command.As part of verification only legato version and legato status worked.But fwupdate query command did not work.
When I debugged the source code , I found that IPC are not up . Legato framework is wating for that for 30 Seconds.