Poky Project Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] Remove mmap_min_addr check in poky-qemu
@ 2011-03-04 11:37 Zhai Edwin
  2011-03-04 11:37 ` [PATCH 1/1] qemu-script: Remove mmap_min_addr check Zhai Edwin
  0 siblings, 1 reply; 2+ messages in thread
From: Zhai Edwin @ 2011-03-04 11:37 UTC (permalink / raw)
  To: poky

From: Zhai Edwin <edwin.zhai@intel.com>

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 <edwin.zhai@intel.com>
---


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

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] qemu-script: Remove mmap_min_addr check
  2011-03-04 11:37 [PATCH 0/1] Remove mmap_min_addr check in poky-qemu Zhai Edwin
@ 2011-03-04 11:37 ` Zhai Edwin
  0 siblings, 0 replies; 2+ messages in thread
From: Zhai Edwin @ 2011-03-04 11:37 UTC (permalink / raw)
  To: poky

From: Zhai Edwin <edwin.zhai@intel.com>

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.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
---
 scripts/poky-qemu-internal |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/scripts/poky-qemu-internal b/scripts/poky-qemu-internal
index 5e74169..3638a65 100755
--- a/scripts/poky-qemu-internal
+++ b/scripts/poky-qemu-internal
@@ -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"
-- 
1.6.3.3



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-04 11:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-04 11:37 [PATCH 0/1] Remove mmap_min_addr check in poky-qemu Zhai Edwin
2011-03-04 11:37 ` [PATCH 1/1] qemu-script: Remove mmap_min_addr check Zhai Edwin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox