[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [BusyBox] inittab and console
From:       Ralph Siemsen <ralphs () netwinder ! org>
Date:       2005-06-21 15:24:06
Message-ID: 42B83116.4030204 () netwinder ! org
[Download RAW message or body]

Maximus wrote:
> Hi,
> Just going through /etc/inittab.
> 
> I could not find a getty or mingetty ?.

Using busybox?  Check that you enabled GETTY... it is there.
> 
> How do i get shell prompt on my minicom ?. any ideas ?.

Normally with something like this in inittab:

# Put a getty on the serial port
ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100

> If i want to use some other port say /dev/ttygserial what changes
> should i make ?

Change ttyS0 in both places above.

> #
> # This is run first except when booting in single-user mode
> #
[snip]

Awkward to do it this way... the devices should be added in 
device_table.txt under target/generic... that way they will exist.  But 
you are also using devfs, and then not using the devfs names for the 
ports... seems kind of silly to me ;)  Pick one way or the other.  Devfs 
will create the dev nodes for you, but it must be mounted.  The 
traditional way is just to make the nodes manually.

See the inittab that comes with buildroot... but comment out the gettys 
on tty1 and tty2, instead enable the one on ttyS0.

-R


http://buildroot.uclibc.org/cgi-bin/viewcvs.cgi/trunk/buildroot/target/generic/target_skeleton/etc/inittab?rev=9902&view=markup




_______________________________________________
busybox mailing list
busybox@mail.busybox.net
http://codepoet.org/mailman/listinfo/busybox


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic