Building the RK3588 kernel

Is it possible for us lowly humans to (try to) build the RK3588 kernel? I do find a rockchip-linux / kernel repository, but also a rk3588 / linux repo.

Also the rockchip repo contains a bunch of branches, of which two are named 5.10- something.

I haven’t seen any instructions or results from any attempts, so a bit curious.

There is this black display problem on the 5.10.110 kernel and the 6.2 kernel I have not been able to get any life signs from yet. I would like to try to be of assistance if I can.

2 Likes

Take radxas image build instructions from the rock5b wiki page. In my experience it worked as per the instructions but for building the debian packages adjustments in their script were needed

1 Like

https://wiki.radxa.com/Rock5/guide/build-debian-from-debos-radxa

Here’s the link to the guide

They actually have a instructible to build the kernel directly on the 5b, haven’t used that and can’t therefore give a feedback, but it should be straightforward:

https://wiki.radxa.com/Rock5/guide/build-kernel-on-5b

3 Likes

While radxa step by step tutorial is easiest to understand, it’s worth to mention that there are more approaches. Armbian is complete and quite mature build system with some support for rock5 and of course paid support if needed.

1 Like

Thanks for adding that - I forgot about the armbian buildroot, which obviously is a very workable solution. Then again, the stuff radxa puts on their wiki should obviously be the first place to look at.

1 Like

This should be bootable on mainline MoreSoonerish™ btw. See https://www.collabora.com/news-and-blog/news-and-events/kernel-62-more-rust-support-for-drivers.html - device tree in 6.3, at which point it might boot. All the necessary drivers are in.

“Support for RK3588 upstream is ongoing and this cycle has seen clock and reset unit driver patches by Sebastian Reichel, which completes the basic boot support for that chip apart from the initial device-tree support queued for 6.3”

1 Like