diff options
| -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 64273bda38..c5f38e74d3 100755 --- a/scripts/poky-qemu-internal +++ b/scripts/poky-qemu-internal | |||
| @@ -77,6 +77,13 @@ if [ ! -f "$ZIMAGE" ]; then | |||
| 77 | return | 77 | return |
| 78 | fi | 78 | fi |
| 79 | 79 | ||
| 80 | if [ -e /proc/sys/vm/mmap_min_addr ]; then | ||
| 81 | if [ `cat /proc/sys/vm/mmap_min_addr` != "0" ]; then | ||
| 82 | echo "Error, please set /proc/sys/vm/mmap_min_addr to 0 since otherwise it can cause problems with QEMU" | ||
| 83 | return | ||
| 84 | fi | ||
| 85 | fi | ||
| 86 | |||
| 80 | if [ "$MACHINE" = "qemuarm" ]; then | 87 | if [ "$MACHINE" = "qemuarm" ]; then |
| 81 | QEMU=qemu-system-arm | 88 | QEMU=qemu-system-arm |
| 82 | if [ "$TYPE" = "ext2" ]; then | 89 | if [ "$TYPE" = "ext2" ]; then |
