Need help in getting started with Raspberry PI

Deval Shah deval.maker at gmail.com
Tue Jul 28 19:07:42 UTC 2015


Hello everyone,
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.

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.
$ ../rtems/configure --target=arm-rtems4.11 --enable-rtemsbsp=raspberrypi
 --enable-tests=samples  --enable-networking  --enable-posix

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:
http://alanstechnotes.blogspot.in/2013/03/running-your-first-rtems-program-on.html


Running on simulator gave me this results:

GNU gdb (GDB) 7.9
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <
http://gnu.org/licenses/gpl.html>
<http://s.bl-1.com/h/qmh6Jvg?url=http://gnu.org/licenses/gpl.html%3E>;
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-linux-gnu --target=arm-rtems4.11".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>
<http://s.bl-1.com/h/qmh6NJj?url=http://www.gnu.org/software/gdb/bugs/%3E>;.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>
<http://s.bl-1.com/h/qmh6Tjl?url=http://www.gnu.org/software/gdb/documentation/%3E>
;.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from
./arm-rtems4.11/c/raspberrypi/testsuites/samples/ticker/ticker.exe...done.
(gdb) tar sim
Connected to the simulator.
(gdb) load
Loading section .start, size 0x340 vma 0x8000
Loading section .text, size 0x156a0 vma 0x8340
Loading section .init, size 0x18 vma 0x1d9e0
Loading section .fini, size 0x18 vma 0x1d9f8
Loading section .rodata, size 0x1290 vma 0x100000
Loading section .ARM.exidx, size 0x8 vma 0x101290
Loading section .eh_frame, size 0x48 vma 0x101298
Loading section .init_array, size 0x4 vma 0x1012e0
Loading section .fini_array, size 0x4 vma 0x1012e4
Loading section .jcr, size 0x4 vma 0x1012e8
Loading section .data, size 0x698 vma 0x1012f0
Start address 0x8040
Transfer rate: 760992 bits in <1 sec.
(gdb) r
Starting program:
/home/deval/development/rtems/b-rpi/arm-rtems4.11/c/raspberrypi/testsuites/samples/ticker/ticker.exe
sim: MULTIPLY64 - INVALID ARGUMENTS
sim: MULTIPLY64 - INVALID ARGUMENTS
sim: MULTIPLY64 - INVALID ARGUMENTS
sim: MULTIPLY64 - INVALID ARGUMENTS
[Inferior 1 (process 42000) exited with code 035]

Thank you.
Deval

ᐧ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20150729/a32953e1/attachment.html>


More information about the users mailing list