Re: [PATCH] hw/arm: Add 'virtm' hardware

2020-06-26 Thread Peter Maydell
On Fri, 26 Jun 2020 at 21:14, Keith Packard wrote: > > Max Filippov writes: > > > Most of them are due to unsupported/differently implemented > > syscalls. > > Yeah, I think that was the basis of my confusion -- qemu-arm is not a > bare metal environment, and my work is focused on enabling

Re: [PATCH] hw/arm: Add 'virtm' hardware

2020-06-26 Thread Keith Packard
Max Filippov writes: > Most of them are due to unsupported/differently implemented > syscalls. Yeah, I think that was the basis of my confusion -- qemu-arm is not a bare metal environment, and my work is focused on enabling application development in that environment. -- -keith

Re: [PATCH] hw/arm: Add 'virtm' hardware

2020-06-26 Thread Keith Packard
Peter Maydell writes: > You might find the user-mode qemu-arm sufficient for that > kind of thing. I know some gcc tests run that way. You > get a processor, semihosting, and whatever memory your > ELF file's data segment says you have (plus anything > you care to mmap()). Thanks for the

Re: [PATCH] hw/arm: Add 'virtm' hardware

2020-06-26 Thread Max Filippov
On Fri, Jun 26, 2020 at 10:32 AM Peter Maydell wrote: > You might find the user-mode qemu-arm sufficient for that > kind of thing. I know some gcc tests run that way. You > get a processor, semihosting, and whatever memory your > ELF file's data segment says you have (plus anything > you care to

Re: [PATCH] hw/arm: Add 'virtm' hardware

2020-06-26 Thread Peter Maydell
On Fri, 26 Jun 2020 at 17:40, Keith Packard wrote: > > Peter Maydell writes: > > > So, I'm really dubious about adding more "virtual" > > not-real-hardware boards. We have "virt" because we > > absolutely have to have it for KVM purposes; but otherwise > > "emulate real hardware" gives us a

Re: [PATCH] hw/arm: Add 'virtm' hardware

2020-06-26 Thread Keith Packard
Peter Maydell writes: > So, I'm really dubious about adding more "virtual" > not-real-hardware boards. We have "virt" because we > absolutely have to have it for KVM purposes; but otherwise > "emulate real hardware" gives us a concrete specification > of what we're trying to do and tends to lead

Re: [PATCH] hw/arm: Add 'virtm' hardware

2020-06-26 Thread Peter Maydell
On Fri, 26 Jun 2020 at 00:07, Keith Packard wrote: > > 'virtm' is a hardware target that is designed to be used for compiler > and library testing on Cortex-M processors. It supports all cortex-m > processors and includes sufficient memory to run even large test > cases. > > Signed-off-by: Keith

[PATCH] hw/arm: Add 'virtm' hardware

2020-06-25 Thread Keith Packard via
'virtm' is a hardware target that is designed to be used for compiler and library testing on Cortex-M processors. It supports all cortex-m processors and includes sufficient memory to run even large test cases. Signed-off-by: Keith Packard --- MAINTAINERS | 9 +++-