Hi Maneesh Singh,
Please find my answers as below:
Q1: How can I verify if my update_engine_client command executed successfully or not ?
A1: You can verify this from the logs. When the update is finished, you will get the log like "Update successfully applied, waiting to reboot" in the logcat.
Q2: How will I verify if OTA update is started or not after executing this command ?
A2: This will also verify from the logs in the logcat. Please run the logcat command parallelly while OTA updating. So, if any kind of error occurs, it will be known from the logs.
Q3: Where can I find the OTA files on my board which will be downloaded by this command ?
A3: OTA will update/replace the new .img files in the respective partition. it does not copy the images. You will get a clear idea about the OTA process from this link suggested by diegoadrian.
Q4: Is there any other way to do OTA update ?
A4: There are below mentioned ways to do the OTA.
- adb sideload command. (in recovery mode)
- FSLOta customized iMX Android Application.
- update_engine_client command line utility.
Hope this will help you.
Let us know if you have any concerns.
Regards,
Shivani