Continuing the discussion from Orin Nano Jetpack 6.0 UART1 issue :
I was successful in this method for JP6.0.
I have moved onto JP6.2. For JP 6.2, UART1 is not working ie ttyTHS3 is not enabled. I have used the dtb files from JP6.0. I’m attaching them here. Please take a look.
Install_uart0_jp6.zip (41.0 KB)
Thank you
Hi,
I’m facing a similar problem trying to use the UART1 at /dev/ttyTHS0 at pins 8 and 10. The connection seems to be done, however it looks unstable and the link goes down continuously. I’m using JP 5.1.4 since I need ubuntu 20 for my project. Any ideas?
Thanks
Hi mhnrshd93,
Please share the extracted_proc.dts
after you run the following command on your board.
$ sudo dtc -I fs -O dts -o extracted_proc.dts /proc/device-tree
And I would like to check the dmesg in your case.
Hi @martineznovo ,
To use UART in JP5.1.4, please open another topic to discuss your status in details.
Hi,
Thank you for your reply. Please see the attachments for the responses to your questions.
Thank you
(attachments)
dmesg.txt (981 Bytes)
device tree.txt (174 KB)
Hi,
Of course, sorry. Please find my post in here Jetson Orin Nano TX not working
I don’t see /dev/ttyTHS3
in the dmesg you shared.
Do you want to use serial@3110000
?
mhnrshd93:
device tree.txt
Please share the extracted_proc.dts
rather than the result of that command.
I would like to check your current device tree configuration.
We require dual uart for our application.
We are already using the one at /dev/ttyTHS1.
The second uart is what we are looking for.
If it’s at /dev/ttyTHS3 then, please share the steps to enable that.
We are at JP6.2 now. This issue keeps on happening with jetpack change. This post is tagged from my previous posts on the same issue in jp5.1.2, 6.0, and now 6.2. The second uart is not enabled by default. The method to do that in 6.2 is what we seek.
The extracted dts file is attached in this post. Please check.
Thank you.
(Attachment extracted_proc.dts is missing)
The attachment extracted dts is here.
(attachments)
extracted_proc.txt (333 KB)
If you want to enable serial@3110000
, it seems you’ve enabled it in device treee.
Please try to add the following line in device tree.
serial@3110000 {
resets = <0x03 0x65>;
interrupts = <0x00 0x71 0x04>;
clocks = <0x03 0x9c>;
compatible = "nvidia,tegra194-hsuart,tegra234-uart,nvidia,tegra20-uart";
status = "okay";
reg = <0x00 0x3110000 0x00 0x10000>;
+ reset-names = "serial";
};
And /dev/ttyTHS3
should be available to be used since you’ve it configured as following:
aliases {
i2c3 = "/bus@0/i2c@3190000";
nvdla1 = "/bus@0/host1x@13e00000/nvdla1@158c0000";
i2c1 = "/bus@0/i2c@c240000";
i2c8 = "/bus@0/i2c@31e0000";
serial3 = "/bus@0/serial@3110000";
Hi,
1. If you check the extracted dts file, the lines you mentioned have already been added.But /dev/ttyTHS3 is not getting enabled.
aliases {
i2c3 = “/bus@0/i2c@3190000”;
nvdla1 = “/bus@0/host1x@13e00000/nvdla1@158c0000”;
i2c1 = “/bus@0/i2c@c240000”;
i2c8 = “/bus@0/i2c@31e0000”;
serial3 = “/bus@0/serial@3110000”;
i2c6 = “/bus@0/i2c@31c0000”;
serial1 = “/bus@0/serial@3100000”;
tegra-camera-rtcpu = “/rtcpu@bc00000”;
rtc0 = “/bpmp/i2c/vrs@3c”;
i2c4 = “/bpmp/i2c”;
qspi0 = “/bus@0/spi@3270000”;
i2c2 = “/bus@0/i2c@3180000”;
nvdla0 = “/bus@0/host1x@13e00000/nvdla0@15880000”;
i2c0 = “/bus@0/i2c@3160000”;
mmc0 = “/bus@0/mmc@3400000”;
i2c7 = “/bus@0/i2c@c250000”;
serial2 = “/bus@0/serial@3140000”;
rtc1 = “/bus@0/rtc@c2a0000”;
i2c5 = “/bus@0/i2c@31b0000”;
serial0 = “/serial”;
};
2.
uartb = “/bus@0/serial@3110000”;
uarte = “/bus@0/serial@3140000”;
uarta = “/bus@0/serial@3100000”;
These lines are also enabled.
3.
serial@3110000 {
resets = <0x03 0x65>;
interrupts = <0x00 0x71 0x04>;
clocks = <0x03 0x9c>;
compatible = “nvidia,tegra194-hsuart,tegra234-uart,nvidia,tegra20-uart”;
status = “okay”;
reg = <0x00 0x3110000 0x00 0x10000>;
};
However this section has no phandle and reset name. Are they required?
phandle = <0x21f>;
reset-names = “serial”;
Or is something else missing?
Please suggest. We have been stuck on this for some time now.
Thank you