diff options
author | Luca Di Stefano <luca.distefano@linaro.org> | 2017-04-27 12:20:38 +0100 |
---|---|---|
committer | Luca Di Stefano <luca.distefano@linaro.org> | 2017-04-27 12:20:44 +0100 |
commit | 7299b6139dede49ebad6860b81de3239ea0c775e (patch) | |
tree | a420f101e7c0fb2f8603644303f0463493f00ff7 /playbooks/roles/tcwg-tk1-cpucore/files | |
parent | ca5f0a781120f68c8e95bf361cd6f72fed34e203 (diff) |
Role to enable all TK1 cores
Change-Id: Ibc1d72b098ea2ac662b42dcd3edcc51c459f518e
Diffstat (limited to 'playbooks/roles/tcwg-tk1-cpucore/files')
-rw-r--r-- | playbooks/roles/tcwg-tk1-cpucore/files/rc.local | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/playbooks/roles/tcwg-tk1-cpucore/files/rc.local b/playbooks/roles/tcwg-tk1-cpucore/files/rc.local new file mode 100644 index 0000000..68497d5 --- /dev/null +++ b/playbooks/roles/tcwg-tk1-cpucore/files/rc.local @@ -0,0 +1,21 @@ +#!/bin/sh -e +# +# rc.local +# +# This script is executed at the end of each multiuser runlevel. +# Make sure that the script will "exit 0" on success or any other +# value on error. +# +# In order to enable or disable this script just change the execution +# bits. +# +# By default this script does nothing. + +echo 0 > /sys/devices/system/cpu/cpuquiet/tegra_cpuquiet/enable +echo 1 > /sys/devices/system/cpu/cpu0/online +echo 1 > /sys/devices/system/cpu/cpu1/online +echo 1 > /sys/devices/system/cpu/cpu2/online +echo 1 > /sys/devices/system/cpu/cpu3/online + +exit 0 + |