early_serial_setup is broken in the 2.5 series
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
Quoted 10 lines · Brian Murphy
As far as I can see
early_serial_setupshould 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_reguart driver has not been registered and initialized even though it is used in theearly_serial_setupcall.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