<div dir="ltr">I propose Hesham to rebase his tree so I can rebase my tree against his one and send a pull request till the end of GSoC. </div><div class="gmail_extra"><br><div class="gmail_quote">2017-08-23 1:07 GMT+02:00 Joel Sherrill <span dir="ltr"><<a href="mailto:joel@rtems.org" target="_blank">joel@rtems.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Definitely looks like that tree is out of date a bit.<div><br></div><div>Looks like Heshams's tree needs to be rebased. Even better would</div><div>be merging it to <a href="http://rtems.org" target="_blank">rtems.org</a> if it is ready now. :)</div><span class="HOEnZb"><font color="#888888"><div><br></div></font></span><div><span class="HOEnZb"><font color="#888888">--joel</font></span><div><div class="h5"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 22, 2017 at 6:01 PM, Denis Obrezkov <span dir="ltr"><<a href="mailto:denisobrezkov@gmail.com" target="_blank">denisobrezkov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div><div class="m_581022734740417338h5"><div class="gmail_quote">2017-08-23 0:58 GMT+02:00 Joel Sherrill <span dir="ltr"><<a href="mailto:joel@rtems.org" target="_blank">joel@rtems.org</a>></span>:<br><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">I would guess that's the case:<div><br></div><div><div>$ cd rtems</div><div>[joel@localhost rtems]$ find . -name "_kernel*.h"</div><div>./cpukit/libcsupport/include/m<wbr>achine/_kernel_time.h</div><div>./cpukit/libcsupport/include/m<wbr>achine/_kernel_types.h</div><div>./cpukit/libcsupport/include/m<wbr>achine/_kernel_cpuset.h</div><div>./cpukit/libcsupport/include/m<wbr>achine/_kernel_param.h</div><div>./cpukit/libnetworking/machine<wbr>/_kernel_lock.h</div></div><div><br></div></div><div class="m_581022734740417338m_-284987927019391616gmail-HOEnZb"><div class="m_581022734740417338m_-284987927019391616gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 22, 2017 at 5:38 PM, Denis Obrezkov <span dir="ltr"><<a href="mailto:denisobrezkov@gmail.com" target="_blank">denisobrezkov@gmail.com</a>></span> wrote:<br><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 class="gmail_extra"><div><div class="m_581022734740417338m_-284987927019391616gmail-m_4368438999074689840h5"><div class="gmail_quote">2017-08-23 0:02 GMT+02:00 Denis Obrezkov <span dir="ltr"><<a href="mailto:denisobrezkov@gmail.com" target="_blank">denisobrezkov@gmail.com</a>></span>:<br><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 class="gmail_extra"><div><div class="m_581022734740417338m_-284987927019391616gmail-m_4368438999074689840m_-1889776556436379976h5"><div class="gmail_quote">2017-08-22 23:49 GMT+02:00 Joel Sherrill <span dir="ltr"><<a href="mailto:joel@rtems.org" target="_blank">joel@rtems.org</a>></span>:<br><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"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_581022734740417338m_-284987927019391616gmail-m_4368438999074689840m_-1889776556436379976m_-5632389952421516736gmail-h5">On Tue, Aug 22, 2017 at 4:25 PM, Denis Obrezkov <span dir="ltr"><<a href="mailto:denisobrezkov@gmail.com" target="_blank">denisobrezkov@gmail.com</a>></span> wrote:<br><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 class="gmail_extra"><div><div class="m_581022734740417338m_-284987927019391616gmail-m_4368438999074689840m_-1889776556436379976m_-5632389952421516736gmail-m_-1529227473656738787h5"><div class="gmail_quote">2017-08-22 22:09 GMT+02:00 Joel Sherrill <span dir="ltr"><<a href="mailto:joel@rtems.org" target="_blank">joel@rtems.org</a>></span>:<br><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">Sebastian,<div><br></div><div>Did you consciously not add riscv do rtems-all.bset? Or was it an</div><div>oversight?</div><div><br></div><div>Thanks for doing this. I was building on the master of the tools and</div><div>I haven't checked gdb for riscv but all targets did build.</div><span class="m_581022734740417338m_-284987927019391616gmail-m_4368438999074689840m_-1889776556436379976m_-5632389952421516736gmail-m_-1529227473656738787m_655067595462421569gmail-HOEnZb"><font color="#888888"><div><br></div><div>--joel</div></font></span></div><div class="m_581022734740417338m_-284987927019391616gmail-m_4368438999074689840m_-1889776556436379976m_-5632389952421516736gmail-m_-1529227473656738787m_655067595462421569gmail-HOEnZb"><div class="m_581022734740417338m_-284987927019391616gmail-m_4368438999074689840m_-1889776556436379976m_-5632389952421516736gmail-m_-1529227473656738787m_655067595462421569gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 22, 2017 at 9:55 AM, Denis Obrezkov <span dir="ltr"><<a href="mailto:denisobrezkov@gmail.com" target="_blank">denisobrezkov@gmail.com</a>></span> wrote:<br><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">Ok, I will try today</div><div class="gmail_extra"><span><br><div class="gmail_quote">2017-08-22 16:44 GMT+02:00 Gedare Bloom <span dir="ltr"><<a href="mailto:gedare@rtems.org" target="_blank">gedare@rtems.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Denis,<br>
<br>
Please confirm if this works for you.<br>
<div class="m_581022734740417338m_-284987927019391616gmail-m_4368438999074689840m_-1889776556436379976m_-5632389952421516736gmail-m_-1529227473656738787m_655067595462421569gmail-m_6957840711537872949m_5407206984696842320HOEnZb"><div class="m_581022734740417338m_-284987927019391616gmail-m_4368438999074689840m_-1889776556436379976m_-5632389952421516736gmail-m_-1529227473656738787m_655067595462421569gmail-m_6957840711537872949m_5407206984696842320h5"><br>
On Tue, Aug 22, 2017 at 9:17 AM, Sebastian Huber<br>
<<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brai<wbr>ns.de</a>> wrote:<br>
> Hello,<br>
><br>
> I added a basic RISC-V 32-bit tool chain to the RSB. It is based on the<br>
> latest Newlib snapshot and GCC 7.2. The GDB is not included. I guess for<br>
> this we have to update to GDB 8.0. I didn't test this tool chain.<br>
><br>
><br>
> Sebastian Huber, embedded brains GmbH<br>
><br>
> Address : Dornierstr. 4, D-82178 Puchheim, Germany<br>
> Phone : <a href="tel:%2B49%2089%20189%2047%2041-16" value="+4989189474116" target="_blank">+49 89 189 47 41-16</a><br>
> Fax : <a href="tel:%2B49%2089%20189%2047%2041-09" value="+4989189474109" target="_blank">+49 89 189 47 41-09</a><br>
> E-Mail : <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brain<wbr>s.de</a><br>
> PGP : Public key available on request.<br>
><br>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br>
><br>
> ______________________________<wbr>_________________<br>
> devel mailing list<br>
> <a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
> <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman<wbr>/listinfo/devel</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div></span><span class="m_581022734740417338m_-284987927019391616gmail-m_4368438999074689840m_-1889776556436379976m_-5632389952421516736gmail-m_-1529227473656738787m_655067595462421569gmail-m_6957840711537872949HOEnZb"><font color="#888888">-- <br><div class="m_581022734740417338m_-284987927019391616gmail-m_4368438999074689840m_-1889776556436379976m_-5632389952421516736gmail-m_-1529227473656738787m_655067595462421569gmail-m_6957840711537872949m_5407206984696842320gmail_signature">Regards, Denis Obrezkov</div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman<wbr>/listinfo/devel</a><br></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>I have the error:</div><div class="gmail_extra"><div class="gmail_extra">riscv32-rtems4.12-gcc --pipe -DHAVE_CONFIG_H -I.. -I../../cpukit/../../../hifive<wbr>1/lib/include -march=rv32imac -mabi=ilp32 -DFE3XX -Os -g -Wall -Wmissing-prototypes -Wimplicit-function-declaratio<wbr>n -Wstrict-prototypes -Wnested-externs -MT src/libscore_a-kern_tc.o -MD -MP -MF src/.deps/libscore_a-kern_tc.T<wbr>po -c -o src/libscore_a-kern_tc.o `test -f 'src/kern_tc.c' || echo '/home/reprofy/development/rte<wbr>ms/kernel/rtems-riscv/c/src/..<wbr>/../cpukit/score/'`src/kern_tc<wbr>.c</div><div class="gmail_extra">In file included from /home/reprofy/development/rtem<wbr>s/4.12/riscv32-rtems4.12/inclu<wbr>de/sys/_pthreadtypes.h:24:0,</div><div class="gmail_extra"> from /home/reprofy/development/rtem<wbr>s/4.12/riscv32-rtems4.12/inclu<wbr>de/sys/types.h:239,</div><div class="gmail_extra"> from /home/reprofy/development/rtem<wbr>s/4.12/riscv32-rtems4.12/inclu<wbr>de/sys/time.h:43,</div><div class="gmail_extra"> from ../../cpukit/../../../hifive1/<wbr>lib/include/rtems/score/timeco<wbr>unter.h:26,</div><div class="gmail_extra"> from ../../cpukit/../../../hifive1/<wbr>lib/include/rtems/score/timeco<wbr>unterimpl.h:26,</div><div class="gmail_extra"> from /home/reprofy/development/rtem<wbr>s/kernel/rtems-riscv/c/src/../<wbr>../cpukit/score/src/kern_tc.c:<wbr>36:</div><div class="gmail_extra">/home/reprofy/development/rtem<wbr>s/4.12/riscv32-rtems4.12/inclu<wbr>de/sys/cpuset.h:227:10: fatal error: machine/_kernel_cpuset.h: No such file or directory</div><div class="gmail_extra"> #include <machine/_kernel_cpuset.h></div><div class="gmail_extra"> ^~~~~~~~~~~~~~~~~~~~~~~~~~</div><div class="gmail_extra">compilation terminated.</div></div></div></blockquote><div><br></div></div></div><div>Is this file in your RTEMS source tree? It is a shared file across all ports and</div><div>should always be there.</div><div><br></div><div>--joel</div><div> </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 class="gmail_extra"><span class="m_581022734740417338m_-284987927019391616gmail-m_4368438999074689840m_-1889776556436379976m_-5632389952421516736gmail-m_-1529227473656738787HOEnZb"><font color="#888888"><div><br></div><span class="m_581022734740417338m_-284987927019391616gmail-m_4368438999074689840m_-1889776556436379976m_-5632389952421516736gmail-HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_581022734740417338m_-284987927019391616gmail-m_4368438999074689840m_-1889776556436379976m_-5632389952421516736gmail-m_-1529227473656738787m_655067595462421569gmail_signature">Regards, Denis Obrezkov</div>
</font></span></font></span></div></div>
</blockquote></div><br></div></div>
</blockquote></div></div></div>No, I can't find it.</div><div class="gmail_extra"><div><br></div><div>Here are my build instructions:</div><div><a href="https://docs.google.com/document/d/13_qoWGmQ4N3Sqgb9dvaX27Dn_npZX6IkedyvImBcKfo/edit?usp=sharing" target="_blank">https://docs.google.com/docume<wbr>nt/d/13_qoWGmQ4N3Sqgb9dvaX27Dn<wbr>_npZX6IkedyvImBcKfo/edit?usp=s<wbr>haring</a><br></div><div>in "Build instructions" section.</div><div><br></div><div>Did I miss something?</div><span class="m_581022734740417338m_-284987927019391616gmail-m_4368438999074689840m_-1889776556436379976HOEnZb"><font color="#888888">-- <br><div class="m_581022734740417338m_-284987927019391616gmail-m_4368438999074689840m_-1889776556436379976m_-5632389952421516736gmail_signature">Regards, Denis Obrezkov</div>
</font></span></div></div>
</blockquote></div><br></div></div>I work with Hesham's git tree and may be it's a bit outdated.</div><span class="m_581022734740417338m_-284987927019391616gmail-m_4368438999074689840HOEnZb"><font color="#888888"><div class="gmail_extra"><div><br></div>-- <br><div class="m_581022734740417338m_-284987927019391616gmail-m_4368438999074689840m_-1889776556436379976gmail_signature">Regards, Denis Obrezkov</div>
</div></font></span></div>
</blockquote></div><br></div>
</div></div></blockquote></div></div></div>My output:</div><div class="gmail_extra"><div class="gmail_extra"><span><div class="gmail_extra">$ find . -name "_kernel*.h"</div></span><div class="gmail_extra">./rtems-riscv/cpukit/libcsuppo<wbr>rt/include/machine/_kernel_<wbr>time.h</div><div class="gmail_extra">./rtems-riscv/cpukit/libcsuppo<wbr>rt/include/machine/_kernel_<wbr>types.h</div><div class="gmail_extra">./rtems-riscv/cpukit/libnetwor<wbr>king/machine/_kernel_lock.h</div><span class="m_581022734740417338HOEnZb"><font color="#888888"><div><br></div></font></span></div><span class="m_581022734740417338HOEnZb"><font color="#888888">-- <br><div class="m_581022734740417338m_-284987927019391616gmail_signature">Regards, Denis Obrezkov</div>
</font></span></div></div>
</blockquote></div><br></div></div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Regards, Denis Obrezkov</div>
</div>