Using MPC750/MCP750, QEMUPREP, Or QEMUPPC?

DiGiorgio, Joseph jdigiorg at ball.com
Mon Jan 23 19:33:29 UTC 2017


I am trying to run RTEMS on QEMU using ideally the mpc750 target and as a secondary PReP. I have run into a few issues so far and will outline them below.

1) This is more of a curiosity thing than  something majorly important, but is the Power PC 750 target mis-labeled as "mcp750"? All the documentation I have come across says "MPC750" and searching for "MCP750" via Google pulls up mostly RTEMS documentation and one Motorola document that is not available, but cached by Google with headings as "MCP750", but in the body text uses "MPC750".

2) I ideally want to run the 750 target and am able to build RTEMS just fine, but cannot find documentation on using that particular target in QEMU. If anyone can point me in the right direction, the rest of the issues below become less important.

3) I decided to try the "qemu" targets for PPC. I found both "qemuppc" and "qemuprep" at https://devel.rtems.org/wiki/TBR/BSP and only "qemuprep" at https://devel.rtems.org/wiki/TBR/Website/Board_Support_Packages#PowerPCBSPs.  I was wary of "qemuprep" since it has question marks next to it, so I tried "qemuppc". That built just fine, but did not see any documentation using "qemuppc" RTEMS in QEMU. I was going to adapt https://devel.rtems.org/wiki/Developer/Simulators/QEMU/Preparation , but did not see a built fakerom bin file.

4) I then tried "qemuprep" since it has documentation, but it fails building for "fsdosfssync01.exe" (ld returned 1 exit status) See below actual output

So I guess has anyone had success running RTEMS in QEMU using any of the above PPC targets or something close enough to the above targets that I can get a sample working?


QEMUPReP Build Error Output:

    Making all in fsdosfssync01
    make[6]: Entering directory '/home/xubuntu/Development/RTEMS/RTEMS_OS/build/powerpc-rtems4.11/c/qemuprep/testsuites/fstests/fsdosfssync01'
    powerpc-rtems4.11-gcc -B../../../../../qemuprep/lib/ -specs bsp_specs -qrtems -DHAVE_CONFIG_H -I. -I../../../../../../../Source/c/src/../../testsuites/fstests/fsdosfssync01 -I..  -I../../../../../../../Source/c/src/../../testsuites/fstests/../support/include   -mcpu=powerpc -mmultiple -mstring -mstrict-align -D__ppc_generic -O2 -g -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT init.o -MD -MP -MF .deps/init.Tpo -c -o init.o ../../../../../../../Source/c/src/../../testsuites/fstests/fsdosfssync01/init.c
    mv -f .deps/init.Tpo .deps/init.Po
    powerpc-rtems4.11-gcc -B../../../../../qemuprep/lib/ -specs bsp_specs -qrtems -mcpu=powerpc -mmultiple -mstring -mstrict-align -D__ppc_generic -O2 -g -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs    -mcpu=powerpc -mmultiple -mstring -mstrict-align -D__ppc_generic   -o fsdosfssync01.exe init.o
    collect2: error: ld returned 1 exit status
    Makefile:618: recipe for target 'fsdosfssync01.exe' failed
    make[6]: *** [fsdosfssync01.exe] Error 1
    make[6]: Leaving directory '/home/xubuntu/Development/RTEMS/RTEMS_OS/build/powerpc-rtems4.11/c/qemuprep/testsuites/fstests/fsdosfssync01'
    Makefile:585: recipe for target 'all-local' failed
    make[5]: *** [all-local] Error 1
    make[5]: Leaving directory '/home/xubuntu/Development/RTEMS/RTEMS_OS/build/powerpc-rtems4.11/c/qemuprep/testsuites/fstests'
    Makefile:247: recipe for target 'all' failed
    make[4]: *** [all] Error 2
    make[4]: Leaving directory '/home/xubuntu/Development/RTEMS/RTEMS_OS/build/powerpc-rtems4.11/c/qemuprep/testsuites/fstests'
    Makefile:314: recipe for target 'all-recursive' failed
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory '/home/xubuntu/Development/RTEMS/RTEMS_OS/build/powerpc-rtems4.11/c/qemuprep/testsuites'
    Makefile:425: recipe for target 'all-recursive' failed
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory '/home/xubuntu/Development/RTEMS/RTEMS_OS/build/powerpc-rtems4.11/c/qemuprep'
    Makefile:286: recipe for target 'all-recursive' failed
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory '/home/xubuntu/Development/RTEMS/RTEMS_OS/build/powerpc-rtems4.11/c'
    Makefile:410: recipe for target 'all-recursive' failed
    make: *** [all-recursive] Error 1

- Joey D.



This message and any enclosures are intended only for the addressee.  Please 
notify the sender by email if you are not the intended recipient.  If you are 
not the intended recipient, you may not use, copy, disclose, or distribute this 
message or its contents or enclosures to any other person and any such actions 
may be unlawful.  Ball reserves the right to monitor and review all messages 
and enclosures sent to or from this email address.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20170123/8b3dac1b/attachment-0001.html>


More information about the users mailing list