<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic imx6dl rtc doesn't work in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6dl-rtc-doesn-t-work/m-p/1458526#M190406</link>
    <description>&lt;P&gt;Hello, I'm using&amp;nbsp;imx6dl, and when I use cmd 'hwclock --systohc', all of sudden the processor stalls&amp;nbsp;&lt;SPAN&gt;intermittently. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also&amp;nbsp;the processor kept printing below kernel logs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-------------------------------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[ 40.399011] INFO: rcu_sched self-detected stall on CPU&lt;BR /&gt;[ 40.404185] 1: (2100 ticks this GP) idle=70d/140000000000001/0 softirq=1016/1016 fqs=2100&lt;BR /&gt;[ 40.409012] INFO: rcu_sched detected stalls on CPUs/tasks:&lt;BR /&gt;[ 40.409020] 1: (2100 ticks this GP) idle=70d/140000000000001/0 softirq=1016/1016 fqs=2100&lt;BR /&gt;[ 40.409028] (detected by 0, t=2102 jiffies, g=73, c=72, q=3434)&lt;BR /&gt;[ 40.409031] Task dump for CPU 1:&lt;BR /&gt;[ 40.409038] kworker/1:1 R running 0 45 2 0x00000002&lt;BR /&gt;[ 40.409059] Workqueue: events rtc_timer_do_work&lt;BR /&gt;[ 40.409084] [&amp;lt;804d5e48&amp;gt;] (__schedule) from [&amp;lt;00000008&amp;gt;] (0x8)&lt;BR /&gt;[ 40.452214] (t=2106 jiffies g=73 c=72 q=3434)&lt;BR /&gt;[ 40.456763] Task dump for CPU 1:&lt;BR /&gt;[ 40.459992] kworker/1:1 R running 0 45 2 0x00000002&lt;BR /&gt;[ 40.466389] Workqueue: events rtc_timer_do_work&lt;BR /&gt;[ 40.470956] [&amp;lt;80015fd4&amp;gt;] (unwind_backtrace) from [&amp;lt;800120c4&amp;gt;] (show_stack+0x10/0x14)&lt;BR /&gt;[ 40.478714] [&amp;lt;800120c4&amp;gt;] (show_stack) from [&amp;lt;80069230&amp;gt;] (rcu_dump_cpu_stacks+0x90/0xd0)&lt;BR /&gt;[ 40.486731] [&amp;lt;80069230&amp;gt;] (rcu_dump_cpu_stacks) from [&amp;lt;8006c23c&amp;gt;] (rcu_check_callbacks+0x40c/0x738)&lt;BR /&gt;[ 40.495700] [&amp;lt;8006c23c&amp;gt;] (rcu_check_callbacks) from [&amp;lt;8006e6d0&amp;gt;] (update_process_times+0x30/0x5c)&lt;BR /&gt;[ 40.504584] [&amp;lt;8006e6d0&amp;gt;] (update_process_times) from [&amp;lt;8007d824&amp;gt;] (tick_sched_timer+0x44/0x84)&lt;BR /&gt;[ 40.513206] [&amp;lt;8007d824&amp;gt;] (tick_sched_timer) from [&amp;lt;8006ee70&amp;gt;] (__run_hrtimer+0x44/0xd0)&lt;BR /&gt;[ 40.521219] [&amp;lt;8006ee70&amp;gt;] (__run_hrtimer) from [&amp;lt;8006f68c&amp;gt;] (hrtimer_interrupt+0x10c/0x288)&lt;BR /&gt;[ 40.529489] [&amp;lt;8006f68c&amp;gt;] (hrtimer_interrupt) from [&amp;lt;8001568c&amp;gt;] (twd_handler+0x2c/0x40)&lt;BR /&gt;[ 40.537416] [&amp;lt;8001568c&amp;gt;] (twd_handler) from [&amp;lt;80064870&amp;gt;] (handle_percpu_devid_irq+0x68/0x84)&lt;BR /&gt;[ 40.545864] [&amp;lt;80064870&amp;gt;] (handle_percpu_devid_irq) from [&amp;lt;80060ddc&amp;gt;] (generic_handle_irq+0x20/0x30)&lt;BR /&gt;[ 40.554917] [&amp;lt;80060ddc&amp;gt;] (generic_handle_irq) from [&amp;lt;80060ed8&amp;gt;] (__handle_domain_irq+0x54/0xac)&lt;BR /&gt;[ 40.563622] [&amp;lt;80060ed8&amp;gt;] (__handle_domain_irq) from [&amp;lt;80009378&amp;gt;] (gic_handle_irq+0x20/0x60)&lt;BR /&gt;[ 40.571980] [&amp;lt;80009378&amp;gt;] (gic_handle_irq) from [&amp;lt;80012b40&amp;gt;] (__irq_svc+0x40/0x54)&lt;BR /&gt;[ 40.579465] Exception stack(0xb5137da8 to 0xb5137df0)&lt;BR /&gt;[ 40.584524] 7da0: b502ca00 b4fbf900 00000001 00007091 60000013 00000000&lt;BR /&gt;[ 40.592705] 7dc0: b5137e14 b502b680 b502b71c b502b400 00000000 b5137eac 802c4d30 b5137df0&lt;BR /&gt;[ 40.600884] 7de0: 804da178 804da17c 60000013 ffffffff&lt;BR /&gt;[ 40.605950] [&amp;lt;80012b40&amp;gt;] (__irq_svc) from [&amp;lt;804da17c&amp;gt;] (_raw_spin_unlock_irqrestore+0x10/0x14)&lt;BR /&gt;[ 40.614576] [&amp;lt;804da17c&amp;gt;] (_raw_spin_unlock_irqrestore) from [&amp;lt;802bffe4&amp;gt;] (regmap_read+0x54/0x5c)&lt;BR /&gt;[ 40.623375] [&amp;lt;802bffe4&amp;gt;] (regmap_read) from [&amp;lt;803670c8&amp;gt;] (snvs_rtc_alarm_irq_enable+0x80/0xb0)&lt;BR /&gt;[ 40.631997] [&amp;lt;803670c8&amp;gt;] (snvs_rtc_alarm_irq_enable) from [&amp;lt;803651e8&amp;gt;] (rtc_timer_do_work+0x110/0x1c0)&lt;BR /&gt;[ 40.641317] [&amp;lt;803651e8&amp;gt;] (rtc_timer_do_work) from [&amp;lt;8003d6b4&amp;gt;] (process_one_work+0x120/0x324)&lt;BR /&gt;[ 40.649851] [&amp;lt;8003d6b4&amp;gt;] (process_one_work) from [&amp;lt;8003da24&amp;gt;] (worker_thread+0x138/0x470)&lt;BR /&gt;[ 40.658040] [&amp;lt;8003da24&amp;gt;] (worker_thread) from [&amp;lt;800423cc&amp;gt;] (kthread+0xd8/0xf4)&lt;BR /&gt;[ 40.665272] [&amp;lt;800423cc&amp;gt;] (kthread) from [&amp;lt;8000f328&amp;gt;] (ret_from_fork+0x14/0x2c)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-------------------------------------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[ 1.040042] snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc0&lt;/P&gt;&lt;P&gt;[ 1.361352] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 00:00:00 UTC (0)&lt;/P&gt;&lt;P&gt;when I look above logs, I couldn't find a specific problem with RTC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we followed the instructions to use RTC on the document "IMX6DQ6SDLHDG Rev. 2"&lt;/P&gt;&lt;P&gt;I can't find what the exact problem is.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you in advance.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 16 May 2022 08:45:19 GMT</pubDate>
    <dc:creator>gwgw</dc:creator>
    <dc:date>2022-05-16T08:45:19Z</dc:date>
    <item>
      <title>imx6dl rtc doesn't work</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6dl-rtc-doesn-t-work/m-p/1458526#M190406</link>
      <description>&lt;P&gt;Hello, I'm using&amp;nbsp;imx6dl, and when I use cmd 'hwclock --systohc', all of sudden the processor stalls&amp;nbsp;&lt;SPAN&gt;intermittently. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also&amp;nbsp;the processor kept printing below kernel logs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-------------------------------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[ 40.399011] INFO: rcu_sched self-detected stall on CPU&lt;BR /&gt;[ 40.404185] 1: (2100 ticks this GP) idle=70d/140000000000001/0 softirq=1016/1016 fqs=2100&lt;BR /&gt;[ 40.409012] INFO: rcu_sched detected stalls on CPUs/tasks:&lt;BR /&gt;[ 40.409020] 1: (2100 ticks this GP) idle=70d/140000000000001/0 softirq=1016/1016 fqs=2100&lt;BR /&gt;[ 40.409028] (detected by 0, t=2102 jiffies, g=73, c=72, q=3434)&lt;BR /&gt;[ 40.409031] Task dump for CPU 1:&lt;BR /&gt;[ 40.409038] kworker/1:1 R running 0 45 2 0x00000002&lt;BR /&gt;[ 40.409059] Workqueue: events rtc_timer_do_work&lt;BR /&gt;[ 40.409084] [&amp;lt;804d5e48&amp;gt;] (__schedule) from [&amp;lt;00000008&amp;gt;] (0x8)&lt;BR /&gt;[ 40.452214] (t=2106 jiffies g=73 c=72 q=3434)&lt;BR /&gt;[ 40.456763] Task dump for CPU 1:&lt;BR /&gt;[ 40.459992] kworker/1:1 R running 0 45 2 0x00000002&lt;BR /&gt;[ 40.466389] Workqueue: events rtc_timer_do_work&lt;BR /&gt;[ 40.470956] [&amp;lt;80015fd4&amp;gt;] (unwind_backtrace) from [&amp;lt;800120c4&amp;gt;] (show_stack+0x10/0x14)&lt;BR /&gt;[ 40.478714] [&amp;lt;800120c4&amp;gt;] (show_stack) from [&amp;lt;80069230&amp;gt;] (rcu_dump_cpu_stacks+0x90/0xd0)&lt;BR /&gt;[ 40.486731] [&amp;lt;80069230&amp;gt;] (rcu_dump_cpu_stacks) from [&amp;lt;8006c23c&amp;gt;] (rcu_check_callbacks+0x40c/0x738)&lt;BR /&gt;[ 40.495700] [&amp;lt;8006c23c&amp;gt;] (rcu_check_callbacks) from [&amp;lt;8006e6d0&amp;gt;] (update_process_times+0x30/0x5c)&lt;BR /&gt;[ 40.504584] [&amp;lt;8006e6d0&amp;gt;] (update_process_times) from [&amp;lt;8007d824&amp;gt;] (tick_sched_timer+0x44/0x84)&lt;BR /&gt;[ 40.513206] [&amp;lt;8007d824&amp;gt;] (tick_sched_timer) from [&amp;lt;8006ee70&amp;gt;] (__run_hrtimer+0x44/0xd0)&lt;BR /&gt;[ 40.521219] [&amp;lt;8006ee70&amp;gt;] (__run_hrtimer) from [&amp;lt;8006f68c&amp;gt;] (hrtimer_interrupt+0x10c/0x288)&lt;BR /&gt;[ 40.529489] [&amp;lt;8006f68c&amp;gt;] (hrtimer_interrupt) from [&amp;lt;8001568c&amp;gt;] (twd_handler+0x2c/0x40)&lt;BR /&gt;[ 40.537416] [&amp;lt;8001568c&amp;gt;] (twd_handler) from [&amp;lt;80064870&amp;gt;] (handle_percpu_devid_irq+0x68/0x84)&lt;BR /&gt;[ 40.545864] [&amp;lt;80064870&amp;gt;] (handle_percpu_devid_irq) from [&amp;lt;80060ddc&amp;gt;] (generic_handle_irq+0x20/0x30)&lt;BR /&gt;[ 40.554917] [&amp;lt;80060ddc&amp;gt;] (generic_handle_irq) from [&amp;lt;80060ed8&amp;gt;] (__handle_domain_irq+0x54/0xac)&lt;BR /&gt;[ 40.563622] [&amp;lt;80060ed8&amp;gt;] (__handle_domain_irq) from [&amp;lt;80009378&amp;gt;] (gic_handle_irq+0x20/0x60)&lt;BR /&gt;[ 40.571980] [&amp;lt;80009378&amp;gt;] (gic_handle_irq) from [&amp;lt;80012b40&amp;gt;] (__irq_svc+0x40/0x54)&lt;BR /&gt;[ 40.579465] Exception stack(0xb5137da8 to 0xb5137df0)&lt;BR /&gt;[ 40.584524] 7da0: b502ca00 b4fbf900 00000001 00007091 60000013 00000000&lt;BR /&gt;[ 40.592705] 7dc0: b5137e14 b502b680 b502b71c b502b400 00000000 b5137eac 802c4d30 b5137df0&lt;BR /&gt;[ 40.600884] 7de0: 804da178 804da17c 60000013 ffffffff&lt;BR /&gt;[ 40.605950] [&amp;lt;80012b40&amp;gt;] (__irq_svc) from [&amp;lt;804da17c&amp;gt;] (_raw_spin_unlock_irqrestore+0x10/0x14)&lt;BR /&gt;[ 40.614576] [&amp;lt;804da17c&amp;gt;] (_raw_spin_unlock_irqrestore) from [&amp;lt;802bffe4&amp;gt;] (regmap_read+0x54/0x5c)&lt;BR /&gt;[ 40.623375] [&amp;lt;802bffe4&amp;gt;] (regmap_read) from [&amp;lt;803670c8&amp;gt;] (snvs_rtc_alarm_irq_enable+0x80/0xb0)&lt;BR /&gt;[ 40.631997] [&amp;lt;803670c8&amp;gt;] (snvs_rtc_alarm_irq_enable) from [&amp;lt;803651e8&amp;gt;] (rtc_timer_do_work+0x110/0x1c0)&lt;BR /&gt;[ 40.641317] [&amp;lt;803651e8&amp;gt;] (rtc_timer_do_work) from [&amp;lt;8003d6b4&amp;gt;] (process_one_work+0x120/0x324)&lt;BR /&gt;[ 40.649851] [&amp;lt;8003d6b4&amp;gt;] (process_one_work) from [&amp;lt;8003da24&amp;gt;] (worker_thread+0x138/0x470)&lt;BR /&gt;[ 40.658040] [&amp;lt;8003da24&amp;gt;] (worker_thread) from [&amp;lt;800423cc&amp;gt;] (kthread+0xd8/0xf4)&lt;BR /&gt;[ 40.665272] [&amp;lt;800423cc&amp;gt;] (kthread) from [&amp;lt;8000f328&amp;gt;] (ret_from_fork+0x14/0x2c)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-------------------------------------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[ 1.040042] snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc0&lt;/P&gt;&lt;P&gt;[ 1.361352] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 00:00:00 UTC (0)&lt;/P&gt;&lt;P&gt;when I look above logs, I couldn't find a specific problem with RTC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we followed the instructions to use RTC on the document "IMX6DQ6SDLHDG Rev. 2"&lt;/P&gt;&lt;P&gt;I can't find what the exact problem is.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you in advance.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 08:45:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6dl-rtc-doesn-t-work/m-p/1458526#M190406</guid>
      <dc:creator>gwgw</dc:creator>
      <dc:date>2022-05-16T08:45:19Z</dc:date>
    </item>
  </channel>
</rss>

