Re: Suitable API do build the custom SoC emulation

2023-02-14 Thread Peter Maydell
On Tue, 14 Feb 2023 at 10:40, Alyosha Shevandin
 wrote:
>
> I wonder if there is any other way to build emulation for the custom SoC 
> except using QEMU C API? I mean, the C API the one, that is used in a lot of 
> examples under /hw folder. The other way – the high level abstractions – 
> based: XML, Json, Python etc.

No, at the moment the only way to write emulation of
a new SoC is to do it in C as part of the main QEMU
executable.

-- PMM



Suitable API do build the custom SoC emulation

2023-02-14 Thread Alyosha Shevandin
I wonder if there is any other way to build emulation for the custom SoC except 
using QEMU C API? I mean, the C API the one, that is used in a lot of examples 
under /hw folder. The other way – the high level abstractions – based: XML, 
Json, Python etc.

The custom hardware that I need to emulate:

  *   A55 CPU

  *   different kind of memories (RAM, SRAM, ROM) with some custom memory 
layout;

  *   UART

  *   ARM TF, BL1 loading (-bios command line parameter)


Regards,

Aleksey