--
To join: http://beagleboard.org/discuss
To unsubscribe from this group, send email to:
beagleboard...@googlegroups.com
Frequently asked questions: http://beagleboard.org/faq
I just wanted to relay the results of a little more tinkering:
1. I disabled the OMAP watchdog, enabled the software watchdog,
recompiled the kernel, and booted it on the board. The exact same
behavior was observed; the BeagleBoard XM Rev C. just hangs.
2. I ran the same watchdog program on the Beagle Bone. It works as
intended; the Beagle Bone reboots on a timeout.
Regards,
Tony
Hope this helps someone.
-Tony
1. You can't get detect the correct status of the powercycle using
WDIOC_GETBOOTSTATUS. It will always return that the system was power
cycled normally. I traced down the difference in the omap and twl4030
drivers in the kernel source. There's a special function for
omap16xx,24xx,etc. that's used to get the boot status. I've pinged
the linux-omap about this issue on the Texas Instrument's Omap
Processor's Linux development mailing list. I will post anything that
comes of that on here.
2. When running the demo code in my original post, naming the
executable using the term "watchdog" results in some very strange
behavior. The system will reboot, but the executable is a 0 bytes
size file upon reboot. No joke. The problem doesn't happen if I
rename the executable to, say, "demo." Very, very spooky.
Regards,
Tony