Difference between revisions of "IoTGateway/BSP/Android/BSPsandImages/Build U-Boot and Kernel"

From ESS-WIKI
Jump to: navigation, search
Line 21: Line 21:
 
  <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-size:small;"><span style="font-family:times new roman,times,serif;">To build u-boot</span></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-size:small;"><span style="font-family:times new roman,times,serif;">Perform the following command in terminal console</span></span>
Line 29: Line 29:
 
:<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;">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;">To build kernel</span>
+
====<span style="font-family:times new roman,times,serif;">To build kernel</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;">Perform the following command in terminal console</span>

Revision as of 06:47, 3 February 2017

Building Android 6.0.1_2.1.0 u-boot and kernel

[ 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 u-boot

Perform the following command in terminal console

$ make -j4 bootloader
The two files, u-boot_crc.bin & u-boot_crc.bin.crc, will be located in directory, ./out/target/product/product_name

To build kernel

Perform the following command in terminal console
to do build bootimage
$ make -j4 bootimage