diff options
Diffstat (limited to 'scripts/poky-qemu-internal')
| -rwxr-xr-x | scripts/poky-qemu-internal | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/poky-qemu-internal b/scripts/poky-qemu-internal index e7b7af3930..cb5d28b904 100755 --- a/scripts/poky-qemu-internal +++ b/scripts/poky-qemu-internal | |||
| @@ -150,6 +150,13 @@ if [ ! -f "$ZIMAGE" ]; then | |||
| 150 | return | 150 | return |
| 151 | fi | 151 | fi |
| 152 | 152 | ||
| 153 | if [ -e /proc/sys/vm/mmap_min_addr ]; then | ||
| 154 | if [ `cat /proc/sys/vm/mmap_min_addr` != "0" ]; then | ||
| 155 | echo "Error, please set /proc/sys/vm/mmap_min_addr to 0 since otherwise it can cause problems with QEMU" | ||
| 156 | return | ||
| 157 | fi | ||
| 158 | fi | ||
| 159 | |||
| 153 | if [ "$MACHINE" = "qemuarm" -o "$MACHINE" = "qemuarmv6" -o "$MACHINE" = "qemuarmv7" ]; then | 160 | if [ "$MACHINE" = "qemuarm" -o "$MACHINE" = "qemuarmv6" -o "$MACHINE" = "qemuarmv7" ]; then |
| 154 | QEMU=qemu-system-arm | 161 | QEMU=qemu-system-arm |
| 155 | MACHINE_SUBTYPE=versatilepb | 162 | MACHINE_SUBTYPE=versatilepb |
