[meta-freescale] MX28 Enable Watchdog reset

Otavio Salvador otavio at ossystems.com.br
Sun Aug 25 13:47:52 PDT 2013


On Wed, Aug 21, 2013 at 9:02 AM, Fabio Estevam <festevam at gmail.com> wrote:
> On Wed, Aug 21, 2013 at 8:45 AM, Otavio Salvador
> <otavio at ossystems.com.br> wrote:
>> On Wed, Aug 21, 2013 at 7:05 AM, Fabio Estevam <festevam at gmail.com> wrote:
>>> On Wed, Aug 21, 2013 at 3:45 AM, Mårten Wikman <marten.wikman at novia.fi> wrote:
>>>
>>>> But how do I enable watchdog directly on boot before rootfs is mounted?
>>>> For example if I get a kernel panic because my rootfs is missing then I want
>>>> watchdog to reset my system.
>>>
>>> I would also expect it to trigger by default, so not sure why it didn't.
>>>
>>> I would suggest you to post this question at linux-arm / linux-watchdog lists.
>>
>> Use watchdog utility; it manages it for you.
>>
>> http://linux.die.net/man/8/watchdog
>
> That would not help when you have an early crash and don't have
> userspace available.

I think kernel has 19s by default, no?

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/watchdog/stmp3xxx_rtc_wdt.c#n21

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the meta-freescale mailing list