Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:edge-2l: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:edge-2l:development:android:build-android [2025/11/27 02:49]
gray ↷ Page moved from local:users:start:development:android:build-android to local:users:gray:products:sbc:edge-2l:development:android:build-android
products:sbc:edge-2l:development:android:build-android [2026/05/11 01:58] (current)
nick ↷ Page moved from local:users:gray:products:sbc:edge-2l:development:android:build-android to products:sbc:edge-2l:development:android:build-android
Line 12: Line 12:
   * [[http://source.android.com/source/initializing.html]]   * [[http://source.android.com/source/initializing.html]]
   * [[.download-android-source-code]]   * [[.download-android-source-code]]
-  * [[.install-toolchains]]+  * [[local:users:william:debug:edge2l:install-toolchains]]
  
 ===== Building ===== ===== Building =====
Line 20: Line 20:
 </WRAP> </WRAP>
  
 +<tabbox Edge-2L SBC>
 +Build ALL:
  
 +```shell
 +$ cd PATH_YOUR_PROJECT
 +$ source build/envsetup.sh
 +$ lunch kedge2l-userdebug
 +$ ./build.sh -UCKAou
 +```
 +You can also distribute compilations:
 +
 +
 +Build U-Boot:
 +
 +```shell
 +$ cd PATH_YOUR_PROJECT
 +$ source build/envsetup.sh
 +$ lunch kedge2l-userdebug
 +$ ./build.sh -Uu
 +```
 +
 +Build kernel:
 +```shell
 +$ cd PATH_YOUR_PROJECT
 +$ source build/envsetup.sh
 +$ lunch kedge2l-userdebug
 +$ ./build.sh -CKu
 +```
 +
 +Build Android:
 +
 +```shell
 +$ cd PATH_YOUR_PROJECT
 +$ source build/envsetup.sh
 +$ lunch kedge2l-userdebug
 +$ ./build.sh -Au
 +```
 +
 +Build OTA:
 +
 +```shell
 +$ cd PATH_YOUR_PROJECT
 +$ source build/envsetup.sh
 +$ lunch kedge2l-userdebug
 +$ ./build.sh -ou
 +```
 +<tabbox Edge-2L Ebook>
 Build ALL: Build ALL:
  
Line 26: Line 72:
 $ cd PATH_YOUR_PROJECT $ cd PATH_YOUR_PROJECT
 $ source build/envsetup.sh $ source build/envsetup.sh
-$ lunch kedge-2l-userdebug+$ lunch rk3576_ebook-userdebug
 $ ./build.sh -UCKAou $ ./build.sh -UCKAou
 ``` ```
Line 37: Line 83:
 $ cd PATH_YOUR_PROJECT $ cd PATH_YOUR_PROJECT
 $ source build/envsetup.sh $ source build/envsetup.sh
-$ lunch kedge-2l-userdebug+$ lunch rk3576_ebook-userdebug
 $ ./build.sh -Uu $ ./build.sh -Uu
 ``` ```
Line 45: Line 91:
 $ cd PATH_YOUR_PROJECT $ cd PATH_YOUR_PROJECT
 $ source build/envsetup.sh $ source build/envsetup.sh
-$ lunch kedge-2l-userdebug+$ lunch rk3576_ebook-userdebug
 $ ./build.sh -CKu $ ./build.sh -CKu
 ``` ```
Line 54: Line 100:
 $ cd PATH_YOUR_PROJECT $ cd PATH_YOUR_PROJECT
 $ source build/envsetup.sh $ source build/envsetup.sh
-$ lunch kedge-2l-userdebug+$ lunch rk3576_ebook-userdebug
 $ ./build.sh -Au $ ./build.sh -Au
 ``` ```
Line 63: Line 109:
 $ cd PATH_YOUR_PROJECT $ cd PATH_YOUR_PROJECT
 $ source build/envsetup.sh $ source build/envsetup.sh
-$ lunch kedge-2l-userdebug+$ lunch rk3576_ebook-userdebug
 $ ./build.sh -ou $ ./build.sh -ou
 ``` ```
 +</tabbox>
  
 <WRAP info > <WRAP info >
Line 75: Line 122:
 ``` ```
 rockdev/Image-xxx/ rockdev/Image-xxx/
 +├── baseparameter.img
 ├── boot-debug.img ├── boot-debug.img
 ├── boot.img ├── boot.img
Line 97: Line 145:
 $ cd PATH_YOUR_PROJECT $ cd PATH_YOUR_PROJECT
 $ source build/envsetup.sh $ source build/envsetup.sh
-$ lunch kedge-2l-userdebug+$ lunch kedge2l-userdebug
 $ ./build.sh -u $ ./build.sh -u
 ``` ```
Last modified: 2025/11/27 02:49 by gray