How to make M54455EVB linux support UART 2?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to make M54455EVB linux support UART 2?

1,419 Views
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

Labels (1)
0 Kudos
Reply
1 Reply

846 Views
mikeqin
Contributor I
The problem is solved now, after changing the init value of the mcfrs_console structure :smileywink:
0 Kudos
Reply