[poky] how to tune s5pv210

张忠山 zzs213 at 126.com
Tue Mar 5 02:39:36 PST 2019


> My cpu is s5pv210
> 
> When using yocto-2.5.2 with musl libc my cpu tune is:
> 
>      DEFAULTTUNE_s5pv210 ?= "cortexa8hf-neon"
> 
> It works OK
> 
> Now I am using yocto-2.6.0 with newlib. With the same cpu tune. When 
> compile a file, gcc said:
> 
>      cc1: error: -mfloat-abi=hard: selected processor lacks an FPU
> 
> The commandline like this:
> 
>      arm-poky-eabi-gcc  --sysroot=... -march=armv7-a  -mhard-float ... \
>        -c -o scripts/mod/empty.o scripts/mod/empty.c
> 
> It seems the cpu tune should change in the new version.
> 
> How to do it, what feather tune should be used?
> 
Oh!! sorry, I'm forgot "-mfpu=neon".

-- 
Best Regards,
zzs



More information about the poky mailing list