Unmatched Kernel Source

Which is the best kernel git repo for the latest/greatest support for the Unmatched board?

I would suggest freedom-u-sdk aka meta-sifive, though this is maintained as a set of patch files applied via quilt to an upstream kernel, currently 5.11.14
https://github.com/sifive/meta-sifive/tree/2021.04/recipes-kernel/linux/files/unmatched
There is also one generic RISC-V patch one dir level up. The next version of freecdom-u-sdk to be released shortly uses 5.12 and has 23 patches instead of 28.

3 Likes

In general, I would recommend carlosedp’s page as the best instructions on how to build from scratch.
https://github.com/carlosedp/riscv-bringup/tree/master/unmatched

3 Likes

With the patches from the master branch of meta-sifive applied to linux-stable 5.12.4 I was able to build a self hosted working kernel that boots Debian. :slight_smile: thx.

2 Likes

I really wish that the yocto/oe patches where actually a git branch, it would make life better for everyone.
Does anyone have a proper git branch with all the patches on, or should I go make one and publish?

2 Likes

Sounds like a good idea.

Is there a patchset for 5.13 yet? Or is upstreams ok without patches now?