Hello,
I'm trying to configure an i.MX8 system to use the hardware watchdog in a PF8100 PMIC. I've been able to update the SCFW to enable the hardware watchdog. It will reset the system after a few minutes. Then in Linux I have the imx_sc_wdt driver successfully loaded and a user space watchdog daemon kicking the dog periodically. I see the imx_sc_wdt_ping function called in the imx_sc_wdt driver. But I never see the corresponding SCFW function pf8100_pmic_wdog_service called. I don't see where that function is called or referenced in the SCFW code. I assumed it was called in some sort of object code file.
How do I debug the IPC calls? I have ALL of the debugging turned on in the SCFW. I've set DEBUG_LEVEL to 5 and uncommented ALL the debug #defines. But I don't see any additional debug info.
I'm using Linux 5.4.70 and 5222 build of the SCFW released May 27th, 2021.
Solved! Go to Solution.
Nevermind. The IPC calls were working. The PMIC watchdog kick function just wasn't being called.
Nevermind. The IPC calls were working. The PMIC watchdog kick function just wasn't being called.