The Rockchip RK3588 is one of the most popular Arm SoCs for single board computers, and while good progress has been made with regards to mainline u-boot and Linux support, the SoC is quite complex and it takes time to port all its features even though it was first teased in 2020 and the first Rockchip RK3588 SBCs were introduced in 2022.
While the simpler Rockchip RK3566 and RK3568 SoCs are already fairly well supported in mainline Linux, more work is needed to upstream code, and as noted before in posts and comments here, Collabora keeps track of the status on Gitlab, and the company recently posted an article about the progress and future plans related to upstream Linux support for Rockchip RK3588.
Rockchip RK3588 mainline Linux progress in 2024
- Linux 6.7 kernel – Network support on the Radxa ROCK 5B using a 2.5GbE PCIe controller.
- Linux 6.8 kernel – First of three USB3 controllers enabled. Andy Yan from Rockchip enabled basic support for the display controller VOP (video output controller) required for any display-related support such as HDMI, DisplayPort, or DSI. At this point, Cristian Ciocaltea (Collabora) getting the HDMI output driver ready for upstream.
- Linux 6.9 kernel – The HDMI PHY got initial basic support, but the code for the more complex HDMI controller was not ready yet.
- Linux 6.10 kernel – Rockchip RK3588’s Mali-G610 GPU was supported for 3D accelerated graphics thanks to the work of a complete team at Collabora, but there was still no display support. Sebastian Reichel also finished upstreaming the USBDP PHY used by the other two USB3 controllers, meaning all USB ports could now be used. The PHY can also handle DisplayPort (mostly intended for USB-C AltMode), but the necessary infrastructure has not yet been upstreamed in Linux 6.10. In practice, that means that Rock 5B’s USB-C port was not enabled in 6.10 because of the complicated USB-PD setup involved.
- Linux 6.11 kernel – CPU frequency scaling was implemented, including for the industrial-grade RK3588J. Collabora notes that the downstream Kernel from Rockchip is using a more advanced frequency scaling method involving data like silicon quality. This allows the system to get the CPU performance without sacrificing system stability, but it’s not yet implemented in mainline Linux.
- Linux 6.12 kernel – New accelerators: RGA2 block for 2D graphics via Video for Linux 2 by Jianfeng Liu (who is involved in the Armbian project). One of the VEPU121 blocks for JPEG encoding was enabled as well as the VDPU121 for hardware-accelerated decoding of VP8, MPEG-2, and H.264.
Future work – HDMI, MIPI DSI, NPU
So that means it’s still not possible to use HDMI output on the Rockchip RK3588 at the end of 2024 with mainline Linux. Luckily, we won’t have to wait too long with Linux 6.13 will implement HDMI display support. But as nothing is easy, we’re told more work is needed, and support for more clock rates is in the works to enable additional display resolutions. Upstream support for HDMI audio and CEC is also planned for 2025. Besides HDMI output, HDMI input is being worked on by Shreeya Patel and Dmitrii Osipenko with a V4L2 driver expected sometime in 2025.
Heiko Stübner has also been working on a series enabling MIPI DSI support and at the time of writing the goal is to have it merged in Linux 6.14 (March 2025). Detlev Casanova is also working on VDPU381 H264 support, but this requires more analysis to understand how the IOMMU should be handled, and work is needed to support both cores of this IP block. Collabora is also hopeful that Tomeu Vizoso’s open-source kernel driver for the RK3588’s NPU will also be upstreamed next year.
Collabora also touched on U-Boot support with the company mentioning that most of the SoC support already landed last year. USB-PD handling was still missing (some Rockchip boards require early USB-PD handling), but Sebastian Reichel submitted code to the U-Boot master branch and USB-PD support should be upstreamed in the 2025.01 release. Rockchip OP-TEE was merged a few days ago, as Rockchip provided an open-source version for the Trusted Firmware-A (TF-A). That means the only closed-source binary needed in the bootloader is for the “DDR memory training” part.
So from the technical side, it looks pretty good, you should be able to use mainline Linux on a Rockhip RK3588 SBC with HDMI or MIPI DSI display, 3D graphics acceleration, some hardware video codecs, and NPU in Q2 2025. There will still be a few things not working, but it should be useable.
Rockchip does not consider RK3588 to be an “open-source” SoC anymore
This section is not coming from Collabora, it’s just some information I got from a few trustee third parties and some speculation. It should be taken with a grain of salt, and I’ll update it if I get feedback from Rockchip or companies using RK3588. I was told Rockchip no longer considers RK3588 to be an “open source” chip. In practice, that means Rockchip no longer contributes RK3588 code to open-source projects (not sure when the TF-A code mentioned above was released) and they also decided not to sell RK3588 directly to SBC vendors. The latter is not a big issue, since they may be able to source chips from resellers, but it may increase prices. You may also have read that Joshua Riek who worked on Ubuntu Rockchip decided to take a break. While the reason given is mostly burnout and lack of funding, what we are discussing here may potentially explain why he was not able to get access to the Rockchip SDK.
But wait… That seems like a dumb decision… Why did they do that? A few months ago, reports on social media indicated drones using RK3588 SBCs were used in the military conflict in Ukraine. Rockchip management allegedly freaked out due to the risk of sanctions and first banned one SBC vendor, before eventually simply exiting this side of the business. Single board computer sales are probably a small part of Rockchip’s business, and they decided to be better safe than sorry.
[Update: I’ve asked Collabora how RK3588 software development was funded. Their answer:
But to answer your question, Collabora had initially started the work on RK3588 as a strategic research and development (R&D) investment. When we looked at the SOC landscape at the time, we felt that SOC offered great potential. Since then Collabora has developed a solid relationship with the RockChip Open Source team, and others there. They have been very supportive and responsive. And they continue to do so on the RK3588 as well as everything else we are collaborating on with them. Collabora’s strategic R&D investment has been paying off since we have several OEM customers that have hired our services to further enable their RK3588 products, in all sorts of industries and product form factors.
]
We may also see a shift from Rockchip to Allwinner SoCs later in 2025. I was told that Allwinner was now back to the “open-source market” with the A733 and upcoming A838 octa-core Cortex-A78/A55 SoCs. Besides Olimex planning to update its open-source DIY laptop, I’ve also seen interest in making Allwinner A733 boards from a few other companies, and at least one appears ready to completely drop RK3588 from their offerings even though the A733 is not quite as fast and software support will need to be worked on… Time will tell.
Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011.
Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress
Regarding chip support and Collabora’s work, indeed, kudos to them! Last year, my boards were not usable in mainline. Now my Rock5 ITX completely runs mainline on 6.12 with no loss of feature (for my use case, NAS), and my E52C firewall is also running fully on 6.12. I’m quite satisfied with the current situation. As usual with rockchip’s (lack of) support, we predicted that it would take at least 2 years after the chips were issued to see them start to work without their hackish BSP kernel, and it was indeed the case. Regarding the possibility they might stop… Read more »
kudos to them! Kudos to open source developers. They will always do the bulk of the work and in first line of defense. Collabora is doing (without 24/7 insulting demands from end users) what they are paid for and as free workforce is, for a reason, unable to do. And consumers are already looking for a new chip to buy … Rockchip is getting from this better and better software every year and that has value regardless what their PR is feeding us. What will happen when support matrix is done? New chips are already around the corner. Bring up… Read more »
I had to check my calendar. No, it is not April 1. The complete and total BS from Rockchip doesn’t wash at all with me. The whole Ukraine drones thing was something that only became news for me with this article. It certainly didn’t make any large scale newsrooms for scandal and debate, so this is the most pathetic. Then we have the whole “Rockchip does not consider RK3588 to be an “open-source” SoC anymore” rubbish. For years this has been one of the key and core selling points from their chosen vendors and I never heard a peep from… Read more »
RK3588 is dead! Long live RK3588!
More like: RK3588 is dead! Long live the Cix P1!
Agreed.
I’ll be steering away from RK3588 devices now that they changed their stance on support on consumer support.
[ 21. century civilization: it’s everything told about; details on {xkcd.com/378} 🙂 “CIX Technology operates as a technology company focused on developing intelligent Central Processing Units (CPUs) and computing power solutions within the semiconductor industry. The company designs and develops intelligent general-purpose CPUs that empower personal computing, vehicular applications, and the foundational infrastructure of the metaverse. CIX Technology is dedicated to providing society with low-power intelligent computing power solutions, collaborating with global commercial clients and ecosystem partners to build an open ecosystem based on unified computing power, creating a new paradigm for intelligent chips 2.0. It was founded in 2021… Read more »
at least these boards might age well , cant say the same about RK399 garbage
The RK3399 is 8 years old 🤣🤣🤣
yes, and it was horrible from day zero. At least with this one there is tangible progress and we might see the chip in many devices once the work is complete
It is not a secret that main combat SoC board is Raspberry Pi. It is widely used in combat drones by both sides.
Any sources available for that not secret?
You can check telegram channels on both sides which show internals of captured / failed drones, and search messages by “Raspberry”. Don’t want to advertise war-related channels here.
Since rockchip NPU is okeish for CNNs , it might be interesting a self driving drone that can track things. Not sure if costwise would make a difference in final budget compared to a pi, ukraine is receiving lots of moneys from taxpayers across the world. More than the sbc i would care about the Camera Lens, the pi has better libraries/support for that
rockchip CPU’s had poor support for ages. now it is time to really say goodbye. about Ukranian war: hehe, Ukraine is not under sanctions but russia is. And yes, rockchip sells their cpu’s to russia without the any moral problems
RK3588 got big hit by BCM2712 with the RPi5 release. None of RK3588 boards gets close to RPi5.
8nm vs 16nm?
What are you on about? Lol.
RK3588 blows BCM2712 out the water in performance, efficiency, I/O, video codecs, GPU and so on.
And also better mainline support. Pi 5 mainline only boots with basic serial and nothing else working.
Raspberry sales rep you are 🙂
I’ve asked Collabora how the development is funded.
They started independently as a strategic R&D investment, and later, several OEM customers hired their services. They are also in contact with the Rockchip open-source team which continues to be supportive and responsive for RK3588 development.
Do they accept public donations? Overall or for a specific feature?
I guess they don’t take donations, at least I don’t see this on their website. You’d have to contact them to implement a specific feature. But considering the development cost, it’s probably only suitable/affordable for companies.
I remember Bootlin (when they were still called Free Electrons) did a crowdfunding campaign for the implementation of open-source drivers for Allwinner’s VPU. That could be another potential option if some specific features is not required by their B2B customers.
We can still see a lot of patches sent from rockhip’s employees: https://patchwork.kernel.org/project/linux-rockchip/list/.
Rockchip is supporting opensource at the moment.
I can see that now. This is what I was told:
When asked what that meant, the answer was
Now I wonder if that just means that Rockchip won’t provide updated RK3588 SDK to SBC vendors anymore. I’ll ask after New Year.
Actually only Orange Pi is banned and was stopped supply of the Rockchip chips. Well, I should not spread this news but it’s the fact and it helps to clarify things. Other SBC vendor such as Radxa is still an important partner of Rockchip. Radxa still keeps a very good relationship with Rockchip engineers. We sent imx415 camera and 5B to Rockchip team recently because they need to help Collabora troubleshoot the camera 4Kp60 issue. RK3588 SDK keeps updating and we have update ROCK 5B/5B+ to 6.1 kernel already. RK3576 SBC from Radxa is coming soon.
Noted. It looks like they pick and choose their partners because there should be at least one other company besides Orange Pi.
It’s not stopping Orange Pi from selling Rockchip boards anyway.
I’m still staring at the walls wobbling in amazement at the statement (paraphrased): “Computer chips were used in a war so we don’t want to sell them anymore.” There’s really no unique capability that RK3588 brings to autonomous platforms. There’s billions of rootable phones lying around, for one. They’ve got usb-host. There’s your In-and-Out Burger. We have to stop pretending to take ludicrous claims seriously out of pathological politeness or social pressure. Speaking as one in the ‘We Want Nice Things, Open Sourced’ (WWNTOS?) faction, the people working on mainlining, device support and also userspace ports, are HEROES which I… Read more »