Hi,everyone
I have got a reboot problem with IMX6Q sabresd on my custmer board and described as following:
1.Linux BSP 4.1.0,when I enter reboot command,system will reboot fail in most cases,only about 10 percentage system reboot success.I have refer the following site:
https://community.freescale.com/message/408776#408776
And comment out "bic r0, r0, #0x0006",but it is not useful.
2.Accidental,I tried BSP rel_imx_3.0.35_12.09.01,and find that reboot command always runs successfully.I have compared the following function with the two BSP:
arm_machine_restart cpu_proc_fin arch_reset
There are some differences in arch_reset.Then I modify BSP 4.1.0 code arch_reset function same as rel_imx_3.0.35_12.09.01's,but reboot command also fails in most cases
Anyone can help me?
PS:reset command in u-boot runs successfully every time
On sabresd board, it use WDOG2 output to reset external PMIC. If your board does not reboot properly, you can check your WDOG2 output pin config. For your information, please check the content of the patch "2270-ENGR00233366-4-WDOG-LDO_BYPASS-fix-wdog2-to-reset-ex.patch". You can find this patch in the linux/patches/ folder.