<div dir="ltr"><div><div>The gdb simulator does not support the Raspberry Pi. There was a recent post indicating you can build a Qemu version taht simulates RPi with <a href="http://wiki.osdev.org/Raspberry_Pi_Bare_Bones#Testing_your_operating_system_.28QEMU.29" rel="noreferrer" target="_blank">http://wiki.osdev.org/Raspberry_Pi_Bare_Bones#Testing_your_operating_system_.28QEMU.29</a><br><br></div>But since you have the board itself, you might want to just try loading the image to it? Alan Cudmore had posted a blog post on how to do this you might search for.<br><br></div>Gedare<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 28, 2015 at 3:07 PM, Deval Shah <span dir="ltr"><<a href="mailto:deval.maker@gmail.com" target="_blank">deval.maker@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello everyone,<div>I am new to RTEMS users group. I recently started working with RTEMS and with the help of quick start guide, I could build and simulate sparc-rtems successfully. </div><div><br></div><div>Since I have a Raspberry PI B+ model, I wanted to run RTEMS on it. But I could not get through. I built using following command and it was successfully built. </div><div>$ ../rtems/configure --target=arm-rtems4.11 --enable-rtemsbsp=raspberrypi  --enable-tests=samples  --enable-networking  --enable-posix</div><div><br></div><div>I also tried to make an image of ticker sample(arm-rtems4.11-objcopy -Obinary ticker.exe kernel.img). But I didn't get anything to the serial port. (Using USB to TTL cable and minicom software in host) I followed this link: <a href="http://alanstechnotes.blogspot.in/2013/03/running-your-first-rtems-program-on.html" target="_blank">http://alanstechnotes.blogspot.in/2013/03/running-your-first-rtems-program-on.html</a> </div><div> </div><div>Running on simulator gave me this results:</div><div><br></div><div><div>GNU gdb (GDB) 7.9</div><div>Copyright (C) 2015 Free Software Foundation, Inc.</div><div>License GPLv3+: GNU GPL version 3 or later <<a href="http://s.bl-1.com/h/qmh6Jvg?url=http://gnu.org/licenses/gpl.html%3E" target="_blank">http://gnu.org/licenses/gpl.html></a>;</div><div>This is free software: you are free to change and redistribute it.</div><div>There is NO WARRANTY, to the extent permitted by law.  Type "show copying"</div><div>and "show warranty" for details.</div><div>This GDB was configured as "--host=x86_64-linux-gnu --target=arm-rtems4.11".</div><div>Type "show configuration" for configuration details.</div><div>For bug reporting instructions, please see:</div><div><<a href="http://s.bl-1.com/h/qmh6NJj?url=http://www.gnu.org/software/gdb/bugs/%3E" target="_blank">http://www.gnu.org/software/gdb/bugs/></a>;.</div><div>Find the GDB manual and other documentation resources online at:</div><div><<a href="http://s.bl-1.com/h/qmh6Tjl?url=http://www.gnu.org/software/gdb/documentation/%3E" target="_blank">http://www.gnu.org/software/gdb/documentation/></a>;.</div><div>For help, type "help".</div><div>Type "apropos word" to search for commands related to "word"...</div><div>Reading symbols from ./arm-rtems4.11/c/raspberrypi/testsuites/samples/ticker/ticker.exe...done.</div><div>(gdb) tar sim</div><div>Connected to the simulator.</div><div>(gdb) load</div><div>Loading section .start, size 0x340 vma 0x8000</div><div>Loading section .text, size 0x156a0 vma 0x8340</div><div>Loading section .init, size 0x18 vma 0x1d9e0</div><div>Loading section .fini, size 0x18 vma 0x1d9f8</div><div>Loading section .rodata, size 0x1290 vma 0x100000</div><div>Loading section .ARM.exidx, size 0x8 vma 0x101290</div><div>Loading section .eh_frame, size 0x48 vma 0x101298</div><div>Loading section .init_array, size 0x4 vma 0x1012e0</div><div>Loading section .fini_array, size 0x4 vma 0x1012e4</div><div>Loading section .jcr, size 0x4 vma 0x1012e8</div><div>Loading section .data, size 0x698 vma 0x1012f0</div><div>Start address 0x8040</div><div>Transfer rate: 760992 bits in <1 sec.</div><div>(gdb) r</div><div>Starting program: /home/deval/development/rtems/b-rpi/arm-rtems4.11/c/raspberrypi/testsuites/samples/ticker/ticker.exe </div><div>sim: MULTIPLY64 - INVALID ARGUMENTS</div><div>sim: MULTIPLY64 - INVALID ARGUMENTS</div><div>sim: MULTIPLY64 - INVALID ARGUMENTS</div><div>sim: MULTIPLY64 - INVALID ARGUMENTS</div><div>[Inferior 1 (process 42000) exited with code 035]</div></div><div><br></div><div>Thank you.</div><div>Deval</div><div><br></div><div hspace="streak-pt-mark" style="max-height:1px"><img style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aZGV2YWwubWFrZXJAZ21haWwuY29t&type=zerocontent&guid=4079ef29-ed16-4d99-9bfb-5ffd816f2a03"><font color="#ffffff" size="1">ᐧ</font></div><img src="http://s.bl-1.com/k8WZ2H8.gif" height="1" width="1"></div>
<br>_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/users</a><br></blockquote></div><br></div>