AOSP Android 11 - no super or recovery images

Hi all,

I’ve download AOSP Android 11 tree (r1) and build yukawa-userdebug images.
I have the next images:

boot.img
cache.img
system.img
userdata.img
vendor.img

Shouldn’t I have super.img, recovery.img and dtbo.img as well?
How can I build these images as well?

Thanks.

Hello @Terry @jasonl

Please help.

@maxi_igo repo init -u https://android.googlesource.com/platform/manifest -b master is this your download command ,normally ,it will have super.img recovery.img and dtbo.img

Thanks for the reply.

Why can I use the normal AOSP tree with different Android R tags? (android-11.0.0_r1 for example)

I see they have support for yukawa and allow me to build images for it.

What can I do if I need 2 different versions of Android 11 images for Yukawa?

I managed to create super.img in an regular AOSP tree by modifying BoardConfig.mk but still no luck creating dtbo.img or recovery.img…

  • Use android11 branch when doing repo init
  repo init -u https://android.googlesource.com/platform/manifest -b android-11.0.0_r31
  repo sync -j12
  • Use the the master branch of device/amlogic-yukawa kernel
  cd device/amlogic/yukawa-kernel
  git pull aosp
  git checkout -f aosp/master
  • Fixups. There are few things that need tweaking in yukawa repo
    because they are meant for the master branch.
    Use my work-in-progress branch for device/amlogic/yukawa:
  cd device/amlogic/yukawa
  git remote add --no-tags baylibre https://gitlab.com/baylibre/amlogic/atv/aosp/device/amlogic/yukawa.git
  git pull baylibre
  git checkout -f baylibre/wip/android11
  • build the AOSP for VIM3:
source build/envsetup.sh
lunch yukawa-userdebug
make TARGET_USE_TABLET_LAUNCHER=true TARGET_VIM3=true TARGET_KERNEL_USE=5.4 -j16
  • if you see “build completed successfully (xxx (mm:ss))”,you will get some img files.
  • flash Uboot:
cd path/to/aosp/device/amlogic/yukawa/bootloader/
./tools/update write u-boot_kvim3_noab.bin 0xfffa0000 0x10000
./tools/update run 0xfffa0000
./tools/update bl2_boot u-boot_kvim3_noab.bin
fastboot oem format
fastboot flash bootloader u-boot_kvim3_noab.bin
fastboot erase bootenv
fastboot reboot bootloader
  • press reset key.

  • flash img:

cd out/target/product/yukawa
fastboot flash boot boot.img
fastboot flash super super.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img
fastboot flash recovery recovery.img
fastboot flash dtbo dtbo-unsigned.img
fastboot reboot
1 Like

Hi,

I built AOSP in khadas github and flash it. It is working nice, but the problem is that I cannot find gpu devfreq. Even when I search the kernel config but there is nothing about arm GPU to add devfreq. Could you help me how I can find ARM GPU config in kernel?

Also I try AOSP of google android using instruction of this website:

I build this AOSP and flash it. However the screen blinks and with each blink icons go up and down. Could you help me find the problem please?

Best,
Ehsan