Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim3:development:android:build-android

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
products:sbc:vim3:development:android:build-android [2024/06/26 21:44]
xiong
products:sbc:vim3:development:android:build-android [2024/10/28 02:35] (current)
xiong
Line 29: Line 29:
 $ cd bootloader/uboot $ cd bootloader/uboot
 $ ./mk TARGET --vab $ ./mk TARGET --vab
-$ cp build/u-boot.bin ../../device/khadas/kvim3/bootloader.img +$ cp build/u-boot.bin ../../device/khadas/TARGET/bootloader.img 
-$ cp build/u-boot.bin.sd.bin ../../device/khadas/kvim3/upgrade/ +$ cp build/u-boot.bin.sd.bin ../../device/khadas/TARGET/upgrade/ 
-$ cp build/u-boot.bin.usb.* ../../device/khadas/kvim3/upgrade/+$ cp build/u-boot.bin.usb.* ../../device/khadas/TARGET/upgrade/
 ``` ```
  
Line 45: Line 45:
 In some cases, you might want to build the Linux Kernel separately. You can run this script below to do that: In some cases, you might want to build the Linux Kernel separately. You can run this script below to do that:
  
 +**android 9.0:**
 ```shell ```shell
 $ make bootimage $ make bootimage
 ``` ```
  
 +**android 11.0:**
 +```shell
 +$ ./mk TARGET -v 4.9
 +```
 ==== Build Android ==== ==== Build Android ====
  
 +**android 9.0:**
 ```shell ```shell
 $ cd PATH_YOUR_PROJECT $ cd PATH_YOUR_PROJECT
Line 59: Line 65:
  
 Gernerate images: ''out/target/product/TARGET/update.img''. Gernerate images: ''out/target/product/TARGET/update.img''.
 +
 +**android 11.0:**
 +```shell
 +$ cd PATH_YOUR_PROJECT
 +$ export BOARD_COMPILE_ATV=false
 +$ export BOARD_COMPILE_CTS=false
 +$ source build/envsetup.sh
 +$ lunch TARGET_LUNCH
 +$ make -jN otapackage
 +```
 +
 +Gernerate images: ''out/target/product/TARGET/aml_upgrade_package.img''.
  
 <WRAP info > <WRAP info >
Last modified: 2024/06/26 21:44 by xiong