shutdown from u-boot

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

shutdown from u-boot

2,312 次查看
Ralf_Rademacher
Contributor III

Hi there,

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

 

best regards

Ralf

0 项奖励
回复
4 回复数

2,119 次查看
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 项奖励
回复

2,289 次查看
Ralf_Rademacher
Contributor III

does not work for me

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

0 项奖励
回复

2,276 次查看
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 项奖励
回复

2,293 次查看
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 项奖励
回复