aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/initscripts/initscripts-1.0/slugos/alignment.sh
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/initscripts/initscripts-1.0/slugos/alignment.sh')
-rw-r--r--recipes/initscripts/initscripts-1.0/slugos/alignment.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes/initscripts/initscripts-1.0/slugos/alignment.sh b/recipes/initscripts/initscripts-1.0/slugos/alignment.sh
new file mode 100644
index 0000000000..52e43cc0c5
--- /dev/null
+++ b/recipes/initscripts/initscripts-1.0/slugos/alignment.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+#
+# How to handle alignment faults on the ARM
+#
+# 0 - ignore, the value will probably be rotated
+# 1 - warn, a log message will be output
+# 2 - fixup, the kernel will do an expensive aligned read
+# 3 - fixup+warn
+# 4 - signal, the process will get an illegal instruction fault
+# 5 - signal+warn
+# 6 - invalid (has no effect)
+# 7 - invalid (has no effect)
+#
+# Set ALIGN in /etc/default/rcS to override (do not edit this
+# file!) Set ALIGN to empty to avoid changing the kernel
+# default (currently '0').
+ALIGN=3
+. /etc/default/rcS
+test -e /proc/cpu/alignment -a -n "$ALIGN" -a "$ALIGN" -ge 0 -a "$ALIGN" -lt 6 &&
+ echo "$ALIGN" >/proc/cpu/alignment
n> OpenEmbedded Core user contribution treesGrokmirror user
summaryrefslogtreecommitdiffstats
path: root/bitbake/LICENSE
blob: 350140c93f915fff182117eb668d500da4869912 (plain)
1
2
3
4
5
6
7
8
9
10
BitBake is licensed under the GNU General Public License version 2.0. See COPYING for further details.

The following external components are distributed with this software:

* The Toaster Simple UI application is based upon the Django project template, the files of which are covered by the BSD license and are copyright (c) Django Software
Foundation and individual contributors.

* Twitter Bootstrap (including Glyphicons), redistributed under the Apache License 2.0.

* jQuery is redistributed under the MIT license.