Community
cancel
Showing results for 
Search instead for 
Did you mean: 
JWigg
Beginner
919 Views

Switch Debug Port to UART1

Jump to solution

Hi Guys,

is there a possibility to use the UART1 as a debug port instead of UART2? I need to switch them for my project. I haven't found the appropriate files in the meta-intel-edison board support package yet.

I tried to set the serial console to 'ttyMFD1' in the u-boot arguments, like in /message/269377# 269377 https://communities.intel.com/message/269377. But when I change 'bootargs_console' from

 

"console=ttyMFD2 earlyprintk=ttyMFD2,keep"

 

to

 

"console=ttyMFD1 earlyprintk=ttyMFD1,keep"

 

the Edison stops booting.

Thank you for your help!

1 Solution
Pedro_M_Intel
Employee
70 Views

Hello j3u,

I believe that in order for you to change this configuration you will have to modify it at the kernel level and even though you set it correctly, you will probably run into issues with UART1's muxing. I mean, as you may already know, when you try to use UART1 from Linux you have to set the MUXs to enable it, if you want to send the console data to UART1, you will have to find a way to set the MUXs to the appropriate configuration on boot.

Peter.

View solution in original post

1 Reply
Pedro_M_Intel
Employee
71 Views

Hello j3u,

I believe that in order for you to change this configuration you will have to modify it at the kernel level and even though you set it correctly, you will probably run into issues with UART1's muxing. I mean, as you may already know, when you try to use UART1 from Linux you have to set the MUXs to enable it, if you want to send the console data to UART1, you will have to find a way to set the MUXs to the appropriate configuration on boot.

Peter.

View solution in original post

Reply