The reset signal from tegra-wdt is not full system reset?

I’m using the TX1 with R28.1. I want to use tegra-wdt to reset system.

In default, there is “nvidia,enable-on-init;” in dts file. The tegra-wdt will start after driver probe.
Then the process “watchdogd” will kick tegra-wdt in OS, with period of half of tegra-wdt’s timeout value.
And I can’t use tegra-wdt in my way.

So, I delete “nvidia,enable-on-init;” in dts file. Then tegra-wdt can be used in OS.
But when tegra-wdt timeout, the system reset and hang after CBOOT.
The log:
[0000.184] [TegraBoot] (version 00.00.2014.50-mobile-d44d4bf0)
[0000.190] Processing in cold boot mode Bootloader 2
[0000.194] A02 Bootrom Patch rev = 63
[0000.198] Power-up reason: ap watchdog timeout
[0000.202] No Battery Present
[0000.205] RamCode = 0
[0000.207] Platform has Ddr4 type ram
[0000.211] max77620 disabling SD1 Remote Sense
[0000.215] Setting Ddr voltage to 1125mv
[0000.219] Serial Number of Pmic Max77663: 0x1409ac
[0000.227] Entering ramdump check
[0000.230] Get RamDumpCarveOut = 0xff23f000
[0000.234] RamDumpCarveOut=0xff23f000, RamDumperFlag=0x0
[0000.239] Last reboot was clean, booting normally!
[0000.244] Sdram initialization is successful
[0000.248] SecureOs Carveout Base=0xff800000 Size=0x00800000
[0000.254] GSC1 Carveout Base=0xff700000 Size=0x00100000
[0000.259] GSC2 Carveout Base=0xff600000 Size=0x00100000
[0000.264] GSC3 Carveout Base=0xff500000 Size=0x00100000
[0000.270] GSC4 Carveout Base=0xff400000 Size=0x00100000
[0000.275] GSC5 Carveout Base=0xff300000 Size=0x00100000
[0000.281] BpmpFw Carveout Base=0xff2c0000 Size=0x00040000
[0000.286] Lp0 Carveout Base=0xff2bf000 Size=0x00001000
[0000.305] RamDump Carveout Base=0xff23f000 Size=0x00080000
[0000.311] Platform-DebugCarveout: 0
[0000.314] Nck Carveout Base=0xff03f000 Size=0x00200000
[0000.319] Non secure mode, and RB not enabled.
[0000.360] Using GPT Primary to query partitions
[0000.365] Loading Tboot-CPU binary
[0000.414] Verifying bootloader in OdmNonSecureSBK mode
[0000.425] Bootloader load address is 0xa0000000, entry address is 0xa0000258
[0000.433] Bootloader downloaded successfully.
[0000.437] Downloaded Tboot-CPU binary to 0xa0000258
[0000.442] MAX77620_GPIO1 Configured.
[0000.446] MAX77620_GPIO5 Configured.
[0000.449] CPU power rail is up
[0000.452] CPU clock enabled
[0000.457] Performing RAM repair
[0000.460] Updating A64 Warmreset Address to 0xa00002e9
[0000.489] Bootloader DTB Load Address: 0x83000000
[0000.517] Kernel DTB Load Address: 0x83100000
[0000.522] Loading cboot binary
[0000.616] Verifying bootloader in OdmNonSecureSBK mode
[0000.660] Bootloader load address is 0x92c00000, entry address is 0x92c00258
[0000.667] Bootloader downloaded successfully.
[0000.671] GPT: Partition NOT found !
[0000.675] Find Partition via GPT Failed
[0000.678] Find Partition via PT Failed
[0000.682] function NvTbootGetBinaryOffsets: 0x1 error
[0000.687] Error in NvTbootLoadBinary: 0x1 !
[0000.691] Next binary entry address: 0x92c00258
[0000.695] BoardId: 2180
[0000.703] dram memory type is 3
[0000.707] WB0 init successful
[0000.733] Bpmp FW successfully loaded
[0000.737] Set NvDecSticky Bits
[0000.741] GSC1 address : ff700000
[0000.745] GSC2 address ff63fffc value c0edbbcc
[0000.750] GSC2 address : ff600000
[0000.754] GSC3 address : ff500000
[0000.759] GSC4 address : ff400000
[0000.763] GSC5 address : ff300000
[0000.766] GSC MC Settings done
[0000.770] TOS plaintext Image length 28752
[0000.774] Monitor size 28752
[0000.777] OS size 0
[0000.780] *** Secure OS image signature not verified ***
[0000.785] Loading and Validation of Secure OS Successful
[0000.791] NvTbootPackSdramParams: start.
[0000.797] NvTbootPackSdramParams: done.
[0000.801] Tegraboot started after 163606 us
[0000.805] Basic modules init took 313317 us
[0000.809] Sec Bootdevice Read Time = 216 ms, Read Size = 9476 KB
[0000.815] Sec Bootdevice Write Time = -1940251271 ms, Write Size = -68719477 KB
[0000.822] Next stage binary read took 23852 us
[0000.827] Carveout took 214215 us
[0000.830] CPU initialization took 105435 us
[0000.834] Total time taken by TegraBoot 656819 us

[0000.839] Starting CPU & Halting co-processor

The reset signal from tegra-wdt is not full system reset?

Or something else should do?

Sorry, the log should be Tboot.

hello zhili_liu,

may i have more details about why you would like to use “tegra-wdt” to reset system?
btw, if you simply delete “nvidia,enable-on-init” from device tree. you may not able to probe the watchdog.
please refer to below,

static int tegra_wdt_probe(struct platform_device *pdev){...}