I am trying to perform serial communication on my Jetson using its ttyS0 port. Currently I am using the following command each time I boot up to suspend the debug service on the Jetson TX2, allowing proper packet flow:
sudo systemctl stop serial-getty@ttyS0
I was wondering if there is some u-boot rule I can create or some modification to the device tree that I can do in order to stop linux from using this ttyS0 as a debug terminal. I don’t care if I eliminate the service all together, or if I just have it run on another serial port, I just want to stop it from holding ttyS0.
If anyone has done something like this before and could give me some pointers, I would really appreciate it.