Preparations
- [x] Establishing a Build Environment
- [x] Downloading the Android Source
- [x] Install Toolchains for the Amlogic Platform
Building
Note: Before you start to build, make sure you have done all the Preparations
listed above.
Build U-Boot:
$ cd PATH_YOUR_PROJECT $ cd bootloader/uboot $ ./mk kvim3 |
Gernerate images in this step:
- build/u-boot.bin: for onboard EMMC storage booting
- build/u-boot.bin.sd.bin: for external TF card booting
Build Android:
$ cd PATH_YOUR_PROJECT $ source build/envsetup.sh $ lunch kvim3-userdebug $ make -jN otapackage |
Note:
- Replace ‘N’ as the number you want when you run ‘make -jN’
Gernerate images in this step:
- out/target/product/kvim3/update.img
Build Linux kernel:
When you build the Android Kernel (above), the Linux Kernel will also be built simultaneously.
In some cases, you might want to build the Linux Kernel separately. You can run this script below to do that:
$ make bootimage |
Comments
0 comments
Please sign in to leave a comment.