All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] runqemu/mips: adjust runqemu script to support mipsel machine
@ 2012-07-12  9:58 Dennis Lan
  2012-07-17 16:20 ` Saul Wold
  0 siblings, 1 reply; 3+ messages in thread
From: Dennis Lan @ 2012-07-12  9:58 UTC (permalink / raw)
  To: openembedded-core; +Cc: paul.eggleton

Signed-off-by: Dennis Lan <dennis.yxun@gmail.com>
---
 scripts/runqemu          |    5 ++++-
 scripts/runqemu-internal |   13 +++++++------
 2 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/scripts/runqemu b/scripts/runqemu
index 8d149a2..650d1df 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -94,7 +94,7 @@ KVM_ENABLED="no"
 while true; do
     arg=${1}
     case "$arg" in
-        "qemux86" | "qemux86-64" | "qemuarm" | "qemumips" | "qemumips64" | "qemush4"  | "qemuppc")
+        "qemux86" | "qemux86-64" | "qemuarm" | "qemumips" | "qemumipsel" | "qemumips64" | "qemush4"  | "qemuppc")
             [ -z "$MACHINE" ] && MACHINE=$arg || \
                 error "conflicting MACHINE types [$MACHINE] and [$arg]"
             ;;
@@ -245,6 +245,9 @@ QEMUARM_DEFAULT_FSTYPE=ext3
 QEMUMIPS_DEFAULT_KERNEL=vmlinux-qemumips.bin
 QEMUMIPS_DEFAULT_FSTYPE=ext3
 
+QEMUMIPSEL_DEFAULT_KERNEL=vmlinux-qemumipsel.bin
+QEMUMIPSEL_DEFAULT_FSTYPE=ext3
+
 QEMUMIPS64_DEFAULT_KERNEL=vmlinux-qemumips64.bin
 QEMUMIPS64_DEFAULT_FSTYPE=ext3
 
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
index 041464d..a21ea93 100755
--- a/scripts/runqemu-internal
+++ b/scripts/runqemu-internal
@@ -236,6 +236,7 @@ fi
 case "$MACHINE" in
     "qemuarm") ;;
     "qemumips") ;;
+    "qemumipsel") ;;
     "qemumips64") ;;
     "qemush4") ;;
     "qemuppc") ;;
@@ -375,12 +376,12 @@ if [ "$MACHINE" = "spitz" ]; then
     fi
 fi
 
-if [ "$MACHINE" = "qemumips" -o "$MACHINE" = "qemumips64" ]; then
-    if [ "$MACHINE" = "qemumips64" ]; then
-	QEMU=qemu-system-mips64
-    else
-	QEMU=qemu-system-mips
-    fi
+if [ "$MACHINE" = "qemumips" -o "$MACHINE" = "qemumipsel" -o "$MACHINE" = "qemumips64" ]; then
+    case "$MACHINE" in
+       qemumips)   QEMU=qemu-system-mips ;;
+       qemumipsel) QEMU=qemu-system-mipsel ;;
+       qemumips64) QEMU=qemu-system-mips64 ;;
+    esac
     MACHINE_SUBTYPE=malta
     QEMU_UI_OPTIONS="-vga cirrus $QEMU_UI_OPTIONS"
     if [ "$FSTYPE" = "ext3" -o "$FSTYPE" = "btrfs" ]; then
-- 
1.7.9.rc2




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

* Re: [PATCH v2] runqemu/mips: adjust runqemu script to support mipsel machine
  2012-07-12  9:58 [PATCH v2] runqemu/mips: adjust runqemu script to support mipsel machine Dennis Lan
@ 2012-07-17 16:20 ` Saul Wold
  2012-07-17 21:12   ` Dennis.Yxun
  0 siblings, 1 reply; 3+ messages in thread
From: Saul Wold @ 2012-07-17 16:20 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: paul.eggleton

On 07/12/2012 02:58 AM, Dennis Lan wrote:
> Signed-off-by: Dennis Lan <dennis.yxun@gmail.com>
> ---
>   scripts/runqemu          |    5 ++++-
>   scripts/runqemu-internal |   13 +++++++------
>   2 files changed, 11 insertions(+), 7 deletions(-)
>
> diff --git a/scripts/runqemu b/scripts/runqemu
> index 8d149a2..650d1df 100755
> --- a/scripts/runqemu
> +++ b/scripts/runqemu
> @@ -94,7 +94,7 @@ KVM_ENABLED="no"
>   while true; do
>       arg=${1}
>       case "$arg" in
> -        "qemux86" | "qemux86-64" | "qemuarm" | "qemumips" | "qemumips64" | "qemush4"  | "qemuppc")
> +        "qemux86" | "qemux86-64" | "qemuarm" | "qemumips" | "qemumipsel" | "qemumips64" | "qemush4"  | "qemuppc")
>               [ -z "$MACHINE" ] && MACHINE=$arg || \
>                   error "conflicting MACHINE types [$MACHINE] and [$arg]"
>               ;;
> @@ -245,6 +245,9 @@ QEMUARM_DEFAULT_FSTYPE=ext3
>   QEMUMIPS_DEFAULT_KERNEL=vmlinux-qemumips.bin
>   QEMUMIPS_DEFAULT_FSTYPE=ext3
>
> +QEMUMIPSEL_DEFAULT_KERNEL=vmlinux-qemumipsel.bin
> +QEMUMIPSEL_DEFAULT_FSTYPE=ext3
> +
>   QEMUMIPS64_DEFAULT_KERNEL=vmlinux-qemumips64.bin
>   QEMUMIPS64_DEFAULT_FSTYPE=ext3
>
> diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
> index 041464d..a21ea93 100755
> --- a/scripts/runqemu-internal
> +++ b/scripts/runqemu-internal
> @@ -236,6 +236,7 @@ fi
>   case "$MACHINE" in
>       "qemuarm") ;;
>       "qemumips") ;;
> +    "qemumipsel") ;;
>       "qemumips64") ;;
>       "qemush4") ;;
>       "qemuppc") ;;
> @@ -375,12 +376,12 @@ if [ "$MACHINE" = "spitz" ]; then
>       fi
>   fi
>
> -if [ "$MACHINE" = "qemumips" -o "$MACHINE" = "qemumips64" ]; then
> -    if [ "$MACHINE" = "qemumips64" ]; then
> -	QEMU=qemu-system-mips64
> -    else
> -	QEMU=qemu-system-mips
> -    fi
> +if [ "$MACHINE" = "qemumips" -o "$MACHINE" = "qemumipsel" -o "$MACHINE" = "qemumips64" ]; then
> +    case "$MACHINE" in
> +       qemumips)   QEMU=qemu-system-mips ;;
> +       qemumipsel) QEMU=qemu-system-mipsel ;;
> +       qemumips64) QEMU=qemu-system-mips64 ;;
> +    esac
>       MACHINE_SUBTYPE=malta
>       QEMU_UI_OPTIONS="-vga cirrus $QEMU_UI_OPTIONS"
>       if [ "$FSTYPE" = "ext3" -o "$FSTYPE" = "btrfs" ]; then
>

Merged into OE-Core

Thanks
	Sau!



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

* Re: [PATCH v2] runqemu/mips: adjust runqemu script to support mipsel machine
  2012-07-17 16:20 ` Saul Wold
