I want to cut power to our AM3874 (currently testing with AM3517) after a shutdown much like a PC would. I would have a GPIO configured for this task. What should I modify in Linux to make this work?
Currently, issuing "shutdown -h now" results in a somewhat broken shutdown procedure (init scripts not running right or in the wrong order) and then a "system halted" message. I want this to end in powering off the system. If I must do this with a final init script, I suppose I could, but I figured there should be a more elegant way.
Of course, its not like ACPI is used on these embedded CPUs...
Any ideas?