Re: U-Boot compile with error

Hi Wolfgang

After your response I tried exactly the same as you using:

eldk-switch -m -r 5.5 armv7a

It gives:

eldk-switch.sh: ELDK 5.5 for armv7a is not installed!


eldk-switch -l 


+--- Installed ELDK versions:

I think there is a problem with the installation of the ELDK. I installed the ELDK in an other path as /opt/eldk5.5

Do you think this may be the reason of the compiler (linker) issue?



----Ursprüngliche Nachricht----
Von : wd <at> denx.de
Datum : 28/10/2014 - 20:37 (CET)
An : l.heusser <at> bluewin.ch
(Continue reading)

Wolfgang Denk | 28 Oct 21:31 2014

Re: U-Boot compile with error

Dear Ludo,

please keep the ML on Cc:.

In message
you wrote:
> After your response I tried exactly the same as you using:
> It gives:
> eldk-switch.sh: ELDK 5.5 for armv7a is not installed!
> and 
> eldk-switch -l 
> gives: 
> +--- Installed ELDK versions:
> I think there is a problem with the installation of the ELDK. I installed the ELDK in an other path as /opt/eldk5.5

Only "eldk-switch" should be affected by this; you would have to adapt
it's configuration for your alternate installation directory.

> Do you think this may be the reason of the compiler (linker) issue?

I don't think so.

Can you please provide the exact commands you have been using which
lead to that error?

(Continue reading)


U-Boot compile with error

I try to build u-boot (mainline) using the ELDK 5.5 for Beaglebone Black but the build compile with error.
Here the end of the build output:
  AS      arch/arm/cpu/armv7/start.o
  AS      arch/arm/cpu/armv7/omap3/lowlevel_init.o
  LD      arch/arm/cpu/armv7/omap3/built-in.o
  CC      common/main.o
  CC      common/board_f.o
  CC      common/cmd_version.o
  LD      common/built-in.o
  CC      drivers/usb/gadget/f_fastboot.o
  LD      drivers/usb/gadget/built-in.o
  CC      lib/display_options.o
  LD      lib/built-in.o
  LD      examples/standalone/hello_world
arm-linux-gnueabi-ld.bfd: cannot find -lgcc
make[2]: *** [examples/standalone/hello_world] Error 1
make[1]: *** [examples/standalone] Error 2
make: *** [examples] Error 2
Can anybody help? Thanks
eldk mailing list
Wolfgang Denk | 27 Oct 19:59 2014

Re: eldk-5.5.2 issues

Dear Albrecht,

In message <1414433699.5968.2 <at> deneb.(none)> you wrote:
> Just to understand your statement correctly: do you recommend to use
> ELDK 5.4 for the PowerPC instead of ELDK 5.5.x (I'm working with the
> Freescale MPC5200 and the QorIQ P2020 processors)?

I have to admit that I am not in a position yet to give any
recommendations based on deeper knowledge or understanding;
I cannot even tell if the observed effects are known GCC bugs, or if
the fact that the same effects are no longer present in 4.9.1 is
because a bug was detected and fixed, or just by pure chance.

> Does this apply to the kernel only, or also to user-space software,
> or to u-boot?

THis applies at least to U-Boot and Kernel, or more generaly to all
kinds of code where you take special efforts when arranging things
like the stack layout and/or the image linking.

I got bitten (on a MPC5200 by the way) by the fact that GCC 4.8.x
fails to provide relocation information for symbols in the (new)
.data.rel.ro and .data.rel.ro.local segments.  You could call this a
deciciency in the U-Boot linker scripts, but then, it got "fixed" (or
changed again) in gcc 4.9.1.  For details, see [1] and [2].

The ARM Linux kernel folks even discuss blacklisting GCC 4.8.x for
other reasons, see [3]

(Continue reading)

Pavel Machek | 23 Oct 16:51 2014

eldk-5.5.2 issues


