diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-01-30 15:10:15 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-08 00:50:27 +0000 |
commit | fd2983e5fc45849a4381a88045c1f0cec9ac9685 (patch) | |
tree | eaa58b790b07b587cb26e95129d82dbb198d516f /scripts/runqemu-internal | |
parent | a481c10d726afd2270a19a733aa83950cfbb665b (diff) | |
download | poky-fd2983e5fc45849a4381a88045c1f0cec9ac9685.tar.gz |
runqemu-internal: qemuarm can handle 256M
Raise the check for max RAM supported for QEMU/arm
its 256M since we patched it to be so in OE
(From OE-Core rev: cfd84a05581e068d705b0804829c4833a06bffa6)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu-internal')
-rwxr-xr-x | scripts/runqemu-internal | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal index 21fbce3ee9..73b8b41ec4 100755 --- a/scripts/runqemu-internal +++ b/scripts/runqemu-internal | |||
@@ -67,13 +67,14 @@ fi | |||
67 | # QEMU_MEMORY has 'M' appended to mem_size | 67 | # QEMU_MEMORY has 'M' appended to mem_size |
68 | QEMU_MEMORY="$mem_size"M | 68 | QEMU_MEMORY="$mem_size"M |
69 | 69 | ||
70 | # Bug 433: qemuarm cannot use > 128 MB RAM | 70 | # Bug 433: qemuarm cannot use > 256 MB RAM |
71 | if [ "$MACHINE" = "qemuarm" ]; then | 71 | if [ "$MACHINE" = "qemuarm" ]; then |
72 | if [[ -z "$mem_size" || $mem_size -gt 128 ]]; then | 72 | if [[ -z "$mem_size" || $mem_size -gt 256 ]]; then |
73 | echo "WARNING: qemuarm does not support > 128M of RAM." | 73 | echo "WARNING: qemuarm does not support > 256M of RAM." |
74 | echo "Changing QEMU_MEMORY to default of 128M." | 74 | echo "Changing QEMU_MEMORY to default of 256M." |
75 | QEMU_MEMORY="128M" | 75 | QEMU_MEMORY="256M" |
76 | SCRIPT_QEMU_EXTRA_OPT=`echo $SCRIPT_QEMU_EXTRA_OPT | sed -e "s/$mem_set/-m 128/" ` | 76 | mem_size="256" |
77 | SCRIPT_QEMU_EXTRA_OPT=`echo $SCRIPT_QEMU_EXTRA_OPT | sed -e "s/$mem_set/-m 256/" ` | ||
77 | fi | 78 | fi |
78 | fi | 79 | fi |
79 | 80 | ||