diff options
author | Nathan Rossi <nathan@nathanrossi.com> | 2015-09-16 14:59:59 +1000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-21 15:20:11 +0100 |
commit | 5830519bc10fa1195789d5b6a1b1bbbef4b940be (patch) | |
tree | 0c3d2c6f7df91add92653d1bf7f810b42178caaf /scripts/runqemu-internal | |
parent | 49bdfab6ba1d92d8f48ce9c63d796a7cedf4f247 (diff) | |
download | openembedded-core-contrib-5830519bc10fa1195789d5b6a1b1bbbef4b940be.tar.gz |
runqemu-internal: For qemumicroblaze use the QEMU provided device tree
Setup the qemumicroblaze machine to use the device tree provided by QEMU
instead of the device tree located in the images directory. Additionally
setup the default memory size to match the QEMU device tree.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/runqemu-internal')
-rwxr-xr-x | scripts/runqemu-internal | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal index 2d2a8397466..d6b1102008f 100755 --- a/scripts/runqemu-internal +++ b/scripts/runqemu-internal @@ -54,7 +54,7 @@ else mem_size=512 ;; "qemumicroblaze") - mem_size=64 + mem_size=256 ;; "qemumips"|"qemumips64") mem_size=256 @@ -587,7 +587,7 @@ fi if [ "$MACHINE" = "qemumicroblaze" ]; then QEMU=qemu-system-microblazeel - QEMU_SYSTEM_OPTIONS="$QEMU_NETWORK_CMD -M petalogix-ml605 -serial mon:stdio -dtb $KERNEL-$MACHINE.dtb" + QEMU_SYSTEM_OPTIONS="$QEMU_NETWORK_CMD -M petalogix-ml605 -serial mon:stdio" if [ "${FSTYPE:0:3}" = "ext" -o "${FSTYPE:0:4}" = "cpio" ]; then KERNCMDLINE="earlyprintk root=/dev/ram rw $KERNEL_NETWORK_CMD mem=$QEMU_MEMORY" QEMUOPTIONS="$QEMU_SYSTEM_OPTIONS -initrd $ROOTFS" |