diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2014-02-02 04:31:54 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2014-02-10 23:14:24 +0100 |
commit | 6d64111b3c2f772cfc3539bb13851f78d4b55870 (patch) | |
tree | f08fb564cdafb53e20b797646426d862fb115cc2 /utils/hwstub | |
parent | 1a06292e418ceb765121e5792b305e17d39b9618 (diff) | |
download | rockbox-6d64111b3c2f772cfc3539bb13851f78d4b55870.tar.gz rockbox-6d64111b3c2f772cfc3539bb13851f78d4b55870.zip |
imx233: add hardware and software watchdog
The hardware watchdog automatically shutdown the device after 10s of
inactivity, being defined as 10s without the tick IRQ fired (aka braindead
device).
The software IRQ mechanism is more interesting: it uses a very high priority
timer setup as one-shot to trigger after 5s of inactivity (but IRQ still
enabled). When detected, it patches the running code to insert a SWI
instruction so that on interrupt return it will trigger a SWI and produce
a meaningfull backtrace to debug the deadlock. This should allow to debug
freezes in IRQ context.
Change-Id: Ic55dad01201676bfb6dd79e78e535c6707cb88e6
Diffstat (limited to 'utils/hwstub')
0 files changed, 0 insertions, 0 deletions