[Buildroot] [PATCH 2/2] board/sifive: add support for the HiFive Unleashed board

Arnout Vandecappelle arnout at mind.be
Tue Apr 16 20:05:44 UTC 2019



On 16/04/2019 01:29, Alistair Francis wrote:
> Unfortunately there is no "official" upstream fork. If using the 5.1
> kernel there are only 8 patches required
> (https://github.com/alistair23/linux/tree/hifive-unleashed-5.1). In OE
> we just apply those patches on top of mainline for 5.1
> (https://github.com/riscv/meta-riscv/tree/master/recipes-kernel/linux/files/freedom-u540)
> as that way we can still get updates from the kernel community.
> 
> I think the best bet is to use the latest kernel (maybe it's worth
> waiting until 5.1) and applying the patches on top. The diff is slowly
> shrinking so the newer the kernel the better. Those older kernels are
> not in a great shape and no one is maintaining them.

 Indeed, that seems like the best approach.

 The five patches are still pretty large, but instead of including them we can
just set the BR2_LINUX_KERNEL_PATCH variable and give the five github URLs:
https://github.com/alistair23/linux/commit/67c5007e487bdd629ea27b7df9016ce41bf7b422.patch
etc.


 Regards,
 Arnout



More information about the buildroot mailing list