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

From ESS-WIKI
Jump to: navigation, search
(Created page with "== Build OTA image == === <span style="font-family:times new roman,times,serif;">Building Android 6.0.1_2.1.0 u-boot and kernel</span> === <span style="font-family:times new...")
 
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Build OTA image ==
 
== Build OTA image ==
  
=== <span style="font-family:times new roman,times,serif;">Building Android 6.0.1_2.1.0 u-boot and kernel</span> ===
+
=== <span style="font-family:times new roman,times,serif;">Build ota image</span> ===
  
 
<span style="font-family:times new roman,times,serif;">[ For reference ]</span>
 
<span style="font-family:times new roman,times,serif;">[ For reference ]</span>
Line 23: Line 23:
 
  <small>$ export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/</small>
 
  <small>$ export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/</small>
  
==== <span style="font-size:small;"><span style="font-family:times new roman,times,serif;">To build u-boot</span></span> ====
+
==== <span style="font-family:times new roman,times,serif;">To build ota image</span> ====
  
<span style="font-size:small;"><span style="font-family:times new roman,times,serif;">Perform the following command in terminal console</span></span>
+
:<span style="font-family:times new roman,times,serif;">Perform the following command in terminal console</span>
 +
:<span style="font-family:times new roman,times,serif;">to do build ota image</span><br/>
 +
 
 +
<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>
  
<small>$ make -j4 bootloader</small>
+
== Flash OTA image ==
  
:<span style="font-family:times new roman,times,serif;">The two files, u-boot_crc.bin & u-boot_crc.bin.crc, will be located in directory, ./out/target/product/product_name</span>
+
<span style="font-family:times new roman,times,serif;">copy the ota image file update.zip to corresponding vendor partition</span>
  
==== <span style="font-family:times new roman,times,serif;">To build kernel</span> ====
+
== Use ota image to upgrade android system ==
  
:<span style="font-family:times new roman,times,serif;">Perform the following command in terminal console</span>
+
=== Click Settings / About tablet / Addition system updates: ===
:<span style="font-family:times new roman,times,serif;">to do build bootimage</span><br/>
+
 
 +
[[File:Android-ota1.jpg|RTENOTITLE]]
 +
 
 +
=== Wait for one moment, system will reboot for updating. ===
 +
 
 +
[[File:Android-ota2.jpg|RTENOTITLE]]
  
<small>$ make -j4 bootimage</small>
+
=== It will take some time to update. ===
== How to use ==
+
<span style="font-family:times new roman,times,serif;">When the system startup next time,it runs the upgraded system!</span>
 +
[[Category:Pages with broken file links]]

Latest revision as of 07:48, 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

Click Settings / About tablet / Addition system updates:

RTENOTITLE

Wait for one moment, system will reboot for updating.

RTENOTITLE

It will take some time to update.

When the system startup next time,it runs the upgraded system!