0
TE999

uart interface Gpio 8 + 10 on the rock pi4

Recommended Posts

Hello,
I'm trying to activate the uart interface Gpio 8 + 10 on the rock pi4. I have currently installed the image of radxa.

--> ARMBIAN 5.67 user-built Debian GNU/Linux 9 (stretch) 4.4.154-rk3399rockpi4b
My Linux knowledge is still in the beginning.

Who can help me to activate the upart interface Gpio 8 + 10 on the rock pi4.

Thank you

Share this post


Link to post
Share on other sites
On 4/21/2019 at 12:16 PM, TE999 said:

Who can help me to activate the upart interface Gpio 8 + 10 on the rock pi4.

The UART2C is the one on GPIOs pins 8/10. It is already activated in Armbian as the Serial Debug port using /dev/ttyS2, so kernel output log will be sent there.

If you want to use that UART for something else, you need to deactivate the kernel log by making sure it has "console=display" in /boot/armbianEnv.txt.

 

Share this post


Link to post
Share on other sites
3 hours ago, martinayotte said:

The UART2C is the one on GPIOs pins 8/110. It is already activated in Armbian as the Serial Debug port using /dev/ttyS2, so kernel output log will be sent there.

If you want to use that UART for something else, you need to deactivate the kernel log by making sure it has "console=display" in /etc/armbianEnv.txt.

 

 

The file is /boot/armbianEnv.txt and not in the /etc ;-)

 

Share this post


Link to post
Share on other sites
32 minutes ago, SecureXperts said:

 

The file is /boot/armbianEnv.txt and not in the /etc ;-)

 

Good catch ! :thumbup: ... I'm often suffer of dyslexia ... :P

Share this post


Link to post
Share on other sites
0