Eldk-5.5 seems to miscompile u-boot on altera socfpga (arm board), so
I tried updating to eldk-5.5.2... but I ran into problems compiling

Does that work for you?

I did cleanall, still I'm getting "object directory ... does not
exist". I guess rm -rf /opt/eldk/downloads/ would solve that, but
perhaps there's solution not involving excessive force?

include/stddef.h is missing. Should more dependencies be added to
u-boot-mkimage recipe?

Eldk-5.5 compilation works ok for me.

Best regards,

| DEBUG: Executing shell function do_compile
| HOSTLDFLAGS=-L/opt/work/pavel/build-wagabuibui/tmp/sysroots/x86_64-linux/usr/lib
| -L/opt/work/pavel/build-wagabuibui/tmp/sysroots/x86_64-linux/lib
| -Wl,-rpath-link,/opt/work/pavel/build-wagabuibui/tmp/sysroots/x86_64-linux/usr/lib
| -Wl,-rpath-link,/opt/work/pavel/build-wagabuibui/tmp/sysroots/x86_64-linux/lib
| -Wl,-rpath,/opt/work/pavel/build-wagabuibui/tmp/sysroots/x86_64-linux/usr/lib
| -Wl,-rpath,/opt/work/pavel/build-wagabuibui/tmp/sysroots/x86_64-linux/lib
| -Wl,-O1 HOSTSTRIP=true CONFIG_MX28=y tools
| error: object directory
(Continue reading)

Anatolij Gustschin | 8 Oct 15:09 2014

[ELDK-5.3 PATCH] meta-eldk: bash: add updates and recent 'Shellshock' fixes

Some projects still use Danny based ELDK-5.3, so add bash updates.
Taken from Chris Tapp's meta-danny-maintenance layer and updated
with recent bash fixes.

Signed-off-by: Anatolij Gustschin <agust@...>
 meta-eldk/recipes-extended/bash/bash_4.2.bbappend |  140 +++++++++++++++++++++
 1 file changed, 140 insertions(+)
 create mode 100644 meta-eldk/recipes-extended/bash/bash_4.2.bbappend

diff --git a/meta-eldk/recipes-extended/bash/bash_4.2.bbappend b/meta-eldk/recipes-extended/bash/bash_4.2.bbappend
new file mode 100644
index 0000000..4523d25
--- /dev/null
+++ b/meta-eldk/recipes-extended/bash/bash_4.2.bbappend
 <at>  <at>  -0,0 +1,140  <at>  <at> 
+# Update the patch level of bash 4.2
+# Created: 2014-09-28 to fix 'Shellshock' vulnerabilities
+# Make sure the PR gets 'bumped' so that use of this append after the base recipe has
+# been built will result in a rebuild.
+PRINC := "${ <at> int(PRINC) + 1}"
+SRC_URI_append = " \
+    ${GNU_MIRROR}/bash/bash-4.2-patches/bash42-011;apply=yes;striplevel=0;name=patch011 \
+    ${GNU_MIRROR}/bash/bash-4.2-patches/bash42-012;apply=yes;striplevel=0;name=patch012 \
+    ${GNU_MIRROR}/bash/bash-4.2-patches/bash42-013;apply=yes;striplevel=0;name=patch013 \
+    ${GNU_MIRROR}/bash/bash-4.2-patches/bash42-014;apply=yes;striplevel=0;name=patch014 \
+    ${GNU_MIRROR}/bash/bash-4.2-patches/bash42-015;apply=yes;striplevel=0;name=patch015 \
(Continue reading)

Marek Vasut | 9 Aug 16:13 2014

Please update ELDK 5.5.x to 5.5.2

Hello all,

I am getting reports about occasional kernel crashes on ARMv7 [3]. I found out 
this is caused by GCC bug [1], resolved in Yocto 1.5.2 [2] and thus ELDK 5.5.2 . 
The git commit ID in Yocto and ELDK is 97c9163d97911dad0afcd0dae39e5c426e27e921 
. To prevent being affected by this bug, please update your ELDK 5.5.x to ELDK 
5.5.2 or newer.

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58854

