qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 20/20] target/loongarch: Add linux-user emulation support


From: maobibo
Subject: Re: [PATCH 20/20] target/loongarch: Add linux-user emulation support
Date: Thu, 1 Jul 2021 20:05:04 +0800
User-agent: Mozilla/5.0 (X11; Linux mips64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1


在 2021年07月01日 18:53, Peter Maydell 写道:
> On Thu, 1 Jul 2021 at 11:40, Alex Bennée <alex.bennee@linaro.org> wrote:
>> Thomas Huth <thuth@redhat.com> writes:
>>> I think we'd need some way of automatic regression testing for new
>>> targets. If your board has a serial UART that is easy to use, then
>>> please add a test in tests/qtest/boot-serial-test.c.
>>
>> You can also write a very minimal softmmu harness with either
>> semihosting or a debug port - currently we can run the tests for
>> x86/arm/alpha. See tests/tcg/multiarch/system and the various
>> boot.S/kernel.ld in tests/tcg/FOO/system and the Makefile.softmmu-target
>> in the relevant directories.
> 
> You can only use semihosting if your architecture has actually defined
> (ie written down in a spec document that you intend to adhere to)
> an ABI for it, though...
yes, the architecture is actually defined and real hw box is used already,
only that software does not go into upstream. We will wait for gcc compiler
merged into upstream and send a minimal softmmu version, and add bare-metal
test cases in tests/tcg/FOO/system directory.

However thanks for your guidance anyway.

regards
bibo, mao
> 
> -- PMM
> 




reply via email to

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