Google plans RISC-V Android tools in 2024, wants developers to “be ready”

Google plans RISC-V Android tools in 2024, wants developers to “be ready”

Android is slowly entering the RISC-V era. So far we’ve seen Google say it wants to give the up-and-coming CPU architecture “tier-1” support in Android, putting RISC-V on equal footing with Arm. Qualcomm has announced the first mass-market RISC-V Android chip, a still-untitled Snapdragon Wear chip for smartwatches. Now Google has announced a timeline for developer tools via the Google Open Source Blog. The last post is titled “Android and RISC-V: What you need to know to be ready.”

Getting the Android OS and app ecosystem to support a new architecture is going to take an incredible amount of work from Google and developers, and these tools are laying the foundation for that work. First up, Google already has the “Cuttlefish” virtual device emulator running, including a gif of it booting up. This isn’t the official “Android Emulator”—which is targeted at app developers doing app development—Cuttlefish is a hardware emulator for Android OS development. It’s the same idea as the Android Emulator but for the bottom half of the tech stack—the kernel, framework, and hardware bits. Cuttlefish lets Google and other Android OS contributors work on a RISC-V Android build without messing with an individual RISC-V device. Google says it’s working well enough now that you can download and emulate a RISC-V device today, though the company warns that nothing is optimized yet.

The next step is getting the Android Emulator (for app developers) up and running, and Google says: “By 2024, the plan is to have emulators available publicly, with a full feature set to test applications for various device form factors!” The nice thing about Android is that most app code is written with no architecture in mind—it’s all just Java/Kotlin. So once the Android RunTime starts spitting out RISC-V code, a lot of app code should Just Work. That means most of the porting work will need to go into things written in the NDK, the native developer kit, like libraries and games. The emulator will still be great for testing, though.

The post also confirms, from Google’s side this time, that a Qualcomm smartwatch will be the first RISC-V Android device on the market. With the Pixel Watch 2 switching SoCs from Samsung to Qualcomm, it sure feels like we’re on a collision course to see the Pixel Watch 3 or 4 use this Qualcomm RISC-V chip.

https://arstechnica.com/?p=1980141