Simulation RTEMS5 qemuprep

Matthew Gann mgann at
Tue Aug 28 15:10:37 UTC 2018

I ran through the build on RTEMS5 for qemuprep, including the sample
tests.  I was also able to build the "examples-v2" code for qemuprep.  I'm
running into issues trying to launch the emulator, though.

On RTEMS 4.11 I'd been able to run the all the samples on the emulator with
the following command:

qemu-system-ppc -M prep -cpu 604 -bios ${RTEMS_PATH:?Need to source}/bsp/powerpc-rtems4.11/qemuprep/lib/qemu_fakerom.bin
-append "--console=/dev/com1" -monitor stdio -vga none -kernel

On RTEMS 5 I can no longer find the *.ralf files.  I've tried running
qemu-system-ppc against the ELF files (*.exe) and I've tried using
powerpc-rtems5-objcopy to convert them to *.ralf files and run them, with
no success (*powerpc-rtems-objcopy -O binary -R .comment -S hello/hello.exe
hello.ralf*).  I've tried running the emulator with the same options as
RTEMS4 (and every variation I can think of) and I get serial0 console as my
only output, which I suspect is qemu displaying something.  I've tried
-nographic as well, which just gives no output.

Can someone provide a bit of guidance on getting qemuprep running in qemu
on RTEMS5?

Thanks in advance

Matthew Gann
mgann at
Senior Engineer - Paragon Research Corporation

This message is intended for the addressee only and may contain Paragon 
Research Corporation (PRC) confidential or privileged information.  Use or 
distribution of such confidential information is strictly prohibited 
without the prior written permission of PRC.  If you have received this 
message in error, please contact the sender immediately and delete the 
message and attachments from your computer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list