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

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

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