-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
34 lines (25 loc) · 996 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
OMAP-TEST README
----------------
Build Instructions:
------------------
1. Ensure that the debug-filesystem is enable in your kernel configuration
(CONFIG_DEBUG_FS=y)
2. Execute the command "KERNEL_PATH=<path-to-kernel> make"
How to use:
----------
Ensure the debug-filesystem is mounted by executing "mount | grep debugfs".
Default location is /sys/kernel/debug.
Timer Test Description Command
---------------------- -------
Test timer request APIs. "echo 1 > /sys/kernel/debug/omap-test/timer/request"
Tests a timer (verifies counter "echo <timer-number> > /sys/kernel/debug/omap-test/timer/one"
increments, as well as overflow
and match interrupts).
Tests all timers (verifies "echo 1 > /sys/kernel/debug/omap-test/timer/all"
counters increment, as well as
overflow and match interrupts).
Repeatedly tests all timers "echo 1 > /sys/kernel/debug/omap-test/timer/stress"
(verifies counters increment,
as well as overflow and match
interrupts). To stop test
"echo 0" to same file.