Repository navigation
Support for Linux RISC-V #99963
Description
Activity
- addedin triagePresently being triaged by the triage teamPresently being triaged by the triage teamc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-linuxBuilding on or for Linux specificallyBuilding on or for Linux specificallyand removedin triagePresently being triaged by the triage teamPresently being triaged by the triage team
on Mar 11, 2022 - addeddependency: dartDart team may need to help usDart team may need to help usP3Issues that are less important to the Flutter projectIssues that are less important to the Flutter project
on Mar 14, 2022 RISC-V now has experimental support in Dart, and is available for Linux SDKs from our beta channel: https://dart.dev/get-dart
Reacted by Maksim Lin, Caleb, Rocky, 12people, Kristijan Žic, Guy Luz, Francesco Iapicca, Nick, Graham Smith, Reid Baker and 3 more- removeddependency: dartDart team may need to help usDart team may need to help us
on Jul 28, 2022 Given the slow CPU and low performance I've seen on the Allwinner D1 when running the Dart compiler, which at the moment is in the cheapest and most readily available development board, I think it would be most useful to start with supporting Linux on RISC-V using the same approach as Flutter has for mobile OS's (Android/iOS) as it would be a much better developer experience vs trying to do on-device development the way Flutter currently supports on Linux (and MacOS, Windows).
Reacted by Damian BastGiven the [slow CPU and low performance I've seen on the Allwinner D1 when running the Dart compiler]
@maks Have a look at the StarFive VisionFive2 board which is more adequate for onboard development.
Given the [slow CPU and low performance I've seen on the Allwinner D1 when running the Dart compiler]
@maks Have a look at the StarFive VisionFive2 board which is more adequate for onboard development.
Thanks I do have the Vision five 2, but it's also too slow for reasonable on board development. Even a RPI4 is really too slow in terms of Dart compile times for decent DX when trying to do onboard development.
- addedteam-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team
on Jul 8, 2023 - added a commit that references this issue
on Dec 12, 2023 10 remaining items
I support RISC-V for Engine and artifacts using Yocto, and have validated the Toyota custom embedder running flutter-gallery on a Deep Computing device. Layer and recipe located here:
https://github.com/meta-flutter/meta-flutter/tree/scarthgap/recipes-graphics/flutter-engineAside from the patches I have, it does require a newer version of the LLVM toolchain than what stable has. I believe it's one or two point releases beyond.
The recipe produces binaries and tools (dart/gen_snapshot) suitable for building and running AOT apps on the Linux GTK embedder.
Support was merged August 6th:
meta-flutter/meta-flutter@2c7b401Reacted by Maksim Lin, Fan Zhou, Robert Ancell, 小島 伊織 / Iori Kojima, Francesco Iapicca, Tristan Ross, Hamed, Sheng_L, Suraj and ZSTReacted by Maksim Lin, Francesco Iapicca and Tristan RossReacted by Maksim Lin, Francesco Iapicca and 1l0- added a commit that references this issue
on Aug 13, 2025 - added a commit that references this issue
on Sep 15, 2025 - added a commit that references this issue
on Sep 18, 2025 Hello ! Given that almost a year has passed since the last comment on that issue, and that some recent commits are referencing it, is there any update ? Thank you :)
Reacted by Jonas HeinleI see some good progress from the community here:
https://www.industrialflutter.com/blogs/bringing-flutter-to-risc-v/Reacted by Maksim Lin, Valentin Haudiquet and kjxbyzAGL demonstrated Flutter running on RISC-V at Embedded World; which RISC-V support was merged last August (2024). AGL is based on meta-flutter.
https://youtu.be/49sRxkIkDC0?feature=sharedMeta-flutter work/patches are freely available for people to copy/use and write blog posts about.
Meta-flutter is a GitHub domain 100% not for profit paid for by me. Industrialflutter.com is backed by KDAB; a commercial entity.
cc @mit-mit
Reacted by Michael Thomsen- added a commit that references this issue
on Jan 9, 2026 - added a commit that references this issue
on Sep 28, 2026 - added a commit that references this issue
on Oct 6, 2026
Use case
RISC-V is an upcoming CPU architecture which can similarly to ARM result in very energy-efficient processors. I won't start a discussion on benefits or issues related to RISC-V architecture; there are plenty out in the internet and in scientific environment.
Even though RISC-V is not very common for desktop or mobile devices yet, there is definitely momentum in the development RISC-V. Most major Linux and BSD distributions support RISC-V, such as Ubuntu, Debian or FreeBSD.
And what makes Linux all-day usable: Flutter of course. I would like to have this issue as a tracker for possibly upcoming RISC-V support and implementation.
Proposal
Flutter currently supports amd64 and aarch64 on Linux. I'd propose to add support for RISC-V in addition.
This should mainly consist of:
Related: