This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
products:sbc:edge2:development:android:build-android [2022/08/02 06:35] haylrn |
products:sbc:edge2:development:android:build-android [2024/10/28 06:15] (current) xiong |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | {{indexmenu_n> | + | {{indexmenu_n> |
| Line 6: | Line 6: | ||
| ===== Introduction ===== | ===== Introduction ===== | ||
| - | This document mainly introduces how to compile the Android source code. You will learn how to compile different versions of android | + | This document mainly introduces how to compile the Android source code. You will learn how to compile different versions of Android |
| ===== Preparation ===== | ===== Preparation ===== | ||
| Line 20: | Line 20: | ||
| </ | </ | ||
| - | |||
| - | <tabbox Android 12.0> | ||
| Build ALL: | Build ALL: | ||
| Line 27: | Line 25: | ||
| ```shell | ```shell | ||
| $ cd PATH_YOUR_PROJECT | $ cd PATH_YOUR_PROJECT | ||
| - | $ ./enjoy.sh | + | $ source build/ |
| + | $ lunch kedge2-userdebug | ||
| + | $ ./build.sh -UCKAou | ||
| ``` | ``` | ||
| + | You can also distribute compilations: | ||
| + | |||
| Build U-Boot: | Build U-Boot: | ||
| Line 34: | Line 36: | ||
| ```shell | ```shell | ||
| $ cd PATH_YOUR_PROJECT | $ cd PATH_YOUR_PROJECT | ||
| - | $ cd u-boot | + | $ source build/ |
| - | $ ./make.sh rk3588 | + | $ lunch kedge2-userdebug |
| + | $ ./build.sh -Uu | ||
| ``` | ``` | ||
| Line 42: | Line 45: | ||
| $ cd PATH_YOUR_PROJECT | $ cd PATH_YOUR_PROJECT | ||
| $ source build/ | $ source build/ | ||
| - | $ lunch rk3588_s-userdebug | + | $ lunch kedge2-userdebug |
| - | $ ./build.sh -AK | + | $ ./build.sh -CKu |
| ``` | ``` | ||
| Line 51: | Line 54: | ||
| $ cd PATH_YOUR_PROJECT | $ cd PATH_YOUR_PROJECT | ||
| $ source build/ | $ source build/ | ||
| - | $ lunch rk3588_s-userdebug | + | $ lunch kedge2-userdebug |
| - | $ ./build.sh -A | + | $ ./build.sh -Au |
| + | ``` | ||
| + | |||
| + | Build OTA: | ||
| + | |||
| + | ```shell | ||
| + | $ cd PATH_YOUR_PROJECT | ||
| + | $ source build/ | ||
| + | $ lunch kedge2-userdebug | ||
| + | $ ./build.sh -ou | ||
| ``` | ``` | ||
| <WRAP info > | <WRAP info > | ||
| - | Replace | + | |
| </ | </ | ||
| - | After executing '' | + | After executing '' |
| ``` | ``` | ||
| Line 85: | Line 97: | ||
| $ cd PATH_YOUR_PROJECT | $ cd PATH_YOUR_PROJECT | ||
| $ source build/ | $ source build/ | ||
| - | $ lunch rk3588_s-userdebug | + | $ lunch kedge2-userdebug |
| $ ./build.sh -u | $ ./build.sh -u | ||
| ``` | ``` | ||
| - | < | + | < |
| - | Replace | + | After compiling, you need to reload |
| </ | </ | ||
| - | After executing '' | + | ===== See Also ===== |
| - | ``` | + | * [[/ |
| - | rockdev/Image-xxx/ | + | * [[/ |
| - | ├── MiniLoaderAll.bin | + | |
| - | ├── boot.img | + | |
| - | ├── dtbo.img | + | |
| - | ├── kernel.img | + | |
| - | ├── misc.img | + | |
| - | ├── oem.img | + | |
| - | ├── parameter.txt | + | |
| - | ├── pcba_small_misc.img | + | |
| - | ├── pcba_whole_misc.img | + | |
| - | ├── recovery.img | + | |
| - | ├── resource.img | + | |
| - | ├── system.img | + | |
| - | ├── trust.img | + | |
| - | ├── uboot.img | + | |
| - | ├── update.img | + | |
| - | ├── vbmeta.img | + | |
| - | ``` | + | |
| - | Packing update.img: | ||
| - | |||
| - | ```shell | ||
| - | $ cd PATH_YOUR_PROJECT | ||
| - | $ source build/ | ||
| - | $ lunch rk3588-userdebug | ||
| - | $ ./ | ||
| - | ``` | ||
| - | </ | ||
| - | |||
| - | ===== See Also ===== | ||
| - | * [[/ | ||
| - | * [[/ | ||
| - | {{indexmenu_n> | ||