diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-07-22 11:26:14 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-07-22 11:26:14 +0000 |
commit | cf9ecbaa6de3b619c586f3487f58b067c02d8177 (patch) | |
tree | e671d0270572d1b7f2bb0256db83b17f510c6b97 /scripts | |
parent | 50e3ea738d7c73b155072538f63d78df1d9177a4 (diff) | |
download | openembedded-core-cf9ecbaa6de3b619c586f3487f58b067c02d8177.tar.gz openembedded-core-cf9ecbaa6de3b619c586f3487f58b067c02d8177.tar.bz2 openembedded-core-cf9ecbaa6de3b619c586f3487f58b067c02d8177.tar.xz openembedded-core-cf9ecbaa6de3b619c586f3487f58b067c02d8177.zip |
poky-qemu-internal: added support for qemuarmv6/7
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4927 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/poky-qemu-internal | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/scripts/poky-qemu-internal b/scripts/poky-qemu-internal index c5f38e74d..aede0d698 100755 --- a/scripts/poky-qemu-internal +++ b/scripts/poky-qemu-internal @@ -56,6 +56,8 @@ fi case "$MACHINE" in "qemuarm") ;; + "qemuarmv6") ;; + "qemuarmv7") ;; "qemux86") ;; "akita") ;; "spitz") ;; @@ -84,7 +86,7 @@ if [ -e /proc/sys/vm/mmap_min_addr ]; then fi fi -if [ "$MACHINE" = "qemuarm" ]; then +if [ "$MACHINE" = "qemuarm" -o "$MACHINE" = "qemuarmv6" -o "$MACHINE" = "qemuarmv7" ]; then QEMU=qemu-system-arm if [ "$TYPE" = "ext2" ]; then KERNCMDLINE="root=/dev/sda console=ttyAMA0 console=tty0 mem=$QEMU_MEMORY" @@ -101,6 +103,12 @@ if [ "$MACHINE" = "qemuarm" ]; then KERNCMDLINE="root=/dev/nfs nfsroot=192.168.7.1:$HDIMAGE rw $KERNEL_NETWORK_CMD mem=$QEMU_MEMORY" QEMUOPTIONS="$QEMU_NETWORK_CMD -M versatilepb -no-reboot" fi + if [ "$MACHINE" = "qemuarmv6" ]; then + QEMUOPTIONS="$QEMUOPTIONS -cpu arm1136" + fi + if [ "$MACHINE" = "qemuarmv7" ]; then + QEMUOPTIONS="$QEMUOPTIONS -cpu cortex-a8" + fi fi if [ "$MACHINE" = "qemux86" ]; then |