Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Liming Wang <liming.wang@windriver.com>
To: Bruce Ashfield <bruce.ashfield@gmail.com>
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [CONSOLIDATED PULL 18/62] qemuppc: replace emulation of qemuppc from prep to mac99
Date: Wed, 18 Jan 2012 18:02:01 +0800	[thread overview]
Message-ID: <4F169899.905@windriver.com> (raw)
In-Reply-To: <CADkTA4NEH+hMJnB1w+UK8ShZEQ+J1uCJw831F6f==YrZDzC+bA@mail.gmail.com>

On 2012-1-18 8:52, Bruce Ashfield wrote:
> On Tue, Jan 17, 2012 at 5:20 PM, Khem Raj<raj.khem@gmail.com>  wrote:
>> On Tue, Jan 17, 2012 at 12:32 AM, Saul Wold<sgw@linux.intel.com>  wrote:
>>> From: Liming Wang<liming.wang@windriver.com>
>>>
>>> With this new emulation, existing qemuppc functionality is maintained
>>> and other functionality such as framebuffer + sato and NFS boot are
>>> added.
>>>
>> We currently tune for 603e when we choose qemuppc machine is that still valid
>> core for G4 cpu ? I think from gcc point of view it should now use -m7400
>> so may be add another tune-file to oe-core
> That was the plan, to fix the tuning of this and the other PPC reference boards
> at the same time. Liming and I had discussed this before, and we wanted to get
> this into the tree, and tweak it there.
>
> Liming: we can open a bug to track the update of the tuning .. just so we don't
> forget.
OK,  Bug 1914 - modify the tune files of ppc targets is opened.

