Hi,
We have a customized board based on AM3352 CPU. We are using main stream uboot and TI's SDK (am335x PSP 04.06.00.08). Everything looks good except we can not reboot the board after linux boot up. Our board use SPI flash.
1. It works in uboot, when we use "reset" command.
2. We have reset button which connected to nRESET_IN_OUT (A10) pin. The button works fine when we are in uboot. i.e. when we are in uboot console, we press the button, the whole board reset and reboot correctly. But after Linux boot up, the system will just hang there after we press the button.
3.We manged to add another button to give a pulse feed to PORZ pin, which is the power reset pin. Still, it works fine when we are in uboot, boot it just hang the CPU when we are in linux.
4. Linux is actually works fine. We can run applications on it. We can ping it etc. But reboot command won't work. When we run reboot command, the system just hang after a few line output in console:
[ 32.708526] musb-hdrc musb-hdrc.1: remove, state 1
[ 32.737976] usb usb1: USB disconnect, device number 1
[ 32.769805] musb-hdrc musb-hdrc.1: USB bus 1 deregistered
[ 32.803741] Restarting system.
[ 32.822448]
[ 32.822479] RaymondDBI:I am rebooting... (I add this debug information just before it write bit 1 into the PRM_RSTCTR register)
My questions is, in what scenario, AM3352 will fall into such a situation, even hardware reset can not reset the processor? Since it works in uboot, looks like Linux kernel did something to cause it. Did anyone know any hints?
thanks,
Raymond