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
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