But this very ELF file runs on the target(real hardware) perfectly. So how different should it be to emulate?
Thank you, Abhijeet. On Wed, Sep 29, 2021 at 10:31 PM Peter Maydell <peter.mayd...@linaro.org> wrote: > On Wed, 29 Sept 2021 at 16:24, abhijeet inamdar > <abhijeetinamdar3...@gmail.com> wrote: > > > > I tried to add -d in_asm,out_asm,guest_errors it gives out as follows: > > 'int,exec,cpu' are probably also helpful. > > > [New Thread 0x7fffeffff700 (LWP 44283)] > > ---------------- > > IN: > > 0x00000000: 00000000 andeq r0, r0, r0 > > We started at address 0 in not-thumb mode. Your ELF file is > almost certainly not correct (ie it does not include a suitable > vector table for the CPU to get its reset PC and SP from). > > -- PMM >