[3] This is the backtrace caused by the bug. Please note that the PC is pointing 
to 'find_get_entry' function, which is miscompiled by the GCC 4.8.x without the 
Unable to handle kernel paging request at virtual
address ffffffff
pgd = be138000
[ffffffff] *pgd=4fffd821, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1] SMP ARM
Modules linked in:
CPU: 0 PID: 31055 Comm: ip Not tainted 3.15.0+ #8
task: be2f4440 ti: be3e4000 task.ti: be3e4000
PC is at find_get_entry+0x5c/0xf8
LR is at radix_tree_lookup_slot+0x1c/0x2c
pc : [<800a6380>]    lr : [<802a3580>]    psr: a0000113
sp : be3e5ce8  ip : 00000000  fp : be3e5d1c
r10: a0000113  r9 : be8c4c80  r8 : 00000002
r7 : bed84558  r6 : 00000001  r5 : 00000000  r4 : bed84428
(Continue reading)

Sergei Poselenov | 17 Jul 19:10 2014

How to add a package to meta-toolchain-qte?


I added a package (log4cxx) to meta/recipes-devtools to ELDK-5.3 tree.
Everything is fine, the package built and populated to the target image
using "IMAGE_INSTALL +=".

However, I've run into a problem of adding the main and "-dev" package
to the SDK image. I need "liblog4cxx10" and "liblog4cxx-dev" (the
names of .ipk's) to be added to sysroot of meta-toolchain-qte, so I
could link a sample program with a header in include/log4cxx/ and
respective library.

Could someone please advice?

Another related question is what is the correct way to re-run
the creation of SKD? I'm doing "bitbake -cpopulated_sdk -f
meta-toolchain-qte" but not sure it picks up the changes.

Thanks in advance.


Jörn Wüstenfeld | 17 Jul 07:01 2014

Missing cmake binaries in eldk 5.5.1


I have build the current release of eldk-5.5.1 to be able to include 
additional packages, not available in the standard images( e.g. ntp, 
to syncronize the clock with the NFS server).
My Problem is that cmake is mostly missing in the created images.
After instalation I find some files in the core-image-lsb-sdk...


But there is no cmake binary! Also in the toolchain thejre is nothing 
regarding cmake! Looking thru the logfiles, the build of cmake-native- 
was successfull. In the directory:


is only one file:


(Continue reading)

Can Aydin | 24 Jun 21:20 2014

Compiling for powerpc-e500v2 using ELDK 5.5.2


I've been using ELDK 4.2 85xxDP toolchain and wanted to try out compiling a
simple hello world with 5.5.2 using the procedure described in the manual.

The output is below, I'm getting an error message saying "not configured
for SPE ABI", could anyone let me know if I'm doing something wrong?

I installed the eldk-5.5.2-powerpc-e500v2.iso and am doing the following:


user <at> host:~/src/tmp$ .

user <at> host:~/src/tmp$ echo $CC

powerpc-linux-gnuspe-gcc -m32 -mcpu=8548 -mabi=spe -mspe

user <at> host:~/src/tmp$ $CC helloworld.c

helloworld.c:1:0: error: not configured for SPE ABI

 #include <stdio.h>


helloworld.c:1:0: error: not configured for SPE instruction set
(Continue reading)

Claus Molden | 23 Jun 17:40 2014

Installing Drivers on m28evk


my goal is to use a LTE modem via USB with the m28evk.

I have got driver for the LTE card but I am not able to install the
driver direct on the board.

I know that I have to crosscompile the dirvers (gobi serial and gob net
drivers) for the system  and copy the solution then to the board, or
like this.

Is there any description how can  I do the cross compilation.?

Do I need the eldk for that?

If you have a describtion think about I am newbe!

This is the first time for me trying this.

Thanks in advance



eldk mailing list
(Continue reading)