Page 1 of 1

ARM emulation

Posted: Sat Sep 25, 2010 3:30 am
by Beastie
Hi guys,

I'm currently experimenting the ARM arch.
Most emulators like qemu runs elf executables, However I want to run my binary bootloader. How can I achieve it ?

Re: ARM emulation

Posted: Sat Sep 25, 2010 9:34 am
by JamesM
Beastie wrote:Hi guys,

I'm currently experimenting the ARM arch.
Most emulators like qemu runs elf executables, However I want to run my binary bootloader. How can I achieve it ?
Use qemu's "qemu-system-arm" executable, not the "qemu-arm" one (the latter is for user mode, and only runs ELFs).

qemu's system emulator also accepts ELFs (with the -kernel option), but this is indended for quick booting of linux images. It will accept any normal boot media (such as the mtdblock flash found in beagleboards) and boot off that.