@jack_trip ,
The server download link is invalid. We are contacting BayLibre to resolve the issue and will update you as soon as we have any results.
Hi,
vendor package issue was fixed , retry it should work now
Guillaume
Hi
Thank you!
I can check fixed that.
regards.
Hello All,
I am trying to build AOSP with Android 14 and Kernel version 6.1 on Khadas VIM3 board.
As a starting step I flashed the prebuilt images from https://dl.khadas.com/products/vim3/firmware/android/vim3-tablet-aosp-main-20241220.tar.gz and worked.
Next step I only build the AOSP code and flashed the images. This step did not work.
More details are as below,
-
Obtaining the AOSP code
mkdir khadas-aosp-14 && cd $_
repo init -u https://android.googlesource.com/platform/manifest -b main
repo sync
-
Compiling the code
-
export TARGET_VIM3=true
export TARGET_AVB_ENABLE=true
export TARGET_KERNEL_USE=6.1
export TARGET_USE_TABLET_LAUNCHER=true
./device/amlogic/yukawa/fetch-vendor-package.sh
source build/envsetup.sh && lunch yukawa-trunk_staging-userdebug
time make -j50 2>&1 | tee build_vim3_14_android.log
-
Flash the images
- Images and location
-
Image Location Remark Column 4 u-boot_kvim3_ab.bin out/target/product/yukawa and vendor/amlogic/yukawa/bootloader/20241217 Both images are having same size. So, I assume it is copied from bootloader/20241217 to product/yukawa boot.img out/target/product/yukawa super.img out/target/product/yukawa userdata.img out/target/product/yukawa dtbo-unsigned.img out/target/product/yukawa
$ pip3 install pyamlboot
Bootloader
$ export BOOTLOADER_NAME=u-boot_kvim3_ab.bin
$ cd vendor/amlogic/yukawa/bootloader/20241217
$ boot-g12.py ${BOOTLOADER_NAME}
$ fastboot flash bootloader ${BOOTLOADER_NAME}
$ fastboot erase bootenv && fastboot oem format && fastboot reboot bootloader
Press the R button
-
- Load the Android images
$ cd out/target/product/yukawa
$ fastboot flash boot_a boot.img && fastboot flash boot_b boot.img && fastboot flash super super.img && fastboot flash userdata userdata.img && fastboot flash dtbo_a dtbo-unsigned.img && fastboot flash dtbo_b dtbo-unsigned.img && fastboot erase misc && fastboot erase frp && fastboot format metadata && fastboot reboot
Post the rebooting of the board, still get an error of Failed to boot Android!
Regards,
Any required PC spec information to run the compilation?
@sazJal ,
Operating System: Ubuntu 22.04
CPU: 64-bit
RAM: 64 GB
Free Disk Space: 512 GB