Hello!
I am considering upgrading from Rock 5B to Rock 5B+ and I would like to ask if the Android image that I build following the tutorial for Rock 5B will work in Rock 5B+.
Any idea?
Thanks!
Hello!
I am considering upgrading from Rock 5B to Rock 5B+ and I would like to ask if the Android image that I build following the tutorial for Rock 5B will work in Rock 5B+.
Any idea?
Thanks!
Yes, but I suggest you build 5B+ directly, “Radxa Rock 5B Gen2” This is 5B+
I’m using a docker container to build Android 12 specifically for the 5B+. I’m having issues.
I check out the code and setup the environment:
repo init -u https://github.com/radxa/manifests -b Android12_Radxa_rk14 -m rockchip-s-release.xml
repo sync -d -c -j4
source ./build/envsetup.sh
Select the target:
lunch RadxaRock5BGen2-userdebug
Which results in this error:
In file included from build/make/core/config.mk:313:
In file included from build/make/core/envsetup.mk:312:
frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-heap.mk:19: error: _nic.PRODUCTS.[[device/rockchip/rk3588/RadxaRock5BGen2/RadxaRock5BGen2.mk]]: “vendor/partner_gms/products/gms.mk” does not exist.
02:36:15 dumpvars failed with: exit status 1
To get around this error. I comment out the “inherit-product” line from RadxaRock5BGen2.mk since I don’t want GMS anyway.
Now the lunch command will work, and I attempt to build:
lunch RadxaRock5BGen2-userdebug
./build.sh -UACKup
Which results in this error:
scripts/kconfig/Makefile:93: *** No configuration exists for this target on this architecture. Stop.
make[1]: *** [Makefile:630: rock5b_gen2.config] Error 2
make: *** [Makefile:350: __build_one_by_one] Error 2failed to build some targets (4 seconds)
Can you help?
Thanks!
Go to the kernel-5.10/kernel/configs directory to see if the rock5b_gen2.config file is missing. You can refer to other files and soft link the file.
That was the issue. Once I created the link the build completed successfully.
Thanks for your help.