<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Nov 21, 2019 at 2:49 AM Joel Sherrill <<a href="mailto:joel@rtems.org">joel@rtems.org</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 Tue, Nov 19, 2019 at 10:43 PM Niteesh <<a href="mailto:gsnb.gn@gmail.com" target="_blank">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="auto"><div>Hii charles,<br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 20 Nov, 2019, 7:37 AM Charles Manning, <<a href="mailto:cdhmanning@gmail.com" rel="noreferrer" target="_blank">cdhmanning@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>Hi</div><div><br></div><div>I am starting out with RTEMS and want to get through the first steps from zero to running a hello world application on a simulator, qemu etc.</div><div><br></div><div>Unfortunately <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> ends up failing the BSP test in 2.7</div></div></blockquote></div></div><div dir="auto">The tests fail because the target sim was removed from gdb to a standalone application, so you have to use erc32-sis instead of erc32, this will use the new sis instead of gdb sis.</div><div dir="auto"><div class="gmail_quote"><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> and in a TODO at step 2.8 leaves me hanging for more...</div></div></blockquote></div></div><div dir="auto">I am not really sure about this, but the way how the did it was, to modify the hello world program in the source and make in your bsp directory.</div><div dir="auto">To run the program use the sparc-rtems5-sis or run with the file name.</div></div></blockquote><div><br></div><div>It's in my TODO list. It takes time to sweep through everywhere on volunteer time. The use of sis in gdb has been the same for erc32 since ~1994 so there may be some lingering references even after hitting the obvious ones.</div><div><br></div><div>This is a simple script to run one erc32 exe.</div><div><br></div><div>======================</div><div>#! /bin/bash<br><br>sparc-rtems5-sis -leon3 -nouartrx -r -tlim 200 s -m 4 $*<br></div><div>================</div><div><br></div><div>For use with gdb, add "-gdb" as an argument to sis. Run sis in one terminal and "sparc-rtems5-gdb EXE" in another.</div><div><br></div><div>(gdb) target remote :1234</div><div>(gdb) load</div><div>(gdb) continue</div><div><br></div><div>You can abbreviate most of those commands.</div><div><br></div><div>Once this works for you, please take a shot at fixing the Users Guide and wiki Hello World page. It would be nice to have some screen shots showing a run and a gdb session. The wiki page should really reference the Users Guide for most of the details. Nothing should be duplicated. Unfortunately, it is.</div><div><br></div><div>I have been noting that this change occurred in June 2019 so any RTEMS release or tool version before that date uses the old procedure and after that date uses the new one. </div><div><br></div><div>I hope this helps.</div><div><br></div><div>--joel</div><div><br></div><br></div></div></blockquote><div><br></div><div>Thank you everyone</div><div><br></div><div>I do understand the issue with getting everything done by volunteers having been part of OSS for 20 years or so.</div><div><br></div><div>Two things that would make it easier to get going would be:</div><div>1) adding the erc32-sis patch to <a href="https://docs.rtems.org/branches/master/user/start/bsp-test.html">https://docs.rtems.org/branches/master/user/start/bsp-test.html</a></div><div>2) Fleshing out <a href="https://docs.rtems.org/branches/master/user/start/app.html">https://docs.rtems.org/branches/master/user/start/app.html</a> with a brief compile and run example.</div><div><br></div><div>Thank you again, I very much appreciate the help.</div><div><br></div><div>Regards</div><div><br></div><div>Charles</div><div><br></div></div></div>