Disabling Linux's Console UART ttys0

Hei together,

is there a possibility to disable the Linux’s console UART ttys0,
like in Raspbian using “sudo raspi-config”
select option 5, Interfacing options , then option P6, Serial , and select No . Exit raspi-config.

We need this serial port for another use…!

Thanks for help
Regards from Norway

Hello kwklaus,

So you want to disable the debug uart? Waht you want to do with this uart?

Thanks.


Hei @numbqq nick,
In the attachment to this message, you can see our designed PCB.
Part of this PCB ist an 32Bit µController for different parts of working.
This PCB ist connected via an 40Pin Header, placed as SMD on the
down layer. To communicate from VIM3 Pro Board with the integrated PIC32MZ, placed on the PCB, need we the LINUX_TX/RX Channel.
All another connection at VIM3 GPIO Connector are occupied for differently Tasks, like SPI or I2C.
A bad possibility will it to be use UART_RX/TX_AO_B PIN 15/16,
because in future we need the SPI Channel.
Is there a possibility to use UART_RX/TX_AO_B PIN 15/16,
we trayed to use this, but it was not possible.

About the another topics with questions like SPI, Ubuntu Version and TS050, I will take contact with my software- team in Germany
and Estlan. I self are in Norway as project manager and electronic
developer.

Thanks for Help

Hello @kwklaus

You can try to remove console=ttyS0,115200n8 in /boot/boot.ini file, then reboot the system.

There will be no kernel log output from the UART, and you can use it to communicate with the MCU.

Thanks.

Hei numbqq Nick,

I tried to use your tip, I removed the lines console=ttyS0,115200n8 in /boot/boot.ini and reboot the system.
Result ist zero nothing happend, the debag port is always present. I testet it in parallel with an USB to serial adapter and Terraterm Terminal on an Windows PC and PIN18/19 VIM3 GPIO, the console/debagger is aktiv.
It’s possible to send over Linux_TX, I used a small C Testprogramm, but it’s not possible to read the Linux_RX
buffer.
Second question, how can I activate UARTC_RX/TX PIN15/16 on VIM3 GPI, may be it’s we will use it in future.
Thanks for help.!!!

Hei Nick,

wrote you my last questions about LINUX_TX/RX and UARTC_TX/RX ??

Regards from Norway
Klaus