I can’t use the UART /dev/ttyTHS1 correctly. I tried with a GPS or a Bluetooth over UART. Everything is working as expected when I don’t use a balena based Host but doesn’t work with Balena.
For example, with Bluetooth, I have the following issue in dmesg : [ 184.829759] Bluetooth: hci0: command 0x1009 tx timeout
when using Balena, here is the output of dmesg | grep serial
[ 0.184621] usbcore: registered new interface driver usbserial_generic
[ 0.184641] usbserial: USB Serial support registered for generic
[ 3.597651] 3100000.serial: ttyTHS1 at MMIO 0x3100000 (irq = 112, base_baud = 0) is a TEGRA_UART
[ 3.598640] 3140000.serial: ttyTHS2 at MMIO 0x3140000 (irq = 113, base_baud = 0) is a TEGRA_UART
And here is the output when using Jetpack (so when it works) :
[ 3.376154] serial-tegra 3100000.serial: RX in PIO mode
[ 3.376158] serial-tegra 3100000.serial: TX in PIO mode
[ 3.376220] 3100000.serial: ttyTHS1 at MMIO 0x3100000 (irq = 112, base_baud = 0) is a TEGRA_UART
[ 3.376696] serial-tegra 3140000.serial: RX in PIO mode
[ 3.376701] serial-tegra 3140000.serial: TX in PIO mode
[ 3.376739] 3140000.serial: ttyTHS2 at MMIO 0x3140000 (irq = 113, base_baud = 0) is a TEGRA_UART