This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:sbc:vim4:development:android:build-android [2024/11/01 05:24] goenjoy |
products:sbc:vim4:development:android:build-android [2024/11/26 20:09] (current) goenjoy |
||
---|---|---|---|
Line 18: | Line 18: | ||
<tabbox Android 14> | <tabbox Android 14> | ||
- | ==== Build U-Boot | + | **Build U-Boot:** |
```shell | ```shell | ||
Line 30: | Line 30: | ||
* '' | * '' | ||
- | ==== Build Linux Kernel | + | **Build Linux Kernel:** |
Line 42: | Line 42: | ||
- | ==== Build Android | + | **Build Android:** |
Line 48: | Line 48: | ||
$ cd PATH_YOUR_PROJECT | $ cd PATH_YOUR_PROJECT | ||
$ . build/ | $ . build/ | ||
- | $ lunch TARGET_LUNCH | + | $ lunch kvim4_arm64-userdebug |
$ make aml_upgrade -jN | $ make aml_upgrade -jN | ||
$ make -jN otapackage | $ make -jN otapackage | ||
``` | ``` | ||
- | Gernerate images in this step: '' | + | Gernerate images in this step: '' |
<WRAP important > | <WRAP important > | ||
- | * Unlike VIM3, VIM4 doesn' | + | Replace '' |
- | * Replace '' | + | |
- | * Replace '' | + | |
- | * For VIM4, it's '' | + | |
</ | </ | ||
- | ==== Build Script Demo ==== | + | **Build Script Demo:** |
```sh demo.sh | ```sh demo.sh | ||
$ cat demo.sh | $ cat demo.sh | ||
Line 114: | Line 109: | ||
<tabbox Android 11> | <tabbox Android 11> | ||
- | ==== Build U-Boot | + | **Build U-Boot:** |
```shell | ```shell | ||
Line 126: | Line 121: | ||
* '' | * '' | ||
- | ==== Build Linux Kernel | + | **Build Linux Kernel:** |
Line 138: | Line 133: | ||
- | ==== Build Android | + | **Build Android:** |
```shell | ```shell | ||
$ cd PATH_YOUR_PROJECT | $ cd PATH_YOUR_PROJECT | ||
$ . build/ | $ . build/ | ||
- | $ lunch TARGET_LUNCH | + | $ lunch kvim4-userdebug |
$ make -jN otapackage | $ make -jN otapackage | ||
``` | ``` | ||
- | Gernerate images in this step: '' | + | Gernerate images in this step: '' |
<WRAP important > | <WRAP important > | ||
- | * Unlike VIM3, VIM4 doesn' | + | Replace '' |
- | * Replace '' | + | |
- | * Replace '' | + | |
- | * For VIM4, it's '' | + | |
</ | </ | ||
- | ==== Build Script Demo ==== | + | **Build Script Demo:** |
```sh demo.sh | ```sh demo.sh |