shutdown from u-boot

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

shutdown from u-boot

1,779件の閲覧回数
Ralf_Rademacher
Contributor III

Hi there,

is it possible to power off from u-boot via command?

 

best regards

Ralf

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

1,586件の閲覧回数
Ralf_Rademacher
Contributor III

Thank you JorgeCas,

for your answer.

Is somewhere a good tutorial, how to do this? I'm a novice with it. I know that pmic is pca9450. I don't know if driver supports it.

Best regards

Ralf

 

0 件の賞賛
返信

1,756件の閲覧回数
Ralf_Rademacher
Contributor III

does not work for me

u-boot=> poweroff
Unknown command 'poweroff' - try 'help'
u-boot=>

0 件の賞賛
返信

1,743件の閲覧回数
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

This means that the command is not enabled and you need to configure it and build U-boot with the changes.

CONFIG_CMD_POWEROFF should be enabled in the board configuration. Also, make sure that the PMIC's driver supports this feature and the On/Off signal is correctly routed/configured.

Best regards.

0 件の賞賛
返信

1,760件の閲覧回数
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

Yes, it is possible using the next command:

poweroff

It should be supported your U-boot configuration and PMIC's driver.

Best regards.

0 件の賞賛
返信