Re: [Qemu-devel] standalone C program Hello World on qemu-system-mipsel

2011-07-03 Thread Leo Chen.
Hi, Andreas Thanks for your reply. I tried the -bios *.elf: qemu-system-mipsel -M mipssim -nographic -bios bin/test.elf The result is the same with -kernel *.elf: C program can work, but the serial port still not working. And I also tried the normal way: -kernel *.bin

[Qemu-devel] standalone C program Hello World on qemu-system-mipsel

2011-07-02 Thread Leo Chen.
Hi, all I am trying to run a standalone C program Hello World on qemu-system-mipsel, but it failed to print the message via serial port. What I have done now (step by step): 1. Successfully run a standalone C program Hello World on qemu-system-arm, by following this guide:

Re: [Qemu-devel] standalone C program Hello World on qemu-system-mipsel

2011-07-02 Thread Andreas Färber
Hi, Am 02.07.2011 um 08:13 schrieb Leo Chen.: qemu-system-mipsel -M mipssim -nographic -kernel bin/test.elf or qemu-system-mipsel -M malta -nographic -kernel bin/test.elf The use of -kernel for a random ELF executable looks strange, even if it happens to work on arm. Have you tried -bios