On Thu, 1 Jul 2021 at 11:40, Alex Bennée <alex.ben...@linaro.org> wrote: > Thomas Huth <th...@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... -- PMM