From: James S. <jsi...@ac...> - 2000-09-16 00:27:46
|
> i'm working on an embedded PowerPC processor with a hardhat linux kernel > (2.2.14). This linuxbox only has a serial_console because it has no > keyboard. > > now, i wrote a framebuffer device that seems to work, but i dont know > how to activate on it a console on the startup. This is what happens on > the kernel startup (i also use the serial console): > > 'fb_init' initializes my fb driver, opens 63 VC and calls > 'take_over_console', but it does nothing because 'vc_cons[i].d' is NULL. > Then, it displays 'Console: switching to frame buffer device', but it is > not true! > > Then, i tried some experiments, and i got: > > echo "pippo" > /dev/tty ==> /dev/tty: Device not configured (in > /proc/tty/drivers i found "5 0 system:/dev/tty") This is really wrong. /dev/tty should be pointing to the system console. Something should come out on the serial console. > echo "pippo" > /dev/tty0 ==> /dev/tty0: No such device (in > /proc/tty/drivers i found "4 0 system:vtmaster") > > Now, what i wrong? No keyboard. Also have you tried on the lilo prompt console=ttyS1 console=tty0 This will tell the system to use both the video console (fbcon) and the serial console. Without a keyboard no input can go threw fbcon. MS: (n) 1. A debilitating and surprisingly widespread affliction that renders the sufferer barely able to perform the simplest task. 2. A disease. James Simmons [jsi...@li...] ____/| fbdev/console/gfx developer \ o.O| http://www.linux-fbdev.org =(_)= http://linuxgfx.sourceforge.net U http://linuxconsole.sourceforge.net |