ARM RTEMS 4.11 Test Errors

furkan bodur furkanbdr at gmail.com
Fri Nov 22 00:40:21 UTC 2019


Hi, I am trying to learn RTEMS for my graduation project. I am going to use
Beagle Black in project so I changed "sparc" and "erc32" parameters into
"arm" and "beagleboneblack". I successfully build RSB and Kernel but when I
try to run Hello.exe with arm-rtems4.11-run or arm-rtems4.11-gdb command, I
can't get the output even though there are no errors. Here is the command
and output,
---------
$ arm-rtems4.11-gdb hello.exe
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
>
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/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from hello.exe...done.
(gdb) tar sim
Connected to the simulator.
(gdb) load
Loading section .start, size 0x3b0 vma 0x80000000
Loading section .text, size 0x1934c vma 0x800003b0
Loading section .init, size 0x18 vma 0x800196fc
Loading section .fini, size 0x18 vma 0x80019714
Loading section .rodata, size 0xe68 vma 0x80019730
Loading section .ARM.exidx, size 0x8 vma 0x8001a598
Loading section .eh_frame, size 0x48 vma 0x8001a5a0
Loading section .init_array, size 0x4 vma 0x8001a5e8
Loading section .fini_array, size 0x4 vma 0x8001a5ec
Loading section .jcr, size 0x4 vma 0x8001a5f0
Loading section .data, size 0x680 vma 0x80101400
Start address 0x80000040
Transfer rate: 877440 bits in <1 sec.
(gdb) r
Starting program:
/home/furkan/quick-start/build/beagleboneblack/arm-rtems4.11/c/beagleboneblack/testsuites/samples/hello/hello.exe
[Inferior 1 (process 42000) exited normally]
(gdb)
---------

Also when I try to work rtems-test command, I am getting this error.
---------
 $ rtems-test
error: no hosts defaults found; please add
---------

I used this command for building RSB,
---------
$HOME/quick-start/src/rtems/configure \
    --prefix=$HOME/quick-start/rtems/4.11\
    --enable-maintainer-mode \
    --target=arm-rtems4.11 \
    --enable-rtemsbsp=beagleboneblack \
    --enable-tests
---------

I tried to do work with RTEMS 5 but I got similar errors. One of them was
about the gdb after that I decided to turn 4.11. Where am I doing mistake?
I just want to see Hello Word output in my screen. I hope I can explain
myself. Please help me.
Thanks in advance.
Furkan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20191122/2e38cade/attachment.html>


More information about the users mailing list