Thread (15 messages) flat view 15 messages, 2 authors, 2021-08-30

Re: [Buildroot] [PATCH v4 0/9] Add RV64 NOMMU and Canaan K210 SoC support

From: Damien Le Moal <hidden>
Date: 2021-08-30 21:49:20

On 2021/08/31 6:32, Thomas Petazzoni wrote:
Hello Damien,

On Mon, 30 Aug 2021 13:40:51 +0900
Damien Le Moal [off-list ref] wrote:
quoted
Christoph Hellwig (2):
  package/elf2flt: add RISC-V 64-bits support
  package/Makefile.in: Fix NOMMU RISC-V 64-bits toolchain base name

Damien Le Moal (7):
  arch/config: Make RISC-V 64-bits MMU optional
Just tested with the first 3 patches applied the following defconfig:

BR2_riscv=y
# BR2_USE_MMU is not set

It fails to build with:

/home/thomas/buildroot/buildroot/output/host/riscv64-buildroot-linux-uclibc/bin/elf2flt: Loading to RAM ('-r' option) 
is required
Yes, this option is mandatory for rv64. The elf2flt patch checks for it, but
only for rv64. Other architectures should not be affected.
The following patch that adds the Sipeed MAIX bit board support adds that option
to busybox build. So I guess that build option should be moved to this patch ?

To be frank, I did not test generic nommu rv64 builds. I should have...
This is using the default Busybox configuration, i.e
package/busybox/busybox.config. I haven't tested if other noMMU
architectures exhibit the same issue.

The package/busybox/busybox-minimal.config causes the same issue.

I'm gonna try on ARM noMMU and see.

Best regards,

Thomas

-- 
Damien Le Moal
Western Digital Research
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help