This is a device tree I’m using with only jetpack 4.2.1 installed
nvidia,dtsfilename = "tegra186-quill-p3310-mySerialSleepBug.dts";
nvidia,dtbbuildtime = __DATE__, __TIME__;
nvidia,boardids = "3310:0000:C03";
nvidia,proc-boardid = "3310:0000:C03";
linux,code = <0x13>;
linux,code = <0x21>;
//Move debug comms off UART1_on_SOM (D9/10)
/* Disable unused stuff inherited from nVidia base DTS included above */
compatible = "nvidia,tegra20-uart", "nvidia,tegra186-hsuart";
status = "okay";
bootargs = "androidboot.presilicon=true firmware_class.path=/etc/firmware";
stdout-path = "/serial@c280000:115200n8";
When I use this the system goes to sleep ok with a systemctl suspend. I can see LEDs on the devkit come on when I press VOL as I’ve set it to be a wake source, but the system does not fully wake. It doesn’t re-establish a network link over ethernet, neither does it establish a link over USB OTG.
Can someone from Nvidia explain why the TX2 only seems to wake fully when the debug serial is enabled on ttyS0? (I’ve been able to successfully move the debug console to other serial ports yet the the problem remains).
It’s critical I achieve this, the serial port is exposed to an external connector on a custom carrier board & needs to be used for other purposes than debug.