help needed to bringup init and shell

Maria Arpa m_arpa84 at yahoo.com
Fri Apr 6 20:36:20 PDT 2007


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]
    - 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
   and then it gets stuck here.
  Any suggestions on what I am doing wrong and guidance will greatly help.
  Thankyou,
Maria


 
---------------------------------
8:00? 8:25? 8:40?  Find a flick in no time
 with theYahoo! Search movie showtime shortcut.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/busybox-cvs/attachments/20070406/e5ad9ca9/attachment.htm 


More information about the busybox-cvs mailing list