<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I don't believe every BSP CPU model variant built for gdb arm sim<br>
actually works yet. I added them so we could ensure that we could<br>
at least build for those CPU model variants.<br>
<br>
Check the other variants to make sure it isn't something more<br>
fundamental. But most likely, this is just a case of laying the<br>
groundwork for someone <hint> to get it working. :)<br>
<br>
--joel<br>
<br>
On 04/10/2012 09:28 AM, hans meyer wrote:
<blockquote cite="mid:DUB112-W6986006DB9759D477E6D98BE340@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
<div dir="ltr">
Hi everyone, hope u had a nice easter weekend...<br>
<br>
I am just trying to get the hello world example ready to run on
the GDB ARM simulator.<br>
<br>
All i get is: <br>
<br>
claas@svezda ~/workspace/archive/rtems/examples-v2/hello $
arm-rtemseabi4.11-gdb ./hello_world_c/o-optimize/hello.exe <br>
GNU gdb (GDB) 7.4<br>
Copyright (C) 2012 Free Software Foundation, Inc.<br>
License GPLv3+: GNU GPL version 3 or later
<a class="moz-txt-link-rfc2396E" href="http://gnu.org/licenses/gpl.html"><http://gnu.org/licenses/gpl.html></a><br>
This is free software: you are free to change and redistribute
it.<br>
There is NO WARRANTY, to the extent permitted by law. Type
"show copying"<br>
and "show warranty" for details.<br>
This GDB was configured as "--host=x86_64-unknown-linux-gnu
--target=arm-rtemseabi4.11".<br>
For bug reporting instructions, please see:<br>
<a class="moz-txt-link-rfc2396E" href="http://www.gnu.org/software/gdb/bugs/"><http://www.gnu.org/software/gdb/bugs/></a>...<br>
Reading symbols from
/home/claas/workspace/archive/rtems/examples-v2/hello/hello_world_c/o-optimize/hello.exe...done.<br>
(gdb) target sim<br>
Connected to the simulator.<br>
(gdb) load<br>
Loading section .text, size 0x10ac8 vma 0x5c0<br>
Loading section .init, size 0x18 vma 0x11088<br>
Loading section .fini, size 0x18 vma 0x110a0<br>
Loading section .rodata, size 0x7e4 vma 0x110b8<br>
Loading section .ARM.extab, size 0x30 vma 0x1189c<br>
Loading section .ARM.exidx, size 0xe8 vma 0x118cc<br>
Loading section .eh_frame, size 0x4 vma 0x119b4<br>
Loading section .init_array, size 0x4 vma 0x119b8<br>
Loading section .fini_array, size 0x4 vma 0x119bc<br>
Loading section .jcr, size 0x4 vma 0x119c0<br>
Loading section .data, size 0x5e8 vma 0x119c8<br>
Start address 0x5c0<br>
Transfer rate: 577376 bits in <1 sec.<br>
(gdb) run<br>
Starting program:
/home/claas/workspace/archive/rtems/examples-v2/hello/hello_world_c/o-optimize/hello.exe
<br>
<br>
[process 42000] #1 stopped.<br>
0x00000108 in bsp_stack_fiq_begin ()<br>
(gdb) <br>
<br>
is that a correct behavior and am i just stupid or do u have any
hints what i did wrong?<br>
<br>
i built the toolchain following the guide here:
<a class="moz-txt-link-freetext" href="http://www.rtems.com/wiki/index.php/ARM-EABI">http://www.rtems.com/wiki/index.php/ARM-EABI</a><br>
<br>
and used the following configure options:<br>
<br>
../binutils-2.21/configure --target=arm-rtemseabi4.11
--prefix=/opt/rtems-4.11<br>
../gcc-4.6.2/configure --target=arm-rtemseabi4.11 --with-gnu-as
--with-gnu-ld --with-newlib --verbose --enable-threads
--enable-languages="c" --prefix=/opt/rtems-4.11<br>
../gdb-7.4/configure --target=arm-rtemseabi4.11
--prefix=/opt/rtems-4.11/<br>
../../archive/rtems/rtems/configure --target=arm-rtemseabi4.11
--disable-posix --disable-networking --disable-cxx
--prefix=/opt/rtems-4.11 --enable-rtemsbsp="csb336 csb337 csb637
kit637_v6 edb7312 gba arm1136jfs arm1136js arm7tdmi arm920
armcortexa9 gp32 gumstix lm3s6965 lpc17xx_ea_ram
lpc17xx_ea_rom_int lpc24xx_ea lpc24xx_ncs_ram
lpc24xx_ncs_rom_ext lpc24xx_ncs_rom_int lpc24xx_plx800_rom_int
lpc32xx_mzx lpc32xx_mzx_stage_1 lpc32xx_mzx_stage_2
lpc32xx_phycore nds rtl22xx rtl22xx_t smdk2410"<br>
<br>
RTEMS_MAKEFILE_PATH=/opt/rtems-4.11/arm-rtemseabi4.11/armcortexa9/<br>
<br>
greetz<br>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Joel Sherrill, Ph.D. Director of Research& Development
<a class="moz-txt-link-abbreviated" href="mailto:joel.sherrill@OARcorp.com">joel.sherrill@OARcorp.com</a> On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
</pre>
</body>
</html>