On Saturday 07 April 2007 05:36, Maria Arpa wrote:
> Hello,
> I need your help in bringing up busybox on my arm9 based platform. Here are 
> some details:
>   1- I have Linux kernel 2.6.17 brought up on my arm9 based platform. I am 
> able to put a small 
>   program and get it executed as /sbin/init. This program opens a file 
> descriptor at 
>   "/dev/ttyS1" and is able to read and write.
>   2- My next step is to bringup a shell on my platform. I want to use busybox 
> for this.
> Following are some details:
>    - I use ramdisk. 
>    Directories and files:
>       /etc/inittab
>       /etc/init.d/rcS
>       /dev/console
>       /dev/ttyS0
>       /dev/ttyS1
>       /sbin/init              [symlink to busybox program in /bin/busybox]
>       /sbin/getty             [symlink to busybox program in /bin/busybox]
>       /bin/busybox
>       /bin/*                  [commonly used programs - symlink to busybox]

Do you have working /bin/sh?

>     - inittab file details
>             null::sysinit:/bin/mount -o remount,rw /
>             null::sysinit:/bin/mount -t proc proc /proc
>             null::sysinit:/bin/mount -a
>             ttyS1::sysinit:/etc/init.d/rcS
>      ttyS1::respawn:/sbin/getty 57600 ttyS1
>    
>   - init.d/rcS file
>             #!/bin/sh
>             #nothing more here
>   3- I am stuck at following place:
>    I have kernel boot up and give control to init. I have busybox as my init. 
> I donot see 
>   the starting init message and the prompt doesn't come. I have a strange 
> print as below,
>    sh: appl 
>    (n

Looks like init says "sh: applet not found" (or tries to).

Please boot with init=/bin/sh and try to run sysinit actions by hand.
Does "/etc/init.d/rcS" work, for example?
--
vda
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to