Part Number: J721EXCPXEVM
I'm trying to detect the boot status in u-boot, I need to be able to know if device is been power cycle vs reboot. Now we are using Main RTI watchdog to reboot from linux since the TI-SCI reboot is hang while rebooting.
I checked the manual, CTRLMMR_WKUP_RESET_SRC_STAT 4300 0050h seems like the correct register. But when I read the value of the register from u-boot cmdline or early in spl stage, I found the value is not as what I expected:
When power cycle or reboot from linux, the value shows 0
When reset from u-boot, the value shows 1.
I would like to know how to know it is a power cycle or reboot from linux.
Please help!
Regards.
Mandy