Re: Add Custom Machine in Qemu-4.2.0 or newer

2021-11-05 Thread abhijeet inamdar
Hi, I found my machine to be as to be similar to one of the stm32 implementations but in the list of machines which one to select? BR. Abhijeet. On Thu, 4 Nov, 2021, 13:10 abhijeet inamdar, wrote: > Can I know exactly which board is it?! Would be helpful for me to look > into. > > > BR. > Abh

Re: Add Custom Machine in Qemu-4.2.0 or newer

2021-11-04 Thread abhijeet inamdar
Can I know exactly which board is it?! Would be helpful for me to look into. BR. Abhijeet. On Thu, 4 Nov, 2021, 12:15 Peter Maydell, wrote: > On Wed, 3 Nov 2021 at 14:04, abhijeet inamdar > wrote: > > In a machine definition can there be a two different "cpu-type" > > ( say ARM M or A or R)th

Re: Add Custom Machine in Qemu-4.2.0 or newer

2021-11-04 Thread Peter Maydell
On Wed, 3 Nov 2021 at 14:04, abhijeet inamdar wrote: > In a machine definition can there be a two different "cpu-type" > ( say ARM M or A or R)that can be emulated ? (if it make sense) Currently a machine can have multiple CPUs as long as they are from the same guest architecture. So you can have

Re: Add Custom Machine in Qemu-4.2.0 or newer

2021-11-03 Thread abhijeet inamdar
Hi, In a machine definition can there be a two different "cpu-type" ( say ARM M or A or R)that can be emulated ? (if it make sense). BR. Abhijeet. On Tue, 2 Nov, 2021, 15:49 Peter Maydell, wrote: > On Tue, 2 Nov 2021 at 14:39, abhijeet inamdar > wrote: > > > > Can you elaborate the Testing p

Re: Add Custom Machine in Qemu-4.2.0 or newer

2021-11-02 Thread Peter Maydell
On Tue, 2 Nov 2021 at 14:39, abhijeet inamdar wrote: > > Can you elaborate the Testing point (3) as I have never done any unit test so. Look at some of the existing tests like the one I suggest, write tests that do that kind of thing. "Unit test" here just means "this is a test case that tests on

Re: Add Custom Machine in Qemu-4.2.0 or newer

2021-11-02 Thread abhijeet inamdar
Can you elaborate the Testing point (3) as I have never done any unit test so. I have some general questions like the Ubuntu version I'm using is 16.04 LTS so for the latest QEMU will it be compatible? and for the debug is the real hardware(board) required or just can make happen within software?

Re: Add Custom Machine in Qemu-4.2.0 or newer

2021-11-02 Thread Peter Maydell
On Tue, 2 Nov 2021 at 13:15, abhijeet inamdar wrote: > > Hi, > > I have a hardware which I want to emulate on QEMU based on arm Cortex M3. I > tried to follow the examples like mps2 or stellaris. > > I'm finding it really hard to figure out how can I test the > devices/peripherals I add to the m

Add Custom Machine in Qemu-4.2.0 or newer

2021-11-02 Thread abhijeet inamdar
Hi, I have a hardware which I want to emulate on QEMU based on arm Cortex M3. I tried to follow the examples like mps2 or stellaris. I'm finding it really hard to figure out how can I test the devices/peripherals I add to the machine. As the binary which I have contains all major protocols like U