From: Alex G. <al...@al...> - 2011-09-20 10:42:40
|
On 20/09/2011 6:13 PM, Alex Gibson wrote: > On 20/09/2011 3:23 PM, Dave Hylands wrote: >> Hi Alex, >> > >> >> The login prompt occurs on the serial port inidicated in the /etc/inittab file. >> >> This may be something like this: >> ttyS0::askfirst:/bin/sh --login >> >> or perhaps an invocation of getty. The initab I have for my overo >> (quite old) has: >> >> 1:2345:respawn:/sbin/getty 38400 tty1 >> >> The 1 at the beginning needs to match the 1 in tty1. >> > > Great thank you. > > 1:2345:respawn:/sbin/getty 115200 ttyO2 > is the current default > > > > So editing the one at ~/overo/tmp/rootfs/image_name/etc/inittab > will set it for that image . Great. > > Once I get it working I'll put it up on the wiki > > Thanks > I must be doing something dumb as still can't get xload or uboot to display on /dev/ttyO0 , still displaying on /dev/ttyO2 What I've done so far (on a running board) change uboot console setting to setenv console ttyO0,115200 saveenv boot modified inittab O0:2345:respawn:/sbin/getty 115200 ttyO0 |