Hello, I want to do some tests with pepperflash on a imx53 board, but the (recent) arm-binaries I find are arm-hf versions. So I need to create a filesystem with arm-hf support.
For that I took the latest yocto I could find with imx53 support, (fido) and added following line to local.conf:
DEFAULTTUNE ?= "cortexa8hf-neon"
and start building the fsl-image-multimedia-full
So far so good. Everything compiles fine except xserver-xorg-video-imx-11.09.01.
It drops to an error:
| /opt/yocto/fsl-community-bsp_fido/build_imx53/tmp/sysroots/imx53qsb/usr/include/gnu/stubs.h:7:29: fatal error: gnu/stubs-soft.h: No such file or directory
But it should not need this stubs-soft.h, it should take the stubs-hard.h. If I alter the stubs.h manually and remove everything soft-related, it complains it cannot find /lib/ld-linux.so.3 After long struggling, I found out, it searched this in my own root path (?!) So I put the ld-lilnux-armhf.so.3 in my own root path as ld-linux.so.3, but then it complains about it's libraries which do not have vfp etc...
Do I need to enable something to make xserver-xorg-video-imx build with vfp? What to do? It's the only failing package, so I'm close :-)
Edit: The image compiles fine if I don't enable hard float
已解决! 转到解答。
Default GCC options regarding floating point support are :
-march=armv7-a -mfpu=vfpv3 -mfloat-abi=softfp
To use the NEON :
-march=armv7-a -mfpu=neon -mfloat-abi=softfp
Have a great day,
Victor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------