Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: batzilo on May 06, 2014, 05:52:02 AM

Title: Watchdog driver
Post by: batzilo on May 06, 2014, 05:52:02 AM
Hello guys, greetings from Greece :)

I can't find a watchdog timer driver for piCore 5.2.2.

Is it available? Where could I find it?

Thank you

batzilo
Title: Re: Watchdog driver
Post by: bmarkus on May 06, 2014, 06:15:41 AM
It is built into the kernel, not a module.
Title: Re: Watchdog driver
Post by: batzilo on May 06, 2014, 06:40:35 AM
Markus thanx for the reply

Can you help me with /dev/watchdog node creation? What is the character device major and minor number? on piCore 5.2.2 there is no /dev/watchdog file by default

Thank you

edit: I already tryied
Code: (bash) [Select]
# mknod /dev/watchdog c 10 130 but then if I
Code: (bash) [Select]
# cat /dev/watchdogI get No Such Device
Title: Re: Watchdog driver
Post by: bmarkus on May 06, 2014, 07:00:35 AM
Can't check 5.2.2 as actually running 5.3rc2 but /dev/watchdog is there by default and this part of kernel config is the same.
Title: Re: Watchdog driver
Post by: bmarkus on May 06, 2014, 04:18:54 PM
Checked 5.2.2 Watchdog driver is there by default