diff options
Diffstat (limited to 'init.am43xevmboard.cpuset.sh')
-rwxr-xr-x | init.am43xevmboard.cpuset.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/init.am43xevmboard.cpuset.sh b/init.am43xevmboard.cpuset.sh new file mode 100755 index 0000000..a2f0033 --- /dev/null +++ b/init.am43xevmboard.cpuset.sh | |||
@@ -0,0 +1,5 @@ | |||
1 | #!/system/bin/sh | ||
2 | |||
3 | # Assign all CPUs for foreground (AM571x and AM572x have different number of cores) | ||
4 | cat /sys/devices/system/cpu/present > /dev/cpuset/foreground/cpus | ||
5 | cat /sys/devices/system/cpu/present > /dev/cpuset/foreground/boost/cpus | ||