--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/2d6c30bf-484e-49e6-ab9d-582535f60a84%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I'd ask the question are these register's accessable from the PRU my experience is dated and I'm not a Linux guy but most OS protect Access to certain registers I briefly looked at TRM the WDOG is enabled by default probably during boot. To set it or change the clock source you disable it which I doubt Linux would like from PRU side but maybe I'm wrong. I'd look at the interconnect block diagram to see if PRU has access to the registers. Google am335x watchdog c code I see discussion about Kernel configuration. Typically on non Linux ARM side project TI provided quite a bit of example code for customer boot code options that's where I always start but that code isn't always in the public domain and in your case isn't relavent after Linux takes over you may have to let ARM Linux side handle it. I'd look at PRU register memory map unless someone in here has done it from PRU.
On Mon, Jun 3, 2019 at 7:07 AM, Hugh Frater<hugh....@gmail.com> wrote:
Where does one go to tune the watchdog timer? Is it a kernel-recompilation-required thing, or can it be done through uBoot?--Or.... should I just use my PRU code to tune the watchdog control register when it boots? This would be the easiest option for me, if someone can point me at the correct area if the AM335XTRM? I had a look in there and couldn't find the correct registers.I'd like it to run about 10 seconds if possible for my application.
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagl...@googlegroups.com.
Setting and getting the timeout: | |
For some drivers it is possible to modify the watchdog timeout on the | |
fly with the SETTIMEOUT ioctl, those drivers have the WDIOF_SETTIMEOUT | |
flag set in their option field. The argument is an integer | |
representing the timeout in seconds. The driver returns the real | |
timeout used in the same variable, and this timeout might differ from | |
the requested one due to limitation of the hardware. |
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/ab8ea583-ab9a-4017-a89f-6bd8127eaf47%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/ovGQSAXqwBE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/952566089.2906417.1560876023480%40mail.yahoo.com.