Re: Linux porting to IBM405 based board
From: Mark Hatle <hidden>
Date: 2003-06-19 13:30:13
Rakesh jagota wrote:
Hi all, I am able to port linux in IBM based power pc 405. I have few issues. I am not able to kill the process using "ctrl-c". I am not able to use "backspace" key to delete the character. Can anyone help me out sort out these silly issues.
This problem comes up often. You can NOT use /dev/console as your interactive login device without first calling the ioctl to make it a "controlling tty". (Sorry I don't have which ioctl handy.) The correct thing to do is use the serial port, or virtual TTY as your console device.. i.e.: /bin/sh < /dev/console > /dev/console is _WRONG_. It works for testing, but you don't have a controlling terminal. You need to do something like: /bin/sh < /dev/ttyS0 > /dev/ttyS0 (and if you want to see error messages, redirect that as well) :) --Mark ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/