@ 2012-07-17 21:12   ` Dennis.Yxun
  0 siblings, 0 replies; 3+ messages in thread
From: Dennis.Yxun @ 2012-07-17 21:12 UTC (permalink / raw)
  To: Saul Wold; +Cc: paul.eggleton, Patches and discussions about the oe-core layer

hi saul:
   thanks for taking this

Dennis

On Wed, Jul 18, 2012 at 12:20 AM, Saul Wold <sgw@linux.intel.com> wrote:
> On 07/12/2012 02:58 AM, Dennis Lan wrote:
>>
>> Signed-off-by: Dennis Lan <dennis.yxun@gmail.com>
>> ---
>>   scripts/runqemu          |    5 ++++-
>>   scripts/runqemu-internal |   13 +++++++------
>>   2 files changed, 11 insertions(+), 7 deletions(-)
>>
>> diff --git a/scripts/runqemu b/scripts/runqemu
>> index 8d149a2..650d1df 100755
>> --- a/scripts/runqemu
>> +++ b/scripts/runqemu
>> @@ -94,7 +94,7 @@ KVM_ENABLED="no"
>>   while true; do
>>       arg=${1}
>>       case "$arg" in
>> -        "qemux86" | "qemux86-64" | "qemuarm" | "qemumips" | "qemumips64"
>> | "qemush4"  | "qemuppc")
>> +        "qemux86" | "qemux86-64" | "qemuarm" | "qemumips" | "qemumipsel"
>> | "qemumips64" | "qemush4"  | "qemuppc")
>>               [ -z "$MACHINE" ] && MACHINE=$arg || \
>>                   error "conflicting MACHINE types [$MACHINE] and [$arg]"
>>               ;;
>> @@ -245,6 +245,9 @@ QEMUARM_DEFAULT_FSTYPE=ext3
>>   QEMUMIPS_DEFAULT_KERNEL=vmlinux-qemumips.bin
>>   QEMUMIPS_DEFAULT_FSTYPE=ext3
>>
>> +QEMUMIPSEL_DEFAULT_KERNEL=vmlinux-qemumipsel.bin
>> +QEMUMIPSEL_DEFAULT_FSTYPE=ext3
>> +
>>   QEMUMIPS64_DEFAULT_KERNEL=vmlinux-qemumips64.bin
>>   QEMUMIPS64_DEFAULT_FSTYPE=ext3
>>
>> diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
>> index 041464d..a21ea93 100755
>> --- a/scripts/runqemu-internal
>> +++ b/scripts/runqemu-internal
>> @@ -236,6 +236,7 @@ fi
>>   case "$MACHINE" in
>>       "qemuarm") ;;
>>       "qemumips") ;;
>> +    "qemumipsel") ;;
>>       "qemumips64") ;;
>>       "qemush4") ;;
>>       "qemuppc") ;;
>> @@ -375,12 +376,12 @@ if [ "$MACHINE" = "spitz" ]; then
>>       fi
>>   fi
>>
>> -if [ "$MACHINE" = "qemumips" -o "$MACHINE" = "qemumips64" ]; then
>> -    if [ "$MACHINE" = "qemumips64" ]; then
>> -       QEMU=qemu-system-mips64
>> -    else
>> -       QEMU=qemu-system-mips
>> -    fi
>> +if [ "$MACHINE" = "qemumips" -o "$MACHINE" = "qemumipsel" -o "$MACHINE" =
>> "qemumips64" ]; then
>> +    case "$MACHINE" in
>> +       qemumips)   QEMU=qemu-system-mips ;;
>> +       qemumipsel) QEMU=qemu-system-mipsel ;;
>> +       qemumips64) QEMU=qemu-system-mips64 ;;
>> +    esac
>>       MACHINE_SUBTYPE=malta
>>       QEMU_UI_OPTIONS="-vga cirrus $QEMU_UI_OPTIONS"
>>       if [ "$FSTYPE" = "ext3" -o "$FSTYPE" = "btrfs" ]; then
>>
>
> Merged into OE-Core
>
> Thanks
>         Sau!



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

end of thread, other threads:[~2012-07-17 21:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-12  9:58 [PATCH v2] runqemu/mips: adjust runqemu script to support mipsel machine Dennis Lan
2012-07-17 16:20 ` Saul Wold
2012-07-17 21:12   ` Dennis.Yxun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.