Closed kyaso closed 2 years ago
We were able to fix our issue.
Problem was, that one has to do a full rebuild of Buildroot, whenever the floating-point options are modified in the config (source).
We didn't do that, so our Busybox was still compiled with FPU instructions, causing the error in init
.
Related issue: https://github.com/riscv-software-src/riscv-pk/issues/166
@kyaso - I have the exact same issue. Can you share the steps you went through to ensure FPU support was disabled in the Kernel and Busybox?
@bchetwynd Sorry for the late response.
As far as I can recall, you need to enforce a full rebuild. Cleaning all existing build artifacts should do the job, I guess. Unfortunately, I don't have access to the same steps, as it's been some time and I'm also not with that company anymore.
Hope this helps.
Hello, we are trying to boot Linux on an Ariane without an FPU.
The FPU support is disabled inside the kernel config, and floating-point operations are disabled inside the Buildroot-config, as well. In the device tree, we use
riscv,isa = "rv64imac";
.From the error message (see below), it looks like the
init
process still executes a floating-point operation (instructionb920
=fsd fs0,112(a0)
), which leads to a Kernel panic.Can you help us with this?