Why a imx6ull's soft reboot not identify as a 'WARM BOOT' reset reason in next u-boot starup'?

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

Why a imx6ull's soft reboot not identify as a 'WARM BOOT' reset reason in next u-boot starup'?

481 Views
changbaoma
Contributor III

After reboot in linux shell,  the 'Reset reason' i can get in u-boot is:

1. a POR reset if  using imx2_wdt ext_reset(by adding property "fsl,ext-reset-output" to wdog1 node in imx6ul.dtsi) ,which will output a reset signal through WATCHDOG_B, in our hardware design WATCHDOG_B is connet to system POR;

2. a WDOG reset if using imx2_wdt inner_reset default;

 

The above 2 cases are always  true, even the imx watchdog is not started(imx2_wdt_restart).

linux/drivers/watchdog/imx2_wdt.c:

changbaoma_1-1654842785494.png

Reset reason print in u-boot:

u-boot/arch/arm/imx-common/cpu.c

changbaoma_0-1654842768738.png

If CONFIG_IMX2_WDT in kernel menuconfig is not set, i find that the imx6ull fail to reboot and hang at the end.  see below:

changbaoma_0-1656638150517.png

My questions:

1. Dose it mean imx6ull soft reboot depend on IMX2_WDT driver?

2. So, which situation can cause 'WARM BOOT' reset reason?  

3. And how can i distinguish a soft reset instead of imx watchdog reset?

0 Kudos
0 Replies