Liming Wang
>
> Cheers,
>
> Bruce
>
>>> Signed-off-by: Liming Wang<liming.wang@windriver.com>
>>> Signed-off-by: Bruce Ashfield<bruce.ashfield@windriver.com>
>>> ---
>>>   meta/conf/machine/qemuppc.conf                  |    2 +-
>>>   meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb |    2 +-
>>>   meta/recipes-kernel/linux/linux-yocto_3.0.bb    |    2 +-
>>>   scripts/runqemu                                 |    7 +------
>>>   scripts/runqemu-internal                        |   16 ++++++++--------
>>>   5 files changed, 12 insertions(+), 17 deletions(-)
>>>
>>> diff --git a/meta/conf/machine/qemuppc.conf b/meta/conf/machine/qemuppc.conf
>>> index bcc408f..48eecb7 100644
>>> --- a/meta/conf/machine/qemuppc.conf
>>> +++ b/meta/conf/machine/qemuppc.conf
>>> @@ -5,7 +5,7 @@
>>>   require conf/machine/include/qemu.inc
>>>   require conf/machine/include/tune-ppc603e.inc
>>>
>>> -KERNEL_IMAGETYPE = "zImage"
>>> +KERNEL_IMAGETYPE = "vmlinux"
>>>
>>>   SERIAL_CONSOLE = "115200 ttyS0"
>>>
>>> diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb b/meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb
>>> index c8983c4..c6bf446 100644
>>> --- a/meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb
>>> +++ b/meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb
>>> @@ -16,7 +16,7 @@ LINUX_KERNEL_TYPE = "preempt-rt"
>>>
>>>   SRCREV_machine ?= "bcf4107c7f22d10952618a2ad146e6149d240cd2"
>>>   SRCREV_machine_qemuppc ?= "1e5511ea2cb5f150ffce86071035a81c0499494b"
>>> -SRCREV_meta ?= "6ae3d992cf546184010e87a0349810198f1d167c"
>>> +SRCREV_meta ?= "73dafd44ea875df654129b32b2877f342d5573e4"
>>>
>>>   PR = "r1"
>>>   PV = "${LINUX_VERSION}+git${SRCPV}"
>>> diff --git a/meta/recipes-kernel/linux/linux-yocto_3.0.bb b/meta/recipes-kernel/linux/linux-yocto_3.0.bb
>>> index 921c258..e624b48 100644
>>> --- a/meta/recipes-kernel/linux/linux-yocto_3.0.bb
>>> +++ b/meta/recipes-kernel/linux/linux-yocto_3.0.bb
>>> @@ -18,7 +18,7 @@ SRCREV_machine_qemuppc ?= "10e808d1c304b14cf42903fd637f239766b78476"
>>>   SRCREV_machine_qemux86 ?= "e04f9f8e564c60b1ce907d64074c18730f8dab4e"
>>>   SRCREV_machine_qemux86-64 ?= "53c2fa060d34e9a0b59e19398aeebbe73f24d89b"
>>>   SRCREV_machine ?= "fe80c1e343bf8f038328a612cef7f821d7ec8dbf"
>>> -SRCREV_meta ?= "6ae3d992cf546184010e87a0349810198f1d167c"
>>> +SRCREV_meta ?= "73dafd44ea875df654129b32b2877f342d5573e4"
>>>
>>>   PR = "r2"
>>>   PV = "${LINUX_VERSION}+git${SRCPV}"
>>> diff --git a/scripts/runqemu b/scripts/runqemu
>>> index bed6a29..ac5facf 100755
>>> --- a/scripts/runqemu
>>> +++ b/scripts/runqemu
>>> @@ -262,7 +262,7 @@ QEMUARM_DEFAULT_FSTYPE=ext3
>>>   QEMUMIPS_DEFAULT_KERNEL=vmlinux-qemumips.bin
>>>   QEMUMIPS_DEFAULT_FSTYPE=ext3
>>>
>>> -QEMUPPC_DEFAULT_KERNEL=zImage-qemuppc.bin
>>> +QEMUPPC_DEFAULT_KERNEL=vmlinux-qemuppc.bin
>>>   QEMUPPC_DEFAULT_FSTYPE=ext3
>>>
>>>   AKITA_DEFAULT_KERNEL=zImage-akita.bin
>>> @@ -365,11 +365,6 @@ if [ -z "$FSTYPE" ]; then
>>>      fi
>>>   fi
>>>
>>> -if [ "$FSTYPE" = "nfs" -a "$MACHINE" = "qemuppc" ]; then
>>> -    echo "Error: usermode NFS boot is not available for qemuppc."
>>> -    exit 1
>>> -fi
>>> -
>>>   # FSTYPE is now set for all cases
>>>
>>>   # Handle cases where a ROOTFS type is given instead of a filename, e.g.
>>> diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
>>> index 2968ed9..c55619b 100755
>>> --- a/scripts/runqemu-internal
>>> +++ b/scripts/runqemu-internal
>>> @@ -389,13 +389,13 @@ fi
>>>
>>>   if [ "$MACHINE" = "qemuppc" ]; then
>>>      QEMU=qemu-system-ppc
>>> -    MACHINE_SUBTYPE=prep
>>> -    CPU_SUBTYPE=603e
>>> -    BIOS=powerpc_rom.bin
>>> -    QEMU_UI_OPTIONS="$QEMU_UI_OPTIONS -nographic"
>>> +    MACHINE_SUBTYPE=mac99
>>> +    CPU_SUBTYPE=G4
>>> +    QEMU_UI_OPTIONS="$QEMU_UI_OPTIONS"
>>> +    QEMU_NETWORK_CMD="-net nic,model=pcnet $QEMU_TAP_CMD"
>>>      if [ "$FSTYPE" = "ext3" -o "$FSTYPE" = "btrfs" ]; then
>>> -        KERNCMDLINE="root=/dev/hda rw console=ttyS0 3 $KERNEL_NETWORK_CMD mem=$QEMU_MEMORY"
>>> -        QEMUOPTIONS="$QEMU_NETWORK_CMD -cpu $CPU_SUBTYPE -M $MACHINE_SUBTYPE -bios $BIOS -hda $ROOTFS -no-reboot $QEMU_UI_OPTIONS"
>>> +        KERNCMDLINE="root=/dev/hda rw console=ttyS0 $KERNEL_NETWORK_CMD mem=$QEMU_MEMORY"
>>> +        QEMUOPTIONS="$QEMU_NETWORK_CMD -cpu $CPU_SUBTYPE -M $MACHINE_SUBTYPE -hda $ROOTFS -no-reboot $QEMU_UI_OPTIONS"
>>>      fi
>>>      if [ "$FSTYPE" = "nfs" ]; then
>>>          if [ "$NFS_SERVER" = "192.168.7.1" -a ! -d "$NFS_DIR" ]; then
>>> @@ -403,8 +403,8 @@ if [ "$MACHINE" = "qemuppc" ]; then
>>>              cleanup
>>>              return
>>>          fi
>>> -        KERNCMDLINE="root=/dev/nfs console=ttyS0 3 nfsroot=$NFS_SERVER:$NFS_DIR,$UNFS_OPTS rw $KERNEL_NETWORK_CMD mem=$QEMU_MEMORY"
>>> -        QEMUOPTIONS="$QEMU_NETWORK_CMD -cpu $CPU_SUBTYPE -M $MACHINE_SUBTYPE -bios $BIOS -no-reboot $QEMU_UI_OPTIONS"
>>> +        KERNCMDLINE="root=/dev/nfs console=ttyS0 nfsroot=$NFS_SERVER:$NFS_DIR,$UNFS_OPTS rw $KERNEL_NETWORK_CMD mem=$QEMU_MEMORY"
>>> +        QEMUOPTIONS="$QEMU_NETWORK_CMD -cpu $CPU_SUBTYPE -M $MACHINE_SUBTYPE -no-reboot $QEMU_UI_OPTIONS"
>>>      fi
>>>   fi
>>>
>>> --
>>> 1.7.6.5
>>>
>>>
>>> _______________________________________________
>>> Openembedded-core mailing list
>>> Openembedded-core@lists.openembedded.org
>>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
>




  reply	other threads:[~2012-01-18 10:09 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-17  8:31 [CONSOLIDATED PULL 00/62] Major set of Changes Saul Wold
2012-01-17  8:31 ` [CONSOLIDATED PULL 01/62] base.bbclass: add support for LICENSE_FLAGS Saul Wold
2012-01-17  8:31 ` [CONSOLIDATED PULL 02/62] Add LICENSE_FLAGS to packages mentioned in COMMERCIAL_LICENSE Saul Wold
2012-01-17  8:31 ` [CONSOLIDATED PULL 03/62] base.bbclass: remove COMMERCIAL_LICENSE code Saul Wold
2012-01-17  8:31 ` [CONSOLIDATED PULL 04/62] default-distrovars.inc: remove COMMERCIAL_LICENSE et al Saul Wold
2012-01-17  8:31 ` [CONSOLIDATED PULL 05/62] documentation-audit.sh: remove COMMERCIAL_LICENSE warning Saul Wold
2012-01-17  8:31 ` [CONSOLIDATED PULL 06/62] wpa-supplicant: Compile without CONFIG_GNUTLS_EXTRA (PR BUMP) Saul Wold
2012-01-17  8:31 ` [CONSOLIDATED PULL 07/62] ghostscript: build cups filters Saul Wold
2012-01-17  8:31 ` [CONSOLIDATED PULL 08/62] ncurses-native: install to libdir, not base_libdir Saul Wold
2012-01-17  8:31 ` [CONSOLIDATED PULL 09/62] locale: fix package's "provides" tag Saul Wold
2012-01-17  8:31 ` [CONSOLIDATED PULL 10/62] diffstat: upgrade from 1.54 to 1.55 Saul Wold
2012-01-17  8:31 ` [CONSOLIDATED PULL 11/62] insane.bbclass: fix elf.arch not matching error for x32 kernel Saul Wold
2012-01-17  8:31 ` [CONSOLIDATED PULL 12/62] libpcre: upgrade from 8.20 to 8.21 Saul Wold
2012-01-17  8:31 ` [CONSOLIDATED PULL 13/62] btrfs-tools: upgrade to newer git commit Saul Wold
2012-01-17  8:31 ` [CONSOLIDATED PULL 14/62] distro_tracking: update manual_check_date fields Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 15/62] distro-tracking: Update info for webkit-gtk, web-webkit Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 16/62] stat: add recipe stat with version 3.3 Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 17/62] hdparm: upgrade to 9.37 Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 18/62] qemuppc: replace emulation of qemuppc from prep to mac99 Saul Wold
2012-01-17 22:20   ` Khem Raj
2012-01-18  0:52     ` Bruce Ashfield
2012-01-18 10:02       ` Liming Wang [this message]
2012-01-18 14:21         ` Bruce Ashfield
2012-01-17  8:32 ` [CONSOLIDATED PULL 19/62] qemuppc: add pointercal file Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 20/62] qemuppc: add machconfig Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 21/62] tslib: enable big endian support for qemuppc Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 22/62] linux-yocto: consolidated fix SRCREV updates Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 23/62] copyleft_compliance: add control of recipe types to include Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 24/62] copyleft_compliance: add debug message with the reason for exclusion Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 25/62] oe.license: add is_included convenience function Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 26/62] oe.license: avoid the need to catch SyntaxError Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 27/62] bootimg: Account for FAT filesystem overhead in image size Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 28/62] alsa-utils: depend on libsamplerate0 Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 29/62] xorg-*: disable xmlto where it was failing Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 30/62] distro_tracking_fields.inc: Modify the status of eds-tools and mingetty Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 31/62] runqemu: Fix the wrong path of libGL.so in 64b Ubuntu 11.10 Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 32/62] dbus-1.4.16: use INC_PR from dbus.inc to fix PR bump after dbus-launch-helper permission change Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 33/62] image_types.bbclass: Fix generating uncompressed ext2 images Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 34/62] image_types_uboot.bbclass: Add uncompressed ext2 image option Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 35/62] package.bbclass: quote pathname given to objdump Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 36/62] grub-efi-native: fix errors with automake 1.11.2 Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 37/62] libtool: Put all libltdl headers in the correct libltdl-dev package Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 38/62] bitbake.conf: search /lib for -native builds Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 39/62] libpam: upgrade to 1.1.5 Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 40/62] e2fsprogs: upgrade to 1.42 Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 41/62] distro_tracking: recipe upgrades and manual check info Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 42/62] task-base: move default definition of VIRTUAL-RUNTIME_apm Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 43/62] alsa-state: add alsa-state from oe classic Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 44/62] alsa-state: move state files to localstatedir Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 45/62] task-base: add VIRTUAL-RUNTIME_alsa-state to task-base-alsa Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 46/62] prelink: Update to latest version Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 47/62] classes/base: note variable name in COMPATIBLE_* skip messages Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 48/62] conf/bitbake.conf: allow wget to output error messages Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 49/62] classes/package: remove out-of-date notice referring to the OE bugtracker Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 50/62] classes/packagehistory: remove now obsolete class Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 51/62] m4: refactor .bb and .inc files Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 52/62] tcmode-eglibc: Fix PREFERRED_VERSION of eglibc Saul Wold
2012-01-17 14:54   ` Richard Purdie
2012-01-17  8:32 ` [CONSOLIDATED PULL 53/62] lttng-ust: Update to 2.0 Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 54/62] lttng-tools: Update to 2.0-pre16 Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 55/62] lttng-modules: Update to 2.0 Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 56/62] babeltrace: Integrated from version 0.8 Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 57/62] add mfatbu/mfatbl instructions support in Valgrind Saul Wold
2012-01-17 14:59   ` Richard Purdie
2012-01-17  8:32 ` [CONSOLIDATED PULL 58/62] valgrind: Update for eglibc 2.15 Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 59/62] python: PR bump for eglibc update Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 60/62] tcl: " Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 61/62] openssl-0.9.8: Update to 0.9.8s Saul Wold
2012-01-17  8:32 ` [CONSOLIDATED PULL 62/62] openssl-1.0.0: Update to 1.0.0e and fix QA Warning Saul Wold
2012-01-17 15:06 ` [CONSOLIDATED PULL 00/62] Major set of Changes Richard Purdie
2012-01-17 16:18 ` Joshua Lock

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F169899.905@windriver.com \
    --to=liming.wang@windriver.com \
    --cc=bruce.ashfield@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox