[U-Boot] Use UART1 port on p1022 through U-Boot

17 Jun
2014
17 Jun
'14
8:10 p.m.
Hi,
I am using a Freescale p1022 processor, and I need to write to the UART1 port of this processor, through U-Boot. I know it currently uses UART0 as the console input/output. I could not find out how to configure it so I can use UART1 as well.
If somebody have a hint, I will be really grateful.
Cheers,
Nildo Junior

18 Jun
18 Jun
8:23 a.m.
Just use #define CONFIG_CONS_INDEX 2 to select UART1 as u-boot console. Remember to set "consoledev=ttyS1" in the kernel parameters.
Cheers Dirk
3984
Age (days ago)
3985
Last active (days ago)
1 comments
2 participants
participants (2)
-
Dirk Eibach
-
Nildo Junior