Thanks for the information, I will look into embedded debian packages.

By the way, I "made" inittab work after adding the following line into
busybox code init.c


static void parse_inittab(void)
{
....
        while (config_read(parser, token, 4, 0, "#:",
                                PARSE_NORMAL & ~(PARSE_TRIM |
PARSE_COLLAPSE))) {
.....
                  if(strstr(token[3], "rcS"))          //DBG
                   printf("INIT: %s\n", token[3]); //DBG
                new_init_action(1 << action, token[3], tty);
i
....
       }

...
}

I created my own tool-chain, the environment is (gcc version 4.1.2,
glibc-2.6.1, and busybox-1.12.1). Maybe I should look more
closely what causes the problem.






On Sun, Oct 26, 2008 at 12:11 PM, Neil Williams <[EMAIL PROTECTED]> wrote:

> On Sun, 26 Oct 2008 11:38:41 -0400
> "hb fei" <[EMAIL PROTECTED]> wrote:
>
> > I do not think it is inittab itself problem, since I copy inittab and
> > rcS to another rootfs with buysbox compiled with uclibc, it works.
> > So I guess it could be busybox+glibc problem. By the way busybox
> > +glibc does work for our x86 targets, but not ARM.
>
> busybox+glibc has been working without problems on ARM for Emdebian for
> some months (and through several versions of busybox as
> Debian/Emdebian was initially using a v.old version of busybox).
>
> You can see the Emdebian code in our SVN - implemented as a pair of
> shell libraries that the rest of the tools can call when preparing the
> root filesystem. The main rcS stuff is in emrootfslib:
>
>
> http://buildd.emdebian.org/svn/browser/current/host/trunk/emdebian-tools/trunk/pbuilder/emrootfslib
> (GPL v3 or later)
>
> It's not problem free but it works for busybox and glibc on ARM.
>
> The only major difference is this line:
>
> ::sysinit:/etc/rc.d/rc.sysinit
>
> Your inittab includes it, ours does not.
>
> --
>
>
> Neil Williams
> =============
> http://www.data-freedom.org/
> http://www.nosoftwarepatents.com/
> http://www.linux.codehelp.co.uk/
>
>
> _______________________________________________
> busybox mailing list
> [email protected]
> http://busybox.net/cgi-bin/mailman/listinfo/busybox
>
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to