<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }body { font-size: 10.5pt; font-family: ????; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>Thanks a lot. Now I can load my application. </div>
<div><br></div><hr style="WIDTH: 210px; HEIGHT: 1px" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>xuelin.tian@qkmtech.com</div></div></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b> <a href="mailto:chrisj@rtems.org">Chris Johns</a></div><div><b>Date:</b> 2017-01-06 14:56</div><div><b>To:</b> <a href="mailto:xuelin.tian@qkmtech.com">xuelin.tian@qkmtech.com</a>; <a href="mailto:salpha.2004@gmail.com">Saeed Ehteshamifar</a></div><div><b>CC:</b> <a href="mailto:users@rtems.org">users@rtems.org</a></div><div><b>Subject:</b> Re: rtems dynamic loading with waf</div></div></div><div><div>On 6/1/17 2:33 pm, xuelin.tian@qkmtech.com wrote:</div>
<div>> Sure, as you mentioned, I used rtems-syms to generate the symbol table,</div>
<div>> like this: </div>
<div>> </div>
<div>> # rtems-syms -e -c "arm-rtems4.11-gcc ${CFLAGS1}" -o bk-symbol.o bkv01.elf </div>
<div>> </div>
<div>> And the "CFLAGS1" is</div>
<div>> "-qrtems -B/opt/rtems-4.11.1-release/4.11-bsp/arm-rtems4.11/lib -B/opt/rtems-4.11.1-release/4.11-bsp/arm-rtems4.11/xilinx_zynq_zedboard/lib/ --specs bsp_specs -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9". </div>
<div>> Then I loaded the bk-symbol.o into my RAM via ftp server, and my</div>
<div>> application app01.rap later. </div>
<div>> </div>
<div>> Am I wrong with something here?</div>
<div>> </div>
<div> </div>
<div>The command line for the symbols looks wrong. I have been working on</div>
<div>those command today and have some unreleased documentation that may help:</div>
<div> </div>
<div>https://ftp.rtems.org/pub/rtems/people/chrisj/docs/user/tools/index.html#rtems-symbols</div>
<div> </div>
<div>I suggest you:</div>
<div> </div>
<div>- remove the '-e' flags if you are not embedding the symbol table in the</div>
<div>base kernel image.</div>
<div> </div>
<div>- remove 'arm-rtems4.11-gcc' from '-c' option as this is the compiler</div>
<div>name and not a cflag.</div>
<div> </div>
<div>- if you are using a 4.12 build of rtems-syms with 4.11 you may need to</div>
<div>provide a suitable executable prefix via the '-E' option.</div>
<div> </div>
<div>I hope this helps.</div>
<div> </div>
<div>Chris</div>
</div></blockquote>
</body></html>