problem when runing rpi sample on gdb simu
Alan Cudmore
alan.cudmore at gmail.com
Thu Mar 12 13:52:15 UTC 2015
Hi,
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.
Alan
On Wed, Mar 11, 2015 at 9:42 PM, QIAO YANG <yangqiao0505 at me.com> wrote:
> Hello ,
>
> 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.
>
> 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.
>
> here's the output of gdb:
>
> Reading symbols from
> ./arm-rtems4.11/c/raspberrypi/testsuites/samples/hello/hello.exe...done.
> (gdb) tar sim
> Connected to the simulator.
> (gdb) load
> Loading section .start, size 0x340 vma 0x8000
> Loading section .text, size 0x17920 vma 0x8340
> Loading section .init, size 0x18 vma 0x1fc60
> Loading section .fini, size 0x18 vma 0x1fc78
> Loading section .rodata, size 0xc30 vma 0x100000
> Loading section .ARM.exidx, size 0x8 vma 0x100c30
> Loading section .eh_frame, size 0x48 vma 0x100c38
> Loading section .init_array, size 0x4 vma 0x100c80
> Loading section .fini_array, size 0x4 vma 0x100c84
> Loading section .jcr, size 0x4 vma 0x100c88
> Loading section .data, size 0x5e8 vma 0x100c90
> Start address 0x8040
> Transfer rate: 817184 bits in <1 sec.
> (gdb) r
> Starting program:
> /home/yangqiao/development/rtems/build-rtems-rpi/arm-rtems4.11/c/raspberrypi/testsuites/samples/hello/hello.exe
>
> Best regards,
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20150312/cd3e793a/attachment-0002.html>
More information about the devel
mailing list