VIM3 can't boot after flashing the image built from AOSP head

That Android code is the official open-source AOSP (Android Open Source Project) code in https://cs.android.com/android/platform/superproject/main/+/main. And The VIM3 device specific code is here https://cs.android.com/android/platform/superproject/main/+/main:device/amlogic/yukawa/.

The AOSP main branch is the trunk development branch for the next dessert release, so the HEAD on the main branch is newer than any Android U releases.

From the log below, it looks like the Baylibre gerrit is using the Android 14 r15 release:

➜  khadas-aosp-14 repo init -u https://gitlab.baylibre.com/baylibre/amlogic/atv/aosp/manifest.git -b yukawa-android-14 --depth=1
Downloading Repo source from https://gerrit.googlesource.com/git-repo
You are automatically enrolled in Git submodules experiment (go/android-submodules-quickstart) for another two weeks.

NOTICE: --use-superproject is in beta; report any issues to the address described in `repo version`
/usr/local/google/home/wgtdkp/khadas-aosp-14/.repo/exp-superproject/925043f706ba64db713e9bf3b55987e2-superproject.git: Performing initial setup for superproject; this might take several minutes.
warning: git update of superproject  failed, repo sync will not use superproject to fetch source; while this error is not fatal, and you can continue to run repo sync, please run repo init with the --no-use-superproject option to stop seeing this warning

Your identity is: Kangping Dong <wgtdkp@google.com>
If you want to change this, please re-run 'repo init' with --config-name

repo has been initialized in /usr/local/google/home/wgtdkp/khadas-aosp-14
➜  khadas-aosp-14 repo sync -j96
You are currently enrolled in Git submodules experiment (go/android-submodules-quickstart).  Use --no-use-superproject to override.

NOTICE: --use-superproject is in beta; report any issues to the address described in `repo version`
repo superproject branch: android-14.0.0_r15 url: https://android.googlesource.com/platform/superproject warning: git fetch call failed, command: git ['fetch', 'https://android.googlesource.com/platform/superproject', '--depth', '1', '--force', '--no-tags', '--filter', 'blob:none', 'android-14.0.0_r15:android-14.0.0_r15'], return code: 128, stderr: fatal: couldn't find remote ref android-14.0.0_r15

Android Android 14 r15 is released in Sep 2023, it’s pretty old and doesn’t include my feature. See here refs/tags/android-14.0.0_r15 - platform/frameworks/base - Git at Google

Okay, I will inquire about baylibre and get back to you.

I found a paused PR on baylibre: Prepare gerrit on aosp (!3) · Merge requests · BayLibre / amlogic / Android TV / aosp / device / amlogic / yukawa · GitLab

Supposed this needs to be merged into AOSP to support VIM3 from there?

There are 2 sources for VIM3:

  1. BayLibre provided (stable) Android 14:
    Welcome to khadas-android-14’s documentation! — khadas-android-14 documentation
    is owned by BayLibre. We push code there and try to make a stable
    Android 14 for VIM3.

  2. Google’s AOSP (googlesource)

repo init -c -u platform/manifest - Git at Google -b main

Is owned by Google. We don’t have any code ownership there. Maxime
(in cc) is working on sending some changes we made to Google to see how
they respond.

Hope that helps

The above is BayLibre’s response regarding the main branch
For the latest Android version, the main branch no longer works, and the reason why the old part you used before can be used is because of this

@xiong.zhang Thanks for your coordination!

Please add me in any CLs sent to aosp/ (my email is wgtdkp@google.com). I can help you push the google guys to merge the CLs.

And kindly let me know when should I expect that CLs will be sent?

Hi @xiong.zhang Is there an update on this?

I will let you know if there is any new news