|
From: Paolo S. <ar...@ti...> - 2000-09-12 18:34:57
|
Hi Geert!
> I assume you pass `console=ttyS0' (or something like that) to the kernel?
In
> that case no console messages are sent to the console on the frame buffer
> device.
I dont pass anything to the kernel... in the PPC distribution, a kernel
parameter is CONFIG_SERIAL_CONSOLE that initializes a console using the
serial driver. No parameters are required. It only add a call in
'console_init()'.
I looked at the sources, but i still think there's something wrong on
console initialization (this is 'main.c'):
CONSOLE_INIT
CON_INIT (vt initialization)
CONSOLE_8xx_INIT (serial console on the PPC)
TTY_INIT
RS_8xx_INIT (serial driver on the PPC)
VIDEO_SETUP
Then, i see that VT is not registered because at CON_INIT, the functions
tests the value of 'conswitchp' before running any 'con_startup' function,
and it is NULL. Who should initialize it if this function has to be called
before any other one that initializes the framebuffer? I cannot change
virtual terminal because VT is not registered, then there is something wrong
on this, isnt it?
> You may want to try `console=tty0 console=ttyS0' to get console output on
both
> the frame buffer device and the serial console. Input for the console will
> come from the last console= argument (i.e. the serial console, cfr.
> Documentation/serial-console.txt).
Sorry, but it still doesnt work!
Please reply me because i have no idea on what to do now!!!
=-> MAY THE PINGUIN B WITH U! <-=
Best regards,
Paolo Scaffardi (ar...@ti... - psc...@su...)
AIRVENT SAM s.p.a. - RIMINI (ITALY)
Tel. 0541 383294 - Fax 0541 387086
|