The status of AOSP porting: Is there anyone working on it (publicly)?

286 views
Skip to first unread message

Wei Wu

unread,
Jul 25, 2020, 5:42:39 AM7/25/20
to RISC-V SW Dev
Hi all,

Android is an important system nowadays, so I wonder if there are already some teams working on porting AOSP to RISC-V platform. Would you mind to drop a url or mail to me if you know  anyone working on this porting? Last week, after we found another V8 porting team doing exactly the same work with the PLCT V8 team, we think it is better to ask around before we start ;-)

Thanks.

--
Wei Wu
PLCT Lab

Wei Wu

unread,
Aug 4, 2020, 1:33:06 AM8/4/20
to RISC-V SW Dev
Hi,

FYI, we've just set up a github group [1][2] for AOSP porting.

AOSP has a very big codebase and I think there is no single team (except Google, of course) has the ability for complete porting. We call for collaborators who are familiar with compilers, dalvik/ART, or libraries like bionic. Anyone who are interested in running Android on RISC-V hardwares  are welcome!
Feel free to open issues if you have questions for this project.

Guoyin Chen

unread,
Sep 11, 2020, 10:24:33 AM9/11/20
to RISC-V SW Dev, lazyp...@gmail.com
i put some of my work in https://github.com/guoyinchen/riscv-aosp-soong/tree/riscv_android-10.0.0. But still far beyond to be done.
Do you have a android version gcc and clang tools ported?

Chen Wang

unread,
Sep 14, 2020, 9:04:36 PM9/14/20
to RISC-V SW Dev, guoyi...@gmail.com, lazyp...@gmail.com
hi,Guoyin,
Good to hear you are also working on this. I'm working with Wei Wu on AOSP porting on riscv too.
I checked your repo and seems you are making changes on soong only. Could you please detail your target and latest status?

Regarding your question: no, we don't have clang for riscv. As to gcc, I think it has been ported to riscv and we can follow up https://github.com/riscv/riscv-gnu-toolchain to build one by ourselves. 

If you have interested on this project, feel free to contact with us, maybe we can find chance to work it out together.

Guoyin Chen

unread,
Sep 15, 2020, 3:26:28 AM9/15/20
to Chen Wang, RISC-V SW Dev, lazyp...@gmail.com
Some of my change are listed below.
https://github.com/guoyinchen/riscv-aosp-mini-emulator-riscv64

Typically android gcc toolchina has a bit different with gnu gcc. The whole build system need you to have an android gcc build, and then NDK build. The last  one is the CLANG buid for android. With all those prebuilt toolchain and binary, you are able to build the whole android system.  CLANG seems to be easily to be built out. But the GCC one is a bit complicated as the orignal android gcc is 4.9, but the latest one for RISCV is about 10.0.  
below is a link about how to build an android version gcc 4.9.

Wei Wu (吴伟)

unread,
Sep 16, 2020, 1:31:26 AM9/16/20
to Guoyin Chen, Chen Wang, RISC-V SW Dev
 Thank you for the sharing links!
--
Best wishes,
Wei Wu (吴伟)
Reply all
Reply to author
Forward
0 new messages