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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

521件の閲覧回数
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 件の賞賛
0 返答(返信)