Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-19 Thread Khem Raj
On Sat, Aug 18, 2012 at 11:36 PM, Elvis Dowson wrote: > Hi Khem, > What should I do to enable multilib in gcc-4.7? > > I think at the moment, in gcc-configure-common.inc, it is disabled. > > If I were to re-enable it as follows, based on what I've diff'd from the > Denx ELDK repo

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-19 Thread Elvis Dowson
Hi Khem, On Aug 19, 2012, at 10:36 AM, Elvis Dowson wrote: > What should I do to enable multilib in gcc-4.7? > > I think at the moment, in gcc-configure-common.inc, it is disabled. > > If I were to re-enable it as follows, based on what I've diff'd from the Denx > ELDK repo, what how does the

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-18 Thread Elvis Dowson
Hi Khem, What should I do to enable multilib in gcc-4.7? I think at the moment, in gcc-configure-common.inc, it is disabled. If I were to re-enable it as follows, based on what I've diff'd from the Denx ELDK repo, what how does the GCCMULTILIB variable evaluate? -GCCMULTILIB

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-18 Thread Elvis Dowson
hi Khem, On Aug 19, 2012, at 10:08 AM, Elvis Dowson wrote: > I'll now, make the necessary changes to eglibc-2.13, in poky/master, with > gcc-4.7, and see if it works. Sorry, I meant to say libgcc-4.7 diff --git a/tool/yocto/poky/meta/recipes-devtools/gcc/libgcc_4.6.bb b/tool/eldk/meta/recipes

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-18 Thread Elvis Dowson
Hi Khem, On Aug 17, 2012, at 9:48 AM, Khem Raj wrote: > On Tue, Aug 14, 2012 at 7:26 AM, Khem Raj wrote: >> >> There are differences in eglibc.inc and initrd recipes. Try to see if they >> make difference >> Also the libgcc one after the above two > > Elvis > > Did you try the above ? > I hav

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-17 Thread Elvis Dowson
Hi Khem, On Aug 17, 2012, at 9:48 AM, Khem Raj wrote: > On Tue, Aug 14, 2012 at 7:26 AM, Khem Raj wrote: >> >> There are differences in eglibc.inc and initrd recipes. Try to see if they >> make difference >> Also the libgcc one after the above two > > Did you try the above ? I took a slight d

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-16 Thread Khem Raj
On Tue, Aug 14, 2012 at 7:26 AM, Khem Raj wrote: > > There are differences in eglibc.inc and initrd recipes. Try to see if they > make difference > Also the libgcc one after the above two Elvis Did you try the above ? I have pushed a patch into my contrib tree. http://git.openembedded.org/opene

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-14 Thread Elvis Dowson
Hi Khem, On Aug 14, 2012, at 10:32 AM, Elvis Dowson wrote: > Some things that I can try are: > > a. build gcc-4.6.3, eglibc-2.13, binutils-2.22 (from poky/denzil branch, to > establish a known good build data point) So gcc-4.6.3, eglibc-2.13, from poky/denzil branch also failed, the same as th

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-13 Thread Elvis Dowson
Hi Khem, I also just tried gcc-4.6.3 and eglibc-2.13, and I get a segmentation fault while running /bin/getty, and a kernel panic when running init=/bin/bash, building off poky/master branch recipes. zImage starting: loaded at 0x0080 (sp: 0x0185dfa0) Allocating 0x548f0c by

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-13 Thread Elvis Dowson
Hi, On Aug 14, 2012, at 7:52 AM, Khem Raj wrote: > On Mon, Aug 13, 2012 at 8:24 PM, Elvis Dowson wrote: >> >> I tried eglibc-2.13 with the current gcc-4.7 recipe, and that combination >> doesn't work. >> >> I do know that the Denx ELDK used eglibc-2.13 and the gcc-4.6 recipe. The >> ELDK >>

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-13 Thread Khem Raj
On Mon, Aug 13, 2012 at 8:24 PM, Elvis Dowson wrote: > > I tried eglibc-2.13 with the current gcc-4.7 recipe, and that combination > doesn't work. > > I do know that the Denx ELDK used eglibc-2.13 and the gcc-4.6 recipe. The ELDK > is based off poky/denzil branch. Only the poky/master branch cont

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-13 Thread Elvis Dowson
On Aug 14, 2012, at 12:16 AM, Elvis Dowson wrote: > I get no login prompt. Therefore, both eglibc-2.15 and 2.16 are broken for > PowerPC. > > At the moment, only eglibc-2.13 works. I tried eglibc-2.13 with the current gcc-4.7 recipe, and that combination doesn't work. I do know that the De

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-13 Thread Elvis Dowson
Hi Khem, On Aug 13, 2012, at 9:01 PM, Khem Raj wrote: >> Success, at last!! :-) I switch to eglib 2.13, and everything works fine!! >> The problem was with eglibc 2.16. It is broken for powerpc 440 soft float, >> not sure if the same situation manifests for other target architectures as >> well.

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-13 Thread Khem Raj
On Mon, Aug 13, 2012 at 9:48 AM, Elvis Dowson wrote: > > OK. You might want to downgrade the eglibc version to 2.15 and then to > 2.13 if thats around. > > > Success, at last!! :-) I switch to eglib 2.13, and everything works fine!! > The problem was with eglibc 2.16. It is broken for powerpc 440

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-13 Thread Elvis Dowson
Hi Khem, On Aug 12, 2012, at 9:27 AM, Khem Raj wrote: > On Sat, Aug 11, 2012 at 8:34 PM, Elvis Dowson wrote: >> >> I added support for gcc-4.5.1 inside meta-openembedded/toolchain-layer, and >> got it building against the latest yocto/master branch. >> >> However, switching to gcc-4.5.1 did n

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-12 Thread Elvis Dowson
Hi Khem, I've made tangential progress!! I found out that Denx had a bunch of pre-built rootfilesystems, generated from yocto/denzil branch. I took the core-image-core-generic-powerpc-4xx-softfloat.tar.gz from the following location: ftp://ftp.denx.de/pub/eldk/5.2.1/target

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-11 Thread Khem Raj
On Sat, Aug 11, 2012 at 8:34 PM, Elvis Dowson wrote: > Hi Khem, > I added support for gcc-4.5.1 inside > meta-openembedded/toolchain-layer, and got it building against the latest > yocto/master branch. > > However, switching to gcc-4.5.1 did not fix the issue. > OK. You might

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-11 Thread Elvis Dowson
Hi Khem, I added support for gcc-4.5.1 inside meta-openembedded/toolchain-layer, and got it building against the latest yocto/master branch. However, switching to gcc-4.5.1 did not fix the issue. Elvis Dowson ___ yocto mailing list y

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-11 Thread Khem Raj
On Sat, Aug 11, 2012 at 10:23 AM, Elvis Dowson wrote: > Hi Khem, > I just noticed that libquadmath was disabled in the > gcc-4.7.inc recipe. > > EXTRA_OECONF_INITIAL = "--disable-libmudflap \ > --disable-libgomp \ > --disable-libss

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-11 Thread Elvis Dowson
Hi Khem, I just noticed that libquadmath was disabled in the gcc-4.7.inc recipe. EXTRA_OECONF_INITIAL = "--disable-libmudflap \ --disable-libgomp \ --disable-libssp \ --disable-libquadmath \

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-10 Thread Elvis Dowson
Hi, On Aug 9, 2012, at 8:47 PM, Elvis Dowson wrote: > I switched to using gcc-4.6 from the meta-openembedded layer, and still get > the same issue, i.e. no login or bash prompt with init=/bin/sh I decided to switch to code sourcery external toolchain, to try and narrow the cause to see if it w

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-09 Thread Elvis Dowson
Hi, I switched to using gcc-4.6 from the meta-openembedded layer, and still get the same issue, i.e. no login or bash prompt with init=/bin/sh zImage starting: loaded at 0x0080 (sp: 0x016d2fa0) Allocating 0x546e0c bytes for kernel ... gunzipping (0x <- 0x0080f000:0x00a14e83)...

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-08 Thread McClintock Matthew-B29882
On Wed, Aug 8, 2012 at 3:35 PM, Bob Cochran wrote: > On 08/08/2012 03:05 PM, McClintock Matthew-B29882 wrote: >> >> These seem like quite different issues, code generation vs. some >> inittab foo... are you seeing this issues with upstream? I've recently >> gotten some inittab cleanups into oe-cor

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-08 Thread Bob Cochran
On 08/08/2012 03:05 PM, McClintock Matthew-B29882 wrote: These seem like quite different issues, code generation vs. some inittab foo... are you seeing this issues with upstream? I've recently gotten some inittab cleanups into oe-core for master / denzil / my own edison branch + meta-fsl-ppc...

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-08 Thread McClintock Matthew-B29882
On Wed, Aug 8, 2012 at 8:44 AM, Bob Cochran wrote: > On 07/31/2012 01:27 PM, Elvis Dowson wrote: >> >> Is serial console login prompt broken on yocto for targets other than >> Intel? Does it work on ARM or PowerPC at the moment, with the latest >> yocto updates as of today? > > > Hi Elvis, > > For

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-08 Thread Bob Cochran
On 07/31/2012 01:27 PM, Elvis Dowson wrote: Is serial console login prompt broken on yocto for targets other than Intel? Does it work on ARM or PowerPC at the moment, with the latest yocto updates as of today? Hi Elvis, For my Freescale QorIQ e500v2 target, the use of getty inside init / init

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-07 Thread Khem Raj
On Tue, Aug 7, 2012 at 1:33 PM, Elvis Dowson wrote: > I tired manually copying the static bash binary 8mb, over to the ramdisk root > folder. The problem still manifests, if there is no other file other than the > static bash file, it displays the prompt. If the core-minimal-console image > exi

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-07 Thread Khem Raj
On Tue, Aug 7, 2012 at 7:36 PM, Elvis Dowson wrote: > Hi, > I was just going through the recipes-devtools/gcc/gcc-common.inc file, > and noticed the following snippet: > > def get_gcc_multiarch_setting(bb, d): > target_arch = d.getVar('TRANSLATED_TARGET_ARCH', True) > multiarch_optio

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-07 Thread Elvis Dowson
Hi, I was just going through the recipes-devtools/gcc/gcc-common.inc file, and noticed the following snippet: def get_gcc_multiarch_setting(bb, d): target_arch = d.getVar('TRANSLATED_TARGET_ARCH', True) multiarch_options = { "i586":"--enable-targets=all", "powerp

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-07 Thread Elvis Dowson
Hi, On Aug 8, 2012, at 0:30, Khem Raj wrote: > On Tue, Aug 7, 2012 at 1:24 PM, Elvis Dowson wrote: >> >> Is there something that I can disable to get static bash to run to the >> prompt, with the core-image-minimal image? > > well compile bash or dash as static and copy it manually into the >

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-07 Thread Khem Raj
On Tue, Aug 7, 2012 at 1:24 PM, Elvis Dowson wrote: > > Is there something that I can disable to get static bash to run to the > prompt, with the core-image-minimal image? well compile bash or dash as static and copy it manually into the rootfile system nfs root works well for such experiments. D

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-07 Thread Elvis Dowson
Hi, On Aug 8, 2012, at 12:13 AM, Khem Raj wrote: > On Tue, Aug 7, 2012 at 1:10 PM, Elvis Dowson wrote: >> Hi, >>I decided to modify the bash and busybox recipes to build >> statically, and try to create a core-image-minimal root filesystem, so that >> I can get a sensible prompt with pat

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-07 Thread Khem Raj
On Tue, Aug 7, 2012 at 1:10 PM, Elvis Dowson wrote: > Hi, > I decided to modify the bash and busybox recipes to build > statically, and try to create a core-image-minimal root filesystem, so that > I can get a sensible prompt with paths set, etc, to debug the dynamic > linking issue. > > J

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-07 Thread Elvis Dowson
Hi, I decided to modify the bash and busybox recipes to build statically, and try to create a core-image-minimal root filesystem, so that I can get a sensible prompt with paths set, etc, to debug the dynamic linking issue. Just copying a static bash binary to the root of the ramdisk imag

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-04 Thread Khem Raj
On Sat, Aug 4, 2012 at 12:16 PM, Elvis Dowson wrote: > Hi Khem, > > On Aug 4, 2012, at 9:12 PM, Khem Raj wrote: > >> Try to see if /lib/ld.so.1 runs ok ? > > How can I run /lib/ld.so.1? > /lib/ld.so.1 > Elvis Dowson ___ yocto mailing list yocto@yoctop

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-04 Thread Elvis Dowson
Hi Khem, On Aug 4, 2012, at 9:12 PM, Khem Raj wrote: > Try to see if /lib/ld.so.1 runs ok ? How can I run /lib/ld.so.1? Elvis Dowson ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-04 Thread Khem Raj
On Sat, Aug 4, 2012 at 9:53 AM, Elvis Dowson wrote: > Hi, > > On Aug 4, 2012, at 8:31 PM, Khem Raj wrote: > >> On Sat, Aug 4, 2012 at 8:12 AM, Elvis Dowson wrote: >>> /lib/ld.so.1 >> >> does this file exist on target ? > > Yes, it does. It is a soft link to /lib/ld-2.16.so (136.4kb) > > Both file

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-04 Thread Elvis Dowson
Hi, On Aug 4, 2012, at 8:31 PM, Khem Raj wrote: > On Sat, Aug 4, 2012 at 8:12 AM, Elvis Dowson wrote: >> /lib/ld.so.1 > > does this file exist on target ? Yes, it does. It is a soft link to /lib/ld-2.16.so (136.4kb) Both files exist on the target. What should I do next? Elvis Dowson ___

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-04 Thread Khem Raj
On Sat, Aug 4, 2012 at 8:12 AM, Elvis Dowson wrote: > /lib/ld.so.1 does this file exist on target ? ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-03 Thread Khem Raj
On Aug 3, 2012, at 3:05 PM, Elvis Dowson wrote: > Hi, > > On Aug 4, 2012, at 1:30 AM, Elvis Dowson wrote: > >> I'll try to switch back to a non-static bash, and try booting the >> core-image-minimal filesystem once again. > > Switching back to the core-image-default non-static bash version,

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-03 Thread Tim Bird
On 08/03/2012 03:05 PM, Elvis Dowson wrote: > Hi, > > On Aug 4, 2012, at 1:30 AM, Elvis Dowson wrote: > >> I'll try to switch back to a non-static bash, and try booting the >> core-image-minimal filesystem once again. > > Switching back to the core-image-default non-static bash version, didn't

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-03 Thread Elvis Dowson
Hi, On Aug 4, 2012, at 1:30 AM, Elvis Dowson wrote: > I'll try to switch back to a non-static bash, and try booting the > core-image-minimal filesystem once again. Switching back to the core-image-default non-static bash version, didn't work. I get no bash prompt, even through I specified init

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-03 Thread Elvis Dowson
Hi, On Aug 4, 2012, at 12:59 AM, Elvis Dowson wrote: > Now to try to debug the init process. I compiled bash statically by making the following changes: diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc index 3684191..071d79e 100644 --- a/meta/recipes-exten

Re: [yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-08-03 Thread Elvis Dowson
Hi, On Jul 31, 2012, at 9:27 PM, Elvis Dowson wrote: > I am unable to get a serial console login prompt using yocto generate > rootfilesystem (core-image-minimal), for a PowerPC 440 target. I'm now starting the process of debugging the init process step by step. I've just updated to the late

[yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

2012-07-31 Thread Elvis Dowson
Hi, I am unable to get a serial console login prompt using yocto generate rootfilesystem (core-image-minimal), for a PowerPC 440 target. I saw on another thread that even for the pandaboard, a similar situation exists: > On 2012-07-30 13:11, Gary Thomas wrote: >> On 2012-07-30 12:49, Ji