Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

Using FPU with uCLinux

Hello folks,

i'am just trying to use the floating-point-unit within my uCLinux dist.

I have added the corresponding custom instruction to the cpu within my sopc-builder system.

After that i configured the kernel to use the fpu (CONFIG_NIOS2_FPU_SUPPORT).

But when i issue cat /proc/cpuinfo it comes up with the following informations saying that there is no fpu present:

CPU: Nios II/fast

MMU: present

FPU: none

Clocking: 107.05 MHz

BogoMips: 52.73

Calibration: 26368000 loops

HW:

MUL: yes

MULX: no

DIV: yes

Icache: 32kB, line length: 32

Dcache: 16kB, line length: 32

TLB: 16 ways, 256 entries

Any ideas?

12 Replies