This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
products:sbc:vim4:development:android:build-android [2022/07/06 09:49] nick |
products:sbc:vim4:development:android:build-android [2022/09/28 09:44] nick |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{indexmenu_n> | + | {{indexmenu_n> |
- | ====== Build Android ====== | + | ====== |
===== Preparations ===== | ===== Preparations ===== | ||
- | - [x] [[http:// | + | |
- | - [x] [[DownloadAndroidSourceCode.html: | + | - [x] [[products:sbc: |
- | - [x] [[InstallToolchains|Install Toolchains for the Amlogic Platform]] | + | - [x] [[products: |
Line 16: | Line 15: | ||
<WRAP important > | <WRAP important > | ||
- | Before you start to build, make sure you have done all the '' | + | Make sure you have done all the '' |
</ | </ | ||
Line 22: | Line 21: | ||
==== Build U-Boot ==== | ==== Build U-Boot ==== | ||
- | ```sh | + | ```shell |
$ cd PATH_YOUR_PROJECT | $ cd PATH_YOUR_PROJECT | ||
$ cd bootloader/ | $ cd bootloader/ | ||
Line 35: | Line 34: | ||
- | ```sh | + | ```shell |
$ ./mk kvim4 -v 5.4 -jN | $ ./mk kvim4 -v 5.4 -jN | ||
``` | ``` | ||
Line 47: | Line 46: | ||
- | ```sh | + | ```shell |
$ cd PATH_YOUR_PROJECT | $ cd PATH_YOUR_PROJECT | ||
$ . build/ | $ . build/ | ||
Line 58: | Line 57: | ||
<WRAP important > | <WRAP important > | ||
- | * VIM4 compiling Android | + | * Unlike VIM3, |
* Replace '' | * Replace '' | ||
* Replace '' | * Replace '' | ||
Line 104: | Line 103: | ||
**Build U-Boot:** | **Build U-Boot:** | ||
- | ```sh | + | ```shell |
$ ./demo.sh u | $ ./demo.sh u | ||
``` | ``` | ||
Line 110: | Line 109: | ||
**Build Kernel:** | **Build Kernel:** | ||
- | ```sh | + | ```shell |
$ ./demo.sh k | $ ./demo.sh k | ||
``` | ``` | ||
Line 116: | Line 115: | ||
**Build Android:** | **Build Android:** | ||
- | ```sh | + | ```shell |
$ ./demo.sh a | $ ./demo.sh a | ||
``` | ``` | ||
Line 122: | Line 121: | ||
**Build all:** | **Build all:** | ||
- | ```sh | + | ```shell |
$ ./demo.sh n | $ ./demo.sh n | ||
``` | ``` | ||