This repository has been archived by the owner. It is now read-only.
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
53 lines (39 sloc) 1.45 KB

Building Android Source Code



Notice: Before you start to build, make sure you have done all the Preperations listed above.

Build U-Boot:

$ cd ~/project/vim/mmallow/uboot
$ make CROSS_COMPILE=aarch64-linux-gnu- kvim_defconfig
$ make CROSS_COMPILE=aarch64-linux-gnu-

Gernerated images:

  • fip/u-boot.bin: for onboard EMMC storage booting
  • fip/ for external TF card booting

Build Android:

$ cd ~/project/vim/mmallow
$ source build/
$ lunch kvim-user-32
$ make -jN otapackage


  • Replace 'N' as the number you want when you run 'make -jN'
  • Use 'userdebug' instead if build android with debug mode:
     $ lunch kvim-userdebug-32

Gernerated images:

  • out/target/product/kvim/update.img

Build Linux kernel:

If you wanna build linux kernel separately, run:

$ source device/khadas/kvim/

See Also: