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


Groups > linux.kernel > #1392000

Re: Watchdog reset trigger for eMMC

From Marek Szyprowski <m.szyprowski@samsung.com>
Newsgroups linux.kernel
Subject Re: Watchdog reset trigger for eMMC
Date 2016-05-02 08:30 +0200
Message-ID <rufwK-6Ok-1@gated-at.bofh.it> (permalink)
References <rtwgi-2Us-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

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

csiph-web