[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: init hangs
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2007-11-30 5:36:08
Message-ID: 200711292136.08079.vda.linux () googlemail ! com
[Download RAW message or body]

On Thursday 29 November 2007 06:24, Saravanan Chanemouganandam wrote:
> Hello,
>
> Yes. I got messed up with EABI and non EABI selection and my kernel
> (2.6.16) was built with non EABI but trying to build Buildroot busybox with
> EABI option which is wrong.
>
> Well, I have rebuilt again the buildroot with OABI option enabled which
> leaves me the toolchain arm-linux-uclibc-gcc
> schane:/home/sara/BuildRoot/buildroot#
> /home/sara/BuildRoot/buildroot/build_arm/staging_dir/usr/bin/arm-linux-ucli
>bc-gcc -v
> Using built-in specs.
> Target: arm-linux-uclibc
> Configured
> with:
> /home/sara/BuildRoot/buildroot/toolchain_build_arm/gcc-4.2.1/configure
> --prefix=/usr --build=i386-pc-linux-gnu --host=i386-pc-linux-gnu
> --target=arm-linux-uclibc --enable-languages=c,c++
> --with-sysroot=/home/sara/BuildRoot/buildroot/build_arm/staging_dir
> --with-build-time-tools=/home/sara/BuildRoot/buildroot/build_arm/staging_di
>r/usr/arm-linux-uclibc/bin --disable-__cxa_atexit --enable-target-optspace
> --with-gnu-ld --enable-shared
> --with-gmp=/home/sara/BuildRoot/buildroot/toolchain_build_arm/gmp
> --with-mpfr=/home/sara/BuildRoot/buildroot/toolchain_build_arm/mpfr
> --disable-nls --enable-threads --disable-multilib --with-float=soft
> --disable-largefile
> Thread model: posix
> gcc version 4.2.1
>
> But still, the statically built "helloworld" with arm-linux-uclibc-gcc
> doesn't show any message during bootup using init=/sbin/helloworld .

What "arm-linux-uclibc-objdump -x helloworld" says?

Can you post this binary?

> Meanwhile, I have also built the rootfs with busybox compiled using
> scratchbox toolchain
> "/scratchbox/compilers/arm-gcc3.4-uclibc0.9.28/bin/arm-linux-gcc " and the
> system boots well using init=/bin/ash and got the ash# prompt.
>
> To test the above, I then transfered the "helloworld" built with Buildroot
> toolchain to the running system and I can see the "Hello world !!!!"
> display message and cancelled to turn to # prompt.

If you have strace available there, post "strace helloworld" output.
--
vda
_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic