<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks Thomas and Joel,<div><br></div><div>I have moved my tools and RTEMS code version up to 4.10.2. I'd like to take a peek at the 5674F BSP to see what kind of changes were necessary to make it go together. Would I just take the CVS head of the libbsp/powerpc arm?</div><div><br></div><div>Is there anything weird that I would have to do to configure the ppc version of GCC to generate appropriate code? I will be using a e200z3 processor, whereas the 5674F uses an e200z7.</div><div><br></div><div>I'm probably doing something wrong, but right out of the box there is a problem with the mpc5566evb BSP, wherein when I compile a simple printf hello world test program, the compile bombs with:</div><div><br></div><div><div><font class="Apple-style-span" face="Courier">c:/opt/rtems-4.10/bin/../lib/gcc/powerpc-rtems4.10/4.4.6/../../../../powerpc-rtems4.10/bin/ld.exe:linkcmds.mpc5566evb:3: warning: redeclaration of memory region `ROM'</font></div><div><font class="Apple-style-span" face="Courier">c:/opt/rtems-4.10/bin/../lib/gcc/powerpc-rtems4.10/4.4.6/../../../../powerpc-rtems4.10/bin/ld.exe:linkcmds.mpc5566evb:4: warning: redeclaration of memory region `RAM'</font></div><div><font class="Apple-style-span" face="Courier">c:/opt/rtems-4.10/bin/../lib/gcc/powerpc-rtems4.10/4.4.6/../../../../powerpc-rtems4.10/bin/ld.exe:linkcmds.mpc5566evb:5: warning: redeclaration of memory region `RAM_EXT'</font></div><div><font class="Apple-style-span" face="Courier">c:/opt/rtems-4.10/bin/../lib/gcc/powerpc-rtems4.10/4.4.6/../../../../powerpc-rtems4.10/bin/ld.exe:linkcmds.mpc5566evb:6: warning: redeclaration of memory region `NIRVANA'</font></div><div><font class="Apple-style-span" face="Courier">c:/opt/rtems-4.10/bin/../lib/gcc/powerpc-rtems4.10/4.4.6/../../../../powerpc-rtems4.10/bin/ld.exe:linkcmds.mpc5566evb:23: error: redefinition of memory region alias `REGION_TEXT'</font></div><div><br></div><div>It looks like the linker files need a bit of work.</div><div><br></div><div>Andrei</div><div><br></div><div><div>On 2011-December-30, at 2:27 PM, Thomas Doerfler wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Andrei,<br><br>I am off site now, but my colleague Sebastian Huber is currently working<br>on the MPC55xx BSP, also adapting it to the MPC5674F, see<br><br><a href="http://wiki.rtems.org/wiki/index.php/MPC5674FEVB">http://wiki.rtems.org/wiki/index.php/MPC5674FEVB</a><br><br>But you should upgrade to the latest git version of RTEMS to work with it.<br><br>wkr,<br><br>Thomas.<br><br><br>The mpc55xx BSP is a framework, including adaptions for various boards<br>and chips, therefore it won't compile for a target "mpc55xx".<br>Am 30.12.2011 21:38, schrieb Andrei Chichak:<br><blockquote type="cite">Hey all,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">A while back I got a hand from Chris to get started with the MC68332,<br></blockquote><blockquote type="cite">then Eric Norum helped me get a BSP going for the Axiom CML5282, again<br></blockquote><blockquote type="cite">68K based.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Now I am getting going on one of Freescale's MPC5634M StarterTRAK dev<br></blockquote><blockquote type="cite">board. It uses a PPC with hardware floating point.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I am currently using RTEMS 4.9.4 on a windows VM using MINGW/MSYS. I<br></blockquote><blockquote type="cite">didn't move up to 4.10 yet, since it wasn't stable when I was working on<br></blockquote><blockquote type="cite">that project.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">To get the basics going I used:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">cd powerpc<br></blockquote><blockquote type="cite">../rtems-4.9.4/configure --target=powerpc-rtems4.9 \<br></blockquote><blockquote type="cite">--disable-itron \<br></blockquote><blockquote type="cite">--enable-posix \<br></blockquote><blockquote type="cite">--enable-rtemsbsp='mpc55xx' \<br></blockquote><blockquote type="cite">--enable-networking \<br></blockquote><blockquote type="cite">--disable-tests \<br></blockquote><blockquote type="cite">--prefix /c/opt/src/rtems/powerpc<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">make all install<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">since I figured that a 55xx would be within a million miles. This is<br></blockquote><blockquote type="cite">basically the same command that I use to set up for the m68k based BSPs<br></blockquote><blockquote type="cite">(with appropriate changes of parameters of course).<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">For some odd reason it looks like the 55xx BSP wasn't installed<br></blockquote><blockquote type="cite">properly, since it didn't compile the libraries for a couple of hours. <br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">It also looks like the distribution has the mpc55xx BSP and mpc55xxevb,<br></blockquote><blockquote type="cite">but it looks like portions are missing.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Is there someone using either the 5632M or a 55xx that can suggest a<br></blockquote><blockquote type="cite">better config command to get started?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Sorry that I'm not as concise and complete as you might hope, my first<br></blockquote><blockquote type="cite">language isn't German :-)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Andrei<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">rtems-users mailing list<br></blockquote><blockquote type="cite"><a href="mailto:rtems-users@rtems.org">rtems-users@rtems.org</a><br></blockquote><blockquote type="cite"><a href="http://www.rtems.org/mailman/listinfo/rtems-users">http://www.rtems.org/mailman/listinfo/rtems-users</a><br></blockquote><br><br>-- <br>--------------------------------------------<br>Embedded Brains GmbH<br>Thomas Doerfler           Obere Lagerstr. 30<br>D-82178 Puchheim          Germany<br>email: <a href="mailto:Thomas.Doerfler@embedded-brains.de">Thomas.Doerfler@embedded-brains.de</a><br>Phone: +49-89-18908079-2<br>Fax:   +49-89-18908079-9<br></div></blockquote></div><br></div></body></html>