Hardware floating point support?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Hardware floating point support?

1,683 次查看
WayneRadochonsk
Contributor I

I'm porting an application from an x86 Atom to an i.MX53 QSB for a wave energy project.

The i.MX53 QSB optimizes the transfer of mechanical power into electrical current to charge

batteries.  Using a i.MX53 QSB should drop our HOTEL load from 12 watts to 2 watts

Having worked through installing a SATA drive and getting a cross tool chain working

with Eclipse CDT/RSE, I have stumbled into another potential pot hole.

Our existing app makes extensive use of floating point arithmetic.  I just discovered that

Linux kernels come into two flavors for this class of ARM processors.  A  "armhf" kernel

seems to imply support for hardware floating point.

Does the kernel on the micro-SD shipped with i.MX53 QSB support floating point natively? 

We need just standard IEEE-754 double precision floating point.

If not, is there kernel and tool chain with hardware floating point supported?  Where

can it be downloaded?

Thanks,

Wayne

标签 (1)
0 项奖励
回复
2 回复数

1,278 次查看
daiane_angolini
NXP Employee
NXP Employee

If you only want kernel and will not need GPU support or VPU support, you can use kernel mainline and built everything (all the system and your application) for armhf on yocto.

The problem regarding GPU is that it does need several user space libraries that are provided as pre-built binary files, so you cannot "re built" it.

The VPU support does need firmware that is pre-built, and some user-space library for decoders are pre-built binaries as well.

I'm sure all the pieces you need are not linked "as is", so some work will be needed. But you can take a look on this, if you think it worse.

Yocto Training - HOME

https://lists.yoctoproject.org/listinfo/meta-freescale

0 项奖励
回复

1,278 次查看
Yuri
NXP Employee
NXP Employee

Official Freescale Linux BSP for i.MX53 (QSB) does not support hardware floating point.

0 项奖励
回复