How to make M54455EVB linux support UART 2?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to make M54455EVB linux support UART 2?

1,465件の閲覧回数
mikeqin
Contributor I
hi,

I found that M54455EVB linux source only support uart 0 and 1. I am trying to make it support uart 2. I did following modification in drivers/serial/mcfserial.c:

- add "console=ttyS2" to the uboot bootargs.
- change .. (mcfrs_console_port ? MCFUART_BASE2 : MCFUART_BASE1));
to (mcfrs_console_port ? MCFUART_BASE3 : MCFUART_BASE1));

Still not working, any thoughts on this?

Mike

ラベル(1)
0 件の賞賛
返信
1 返信

892件の閲覧回数
mikeqin
Contributor I
The problem is solved now, after changing the init value of the mcfrs_console structure :smileywink:
0 件の賞賛
返信