init hangs

Saravanan Chanemouganandam schane at osmozis.com
Thu Nov 29 15:32:39 UTC 2007


Hello,

I forget to add the steps that I have done in configuring the Buildroot.  In 
the buildroot menuconfig, I configured Kernel option as "none" and kernel 
header version option as "2.6 latest snapshots" for my existing linux 2.6.16 
and then compiled using make as

../buildroot# make LINUX_HEADERS_VERSION=2.6.16 DEFAULT_KERNEL_HEADERS=2.6.12

sara

Le Mercredi 28 Novembre 2007 18:33, Brian Austin a écrit :
> Correct.
>
> You are mixing EABI and non EABI.  You should build (if your doin EABI)
> your toolchain with 2.6.16 or greater headers.
>
> The main reason, from my experiences a while back, with init in busybox
> hanging and using EABI was that either the kernel was built with EABI
> and busybox was not or the opposite.
>
> On Wed, 2007-11-28 at 09:09 -0800, Denys Vlasenko wrote:
> > On Tuesday 27 November 2007 07:02, Saravanan Chanemouganandam wrote:
> > > Hello vda,
> > >
> > > I have still a panic with the buildroot uclibc cross toochain. "Hello
> > > world" compiled with the following "gcc" dispalys message on the ARM
> > > target "arm5vte"
> > >
> > > schane:/#
> > > /scratchbox/compilers/arm-gcc-3.3.4-glibc-2.3.2/bin/arm-linux-gcc -v
> > > Reading specs
> > > from
> > > /scratchbox/compilers/arm-gcc-3.3.4-glibc-2.3.2/lib/gcc-lib/arm-linux/3
> > >.3.4 /specs Configured
> > > with:
> > > /home/tsavola/sb-toolchains/gcc/glibc/work/gcc-3.3-3.3.4-patched/config
> > >ure --target=arm-linux --host=i386-linux --build=i386-linux
> >
> >            ^^^^^^^^^
> >
> > > --prefix=/scratchbox/compilers/arm-gcc-3.3.4-glibc-2.3.2
> > > --with-headers=/scratchbox/compilers/arm-gcc-3.3.4-glibc-2.3.2/usr/incl
> > >ude --enable-languages=c,c++ --program-transform-name=s/^-/arm-linux-/
> > > --program-prefix=arm-linux- --with-cpu=
> > > Thread model: posix
> > > gcc version 3.3.4 (Debian)
> > >
> > > whereas it doesn't display cross compiled with the following "uclibc"
> > >
> > > schane:/#
> > > /home/sara/BuildRoot/buildroot/build_arm/staging_dir/bin/arm-linux-gcc
> > > -v Using built-in specs.
> > > Target: arm-linux-uclibcgnueabi
> > > Configured
> > > with:
> > > /home/sara/BuildRoot/buildroot/toolchain_build_arm/gcc-4.1.2/configure
> > > --prefix=/home/sara/BuildRoot/buildroot/build_arm/staging_dir
> > > --build=i386-pc-linux-gnu --host=i386-pc-linux-gnu
> > > --target=arm-linux-uclibcgnueabi--enable-languages=c
> > > --disable-__cxa_atexit
> >
> >            ^^^^^^^^^^^^^^^^^^^^^^^
> >
> > > --enable-target-optspace --with-gnu-ld --disable-shared --disable-nls
> > > --enable-threads --disable-multilib --with-float=soft
> > > --disable-largefile Thread model: posix
> > > gcc version 4.1.2
> > >
> > > Is this issue due to a floating point option or kernel headers ? I have
> > > built buildroot toochain with kernel-header 2.6.12 for my linux kernel
> > > 2.6.16 and with soft float option enabled.
> >
> > I'm no expert on ARM, but I do know that EABI and "old" ABI have
> > a bit different calling conventions, including kernel syscalls
> > calling conventions.
> >
> > Your 'working' toolchain and 'failing' tollchain have different
> > --target's. --
> > vda
> > _______________________________________________
> > busybox mailing list
> > busybox at busybox.net
> > http://busybox.net/cgi-bin/mailman/listinfo/busybox



More information about the busybox mailing list