Google pulls RISC-V support from generic Android kernel

https://www.theregister.com/2024/05/01/riscv_support_android_pulled/

Support for RISC-V was dropped from Android's Generic Kernel Image (GKI) thanks to a patch successfully merged today.

The patch, filed under the topic "ack_riscv64_turndown" on the Android Open Source Project (AOSP) tracker, removes files from the Android Generic Kernel (GKI) that existed to implement support for RISC-V, an open CPU architecture that sees use in many kinds of electronics, though hasn't made the leap to smartphones yet.

"Remove ACK's [Android Common Kernel] support for riscv64. Support for risc64 GKI kernels is discontinued," the patch note briefly says. The deletion was submitted by a Google engineer, and naturally passed the review process.

It's a significant U-turn for the Chocolate Factory, which has accepted RISC-V patches for Linux-powered Android since November 2022 (including GKI patches), and formally added support in October 2023.

The practical effect of this is that Android operating system implementations using the next release of GKI won't work on RISC-V chips out of the box.

Support for RISC-V will have to be added back in by other developers, and while it's not unusual for SoC manufacturers and OEMs to make their own tweaks to Android, adding in support for a whole architecture is unusual.

It's unclear what kind of effect this will have on RISC-V's integration into the Android ecosystem. There are no RISC-V smartphones out there yet, so it won't make life hard for phone makers, but it's hard to see GKI support being axed as conducive for the adoption of the open CPU arch. Android still accepts RISC-V patches via AOSP.

Google assures, however, that the end of RISC-V's GKI support isn't a death sentence for RISC-V on Android. "Android will continue to support RISC-V," the ad biz said in a statement to Android Authority. "Due to the rapid rate of iteration, we are not ready to provide a single supported image for all vendors."

To us, this sounds like Google thinks it's worth plowing on with RISC-V support in Android but doesn't think it's ready yet for prime time.

It's an especially weird time to make this kind of move since Qualcomm is set to incorporate RISC-V CPUs and Google's Wear OS for future wearables. The work of adding RISC-V support for Wear OS would surely carry over at least partially to Android. We've asked Google for further comment on its motivations for removing RISC-V support in GKI, and we'll update if we get a reply.

Meanwhile, the RISC-V community has issued its RISC-V Boot and Runtime Services Specification, which aims to define a common, generic platform on which OSes and hypervisors can start and manage a system. ®

{
"by": "bovem",
"descendants": 1,
"id": 40226773,
"kids": [
40226817
],
"score": 5,
"time": 1714586099,
"title": "Google pulls RISC-V support from generic Android kernel",
"type": "story",
"url": "https://www.theregister.com/2024/05/01/riscv_support_android_pulled/"
}
{
"author": "Matthew Connatser",
"date": "2024-05-29T03:41:13.000Z",
"description": "Not a great omen if you were hoping to own a future RV smartphone – tho web giant says it hasn’t totally given up",
"image": "https://regmedia.co.uk/2015/02/03/sad_android.jpg",
"logo": "https://logo.clearbit.com/theregister.com",
"publisher": "The Register",
"title": "Google pulls RISC-V support from generic Android kernel",
"url": "https://www.theregister.com/2024/05/01/riscv_support_android_pulled/"
}
{
"url": "https://www.theregister.com/2024/05/01/riscv_support_android_pulled/",
"title": "Google pulls RISC-V support from generic Android kernel",
"description": "Support for RISC-V was dropped from Android's Generic Kernel Image (GKI) thanks to a patch successfully merged today. The patch, filed under the topic \"ack_riscv64_turndown\" on the Android Open Source Project...",
"links": [
"https://www.theregister.com/2024/05/01/riscv_support_android_pulled/",
"https://www.theregister.com/AMP/2024/05/01/riscv_support_android_pulled/"
],
"image": "https://regmedia.co.uk/2015/02/03/sad_android.jpg",
"content": "<div>\n<p>Support for RISC-V was dropped from Android's Generic Kernel Image (GKI) thanks to a patch successfully merged today.</p>\n<p>The patch, filed under the topic \"ack_riscv64_turndown\" on the Android Open Source Project (AOSP) <a target=\"_blank\" href=\"https://android-review.googlesource.com/q/topic:%22ack_riscv64_turndown%22\">tracker</a>, removes files from the Android Generic Kernel (GKI) that existed to implement support for RISC-V, an open CPU architecture that sees use in many kinds of electronics, though hasn't made the leap to smartphones yet.</p>\n<p>\"Remove ACK's [Android Common Kernel] support for riscv64. Support for risc64 GKI kernels is discontinued,\" the patch note briefly says. The deletion was submitted by a Google engineer, and naturally passed the review process.</p>\n<p>It's a significant U-turn for the Chocolate Factory, which has accepted RISC-V patches for Linux-powered Android since November 2022 (including GKI patches), and <a target=\"_blank\" href=\"https://www.theregister.com/2023/10/31/google_android_risc_v/\">formally added support</a> in October 2023.</p>\n<p>The practical effect of this is that Android operating system implementations using the next release of GKI won't work on RISC-V chips out of the box.</p>\n<p>Support for RISC-V will have to be added back in by other developers, and while it's not unusual for SoC manufacturers and OEMs to make their own tweaks to Android, adding in support for a whole architecture is unusual.</p>\n<ul>\n<li><a target=\"_blank\" href=\"https://www.theregister.com/2024/04/24/us_commerce_china_risc_v_investigation/\">US government reportedly ponders crimping China's use of RISC-V</a></li>\n<li><a target=\"_blank\" href=\"https://www.theregister.com/2024/04/17/riscv_ai_startup_rivos_funded/\">RISC-V AI chip upstart Rivos plans to undercut Nvidia, helped by a quarter-billion in VC lucre</a></li>\n<li><a target=\"_blank\" href=\"https://www.theregister.com/2024/04/09/sifive_riscv_hifive/\">SiFive is back with another 64-bit RISC-V dev board – hopefully</a></li>\n<li><a target=\"_blank\" href=\"https://www.theregister.com/2024/04/08/imagination_riscv_cpu_cores/\">Imagination licenses RISC-V CPU cores for smart TVs, IoT, embedded stuff</a></li>\n</ul>\n<p>It's unclear what kind of effect this will have on RISC-V's integration into the Android ecosystem. There are no RISC-V smartphones out there yet, so it won't make life hard for phone makers, but it's hard to see GKI support being axed as conducive for the adoption of the open CPU arch. Android still accepts RISC-V patches via AOSP.</p>\n<p>Google assures, however, that the end of RISC-V's GKI support isn't a death sentence for RISC-V on Android. \"Android will continue to support RISC-V,\" the ad biz said in a statement to <a target=\"_blank\" href=\"https://www.androidauthority.com/android-drop-risc-v-kernel-3438330/\">Android Authority</a>. \"Due to the rapid rate of iteration, we are not ready to provide a single supported image for all vendors.\"</p>\n<p>To us, this sounds like Google thinks it's worth plowing on with RISC-V support in Android but doesn't think it's ready yet for prime time.</p>\n<p>It's an especially weird time to make this kind of move since <a target=\"_blank\" href=\"https://www.theregister.com/2023/10/18/qoogle_qualcomm_riscv_snapdragon/\">Qualcomm is set</a> to incorporate RISC-V CPUs and Google's Wear OS for future wearables. The work of adding RISC-V support for Wear OS would surely carry over at least partially to Android. We've asked Google for further comment on its motivations for removing RISC-V support in GKI, and we'll update if we get a reply.</p>\n<p>Meanwhile, the RISC-V community has <a target=\"_blank\" href=\"https://github.com/riscv-non-isa/riscv-brs\">issued</a> its RISC-V Boot and Runtime Services Specification, which aims to define a common, generic platform on which OSes and hypervisors can start and manage a system. ®</p> \n </div>",
"author": "",
"favicon": "https://www.theregister.com/design_picker/13249a2e80709c7ff2e57dd3d49801cd534f2094/graphics/favicons/favicon.svg",
"source": "theregister.com",
"published": "2024-05-01t17:36:05z",
"ttr": 97,
"type": "article"
}