busybox sh does not run and cannot login when eabi enabled

cytan299 at netzero.net cytan299 at netzero.net
Sun Jan 8 21:24:30 UTC 2012


Hi guys,
   I have successfully compiled (using buildroot-2011.11.tar.gz), linux-2.6.39.4, busybox-1.19.3 with OABI and all the scripts in init.d/rcS runs fine and I can log into my embedded system.

   However, when I eabled EABI in buildrroot, I can no longer log into my embedded system. My suspicion is that /bin/sh is somehow not running because:
       (a) the rcS scripts which echo to stdout don't do so anymore (unlike in the OABI compiled system). And setting an echo in rcS does not print out anything.
       (b) setting up inittab so that on ttySAC0 start and login, I can see messages. Here's the messages when I try to login as root before being bumped out (no password prompt is even shown!). And yes, securetty has ttyAMA0 entry.
------------------------------------------------------------------
Dec 31 17:00:10 Hammer auth.info login[776]: root login on 'ttyAMA0'                                               
Dec 31 17:00:10 Hammer daemon.info init: process '/sbin/getty -L ttySAC0 115200 vt100 ' (pid 776) exited. Scheduli.
Dec 31 17:00:10 Hammer daemon.info init: starting pid 789, tty '/dev/ttySAC0': '/sbin/getty -L ttySAC0 115200 vt10'
Dec 31 17:00:11 Hammer daemon.info init: process '/usr/bin/tail -f /var/log/messages' (pid 779) exited. Scheduling.
Dec 31 17:00:11 Hammer daemon.info init: starting pid 790, tty '/dev/ttySAC0': '/usr/bin/tail -f /var/log/messages'
----------------------------------------------------------------------


       (c) replacing /linuxrc which points to /bin/busybox to a shell script does not echo or do anything.

       (d) Using rootfs that was compiled with oabi enabled *BUT* using linux compiled with eabi, I have no problems logging in.

I'm at a loss as to what's going on. Any help appreciated.

Attached below are the diff's between the .config files between EABI enabled build and OABI build which works. As you can see, the only difference is basically the EABI enabling.

***************
For busybox:

cytan at ubuntu:~/projects/Hammer/buildroot-2011.11$ diff output/build/busybox-1.19.3/.config ~/projects/Hammer/buildroot-2011.11.oabi/output/build/busybox-1.19.3/.config
4c4
< # Sun Jan  8 15:05:59 2012
---
> # Wed Jan  4 19:11:09 2012
*******************************************

For linux

cytan at ubuntu:~/projects/Hammer/buildroot-2011.11$ diff output/build/linux-2.6.39.4/.config ~/projects/Hammer/buildroot-2011.11.oabi/output/build/linux-2.6.39.4/.config
4c4
< # Sun Jan  8 12:27:50 2012
---
> # Fri Jan  6 22:55:55 2012
379,380c379
< CONFIG_AEABI=y
< CONFIG_OABI_COMPAT=y
---
> # CONFIG_AEABI is not set
440a440
> # CONFIG_ARTHUR is not set
1265d1264
< # CONFIG_ARM_UNWIND is not set
*****************************************************



More information about the busybox mailing list