XO-4/Kernel/Runin: Difference between revisions
No edit summary |
|||
Line 42: | Line 42: | ||
''runin-gtk'' is required to be present, unless ''runin-tests'' is edited to remove all reference to it. |
''runin-gtk'' is required to be present, unless ''runin-tests'' is edited to remove all reference to it. |
||
== optional, exclude wireless card == |
|||
touch /runin/no-wireless |
|||
echo blacklist btmrvl_sdio > /etc/modprobe.d/olpc.conf |
|||
echo blacklist mwifiex_sdio >> /etc/modprobe.d/olpc.conf |
|||
== optional, logging verbosity == |
|||
* run ''olpc-dev-kernel'' at least once, |
|||
* edit olpc.fth and add no_console_suspend to command line, |
|||
* log the output of the serial console. |
Revision as of 08:22, 15 January 2013
Checklist for customising runin for kernel testing. See also Olpc-runin-tests.
disarm fscheck
This disarms the filesystem consistency check, but doesn't stop it running. The log will contain reports of failure that don't stop the whole run. It is necessary if any files outside /home/olpc have been removed or changed, such as kernel or runin tests. It is not necessary if files have been created that were not previously present, such as runin flags.
touch /runin/soiled
set aggressive suspend timings
This sets ten second awake, ten second suspend timings.
touch /runin/aggressive
set extreme suspend timings
This sets zero seconds awake, three seconds suspend timings.
touch /runin/extreme
reduce scan duration
When using agressive or extreme timing, the wireless scan time will prevent a suspend from completing within the RTC wakeup period, leading to suspend failures. Change /runin/runin-wlan to use
iw $WLAN_DEV scan freq 2412 > /dev/null 2>&1
instead of iwlist $WLAN_DEV scan.
(fixed in next release after 0.21.0)
ignore repeated hangs
By default, runin reports a fail if the number of hangs exceeds three. On a test bed, this results in repeated fails (fixed in git). To turn off the repeated hang detection fail:
touch /runin/no-fail-hangs
optional, disable individual tests
Individual tests can be disabled by renaming the test file.
mv runin-battery runin-battery.orig
runin-gtk is required to be present, unless runin-tests is edited to remove all reference to it.
optional, exclude wireless card
touch /runin/no-wireless echo blacklist btmrvl_sdio > /etc/modprobe.d/olpc.conf echo blacklist mwifiex_sdio >> /etc/modprobe.d/olpc.conf
optional, logging verbosity
- run olpc-dev-kernel at least once,
- edit olpc.fth and add no_console_suspend to command line,
- log the output of the serial console.