summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu-internal
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-09-02 11:35:14 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-02 18:02:59 +0100
commit6ccd4d6a9d3910b6e729fe2d00056d8d325403c8 (patch)
tree9315d556c79bedaa3b1abd0f517d15bd471f5f59 /scripts/runqemu-internal
parent212f512e4689bf59d07e3e5394f3fccb39033a5a (diff)
downloadpoky-6ccd4d6a9d3910b6e729fe2d00056d8d325403c8.tar.gz
runqemu: set memory size to 256M for most qemu machines
Set memory size to 256M for qemuarm, qemux86, qemux86-64, qemumips, qemumips64, and qemuppc. This allows the smart automated tests to run on machines with a GUI environment (such as Sato) running at the same time, for which 128M is too limiting. Setting this in runqemu allows users manually using runqemu to avoid the same out-of-memory issues under similar conditions using smart, on-target compilation or other uses. Fixes [YOCTO #5045]. (From OE-Core rev: fe5dfdece98692f8fa731c8d11c907a272266ea5) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu-internal')
-rwxr-xr-xscripts/runqemu-internal10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
index f9d8728224..485119f5d9 100755
--- a/scripts/runqemu-internal
+++ b/scripts/runqemu-internal
@@ -42,22 +42,22 @@ if [ ! -z "$mem_set" ] ; then
42else 42else
43 case "$MACHINE" in 43 case "$MACHINE" in
44 "qemux86") 44 "qemux86")
45 mem_size=128 45 mem_size=256
46 ;; 46 ;;
47 "qemux86-64") 47 "qemux86-64")
48 mem_size=128 48 mem_size=256
49 ;; 49 ;;
50 "qemuarm") 50 "qemuarm")
51 mem_size=128 51 mem_size=256
52 ;; 52 ;;
53 "qemumicroblaze") 53 "qemumicroblaze")
54 mem_size=64 54 mem_size=64
55 ;; 55 ;;
56 "qemumips"|"qemumips64") 56 "qemumips"|"qemumips64")
57 mem_size=128 57 mem_size=256
58 ;; 58 ;;
59 "qemuppc") 59 "qemuppc")
60 mem_size=128 60 mem_size=256
61 ;; 61 ;;
62 "qemush4") 62 "qemush4")
63 mem_size=1024 63 mem_size=1024