August 27, 2021, 6:50am
I tried building the Khadas VIM3 Android using the below commands :
make TARGET_USE_TABLET_LAUNCHER=true TARGET_VIM3=true -j24
I get this at the end :
wildcard(out/target/product/yukawa/clean_steps.mk) was changed, regenerating…
15:45:30 ninja failed with: exit status 137
failed to build some targets (02:26 (mm:ss))
how to check if my builds is fine or what issue is there?
Also how can i come to know the total build time.?
August 28, 2021, 2:05am
@tenk.wang please check this problem
@soong Build AOSP， Flash AOSP
The AOSP master branch is Android 12.
This error usually means the build process was killed by the OS in your laptop due to having no RAM left. You can confirm by running dmesg after the error and seeing in kernel logs that your process got killed.
Solutions would be:
Run make with a smaller j value than you're currently using, or Get more RAM, or Add swap space ( disk part that will be used as virtual memory)
August 28, 2021, 4:17pm
ok restarted with -j16.
Will post what happens after build.
August 29, 2021, 5:24am
again the same error.
can you please tell the steps.
You may need to upgrade your hardware configuration.
Can you post your hardware configuration?
August 30, 2021, 4:32am
6 vCPU Cores
16 GB RAM
400 GB SSD
if there is any command which can tell this , you can tell me.
August 31, 2021, 5:30am
It built fine now , I used -j4 option.
Thanks for all the support !.
Now for flashing can you please point me to the correct link.
I am following this post f yours :
How to flash vim3 with android 11 - #23 by Vladimir.v.v
as per this , uboot and flash.img are the only thing.
Is it correct !
Thanks and Regards,