[okl4-developer] A small problem about enabling VFP

Josh Matthews jmatthews at ok-labs.com
Sat Mar 28 02:03:31 EST 2009


Hi Cheng,

On Thu, March 26, 2009 10:56 pm, Guanghui, Cheng wrote:

> I find that OKL4 could support floating point hardware but there is an
> option CONFIG_ARM_VFP in the arch/arm/pistachio/src/vfp.cc. It means the
> VFP is enabled only if there is an CONFIG_ARM_VFP definition when we
> compile. But i don't how to enable it.

CONFIG_ARM_VFP is enabled automatically for those architectures that
support it (arm1136js and arm1176jz). Check out, for example,
arch/arm/pistachio/cpu/arm1176jz/include/syscon.h:

 #ifndef CONFIG_ARM_VFP
 #define CONFIG_ARM_VFP
 #endif

> Definitely there are lots of similar options in the
> OKL4 source code but i don't know how to configure it.
> does anybody give me hints to find the OKL4 kernel configuation file?

Many CONFIG_* options can be controlled via command line options to the
OKL4 source build system (./tools/build.py) - a full list of build options
is up at http://wiki.ok-labs.com/BuildOptions.

However, we definitely recommend using the pre-build SDK's for the
supported platforms - they allow you to develop on OKL4 without having to
interact with our build system.

Best regards,

Josh





More information about the Developer mailing list