From: Paolo S. <ar...@ti...> - 2000-09-12 18:34:03
|
hi there, i'm a newbie here, and i have lots of unanswered questions that i'd like to make... 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") echo "pippo" > /dev/tty0 ==> /dev/tty0: No such device (in /proc/tty/drivers i found "4 0 system:vtmaster") Now, what i wrong? Is that recold field value right, or someone should set it before the fb_init? How a fb can become a console when booting? it's not clear to me... i looked everywhere but that code it's very... confusing! Thanx again... Best regards, Paolo Scaffardi (ar...@ti... - psc...@su...) AIRVENT SAM s.p.a. - RIMINI (ITALY) Tel. 0541 383294 - Fax 0541 387086 |