Generating OTA package from different systems

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

Generating OTA package from different systems

993 Views
amit251291
Contributor IV

We have a build machine running with Ubuntu 13.04. We are using Androind 7.1.2 code base for imx6q processor. 

We are building OTA package by using below command. 

"make otapackage"

We are using generated package and our devices gets upgraded. 

Now when we build the same code from another machine & start upgrading a device which is running with a code build from build machine, the upgrading fails. 

What could be the reasons for this ? 

Labels (2)
Tags (1)
0 Kudos
4 Replies

782 Views
shivanipatel
Senior Contributor II

Hi, Amit Kulkarni

When doing OTA update built on different machines, one should make sure the Android AOSP (running onboard) build time should be earlier than the OTA package build time.

For example, if your Android AOSP (built on Machine A) build time is Tue Apr 30 11:03:48 IST 2019 and OTA package (built on Machine B) build time is Tue Apr 30 09:03:48 IST 2019 then it will fail.

So, whenever you want to do OTA update, you need to generate the OTA package again.

Kindly generate the OTA package which you trying to upgrade again with below commands and try to update the system with this OTA package:

  • make clean
  • make -j4 && make otapackage

If the above steps are not working then can you please provide the logs in case of OTA failure.

Hope this will help you.

Regards,

Shivani

0 Kudos

782 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Amit,

Please check:

https://community.nxp.com/docs/DOC-343046 

Regards

0 Kudos

782 Views
vinothkumars
Senior Contributor IV

Bio_TICFSL,

Thank you for your reply,

But, whatever you suggest for the single system (build and update from same system (computer a) ). Please update if want try with different system means OTA package build from one system (computer a) and update by using other system (computer b).

Regards,

VinothS 

Regards,
Vinothkumar Sekar
0 Kudos

782 Views
vinothkumars
Senior Contributor IV

Hi 

Did you solve it ?

VinothS

Regards,
Vinothkumar Sekar
0 Kudos