<div dir="ltr">Hi,<div>As far as I know, the raspberry Pi binaries will not run on the arm GDB sim. There may be a suitable QEMU based Raspberry Pi simulator. That would be a good option to try.</div><div><br></div><div>Alan</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 11, 2015 at 9:42 PM, QIAO YANG <span dir="ltr"><<a href="mailto:yangqiao0505@me.com" target="_blank">yangqiao0505@me.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Hello ,<br><br>I was wondering if the raspberry pi samples can run on arm-rtems4.11-gdb. I thought I had done the compilations correctly according to Mr Alan's blog, but it just stand still when running the sample in the simulator. <br><br>I'm not sure if it's my problem or it can only run on a real rpi board.  If it's my own problem I'll double check what I've done, if not I've got to wait until next week to post my hello demo when the cable arrives.<br><br>here's the output of gdb:<br><br><span style="font-size:13px">Reading symbols from ./arm-rtems4.11/c/raspberrypi/testsuites/samples/hello/hello.exe...done.</span><br><span style="font-size:13px">(gdb) tar sim</span><br><span style="font-size:13px">Connected to the simulator.</span><br><span style="font-size:13px">(gdb) load</span><br><span style="font-size:13px">Loading section .start, size 0x340 vma 0x8000</span><br><span style="font-size:13px">Loading section .text, size 0x17920 vma 0x8340</span><br><span style="font-size:13px">Loading section .init, size 0x18 vma 0x1fc60</span><br><span style="font-size:13px">Loading section .fini, size 0x18 vma 0x1fc78</span><br><span style="font-size:13px">Loading section .rodata, size 0xc30 vma 0x100000</span><br><span style="font-size:13px">Loading section .ARM.exidx, size 0x8 vma 0x100c30</span><br><span style="font-size:13px">Loading section .eh_frame, size 0x48 vma 0x100c38</span><br><span style="font-size:13px">Loading section .init_array, size 0x4 vma 0x100c80</span><br><span style="font-size:13px">Loading section .fini_array, size 0x4 vma 0x100c84</span><br><span style="font-size:13px">Loading section .jcr, size 0x4 vma 0x100c88</span><br><span style="font-size:13px">Loading section .data, size 0x5e8 vma 0x100c90</span><br><span style="font-size:13px">Start address 0x8040</span><br><span style="font-size:13px">Transfer rate: 817184 bits in <1 sec.</span><br><span style="font-size:13px">(gdb) r</span><br><span style="font-size:13px">Starting program: /home/yangqiao/development/rtems/build-rtems-rpi/arm-rtems4.11/c/raspberrypi/testsuites/samples/hello/hello.exe</span><br><br>Best regards,<br></div></div></blockquote></div><br></div>