|Subject:||qemu hello world prints nothing..|
|Date:||Tue, 26 Jan 2021 16:01:37 +0900|
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.
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”
“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?
|[Prev in Thread]||Current Thread||[Next in Thread]|