qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH_v2 9/9] target-openrisc: Correct carry flagcheck


From: Max Filippov
Subject: Re: [Qemu-devel] [PATCH_v2 9/9] target-openrisc: Correct carry flagcheck of l.addc and l.addic test casess
Date: Wed, 23 Oct 2013 10:52:11 +0400

On Tue, Oct 22, 2013 at 8:15 PM, Sebastian Macke <address@hidden> wrote:
> On 22/10/2013 9:01 AM, Max Filippov wrote:
>>
>> On Tue, Oct 22, 2013 at 7:45 PM, Sebastian Macke <address@hidden>
>> wrote:
>>>
>>> Hi Alex,
>>>
>>> I am using a cross-compiling toolchain. It's the easiest way as I have to
>>> compile the image for QEMU anyhow.
>>> http://opencores.org/or1k/OpenRISC_GNU_tool_chain
>>>
>>> Then it's just an "make && make test" in the corresponding
>>> tests/tcg/openrisc folder.
>>>
>>> Inside the virtual machine it would be a little bit more complicated. You
>>> have to compile Linux with the initramfs containing the QEMU test
>>> sources.
>>> Another storage device is currently not supported by the OpenRISC QEMU
>>> emulator.
>>
>> It should be possible to use network, I did a quick check at the time of
>> openrisc port submission, it used to work.
>>
>
> This is true. Via a network file system it should be no problem. But this is
> a very complicated way to test the QEMU tcg part.
> The image containing gcc I am currently using you can download under
> www.simulationcorner.net/vmlinux
> Run it with "qemu-system-or32 -m 128 -kernel vmlinux -nographic"

I can think of an easier way: try using linux user emulation instead of
system emulation, it should make mostly little difference wrt TCG.
It should be "qemu-or32 linux-elf-file-to-run".

-- 
Thanks.
-- Max



reply via email to

[Prev in Thread] Current Thread [Next in Thread]