This shows you the differences between two versions of the page.
| 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/ | $ cd bootloader/ | ||
| $ ./mk TARGET --vab | $ ./mk TARGET --vab | ||
| - | $ cp build/ | + | $ cp build/ |
| - | $ cp build/ | + | $ cp build/ |
| - | $ cp build/ | + | $ cp build/ |
| ``` | ``` | ||
| 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: '' | Gernerate images: '' | ||
| + | |||
| + | **android 11.0:** | ||
| + | ```shell | ||
| + | $ cd PATH_YOUR_PROJECT | ||
| + | $ export BOARD_COMPILE_ATV=false | ||
| + | $ export BOARD_COMPILE_CTS=false | ||
| + | $ source build/ | ||
| + | $ lunch TARGET_LUNCH | ||
| + | $ make -jN otapackage | ||
| + | ``` | ||
| + | |||
| + | Gernerate images: '' | ||
| <WRAP info > | <WRAP info > | ||