# Unmatched Kernel Source

**URL:** <https://forums.sifive.com/t/unmatched-kernel-source/4723>\
**Category:** HiFive Unmatched\
**Created:** [May 28, 2021, 7:57pm UTC](https://forums.sifive.com/t/unmatched-kernel-source/4723 "2021-05-28T19:57:16Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![forksand](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.sifive.com/forksand/32/469_2.png) [@forksand](https://forums.sifive.com/u/forksand)\
**Post date:** [May 28, 2021, 7:57pm UTC](https://forums.sifive.com/t/unmatched-kernel-source/4723/1 "2021-05-28T19:57:16Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jimw](https://avatars.discourse-cdn.com/v4/letter/j/f14d63/32.png) [@jimw](https://forums.sifive.com/u/jimw)\
**Post date:** [May 28, 2021, 8:46pm UTC](https://forums.sifive.com/t/unmatched-kernel-source/4723/2 "2021-05-28T20:46:49Z")

</div>

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](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.

---

<div class="post-metadata">

**Author:** ![jimw](https://avatars.discourse-cdn.com/v4/letter/j/f14d63/32.png) [@jimw](https://forums.sifive.com/u/jimw)\
**Post date:** [May 28, 2021, 8:49pm UTC](https://forums.sifive.com/t/unmatched-kernel-source/4723/3 "2021-05-28T20:49:56Z")

</div>

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](https://github.com/carlosedp/riscv-bringup/tree/master/unmatched)

---

<div class="post-metadata">

**Author:** ![forksand](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.sifive.com/forksand/32/469_2.png) [@forksand](https://forums.sifive.com/u/forksand)\
**Post date:** [May 29, 2021, 12:47am UTC](https://forums.sifive.com/t/unmatched-kernel-source/4723/4 "2021-05-29T00:47:28Z")

</div>

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. 🙂 thx.

---

<div class="post-metadata">

**Author:** ![bjdooks](https://avatars.discourse-cdn.com/v4/letter/b/0ea827/32.png) [@bjdooks](https://forums.sifive.com/u/bjdooks)\
**Post date:** [June 17, 2021, 8:28pm UTC](https://forums.sifive.com/t/unmatched-kernel-source/4723/5 "2021-06-17T20:28:01Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![bruce](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.sifive.com/bruce/32/452_2.png) [@bruce](https://forums.sifive.com/u/bruce)\
**Post date:** [June 18, 2021, 8:27am UTC](https://forums.sifive.com/t/unmatched-kernel-source/4723/6 "2021-06-18T08:27:26Z")

</div>

Sounds like a good idea.

---

<div class="post-metadata">

**Author:** ![marcus](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.sifive.com/marcus/32/939_2.png) [@marcus](https://forums.sifive.com/u/marcus)\
**Post date:** [July 8, 2021, 10:32am UTC](https://forums.sifive.com/t/unmatched-kernel-source/4723/7 "2021-07-08T10:32:20Z")

</div>

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