LS1046ARDB restarts after shutdown

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

LS1046ARDB restarts after shutdown

ソリューションへジャンプ
1,376件の閲覧回数
mamorukanou
Contributor IV

Hi,

In rare cases, “shutdown –h now” causes a reboot after shutdown. The average frequency is about once in 10 times. However, there is no regularity in the frequency of occurrence.

If you know the workaround, please let me know.

•Investigation method: Repeat login and shutdown using smart plug (set AC ON / OFF with timer) + teraterm macro. Also, observe the PORESET_B and RESET_REQ_B waveforms of the LS1046A with an oscilloscope.

     HW : LS1046ARDB

     SW : LSDK20.04 (kernel 19.04)

             uname -a

             Linux localhost 4.19.90-dirty #2 SMP PREEMPT Thu Dec 3 16:38:49 JST 2020 aarch64

             aarch64 aarch64 GNU/Linux

•Confirmation result: We confirmed that the restart is occurring in shutdown. Reproduced 4 times out of 46 times. In that case restart is done after 7 seconds after shutdown. At that time, it was confirmed that RESET_REQ_B was issued by LS1046A. This revealed that the SOC was reset.

•I checked it with the kernel without the WDT driver of the Linux kernel, but the phenomenon does not change. It doesn't seem to be a problem with the WDT driver.

BR,

Kanou

0 件の賞賛
返信
1 解決策
1,345件の閲覧回数
mamorukanou
Contributor IV

Hi Pavel,

 

Thank you for your reply.

This could be avoided by setting the RPTOE_MSK bit in the RSTRQSR1 register to 1 during the shutdown process.

mamorukanou_0-1620902784159.png

 

Best Regards,

kanou

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,352件の閲覧回数
Pavel
NXP Employee
NXP Employee

Test your board using deep sleep mode.

Find the "Verification in Linux (Use FlexTimer as Wake-up source)" in the Section 7.2.20 in the LSDK 2012 User Guide:

https://www.nxp.com/docs/en/user-guide/LSDKUG_Rev20.12.pdf

 

Set deep sleep mode for 100 seconds or more for testing.

Is there problem for correct deep sleep on your board?

0 件の賞賛
返信
1,346件の閲覧回数
mamorukanou
Contributor IV

Hi Pavel,

 

Thank you for your reply.

This could be avoided by setting the RPTOE_MSK bit in the RSTRQSR1 register to 1 during the shutdown process.

mamorukanou_0-1620902784159.png

 

Best Regards,

kanou

0 件の賞賛
返信