shutdown from u-boot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

shutdown from u-boot

1,850 Views
Ralf_Rademacher
Contributor III

Hi there,

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

 

best regards

Ralf

0 Kudos
Reply
4 Replies

1,657 Views
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 Kudos
Reply

1,827 Views
Ralf_Rademacher
Contributor III

does not work for me

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

0 Kudos
Reply

1,814 Views
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 Kudos
Reply

1,831 Views
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 Kudos
Reply