On Tue, Nov 4, 2008 at 9:04 PM, ron minnich rminnich@gmail.com wrote:
On Tue, Nov 4, 2008 at 10:59 AM, Roman Yeryomin leroi.lists@gmail.com wrote:
On Tue, Nov 4, 2008 at 8:45 PM, Peter Stuge peter@stuge.se wrote:
ron minnich wrote:
/sbin/init is going to try to open the console
Good point.
Is there a /dev/console node available in your filesystem at all times, Roman?
yep
ls -la /dev/console crw-r--r-- 1 root root 5, 1 Jan 1 2000 /dev/console
cat /proc/devices
Character devices: 1 mem 4 /dev/vc/0 4 tty 4 ttyS 5 /dev/tty 5 /dev/console 5 /dev/ptmx 7 vcs 10 misc 13 input 90 mtd 108 ppp 128 ptm 136 pts
Block devices: 3 ide0 31 mtdblock
cat /proc/interrupts show
CPU0 0: 2594034 XT-PIC-XT timer 2: 0 XT-PIC-XT cascade 4: 0 XT-PIC-XT serial 8: 0 XT-PIC-XT rtc 10: 23113 XT-PIC-XT eth0 11: 5 XT-PIC-XT eth1, eth2 14: 20579 XT-PIC-XT ide0 NMI: 0 Non-maskable interrupts LOC: 0 Local timer interrupts RES: 0 Rescheduling interrupts CAL: 0 function call interrupts TLB: 0 TLB shootdowns TRM: 0 Thermal event interrupts SPU: 0 Spurious interrupts ERR: 0 MIS: 0
If you do this echo HITHERE > /dev/ttyS0
nothing it does work with tinybios also cat /proc/tty/driver/serial indicates that there is no tx/rx: serinfo:1.0 driver revision: 0: uart:16550A port:000003F8 irq:4 tx:0 rx:0 RTS|CTS|DTR|DSR|CD 1: uart:unknown port:000002F8 irq:3
does it appear on console? If you type on console, what does /proc/interrupts show?
serial interrupt counter doesn't change if you are talking about that
Roman