this bug request to add support for building kernel (sys-kernel/gentoo-sources) for ARCH Risc-V. I have one patch which need review, and already successfully build/run kernel (tested with sys-kernel/gentoo-sources version 5.8.7, 5.10.11) for Risc-V on sifive unleashed board Reproducible: Always
Created attachment 685197 [details, diff] patch to support riscv 001
Created attachment 685200 [details, diff] patch to support riscv 002 add config.sh and modules_load, which not have much settings
Created attachment 685203 [details, diff] patch to support riscv 003 this is riscv kernel defconfig directly from kernel source, may need tailor to fit into genkernel? need suggestion/review here
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=c541b76e7b401ab685412e1ab95cb77dbc859b20 commit c541b76e7b401ab685412e1ab95cb77dbc859b20 Author: Yixun Lan <dlan@gentoo.org> AuthorDate: 2021-03-19 02:13:52 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2021-03-19 02:45:48 +0000 Add RISC-V support Bug: https://bugs.gentoo.org/767937 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> arch/riscv64/arch-config | 449 +++++++++++++++++++++ arch/riscv64/config.sh | 8 + arch/riscv64/modules_load | 2 + gen_arch.sh | 3 + gen_initramfs.sh | 2 +- ...tore-8.31-behavior-on-removed-directories.patch | 86 ++++ 6 files changed, 549 insertions(+), 1 deletion(-)
Released with genkernel-4.2.0!