[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: Qemu SH4 status #2
From: |
Kristoffer Ericson |
Subject: |
[Qemu-devel] Re: Qemu SH4 status #2 |
Date: |
Wed, 12 Nov 2008 11:56:08 +0100 |
On Wed, 12 Nov 2008 13:33:13 +0900
address@hidden wrote:
> Hi,
>
> > I'm still getting segmentation fault at exact same
> > location. Have you made additional patches?
> Please find attached file "qemu081111.diff".
> Basically, this is an aggregate of patches found on qemu-devel ML,
> with some conflicts against current svn source being resolved,
> and some small fix are added, which are scheduled to be posted after
> I finished with my pending patches.
>
> I post this to share information between qemu and linux/sh people,
> and hopefully accelerate debugging with linux people's help.
>
I will give it a try later today. Big thx!
> Another file "linuxconfig_r2d_qemu.diff" is diff for linux kernel
> configuretion. It changes following parameters from r2d+'s defconfig.
> - Cache -> off (qemu has no cache)
> - commandline change (for debugging)
> - 8139too -> 8139cp (qemu's default is c+, still thinking how to switch)
> - SH SPI -> off (sci emulation is not mature enough to handle it)
>
> Build procedure is as follows,
> Configure kernel:
> make ARCH=sh rts7751r2dplus_defconfig
> patch .config < linuxconfig_r2d_qemu.diff
> (and build)
>
> Configure Qemu:
> ./configure --disable-system --target-list=sh4-softmmu \
> --disable-linux-user --disable-kqemu
>
> Execute:
> sh4-softmmu/qemu-system-sh4 -M r2d --serial vc --serial /dev/tty \
> --kernel zImage --append "console=tty0 root=/dev/sda" \
> -usb --usbdevice keyboard --usbdevice mouse disk.img
>
> I've tested it on qemu svn head this morning.
> You will see penguin logo, and fbcon input/output working.
> For debugging purpose, console=ttySC0,115200 might help.
> /yoshii
>
--
Kristoffer Ericson <address@hidden>
pgpetf8ke4DbD.pgp
Description: PGP signature