Message ID | 20200908113324.1022230-3-damien.lemoal@wdc.com |
---|---|
State | Changes Requested |
Headers | show |
Series | Add support for Kendryte K210 RISC-V boards | expand |
On Tue, Sep 8, 2020 at 4:33 AM Damien Le Moal <damien.lemoal@wdc.com> wrote: > > Linux supports No-MMU RISC-V since kernel version 5.8. Make MMU optional > to enable building for RISC-V boards that do not have one. > > Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Alistair > --- > arch/Config.in | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/Config.in b/arch/Config.in > index 0707c076e2..4a2787c350 100644 > --- a/arch/Config.in > +++ b/arch/Config.in > @@ -210,7 +210,7 @@ config BR2_powerpc64le > > config BR2_riscv > bool "RISCV" > - select BR2_ARCH_HAS_MMU_MANDATORY > + select BR2_ARCH_HAS_MMU_OPTIONAL > select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 > help > RISC-V is an open, free Instruction Set Architecture created > -- > 2.26.2 > > _______________________________________________ > buildroot mailing list > buildroot@busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot
On Tue, 8 Sep 2020 20:33:20 +0900 Damien Le Moal <damien.lemoal@wdc.com> wrote: > Linux supports No-MMU RISC-V since kernel version 5.8. Make MMU optional > to enable building for RISC-V boards that do not have one. > > Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> I think this should come after PATCH 3 and PATCH 4, otherwise the build of the toolchain probably fails if you disable MMU support on RISC-V, doesn't it ? Thomas
On 2020/10/07 6:47, Thomas Petazzoni wrote: > On Tue, 8 Sep 2020 20:33:20 +0900 > Damien Le Moal <damien.lemoal@wdc.com> wrote: > >> Linux supports No-MMU RISC-V since kernel version 5.8. Make MMU optional >> to enable building for RISC-V boards that do not have one. >> >> Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> > > I think this should come after PATCH 3 and PATCH 4, otherwise the build > of the toolchain probably fails if you disable MMU support on RISC-V, > doesn't it ? Ah. Yes. It is probably better to move it after patch 4. I have not tested the patches individually... Should have done that. > > Thomas >
diff --git a/arch/Config.in b/arch/Config.in index 0707c076e2..4a2787c350 100644 --- a/arch/Config.in +++ b/arch/Config.in @@ -210,7 +210,7 @@ config BR2_powerpc64le config BR2_riscv bool "RISCV" - select BR2_ARCH_HAS_MMU_MANDATORY + select BR2_ARCH_HAS_MMU_OPTIONAL select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 help RISC-V is an open, free Instruction Set Architecture created
Linux supports No-MMU RISC-V since kernel version 5.8. Make MMU optional to enable building for RISC-V boards that do not have one. Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> --- arch/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)