On Aug 29, 2008, at 4:40 AM, Sébastien Chrétien wrote:

Hello,

I am trying to port linux for my ppc board. There is no keybord and no scree. There is only UART.
I would like to have a console/terminal using UART.
What is the best way ? to write a serial driver using "struct uart_driver" or using "tty_driver" or to write a driver from scratch.
Maybe there is other way.

What powerpc chip is this? Most of the current SoC based chips 4xx/ 8xx/8xxx should have UART drivers in existence already. If this is something custom you are probably better of asking on the linux-kernel list this question since its not specific to PPC but just writing a driver.

(and I'm guessing the answer is uart_driver, but I haven't looked at what Alan Cox has been up to w/tty vs uart lately).

- k

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to