Build Khadas VIM2 Android Source ERROR (

Hello dear Khadas developers!
I have problem. I try to build Android Nougat for Khadas VIM2. I’ve followed the instructions … maybe i’m so stupid. =( Please HELP!

I try:

$ export PATH=$PATH:/opt/toolchains/bin
$ cd ~/KHADAS/uboot
$ make CROSS_COMPILE=aarch64-linux-gnu- kvim2_defconfig
$ make CROSS_COMPILE=aarch64-linux-gnu-

$ cd ~/KHADAS
$ source build/
$ lunch kvim2-userdebug-64
$ make -j4 otapackage

I get:

cp /home/lobz/KHADAS/hardware/wifi/broadcom/drivers/ap6xxx/ out/target/product/kvim2/system/lib/
cp /home/lobz/KHADAS/out/target/product/kvim2/obj/KERNEL_OBJ/net/wireless/cfg80211.ko out/target/product/kvim2/system/lib/
make -C /home/lobz/KHADAS/out/target/product/kvim2/obj/KERNEL_OBJ M=/home/lobz/KHADAS/hardware/wifi/broadcom/drivers/ap6xxx/bcmdhd-usb. ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- modules
make[1]: Entering directory '/home/lobz/KHADAS/out/target/product/kvim2/obj/KERNEL_OBJ’
Building modules, stage 2.
MODPOST 1 modules
make[1]: Leaving directory '/home/lobz/KHADAS/out/target/product/kvim2/obj/KERNEL_OBJ’
cp /home/lobz/KHADAS/hardware/wifi/broadcom/drivers/ap6xxx/bcmdhd-usb. out/target/product/kvim2/system/lib/
ninja: build stopped: subcommand failed.
build/core/ recipe for target ‘ninja_wrapper’ failed
make: *** [ninja_wrapper] Error 1

make failed to build some targets (02:18 (mm:ss))

Can you provide more build informations for me? Thanks.

Finally successful build!!!

install curl
restart jack-server
limit memory to jack-server
mount 20GB swap file
install libxml2-utils


Thank you!

1 Like