Skip to contentSkip to conversation

early_serial_setup is broken in the 2.5 series

DISCUSSION Brian Murphy 2 participants 2 messages Dec 15, 2002

lore
Share & tools
lore
#0 lore raw

As far as I can see early_serial_setup should be capable of being used to dynamically setup a serial port at any time in the boot process - this is certainly the case in the 2.4 kernels.

However if it is used during architecture initialization, for example, then the serial8250_reg uart driver has not been registered and initialized even though it is used in the early_serial_setup call.

What was wrong with the 2.4 implimentation where the registered serial ports were saved until the serial driver was ready to use them?

/Brian

#1 lore raw
Quoted 10 lines · Brian Murphy

As far as I can see early_serial_setup should be capable of being used to dynamically setup a serial port at any time in the boot process - this is certainly the case in the 2.4 kernels.

However if it is used during architecture initialization, for example, then the serial8250_reg uart driver has not been registered and initialized even though it is used in the early_serial_setup call.

What was wrong with the 2.4 implimentation where the registered serial ports were saved until the serial driver was ready to use them?

Its broken at present. Last I heard, Khalid is working on a fix (since he has the hardware to be able to test it, its sensible that I wait until he has a fix.)

Signature · 2 lines
Russell King ([email protected])                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html