Hi Community,
I'm working on i.MX6 sabreSD DL and using linux kernel L4.1.15.
My hardware designed will connect WDOG_B to PMIC Control PWRON.
After I send reboot command WDOG_B will reset and cause PMIC Control PWRON reset too.
Then the system be hanged like below log.
root@arm:~# reboot
[ OK ] Stopped target Timers.
Stopping User Manager for UID 0...
Stopping Authorization Manager...
Starting Unattended Upgrades...
Stopping Session c1 of user hermes.
Stopping User Manager for UID 1001...
[ OK ] Stopped Daily Cleanup of Temporary Directories.
Stopping Disk Manager...
[ OK ] Stopped target Graphical Interface.
Stopping Light Display Manager...
[ OK ] Stopped target Multi-User System.
Stopping OpenBSD Secure Shell server...
Stopping Avahi mDNS/DNS-SD Stack...
Stopping LSB: Apache2 web server...
Stopping Modem Manager...
Stopping LSB: set CPUFreq kernel parameters...
Stopping LSB: Start busybox udhcpd at boot time...
Stopping LSB: Advanced IEEE 802.11 management daemon...
Stopping D-Bus System Message Bus...
Stopping Regular background program processing daemon...
Stopping Stopping Session c2 of user root.
Stopping LSB: Starts and stops Wicd...
[ OK ] Stopped target Login Prompts.
Stopping Serial Getty on ttymxc0...
Stopping Getty on tty1...
[ OK ] Stopped Modem Manager.
[ OK ] Stopped Avahi mDNS/DNS-SD Stack.
[ OK ] Stopped OpenBSD Secure Shell server.
[ OK ] Stopped Regular background program processing daemon.
[ OK ] Stopped System Logging Service.
[ 1961.034311] imx-ipuv3 2400000.ipu: WARNING: adapt panel end blank lines
[ OK ] Stopped D-Bus System Message Bus.
[ 1961.176691] imx-ipuv3 2400000.ipu: WARNING: adapt panel end blank lines
[ OK ] Stopped Authorization Manager.
[ OK ] Stopped Serial Getty on ttymxc0.
[ OK ] Stopped Getty on tty1.
[ OK ] Stopped Light Display Manager.
[ OK ] Stopped User Manager for UID 1001.
[ OK ] Stopped Disk Manager.
[ OK ] Stopped User Manager for UID 0.
[ OK ] Stopped Session c1 of user hermes.
[ OK ] Stopped LSB: Advanced IEEE 802.11 management daemon.
[ OK ] Started Unattended Upgrades.
[ OK ] Stopped Session c2 of user root.
[ OK ] Stopped LSB: Start busybox udhcpd at boot time.
[ OK ] Stopped LSB: set CPUFreq kernel parameters.
Stopping LSB: Load kernel modules needed to enable cpufreq scaling...
[ OK ] Removed slice User Slice of root.
[ OK ] Removed slice User Slice of hermes.
Stopping Login Service...
[ OK ] Removed slice system-getty.slice.
Stopping Permit User Sessions...
[ OK ] Removed slice system-serial\x2dgetty.slice.
[ OK ] Stopped /etc/rc.local Compatibility.
[ OK ] Stopped Login Service.
[ OK ] Stopped LSB: Starts and stops Wicd.
[ OK ] Stopped Permit User Sessions.
[ OK ] Stopped LSB: Load kernel modules needed to enable cpufreq scaling.
[ OK ] Stopped LSB: Apache2 web server.
[ OK ] Stopped target Basic System.
[ OK ] Stopped target Paths.
[ OK ] Stopped Dispatch Password Requests to Console Directory Watch.
[ OK ] Stopped Forward Password Requests to Wall Directory Watch.
[ OK ] Stopped target Sockets.
[ OK ] Closed Avahi mDNS/DNS-SD Stack Activation Socket.
[ OK ] Closed D-Bus System Message Bus Socket.
[ OK ] Closed Syslog Socket.
[ OK ] Stopped target Slices.
[ OK ] Removed slice User and Session Slice.
[ OK ] Stopped target Remote File Systems.
[ OK ] Stopped target Remote File Systems (Pre).
[ OK ] Stopped target System Initialization.
[ OK ] Stopped target Encrypted Volumes.
Stopping LSB: NFS support files common to client and server...
Stopping Load/Save Random Seed...
[ OK ] Stopped target Swap.
[ OK ] Stopped Load/Save Random Seed.
[ OK ] Unmounted /run/rpc_pipefs.
[ OK ] Stopped LSB: NFS support files common to client and server.
[ OK ] Stopped target System Time Synchronized.
Stopping Network Time Synchronization...
[ OK ] Stopped target RPC Port Mapper.
Stopping LSB: RPC portmapper replacement...
[ OK ] Stopped Network Time Synchronization.
[ OK ] Stopped Create Volatile Files and Directories.
[ OK ] Stopped LSB: RPC portmapper replacement.
[ OK ] Stopped target Network is Online.
[ OK ] Stopped target Network.
Stopping Raise network interfaces...
[ OK ] Stopped Raise network interfaces.
[ OK ] Stopped Apply Kernel Variables.
[ OK ] Stopped target Local File Systems.
Unmounting /run/user/0...
Unmounting /run/user/1001...
Unmounting /media/hermes/002D-F50C...
[ OK ] Unmounted /run/user/0.
[ OK ] Unmounted /run/user/1001.
[ OK ] Unmounted /media/hermes/002D-F50C.
[ OK ] Reached target Unmount All Filesystems.
[ OK ] Stopped target Local File Systems (Pre).
[ OK ] Stopped Create Static Device Nodes in /dev.
[ OK ] Stopped Remount Root and Kernel File Systems.
[ OK ] Reached target Shutdown.
[ 1966.916231] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[ 1966.939626] systemd-journald[183]: Received SIGTERM from PID 1 (systemd-shutdow).
[ 1966.984871] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[ 1967.006239] systemd-shutdown[1]: Hardware watchdog 'imx2+ watchdog', version 0
[ 1967.014752] systemd-shutdown[1]: Unmounting file systems.
[ 1967.020687] systemd-shutdown[1]: Remounting '/' read-only with options 'data=ordered'.
[ 1967.115775] EXT4-fs (mmcblk3p2): re-mounted. Opts: data=ordered
[ 1967.147271] systemd-shutdown[1]: Remounting '/' read-only with options 'data=ordered'.
[ 1967.155680] EXT4-fs (mmcblk3p2): re-mounted. Opts: data=ordered
[ 1967.161727] systemd-shutdown[1]: All filesystems unmounted.
[ 1967.167423] systemd-shutdown[1]: Deactivating swaps.
[ 1967.172784] systemd-shutdown[1]: All swaps deactivated.
[ 1967.178408] systemd-shutdown[1]: Detaching loop devices.
[ 1967.203526] systemd-shutdown[1]: All loop devices detached.
[ 1967.209509] systemd-shutdown[1]: Detaching DM devices.
[ 1967.215642] systemd-shutdown[1]: All DM devices detached.
[ 1967.228790] systemd-shutdown[1]: Failed to read reboot parameter file: No such file or directory
[ 1967.237662] systemd-shutdown[1]: Rebooting.
[ 1967.241858] reboot: winmate victor LINUX_REBOOT_CMD_RESTART
[ 1968.255339] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 1968.261816] imx2-wdt 20c0000.wdog: Device shutdown: Expect reboot!
[ 1968.268248] PM: winmate victor PMIC not shutdown
[ 1968.272891] PM: winmate victor PMIC not shutdown
[ 1968.277560] PM: winmate victor PMIC not shutdown
[ 1968.282198] PM: winmate victor PMIC not shutdown
[ 1968.286861] PM: winmate victor PMIC not shutdown
[ 1968.291496] PM: winmate victor PMIC not shutdown
[ 1968.296160] PM: winmate victor PMIC not shutdown
[ 1968.300795] reboot: winmate victor Restarting system
[ 1968.305813] winmate victor do kernel restart
Before I do reboot command I saw that uboot setting showed Reset cause: POR
U-Boot 2015.04imx_v2015.04_4.1.15_1.2.0_ga+ge1eae17 (Mar 15 2017 - 19:44:21)
CPU: Freescale i.MX6DL rev1.3 at 792 MHz
CPU: Temperature 43 C
Reset cause: POR
Board: MX6-SabreSD
I2C: ready
DRAM: 2 GiB
PMIC: PFUZE100 ID=0x10
MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
I tried to measure three signals of PMIC Control like below.
- STANDBY
- PWRON(connect to WDOG_B )
- SW2(gen33 which is EMMC power)

Assuming that main reason why system cannot restart after reboot is because when WDOG_B reset then pwron reset too.
And when pwron reset will cause standby signal high then SW2 will be low-high once.
Because of this cpu cannot recognize Emmc so the machine be handed like picture above.
Is anything I missed and how can I fix this problem?