Skip to contentSkip to conversation

Remove mmap_min_addr check in poky-qemu

PATCH New Zhai Edwin 1 participant 2 messages Mar 4, 2011

lore
Share & tools
lore

Zhai Edwin

author
#0 lore raw

cover Remove mmap_min_addr check in poky-qemu

From: Zhai Edwin <[email protected]>

Saul,
I have tested poky-image-sato works well on qemuarm after removing all the mmap_min_addr checks. Raj has sent out the patch to remove checks in sanity.bbclass in oe-core mailing list.

Thanks,
edwin

Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: gzhai/fix2
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=gzhai/fix2

Thanks,
Zhai Edwin <[email protected]>
---

Zhai Edwin (1):
qemu-script: Remove mmap_min_addr check

 scripts/poky-qemu-internal |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
author
#1 lore raw

PATCH 1/1 qemu-script: Remove mmap_min_addr check

From: Zhai Edwin <[email protected]>

qemu 0.13.0 can handle mmap_min_addr well, and patch to remove checks in sanity.bbclass has already in oe-core mailinglist by Raj. This patch does the same thing for qemu-script.

---
 scripts/poky-qemu-internal |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
scripts/poky-qemu-internal +0 -7
index 5e74169..3638a65 100755
@@ -268,13 +268,6 @@ if [ "$NFS_SERVER" = "" ]; then
 fi
 
 if [ "$MACHINE" = "qemuarm" -o "$MACHINE" = "qemuarmv6" -o "$MACHINE" = "qemuarmv7" ]; then
-    if [ -e /proc/sys/vm/mmap_min_addr ]; then
-        if [ `cat /proc/sys/vm/mmap_min_addr` != "0" ]; then
-            echo "Error, please set /proc/sys/vm/mmap_min_addr to 0 since otherwise it can cause problems with QEMU"
-            return
-        fi
-    fi
-
     QEMU=qemu-system-arm
     MACHINE_SUBTYPE=versatilepb
     QEMU_UI_OPTIONS="$QEMU_UI_OPTIONS"
Signature · 1 line
1.6.3.3