Greetings. I have been trying to synthesize NOEL-V in the Xilinx VCU-118. I have reached a functional implementation, with GRMON successfully reporting the system information.
Unfortunately, I have not been able to get Linux to boot. In some attempts at debugging, I found it might be cause of the FPU being missing. This agrees with GRMON’s “float” command reporting “FPU is disabled!” and “reg” reporting the same.
I have seen that nanofpunv should be instantiated, so I don’t understand why this might be a problem.
One last resort would be trying to synthesize GRFPU instead.
You can use GRMON command ‘info sys’ to print a detailed report, check if D & F extension is supported by hardware.
dm0 Frontgrade Gaisler RISC-V Debug Module
AHB Master 9
AHB: f6000000 - f7000000
hart0: DXLEN 64, MXLEN 64, SXLEN 64, UXLEN 64
ISA A C D F H I M X, Modes M S U
Stack pointer 0xbffffff0
icache 4 * 4 kB, 32 B/line, dir
dcache 4 * 4 kB, 32 B/line, dir
5 triggers,
itrace 64 lines
Thank you for your reply. In fact, this seems to be the case, as info sys does adequately report that the target supports floating point extensions:
dm0 Frontgrade Gaisler RISC-V Debug Module
AHB: fe000000 - ff000000
hart0: DXLEN 64, MXLEN 64, SXLEN 64, UXLEN 64
ISA A C D F H I M P, Modes M S U
Stack pointer 0x7ffffff0
icache 4 * 4 kB, 32 B/line, dir
dcache 4 * 4 kB, 32 B/line, dir
3 triggers,
itrace 64 lines
Unfortunately, then it seems that other problem is causing Linux not to boot, as I am receiving a signal 4 (SIGILL), which I thought was caused by this.
Do you have any pointer to where I should be looking? Maybe I got the device tree wrong? How can I debug further?
Thank you again for your response.
I guess it’s a configuration mismatch between Buildroot and Linux.
Buildroot: Target options > Target Architecture Variant > [*] General purpose (G)
Buildroot: Target options > Target ABI > [*] lp64d
Linux: General setup > Platform type > -*- Emit compressed instructions when building Linux
Linux: General setup > Platform type > [*] FPU support
Hello. Those options are already present in the buildroot configuration. In fact, even the prebuilt noel64 images panic with the same exact error. I am unsure what could be causing this panic, as it does not seem to depend on the buildroot/linux kernel configuration.