We are working with Jetson TX2 in L4T 32.2.1. We would like to use the UART3 (Pins H9, H10) as serial debug. We referred the below link and changed the dtb as well as Linux for Tegra package. Below are the changes that we made.
in hardware/nvidia/platform/t18x/common/kernel-dts/t18x-common-platforms/tegra186-quill-common.dtsi
serial@3100000 {
-compatible = "nvidia,tegra20-uart", "nvidia,tegra186-hsuart";
+compatible = "nvidia,tegra186-hsuart";
+status = "okay";
+/*compatible = "nvidia,tegra20-uart", "nvidia,tegra186-hsuart";
console-port;
sqa-automation-port;
/delete-property/ resets;
/delete-property/ reset-names;
-status = "okay";
+status = "okay";*/
};
serial@3130000 {
-compatible = "nvidia,tegra186-hsuart";
-dma-names = "tx";
+compatible = "nvidia,tegra20-uart", "nvidia,tegra186-hsuart";
+console-port;
+/delete-property/ resets;
+/delete-property/ reset-names;
status = "okay";
+/*compatible = "nvidia,tegra186-hsuart";
+dma-names = "tx";
+status = "okay";*/
};
in bootloader/t186ref/BCT/tegra186-mb1-bct-misc-si-l4t.cfg
##### debug variables #####
debug.enable_log = 1;
-debug.uart_instance = 0;
+debug.uart_instance = 3;
##### sw_carveout variables #####
in p2771-0000.conf.common
ROOTFSSIZE=28GiB;
-CMDLINE_ADD="console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0";
+CMDLINE_ADD="console=ttyS3,115200n8 console=tty0 fbcon=map:0 net.ifnames=0";
target_board="t186ref";
Strangely, we are getting the below error when executing the flash command.
[ 66.7223 ] tegrarcm_v2 --isapplet
[ 67.3619 ]
[ 67.3651 ] tegradevflash_v2 --iscpubl
[ 67.3681 ] CPU Bootloader is not running on device.
[ 67.6858 ]
[ 68.6894 ] tegrarcm_v2 --isapplet
[ 69.3259 ]
[ 69.3279 ] tegradevflash_v2 --iscpubl
[ 69.3294 ] CPU Bootloader is not running on device.
[ 69.6459 ]
Error: None of the bootloaders are running on device. Check the UART log.
Failed flashing t186ref.
Are there any steps to resolve this issue.