Marek Vasut | 9 Aug 16:13 2014
Picon
Picon

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
[2] 
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=dora&id=97c9163d97911dad0afcd0dae39e5c426e27e921

[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 
patch:
--8<--
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?

Hello,

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.

Regards,

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

Missing cmake binaries in eldk 5.5.1

Helllo,

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, 
essential 
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...

./usr/share/cmake/
./usr/share/cmake/Modules/
./usr/share/cmake/Modules/Findlibproxy.cmake
./usr/share/mime/text/x-cmake.xml
./usr/share/mc/syntax/cmake.syntax
./usr/lib/cmake/
./usr/lib/cmake/PulseAudio/
./usr/lib/cmake/PulseAudio/PulseAudioConfigVersion.cmake
./usr/lib/cmake/PulseAudio/PulseAudioConfig.cmake

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

..tmp/buildstats/core-image-lsb-sdk-generic-powerpc-e500v2/201407160703/cmake-
native-2.8.11.2-r0

is only one file:

do_populate_lic

(Continue reading)

Can Aydin | 24 Jun 21:20 2014
Picon

Compiling for powerpc-e500v2 using ELDK 5.5.2

Hi,

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$ .
/opt/Denx/eldk-5.5.2/powerpc-e500v2/environment-setup-ppce500v2-linux-gnuspe

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

powerpc-linux-gnuspe-gcc -m32 -mcpu=8548 -mabi=spe -mspe
-mfloat-gprs=double
--sysroot=/opt/Denx/eldk-5.5.2/powerpc-e500v2/sysroots/ppce500v2-linux-gnuspe

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
Picon

Installing Drivers on m28evk

Hi, 

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

BR

Claus

_______________________________________________
eldk mailing list
eldk@...
(Continue reading)

Peter Oruba | 23 Jun 09:52 2014
Picon

U-Boot version required to boot kernel 3.10 on PowerPC

Hello,

I am having a hard time booting Linux kernel 3.10 (linux-yocto-3.10) on my
PowerPC system (MPC5200). The system used to run kernel 2.6.38, but
application development requires an upgrade to ELDK 5.5 which brings kernel
3.10. Neither the kernel compiled by the ELDK nor a separately compiled one
say a word on the console (assuming here the boot command line is correct,
because it used to work with 2.6).

I have early printk enabled, but the last thing I see on the console is

## Flattened Device Tree blob at 00100000
     Booting using the fdt blob at 0x100000
     Uncompressing Kernel Image ... OK

My U-Boot version is "U-Boot 2010.06-00073-g54841ab-dirty". Is it possible
that this version is too old?

Thanks,

Peter Oruba
_______________________________________________
eldk mailing list
eldk@...
http://lists.denx.de/mailman/listinfo/eldk
Sonali A Dwarakanath | 17 Jun 21:29 2014
Picon

xenomai and adeos patch

H
​i,

I am applying patches to the linux-2.6.33-xlnx from xenomai-2.5.6 and
getting exact same prepare-kernel.sh unable to patch error.
Where am I going wrong?? Please help.

Thanks,
Sonali​
_______________________________________________
eldk mailing list
eldk@...
http://lists.denx.de/mailman/listinfo/eldk
Larry Baker | 17 Jun 00:14 2014
Picon

U-Boot default CONFIG_AUTOBOOT_DELAY_STR

Wolfgang, et al.,

A recent situation has awakened me to a a behavior of U-Boot that maybe should be changed.

I am experimenting with a BeagleBone Black (BBB) single-board computer.  Occasionally when I perform a
reboot, the BBB never finishes booting Linux.  When I happen to have a console cable connected, I see the
U-Boot prompt.  This explains why the BBB has not booted Linux.  But it is a mystery why U-Boot is waiting for a
command when I did not request interrupting the autoboot sequence.

I found many others reporting the same experience -- and no solution.  Until I found Andrew Glen's
10/28/2013 post at https://groups.google.com/forum/#!topic/beagleboard/aXv6An1xfqI about
U-Boot hangs likely due to noise on the UART0 port.  The solution he applied was to rebuild U-Boot to require
specific text -- "uboot" -- to interrupt the autoboot sequence.  (BBB have no flash, so there is no
opportunity to permanently alter any U-Boot environment variables, if this is settable.)

It occurs to me that this might be a more common occurrence on any number of circuit boards.

I have used many ARM single-board computers that have U-Boot.  As far as I recall, they all prompt "Hit any key
to stop autoboot:".  It is probably not such a good idea that ANY character can interrupt the U-Boot
autoboot sequence.  Perhaps the default should be to require an unusual character, like F2 or DEL for BIOS. 
Or a multi-character sequence within a short period of time, like the "+++" to enter command mode on the old
Hayes modems.

As I said, this awakening only occurred to me because of my recent experience with boot failures.  My
realization is that U-Boot could probably do a little better job of protecting our (likely unattended,
embedded) systems with a minimum of change to the code.  I plan to make it my practice to #define
CONFIG_AUTOBOOT_DELAY_STR.  I'm thinking that should probably be the default.

Thank you for your valuable contributions (U-Boot and more).

(Continue reading)

Wolfgang Denk | 9 Jun 20:31 2014
Picon
Picon

Re: Antwort: powerpc kernel compile issue

Dear Albrecht,

In message <1402161002.3372.0 <at> deneb.(none)> you wrote:
>
> > > Try 'unset LDFLAGS'. This helps at least when compiling u-boot.
...
> Ouch.  Looks as if I didn't read the web page thoroughly enough... :-/  This
> does of course compile the kernel perfectly now!

Good.

> Thanks for your help,
> and sorry for the noise,

Actually I wonder not more people have problems with this.  I
consider this change of behaviours a very unfortunate one.  LDFLAGS
has been in use like we do in U-Boot and Linux for a very, very long
time, and it is a real pity that Yocto came up with an uncompatible
setting.

Best regards,

Wolfgang Denk

--

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@...
"A dirty mind is a joy forever."                       - Randy Kunkee
(Continue reading)

daniel.schnell.extern | 6 Jun 07:50 2014

Antwort: powerpc kernel compile issue


Hi,

> Von: Albrecht Dreß <albrecht.dress@...>
> An: eldk@...

>
> As the gcc in 4.2 is rather old, I installed eldk 5.1.1 as being
> documented on the web page, and tried to compile the kernel.  The
> newer gcc now *does* compile the files which threw errors with 4.2
> without warnings or errors, but ejects with a linker error:
>
> <snip>
>    CC      init/main.o
>    CHK     include/generated/compile.h
>    UPD     include/generated/compile.h
>    CC      init/version.o
>    CC      init/do_mounts.o
>    LD      init/mounts.o
> powerpc-linux-ld: unrecognized option '-Wl,-O1'
> powerpc-linux-ld: use the --help option for usage information
> </snip>
>
> As compiling 3.2.55 fails with the same messages, I guess I missed
> something essential when installing the eldk, but unfortunately I
> cannot find the reason...  Any enlightenment would be really appreciated!
>

Try 'unset LDFLAGS'. This helps at least when compiling u-boot.

(Continue reading)

Albrecht Dreß | 5 Jun 20:55 2014
Picon

powerpc kernel compile issue

Hi all,

I happily used eldk 4.2 since a long time for a MPC5200B (e300 core) based PowerPC board, currently with
kernel 3.2.55.  Trying to upgrade to kernel 3.2.59, the same setup throws compile warnings (which  are
errors for some files where apparently -Werror is added to the compile flags), e.g.:

<snip>
    CC      init/main.o
In file included from
/usr/local/eldk-4.2/usr/src/linux-3.2.59/arch/powerpc/include/asm/elf.h:5,
                  from include/linux/elf.h:7,
                  from include/linux/module.h:14,
                  from init/main.c:13:
include/linux/sched.h:1693: warning: 'pid_alive' declared inline after being called
include/linux/sched.h:1693: warning: previous declaration of 'pid_alive' was here
</snip>

As the gcc in 4.2 is rather old, I installed eldk 5.1.1 as being documented on the web page, and tried to
compile the kernel.  The newer gcc now *does* compile the files which threw errors with 4.2 without
warnings or errors, but ejects with a linker error:

<snip>
   CC      init/main.o
   CHK     include/generated/compile.h
   UPD     include/generated/compile.h
   CC      init/version.o
   CC      init/do_mounts.o
   LD      init/mounts.o
powerpc-linux-ld: unrecognized option '-Wl,-O1'
powerpc-linux-ld: use the --help option for usage information
(Continue reading)


Gmane