We are currently working on custom design board based on AM3352 processor
I'm trying to detect the reboot was due to Kernel panic
Seting bootarg panic =1 restarts the board in 1 sec.
And On panic We are observing GLOBAL_WARM_SW_RST bit of PRM_RSTST Register set to 1. and after a normal boot it is set to 0
But GLOBAL_WARM_SW_RST will set even on reboot command issued from terminal after login
We have tried Bootcount method too.. It seems bootcount also increments on warm reset..
We want to distinguish between reboot on kernel panic and system reboot.. for booting kernel from a recovery option
Will WDT1_RST bit of PRM_RSTST Register go high on Kernel panic ? we are always reading that bit as 0 in u-boot
Any help would be highly appreciated.
Regards,
Sooraj