Soft reboot on ls1021a based board is not working

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

Soft reboot on ls1021a based board is not working

2,046 Views
praneethreddy46
Contributor I

Hi,

I am working on ls1021a based board ( 4.1.8 kernel is running), On the target board i am trying to do soft reboot. Once the reboot command is issued on the target it was  hanging at this point "reboot failed --System halted".

please find the log below.

Can you please let me know if anyone have an idea on this ?

Log:  

# reboot

Stopping SWUpdate: killall: can't kill pid 170: No such process

OK
Stopping 615AController: stopped /usr/bin/a615acontroller (pid 168)
OK
Stopping telnetd: OK
Stopping sshd: OK
Stopping network: ifdown: interface eth0:1 not configured
OK
Unconfigure by strapping: OK
Saving random seed... done.
De-initializing IO: OK
Stopping logging: OK
Inhibiting Watchdog Count for Soft Reset: OK
umount: devtmpfs busy - remounted read-only
umount: can't unmount /: Invalid argument
The system is going down NOW!
Sent SIGTERM to all processes
Sent SIGKILL tokvm: exiting hardware virtualization
reboot: Restarting system
Reboot failed -- System halted

Regards,

praneeth

Labels (1)
0 Kudos
1 Reply

1,750 Views
Pavel
NXP Employee
NXP Employee

Look at the following page about possible problem for reboot:

https://stackoverflow.com/questions/46599579/arm-linux-reboot-process

 

See also attached file. It is reboot.c code for the LS1021a. Find the machine_restart function.

Perhaps 1 second is not enough for your board to restart.

Test your board using "shutdown" command.


Have a great day,
Pavel Chubakov

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

0 Kudos