2009-05-25 08:34:32 reboot command from kernel
Servaes Joordens (NETHERLANDS)
Message: 74537
How can I call a reboot command from within the kernel? I want to have the same effect as if I typed reboot from the command-line.
QuoteReplyEditDelete
2009-05-25 09:08:20 reboot command from kernel
Michael Hennerich (GERMANY)
Message: 74541 You should use kernel_restart, kernel_halt, kernel_power_off these will
map to
arch/blackfin/kernel/reboot.c machine_restart() and friends.
Better - You should also have a look at:
native_machine_restart() in arch/blackfin/mach-bf537/boards/stamp.
You need to add something similar to address your gpio issue on your
board.
-Michael
QuoteReplyEditDelete
2009-05-25 10:47:18 Re: reboot command from kernel
Servaes Joordens (NETHERLANDS)
Message: 74542
thanks, I will try it