From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com ([192.55.52.93]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1SrAgV-0002AO-Rk for openembedded-core@lists.openembedded.org; Tue, 17 Jul 2012 18:31:40 +0200 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 17 Jul 2012 09:20:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.71,315,1320652800"; d="scan'208";a="178864607" Received: from unknown (HELO [10.255.12.178]) ([10.255.12.178]) by fmsmga001.fm.intel.com with ESMTP; 17 Jul 2012 09:20:07 -0700 Message-ID: <500590B7.1060308@linux.intel.com> Date: Tue, 17 Jul 2012 09:20:07 -0700 From: Saul Wold User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 MIME-Version: 1.0 To: Patches and discussions about the oe-core layer References: <1342087131-14277-1-git-send-email-dennis.yxun@gmail.com> In-Reply-To: <1342087131-14277-1-git-send-email-dennis.yxun@gmail.com> Cc: paul.eggleton@linux.intel.com Subject: Re: [PATCH v2] runqemu/mips: adjust runqemu script to support mipsel machine X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jul 2012 16:31:40 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 07/12/2012 02:58 AM, Dennis Lan wrote: > Signed-off-by: Dennis Lan > --- > 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!