Re: Blank screen for hello world qemu-4.2.0

2021-07-27 Thread abhijeet inamdar
Hi, I was trying to use gdbstub what does vmlinux mean here? Then launch gdb on the ‘vmlinux’ executable: > gdb vmlinux Is it my executable file or ? On Mon, Jul 26, 2021, 15:44 abhijeet inamdar wrote: > Hi, > > Is there any particular Flash and RAM length for qemu to semihosting. I'm > usin

Re: Blank screen for hello world qemu-4.2.0

2021-07-26 Thread abhijeet inamdar
Hi, Is there any particular Flash and RAM length for qemu to semihosting. I'm using q2-update-2017 tool chain and 16.04 Ubuntu. On Fri, Jul 23, 2021, 14:16 Peter Maydell wrote: > On Fri, 23 Jul 2021 at 13:05, abhijeet inamdar > wrote: > > > > Means the memory mapping is not done correctly. > >

Re: Blank screen for hello world qemu-4.2.0

2021-07-23 Thread Peter Maydell
On Fri, 23 Jul 2021 at 13:05, abhijeet inamdar wrote: > > Means the memory mapping is not done correctly. > > I have added '-d nochain' and '-singlestep' to the command line it gives me > never ending > > Trace 0: 0x7ff207a5eac0 [/0572/0x312000c1] HardFault_Handler > R00=218c R01

Re: Blank screen for hello world qemu-4.2.0

2021-07-23 Thread abhijeet inamdar
Means the memory mapping is not done correctly. I have added '-d nochain' and '-singlestep' to the command line it gives me never ending Trace 0: 0x7ff207a5eac0 [/0572/0x312000c1] HardFault_Handler R00=218c R01= R02=2264 R03=2264 R04=23f4 R05=23f4 R06=

Re: Blank screen for hello world qemu-4.2.0

2021-07-23 Thread Peter Maydell
On Fri, 23 Jul 2021 at 11:41, abhijeet inamdar wrote: > > Hi, > > What information does this give me and how do I need to sort it out? > > after running qemu-system-arm along with -d > in_asm,int,exec,cpu,guest_errors,unimp in the end i get this: Adding '-d nochain' and '-singlestep' will make t

Re: Blank screen for hello world qemu-4.2.0

2021-07-23 Thread abhijeet inamdar
Hi, What information does this give me and how do I need to sort it out? after running qemu-system-arm along with -d in_asm,int,exec,cpu,guest_errors,unimp in the end i get this: IN: Reset_Handler 0x050c: f7ff fff0 bl #0x4f0 Trace 0: 0x7f27e05ce100 [/050c/0x11c1] Rese

Re: Blank screen for hello world qemu-4.2.0

2021-07-23 Thread Peter Maydell
On Thu, 22 Jul 2021 at 22:27, abhijeet inamdar wrote: > > Hi, > > I downloaded the qemu-6.0.0. When I did ./configure inside qemu-6.0.0 > directory it say > ERROR: Cannot find ninja > > wherein I did install pip3 install Ninja. > > What should I do? You should install ninja, which is not a Pytho

Re: Blank screen for hello world qemu-4.2.0

2021-07-22 Thread abhijeet inamdar
Hi, I downloaded the qemu-6.0.0. When I did ./configure inside qemu-6.0.0 directory it say ERROR: Cannot find ninja wherein I did install pip3 install Ninja. What should I do? Thank you, Abhijeet. On Thu, Jul 22, 2021, 15:26 Peter Maydell wrote: > On Thu, 22 Jul 2021 at 13:57, abhijeet inamd

Re: Blank screen for hello world qemu-4.2.0

2021-07-22 Thread Peter Maydell
On Thu, 22 Jul 2021 at 13:57, abhijeet inamdar wrote: > I have been trying to create my own machine and execute a hello_world on > QEMU-4.2.0. I created mymachine.c in hw/arm and have my hello_world.c, > mymachine.ld and startup_ARMCM3.S in qemu-4.2.0/proj. QEMU 4.2 is pretty old, I'm not sure