Disable UART console


I can see via bootargs that /dev/ttyHLS1 is assigned to console.

I would like to free this UART for general usage.

but on Yocto kernel , I can see this is not set from kernel level, probably set via bootloader, so I can not change it.

please advice

You can use the AT!MAPUART command to assign this port to use by a linux application. I believe HLS1 maps to UART2:


See page 80 on the AT command reference.

1 Like