Hi all
I want to know about behavior of the PMIC_STBY_REQ.
I designed my board using i.MX 6Solo.
When I use Linux "Shutdown" command, the PMIC_STBY_REQ will be "High".
Is it correct ?
What is a correct behavior when using the "Shutdown" command ?
ko-hey
Solved! Go to Solution.
Hello ko-hey,
The status of the PMIC_STBY_REQ (and PMIC_ON_REQ) lines are entirely down to SNVS and CCM configuration settings and which modes will be transitioned through as a result of the kernel "reboot" system call.
The userspace command "shutdown" or "poweroff" really only calls into the kernel as above and will eventually cause something to happen which can easily be board-specific and overridden depending on the kernel version and BSP support in place - it could be the function assigned to pm_power_off() or something more complicated. Usually it will wire up a watchdog timer to reset the system - and what your system does as a result of the timer expiring is usually board-dependent.
You can find very adequate documentation on "Power mode transitions" in the i.MX6 documentation set on what the PMIC_* pin states should be for the internal SoC processes, but which ones the Linux kernel code will configure and invoke is a little more complicated.
Hello ko-hey,
The status of the PMIC_STBY_REQ (and PMIC_ON_REQ) lines are entirely down to SNVS and CCM configuration settings and which modes will be transitioned through as a result of the kernel "reboot" system call.
The userspace command "shutdown" or "poweroff" really only calls into the kernel as above and will eventually cause something to happen which can easily be board-specific and overridden depending on the kernel version and BSP support in place - it could be the function assigned to pm_power_off() or something more complicated. Usually it will wire up a watchdog timer to reset the system - and what your system does as a result of the timer expiring is usually board-dependent.
You can find very adequate documentation on "Power mode transitions" in the i.MX6 documentation set on what the PMIC_* pin states should be for the internal SoC processes, but which ones the Linux kernel code will configure and invoke is a little more complicated.
Hi Matthew
Thank you for your quick response and description.
I understand that I need to investigate the kernel.
Thank you.
ko-hey
Hi ko-hey
I think one can use "poweroff" command .
Best regards
igor
Hi Igor
This is just your info.
I tried that command but it's behavior was not change.
Anyway I have already resolved my issue.
Thank you for your Cooperation.
ko-hey
Hi
I encounter the same issue as your, would you kind enough to tell me how to poweroff the target? I have filled a question via
Why target fails to power off on IMX6 sabre auto
but, I can't figure out what supporter said, or, which FSL's kernel version can resolve the issue?
Yadi