Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1391574 > unrolled thread

Watchdog reset trigger for eMMC

Started byAnand Moon <linux.amoon@gmail.com>
First post2016-04-30 08:10 +0200
Last post2016-05-03 04:40 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  Watchdog reset trigger for eMMC Anand Moon <linux.amoon@gmail.com> - 2016-04-30 08:10 +0200
    Re: Watchdog reset trigger for eMMC Marek Szyprowski <m.szyprowski@samsung.com> - 2016-05-02 08:30 +0200
      Re: Watchdog reset trigger for eMMC Anand Moon <linux.amoon@gmail.com> - 2016-05-03 04:40 +0200

#1391574 — Watchdog reset trigger for eMMC

FromAnand Moon <linux.amoon@gmail.com>
Date2016-04-30 08:10 +0200
SubjectWatchdog reset trigger for eMMC
Message-ID<rtwgi-2Us-3@gated-at.bofh.it>
Hi All,

Using microSD card when I try to write into /dev/watchdog device
it triggers reboot of the board after timer expires.
-----------------------------------------------------------------------------------------------
root@odroidxu4l:~# echo 3 > /dev/watchdog
[ 1659.021844] watchdog: watchdog0: watchdog did not stop!
root@odroidxu4l:~#
root@odroidxu4l:~#
root@odroidxu4l:~#
root@odroidxu4l:~#
root@odroidxu4l:~#

U-Boot 2016.03-00665-g563d8d9-dirty (Apr 04 2016 - 22:27:07 +0930) for
ODROID-XU
                3

CPU:   Exynos5422 @ 800 MHz
Model: Odroid XU3 based on EXYNOS5422
Board: Odroid XU3 based on EXYNOS5422
Type:  xu4
DRAM:  2 GiB
-----------------------------------------------------------------------------------------------
But when I try this on eMMC it just freezes.
I know we have to set and unset gpio pin (SD_0.RST) to trigger reset
before reboot.
-----------------------------------------------------------------------------------------------
root@odroidxu4e:~# echo 4 > /dev/watchdog
[  639.192617] [c3] watchdog watchdog0: watchdog did not stop!
root@odroidxu4e:~#
root@odroidxu4e:~#
root@odroidxu4e:~#
-----------------------------------------------------------------------------------------------
I would like to know what is way board reset after watchdog reset after timeout.

Best Regards
-Anand Moon

[toc] | [next] | [standalone]


#1392000

FromMarek Szyprowski <m.szyprowski@samsung.com>
Date2016-05-02 08:30 +0200
Message-ID<rufwK-6Ok-1@gated-at.bofh.it>
In reply to#1391574
Hi Anand


On 2016-04-30 08:06, Anand Moon wrote:
> Hi All,
>
> Using microSD card when I try to write into /dev/watchdog device
> it triggers reboot of the board after timer expires.
> -----------------------------------------------------------------------------------------------
> root@odroidxu4l:~# echo 3 > /dev/watchdog
> [ 1659.021844] watchdog: watchdog0: watchdog did not stop!
> root@odroidxu4l:~#
> root@odroidxu4l:~#
> root@odroidxu4l:~#
> root@odroidxu4l:~#
> root@odroidxu4l:~#
>
> U-Boot 2016.03-00665-g563d8d9-dirty (Apr 04 2016 - 22:27:07 +0930) for
> ODROID-XU
>                  3
>
> CPU:   Exynos5422 @ 800 MHz
> Model: Odroid XU3 based on EXYNOS5422
> Board: Odroid XU3 based on EXYNOS5422
> Type:  xu4
> DRAM:  2 GiB
> -----------------------------------------------------------------------------------------------
> But when I try this on eMMC it just freezes.
> I know we have to set and unset gpio pin (SD_0.RST) to trigger reset
> before reboot.
> -----------------------------------------------------------------------------------------------
> root@odroidxu4e:~# echo 4 > /dev/watchdog
> [  639.192617] [c3] watchdog watchdog0: watchdog did not stop!
> root@odroidxu4e:~#
> root@odroidxu4e:~#
> root@odroidxu4e:~#
> -----------------------------------------------------------------------------------------------
> I would like to know what is way board reset after watchdog reset after timeout.

In my opinion hw watchdog reset is non-functional on Odroid U3/XU3/XU4 
boards due to
hardware design (eMMC reset line triggered from software). I see no way 
to workaround
this issue in the software.

Best regards
-- 
Marek Szyprowski, PhD
Samsung R&D Institute Poland

[toc] | [prev] | [next] | [standalone]


#1392997

FromAnand Moon <linux.amoon@gmail.com>
Date2016-05-03 04:40 +0200
Message-ID<ruypH-7Qa-3@gated-at.bofh.it>
In reply to#1392000
Hi Marek

On 2 May 2016 at 11:57, Marek Szyprowski <m.szyprowski@samsung.com> wrote:
> Hi Anand
>
>
> On 2016-04-30 08:06, Anand Moon wrote:
>>
>> Hi All,
>>
>> Using microSD card when I try to write into /dev/watchdog device
>> it triggers reboot of the board after timer expires.
>>
>> -----------------------------------------------------------------------------------------------
>> root@odroidxu4l:~# echo 3 > /dev/watchdog
>> [ 1659.021844] watchdog: watchdog0: watchdog did not stop!
>> root@odroidxu4l:~#
>> root@odroidxu4l:~#
>> root@odroidxu4l:~#
>> root@odroidxu4l:~#
>> root@odroidxu4l:~#
>>
>> U-Boot 2016.03-00665-g563d8d9-dirty (Apr 04 2016 - 22:27:07 +0930) for
>> ODROID-XU
>>                  3
>>
>> CPU:   Exynos5422 @ 800 MHz
>> Model: Odroid XU3 based on EXYNOS5422
>> Board: Odroid XU3 based on EXYNOS5422
>> Type:  xu4
>> DRAM:  2 GiB
>>
>> -----------------------------------------------------------------------------------------------
>> But when I try this on eMMC it just freezes.
>> I know we have to set and unset gpio pin (SD_0.RST) to trigger reset
>> before reboot.
>>
>> -----------------------------------------------------------------------------------------------
>> root@odroidxu4e:~# echo 4 > /dev/watchdog
>> [  639.192617] [c3] watchdog watchdog0: watchdog did not stop!
>> root@odroidxu4e:~#
>> root@odroidxu4e:~#
>> root@odroidxu4e:~#
>>
>> -----------------------------------------------------------------------------------------------
>> I would like to know what is way board reset after watchdog reset after
>> timeout.
>
>
> In my opinion hw watchdog reset is non-functional on Odroid U3/XU3/XU4
> boards due to
> hardware design (eMMC reset line triggered from software). I see no way to
> workaround
> this issue in the software.
>
> Best regards
> --
> Marek Szyprowski, PhD
> Samsung R&D Institute Poland
>

Yes It's difficult to reset eMMC card.
Thanks for clarification.

Best Regards
-Anand Moon

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web