Specifications

14.1.7. ELDK Include Files Missing
Question:
After configuring and compiling a Linux kernel in the kernel source tree that comes with the ELDK, I
cannot compile user space programs any more - I get error messages because many #include file like
<errno.h> etc. are missing.
This is with ELDK 4.0 or 4.1.
Answer:
This problem is caused by the way how the ELDK is packaged. At the moment, the ELDK kernel
headers are not packed into a separate "kernel-headers" RPM to avoid duplication, because the kernel
source tree is always installed. Instead, the ELDK "kernel-headers" package is just a set of symlinks.
This worked fine in the past, but fails with the new support for ARCH=powerpc systems.
The next version of the ELDK will contain a real kernel-headers RPM, which will fix this problem.
As a workaround on current systems, you can install the real kernel include files into the
"include/asm", "include/linux" and "include/mtd" directories.
To do this, the following commands can be used:
bash$ <eldkroot>/bin/rpm -e kernel-headers-ppc_<target>
bash$ cd <eldkroot>/ppc_<target>
bash$ rm usr/include/asm
bash$ tar -xvzf kernel-headers-powerpc.tar.gz
The tarball mentioned above can be downloaded here. It contains the include files that get installed by
running the "make ARCH=powerpc headers_install" command in the Linux kernel tree.
This problem is fixed in ELDK 4.2 and later releases.
14.1.8. Using the ELDK on a 64 bit platform
As the ELDK is compiled for 32-bit host systems, a compatibility layer is required on 64-bit systems. This
package is usually called ia32-libs. So on a Debian or Ubuntu system a
sudo apt-get install ia32-libs
should be enough to make the ELDK work.
On the U-Boot mailing list, it was reported that for a 64 bit Fedora 11 the following should be enough:
sudo yum -y install glibc.i686 zlib.i686
14.1.9. How can I check if Floating Point support is
working?
Question:
The floating point performance of my P2020 QorIQ processor is really poor. I am not using the
ELDK, but a tool chain from FOOBAR. Can this be a problem? What can I do to verify this?
Answer:
The P20xx QorIQ processors use an e500v2 core which does not include a normal Floating Point Unit
(FPU), but instead a Signal Processing Engine (SPE Version 2). You can run FP calculations on the
14.1.9. How can I check if Floating Point support is working? 155