Hi,

My home made bootloader passes the following command
line "console=ttyS0,96008n" via ATAG_CMDLINE without
any issue. Also the bootloader takes care to configure
the uart1.

I had to add the printascii() in order to have some
debug messages.

I loosing something during the console_init()
execution flow.

console_int()                     @ printk.
|-> serial8250_console_init();    @ 8250.c
 |-> serial8250_isa_init_ports(); @ 8250.c
   |-> All the serial8250_ports[].port elements = 0

 |-> register_console(&serial8250_console); @ printk.c

   |-> serial8250_console_setup(console,
console_cmdline[i].options)
     |-> port = &serial8250_ports[co->index].port;
         if (!port->iobase && !port->membase)
           return -ENODEV;

So since All the serial8250_ports[].port elements = 0
  the configuration seated "console=ttyS0,9600n8" will
not be used to reconfigure the console.

If this is not the path used to reconfigure the
console via command line. Which one is the right one??

I probably missing something, or following the wrong
path.



Thanks in advance for any comments.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to