Difference between revisions of "IoTGateway/BSP/Android/BSPsandImages/Make OTA"

From ESS-WIKI
Jump to: navigation, search
Line 29: Line 29:
  
 
  <small>$ make -j4 otapackage</small>
 
  <small>$ make -j4 otapackage</small>
 +
 
<span style="font-family:times new roman,times,serif;">The ota package update.zip, will be located in directory, ./out/target/product/product_name</span>
 
<span style="font-family:times new roman,times,serif;">The ota package update.zip, will be located in directory, ./out/target/product/product_name</span>
 +
 +
== Flash OTA image ==
 +
copy the ota image file update.zip to corresponding vendor partition
 
== Use ota image to upgrade android system ==
 
== Use ota image to upgrade android system ==

Revision as of 07:27, 3 February 2017

Build OTA image

Build ota image

[ For reference ]

If your product is RSB-4410A1, the product name is rsb_4410_a1

$PRODUCT = rsb_4410_a1

If your product is RSB-xxxx the product name is rsb_xxxx_a1

$PRODUCT = rsb_xxxx_a1

If your product is ROM-xxxx the product name is rom_xxxx_a1

$PRODUCT = rom_xxxx_a1

Build Instructions

Set the $JAVA_HOME environment variable

$ export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/

To build ota image

Perform the following command in terminal console
to do build ota image
$ make -j4 otapackage

The ota package update.zip, will be located in directory, ./out/target/product/product_name

Flash OTA image

copy the ota image file update.zip to corresponding vendor partition

Use ota image to upgrade android system