Closed remarkked closed 4 months ago
Update: Built successfully after manually
build/soong/soong_ui.bash --make-mode -j TARGET_PRODUCT=aosp_arm TARGET_BUILD_VARIANT=userdebug
But not sure it's a proper way.
Also, AOSP 14 image from site doesn't boot at all: reboot after rainbow screen after reboot and so on. In FAQ underneath you said the reason is defined resolution, so I tried some possible resolutions: 720x480, 1920x1080, 3440x1440, also tried deleting "resolution.txt" as my display reports 3440x1440 as recommended resolution, nothing works. Same issue happens to built AOSP 14 after first successful boot and rebooting.
With specified 1920x1080 resolution my display says it doesn't match recommended 3440x1440, and sometimes rpi boots normally, sometimes it reboots specifying rpi 4 max resolution (3840x2160) and goes into reboot cycle. Doesn't seem there is any logic here. I guess resolution is the main problem it doesn't boot normally but what I can do?
aosp_arm
is not a valid build target for Raspberry Vanilla project (and 32-bit is probably something you shouldn't be targeting in 2024 in any case).
@KonstaT ofc I just tried your lunch aosp_rpi4_car which targets 64-bit rpi, but somewhere during updating ABI references the exact command that I successfully ran manually ruins this. I didn't change the target, just ran the command I saw in error trace
I faced the same fail building default clean AOSP 14 without raspberry-vanilla project
So, it is not anything related to Raspberry Vanilla project so this is not the correct place for this.
Quick Google search finds e.g. https://xdaforums.com/t/major-bug-in-android-14-breaks-building-aosp-on-debian-ubuntu.4636394/ https://forum.unity.com/threads/major-bug-in-android-14-breaks-building-aosp-for-debian-ubuntu-users.1506443/
I'm building this just fine on Ubuntu 22.04 LTS anyway. Something to do with python and/or python2 deprecation? sudo apt install python-is-python3
would help?
PLATFORM_VERSION=14 TARGET_PRODUCT=aosp_rpi4_car TARGET_BUILD_VARIANT=userdebug Environment has been established 100% properly twice.
I faced the same fail building default clean AOSP 14 without raspberry-vanilla project, but updating ABI references as suggested did the trick and build was successfully completed.
But with raspberry-vanilla project source code included, attempt to update ABI references fails building gbm_mesa_driver:
Found no solution yet. Please help