imx6 linux 4.1.15 poweroff fail

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

imx6 linux 4.1.15 poweroff fail

975件の閲覧回数
huangpeter
Contributor II

system:linux 4.1.15

soc: imx6d

device_tree config:

    &snvs_poweroff {
         status = "okay";
      };

   1.tty shell cmd poweroff fail and tty shell can't input anything

root@HNS:~# poweroff
root@HNS:~# [ 80.477984] br-lan: port 1(eth0) entered disabled state
[ 80.498540] device eth0 left promiscuous mode
[ 80.502967] br-lan: port 1(eth0) entered disabled state
[ 80.526333] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 80.532227] device usb0 left promiscuous mode
[ 80.536739] br-lan: port 2(usb0) entered disabled state
[ 80.550448] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[ 85.057558] imx2-wdt 20bc000.wdog: Device shutdown: Expect reboot!
[ 85.063887] reboot: Power down
[ 86.067241] Unable to poweroff system

0 件の賞賛
返信
2 返答(返信)

841件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi huang

what bsp used in the case, one can try Demo Images from

i.MX Software | NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

841件の閲覧回数
huangpeter
Contributor II

I track code and find the code from syscon-poweroff.c(driver/power/reset). 

void syscon_poweroff(void)
{
/* Issue the poweroff */
regmap_write(map, offset, mask);

mdelay(1000);

pr_emerg("Unable to poweroff system\n");
}

0 件の賞賛
返信