<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Sep 22, 2019, 1:22 PM Niteesh <<a href="mailto:gsnb.gn@gmail.com">gsnb.gn@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Sorry, for so many questions.<div>But I was actually following the latest quick start guide, but it is lacking information on building and running applications, the last page on quick start section was about testing the BSP. That's why I had to refer to the old wiki section.</div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto"></div><div dir="auto"><span style="font-family:sans-serif">The doc has been updated recently and I don't know if someone is working</span><span style="font-family:sans-serif"> on it</span><span style="font-family:sans-serif"> or not. I see a todo section there, which probably is for building and running apps. </span><br></div><div dir="auto"><span style="font-family:sans-serif"><br></span></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>how could I patch this?</div></div></blockquote></div></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div></div></div></blockquote></div></div><div dir="auto">Everyone: Where to add the guide to build and run hello world in docs?</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br></blockquote><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Sep 22, 2019 at 1:01 PM Vijay Kumar Banerjee a<<a href="mailto:vijaykumar9597@gmail.com" target="_blank" rel="noreferrer">vijaykumar9597@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Sep 22, 2019 at 12:59 PM Niteesh <<a href="mailto:gsnb.gn@gmail.com" target="_blank" rel="noreferrer">gsnb.gn@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><a href="https://devel.rtems.org/wiki/TBR/UserManual/Quick_Start#Running" target="_blank" rel="noreferrer">https://devel.rtems.org/wiki/TBR/UserManual/Quick_Start#Running</a><br><div><br></div><div>I actually changed the rtems version from 4.11 to 5 in the command, there was no documentation about the change in version 5.</div></div><br></blockquote><div>This wiki page is a bit outdated and marked as "To be removed". You should </div><div>follow the latest docs quickstart guide:</div><div><a href="https://docs.rtems.org/branches/master/user/start/index.html" target="_blank" rel="noreferrer">https://docs.rtems.org/branches/master/user/start/index.html</a> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Sep 22, 2019 at 12:30 PM Vijay Kumar Banerjee <<a href="mailto:vijaykumar9597@gmail.com" target="_blank" rel="noreferrer">vijaykumar9597@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello,</div><div><br></div><div>I just checked that the built-in sis in gdb has been disabled in this</div><div>commit:</div><div><a href="https://git.rtems.org/rtems-source-builder/commit/?id=abc540105d10ddc9cad7de3c7ac0a9aa209ac828" target="_blank" rel="noreferrer">https://git.rtems.org/rtems-source-builder/commit/?id=abc540105d10ddc9cad7de3c7ac0a9aa209ac828</a></div><div><br></div><div>Niteesh: This means that the command you should use is `sparc-rtems5-sis`.</div><div>Can you please post the link to the exact page where the `sparc-rtems5-gdb`</div><div>steps are mentioned with `tar sim`? I think this would need to be updated and</div><div>you can propose a patch for this.</div><div><br></div><div>Best regards,</div><div>Vijay </div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Sep 22, 2019 at 11:04 AM Vijay Kumar Banerjee <<a href="mailto:vijaykumar9597@gmail.com" target="_blank" rel="noreferrer">vijaykumar9597@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br clear="all"><div><div dir="ltr" class="m_-6157573201673090780gmail-m_3793676430676188885gmail-m_56015457365365699gmail-m_-8642564573768926652gmail-m_518199353524897344gmail_signature"><div dir="ltr"><div dir="ltr"><br></div></div></div></div></div>( Please use the reply to all option to keep the conversation on the list )<br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Sep 22, 2019 at 10:50 AM Niteesh <<a href="mailto:gsnb.gn@gmail.com" target="_blank" rel="noreferrer">gsnb.gn@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><pre style="box-sizing:border-box;font-family:Consolas,"Andale Mono WT","Andale Mono","Lucida Console","Lucida Sans Typewriter","DejaVu Sans Mono","Bitstream Vera Sans Mono","Liberation Mono","Nimbus Mono L",Monaco,"Courier New",Courier,monospace;font-size:12px;margin-top:0px;margin-bottom:0px;padding:12px;line-height:1.5;overflow:auto;color:rgb(64,64,64)">bsp: erc32</pre><pre style="box-sizing:border-box;font-family:Consolas,"Andale Mono WT","Andale Mono","Lucida Console","Lucida Sans Typewriter","DejaVu Sans Mono","Bitstream Vera Sans Mono","Liberation Mono","Nimbus Mono L",Monaco,"Courier New",Courier,monospace;font-size:12px;margin-top:0px;margin-bottom:0px;padding:12px;line-height:1.5;overflow:auto;color:rgb(64,64,64)">arch: sparc</pre></div></blockquote><div>Odd. It is expected to work in erc32 if your build is right. I don't have a</div><div>recent sparc build so I can't verify right now.</div><div>Let's wait for other people to join and help with the issue. :)</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Sep 22, 2019 at 10:49 AM Vijay Kumar Banerjee <<a href="mailto:vijaykumar9597@gmail.com" target="_blank" rel="noreferrer">vijaykumar9597@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Sep 22, 2019 at 10:35 AM Niteesh <<a href="mailto:gsnb.gn@gmail.com" target="_blank" rel="noreferrer">gsnb.gn@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">The problem actually occurred when I was trying to run the hello.exe with gdb.<div>1: <b>sparc-rtems5-gdb hello.exe</b></div><div>and inside gdb to set the target as simulator.</div><div>2: <b>tar sim</b></div><div><b><br></b></div></div></blockquote><div>This is the expected sequence, what BSP are you using? </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><b></b></div><div>(gdb) tar sim<br>Undefined target command: "sim". Try "help target".<br></div><div><br></div><div>While going through some stackoverflow posts I found that to target simulators --enable-sim has to given while building gdb, Is this the problem or am I missing something?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Sep 22, 2019 at 10:29 AM Vijay Kumar Banerjee <<a href="mailto:vijaykumar9597@gmail.com" target="_blank" rel="noreferrer">vijaykumar9597@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Sep 22, 2019 at 10:01 AM Niteesh <<a href="mailto:gsnb.gn@gmail.com" target="_blank" rel="noreferrer">gsnb.gn@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I was following the quick-start guide from<br>
<a href="https://docs.rtems.org/branches/master/user/start/index.html" rel="noreferrer noreferrer" target="_blank">https://docs.rtems.org/branches/master/user/start/index.html</a><br>
I followed the exact steps but still couldn't get the hello world<br>
running. I face issues when running the GDB, when trying to set the<br>
target to simulator I get "undefined target cmd: sim",<br>
Is it an issue on my side or is something missing in the docs?<br></blockquote><div>Hi Niteesh,</div><div><br></div><div>Usually, it is enough to post to any one of devel or users list.</div><div><br></div><div>Can you please post the exact command sequence that gave you the</div><div>error? You can copy the command output here if it's not long, or paste</div><div>it somewhere like a github gist and send the link here.</div><div><br></div><div>Best regards,</div><div>Vijay</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank" rel="noreferrer">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div></div>
</blockquote></div>
</blockquote></div></div>
</blockquote></div>
</blockquote></div></div>
</blockquote></div></div>
</blockquote></div>
</blockquote></div></div>
</blockquote></div>
</blockquote></div></div></div>