Hello all,
I wish someone could help me here. Running a simple program on qemu is not easy for me. I tried to run baremetal hello world program and found this web page. (https://balau82.wordpress.com/2010/02/28/hello-world-for-bare-metal-arm-usi ng-qemu/) This page is somewhat so old, but I decided to give it a try. I followed the content except I changed " LDR sp, =stack_top" to "ldr x5, stack_top msr sp_el0, x5" (I'm not sure if this is ok BTW.) And I used aarch64-elf- tool (this is for baremetal). So the compile is ok until test.elf and test.bin. When I execute "qemu-system-aarch64 -M virt -cpu cortex-a57 -kernel test.bin -nographic" nothing comes out. What can be wrong? Chan Kim