In message <D96E2AFA0DF3D211B139009027454948034CBEB1@...> you wrote:
> In fact when I change the baudrate of SMC1 in UBoot, I see that the same
> baudrate remains used in the linux console ( am I getting mad ?? :-)) )
This is just lucky coincidence if you happen to use the same serial
port for cosole in U-Boot and Linux. Normally, you will have to pass
the required information to the Linux kernel as a boot argument, like
> So I thought that the IO Connfiguration & The BRG settings was done only by
No, the philosophy is that each part of the software, each driver, is
responsible to initialize the hardware it accesses. So the LInux UART
driver will initialize the serial port(s) itself.
> BTW, depending on the hardware the IO pins ( and the IO Config ) are not the
> same and nothing in the linux config allow to choose that... So it should
There are some de-facto standard configurations, which are supported
by the Linux driver.
> mean that the Linux Uart Driver should be patched depending on your
Indeed. If your hardware guys decided to build some different confi-
guration, this may require to add some #ifdef's to the Linux kernel
code. If you have a look at the UART drivers in our kernel treee you
will see what I mean :-(
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@...
"There are some good people in it, but the orchestra as a whole is
equivalent to a gang bent on destruction." - John Cage, composer