<div dir="ltr">So, am I understand right, that I should make my repo, submit commits to it,<div>produce patches and send them to your repo as pool requests?</div><div>And should I make my repo by cloning yours? </div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-06-02 2:02 GMT+03:00 Hesham Almatary <span dir="ltr"><<a href="mailto:heshamelmatary@gmail.com" target="_blank">heshamelmatary@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Denis,<br>
<span class=""><br>
On Fri, Jun 2, 2017 at 1:27 AM, Denis Obrezkov <<a href="mailto:denisobrezkov@gmail.com">denisobrezkov@gmail.com</a>> wrote:<br>
> Hello Hesham,<br>
><br>
> should I apply your patches? or should I paste all of them to<br>
> some directory (rsb has several 'patches' folders).<br>
><br>
</span>You only need to apply this patch [1] to RSB and build the tools again.<br>
<br>
[1] <a href="https://lists.rtems.org/pipermail/devel/2017-May/017951.html" rel="noreferrer" target="_blank">https://lists.rtems.org/<wbr>pipermail/devel/2017-May/<wbr>017951.html</a><br>
<span class="">> Also, could you describe our workflow? In the context of with what<br>
> repository<br>
>  I should work and where I should direct my pull requests.<br>
><br>
</span>Since the port is not upstream yet, you can submit PRs to my GitHub<br>
repo in the time being until we get it upstreamed. After this you can<br>
submit patches for review to this mailing list.<br>
<div class="HOEnZb"><div class="h5"><br>
> 2017-06-01 5:09 GMT+03:00 Hesham Almatary <<a href="mailto:heshamelmatary@gmail.com">heshamelmatary@gmail.com</a>>:<br>
>><br>
>> Hi Denis,<br>
>><br>
>> I submitted two patches for the tools, please use the latest only and<br>
>> rebuild the tools. This should avoid the newlib issues you had above<br>
>> as it uses main riscv patches.<br>
>><br>
>> I'll look into the port this weekend and submit fixes unless you beat<br>
>> me to it. Meanwhile, you can submit error messages and I'll see if I<br>
>> can help.<br>
>><br>
>> Keep the good work.<br>
>><br>
>> Cheers,<br>
>> Hesham<br>
>><br>
>> On Thu, Jun 1, 2017 at 12:04 AM, Denis Obrezkov <<a href="mailto:denisobrezkov@gmail.com">denisobrezkov@gmail.com</a>><br>
>> wrote:<br>
>> > 2017-05-31 16:39 GMT+03:00 Denis Obrezkov <<a href="mailto:denisobrezkov@gmail.com">denisobrezkov@gmail.com</a>>:<br>
>> >><br>
>> >> Thanks, I downloaded it.<br>
>> >> There was a mistake also that _JBLEN wasn't defined in machine/setjmp.h<br>
>> >> I don't know the exact value, so I did the following:<br>
>> >> #ifdef __riscv<br>
>> >><br>
>> >> /* TBD: not the exact number */<br>
>> >><br>
>> >> #define _JBLEN 16<br>
>> >><br>
>> >> #endif<br>
>> >><br>
>> >> Now, it compiles further. But then I get the error:<br>
>> >> riscv32-rtems4.12-gcc --pipe -B../../../lib/<br>
>> >> -B../../../riscv_generic/lib/<br>
>> >> -specs bsp_specs -qrtems -DPACKAGE_NAME=\"rtems-c-src\"<br>
>> >> -DPACKAGE_TARNAME=\"rtems-c-<wbr>src\" -DPACKAGE_VERSION=\"4.11.99.0\<wbr>"<br>
>> >> -DPACKAGE_STRING=\"rtems-c-<wbr>src\ 4.11.99.0\"<br>
>> >> -DPACKAGE_BUGREPORT=\"<a href="https://devel.rtems.org/newticket\" rel="noreferrer" target="_blank">https://<wbr>devel.rtems.org/newticket\</a>"<br>
>> >> -DPACKAGE_URL=\"\"<br>
>> >> -I.<br>
>> >><br>
>> >> -I/home/reprofy/Projects/<wbr>riscv/rtems/development/rtems/<wbr>kernel/rtems-riscv/c/src/<wbr>libchip<br>
>> >> -isystem ../../../riscv_generic/lib/<wbr>include   -O0 -g -Wall<br>
>> >> -Wmissing-prototypes -Wimplicit-function-<wbr>declaration<br>
>> >> -Wstrict-prototypes<br>
>> >> -Wnested-externs -MT display/libdisplay_a-disp_<wbr>hcms29xx.o -MD -MP -MF<br>
>> >> display/.deps/libdisplay_a-<wbr>disp_hcms29xx.Tpo -c -o<br>
>> >> display/libdisplay_a-disp_<wbr>hcms29xx.o `test -f 'display/disp_hcms29xx.c'<br>
>> >> ||<br>
>> >> echo<br>
>> >><br>
>> >> '/home/reprofy/Projects/riscv/<wbr>rtems/development/rtems/<wbr>kernel/rtems-riscv/c/src/<wbr>libchip/'`display/disp_<wbr>hcms29xx.c<br>
>> >> riscv32-rtems4.12-gcc: error: bsp_specs: No such file or directory<br>
>> >><br>
>> >> So, I inserted it manually. But I can't figure out, why it wasn't<br>
>> >> copied<br>
>> >> automatically.<br>
>> >><br>
>> >> Now I have an error:<br>
>> >> riscv32-rtems4.12-gcc --pipe -B../../../lib/<br>
>> >> -B../../../riscv_generic/lib/<br>
>> >> -specs bsp_specs -qrtems -DPACKAGE_NAME=\"rtems-c-src\"<br>
>> >> -DPACKAGE_TARNAME=\"rtems-c-<wbr>src\" -DPACKAGE_VERSION=\"4.11.99.0\<wbr>"<br>
>> >> -DPACKAGE_STRING=\"rtems-c-<wbr>src\ 4.11.99.0\"<br>
>> >> -DPACKAGE_BUGREPORT=\"<a href="https://devel.rtems.org/newticket\" rel="noreferrer" target="_blank">https://<wbr>devel.rtems.org/newticket\</a>"<br>
>> >> -DPACKAGE_URL=\"\"<br>
>> >> -I.<br>
>> >><br>
>> >> -I/home/reprofy/Projects/<wbr>riscv/rtems/development/rtems/<wbr>kernel/rtems-riscv/c/src/<wbr>libchip<br>
>> >> -isystem ../../../riscv_generic/lib/<wbr>include   -O0 -g -Wall<br>
>> >> -Wmissing-prototypes -Wimplicit-function-<wbr>declaration<br>
>> >> -Wstrict-prototypes<br>
>> >> -Wnested-externs -MT display/libdisplay_a-disp_<wbr>hcms29xx.o -MD -MP -MF<br>
>> >> display/.deps/libdisplay_a-<wbr>disp_hcms29xx.Tpo -c -o<br>
>> >> display/libdisplay_a-disp_<wbr>hcms29xx.o `test -f 'display/disp_hcms29xx.c'<br>
>> >> ||<br>
>> >> echo<br>
>> >><br>
>> >> '/home/reprofy/Projects/riscv/<wbr>rtems/development/rtems/<wbr>kernel/rtems-riscv/c/src/<wbr>libchip/'`display/disp_<wbr>hcms29xx.c<br>
>> >><br>
>> >><br>
>> >> /home/reprofy/Projects/riscv/<wbr>rtems/development/rtems/<wbr>kernel/rtems-riscv/c/src/<wbr>libchip/display/disp_hcms29xx.<wbr>c:26:10:<br>
>> >> fatal error: bsp.h: No such file or directory<br>
>> >>  #include <bsp.h><br>
>> >><br>
>> >> It seems that configure scripts should be modified.<br>
>> >><br>
>> >> 2017-05-31 8:46 GMT+03:00 Hesham Almatary <<a href="mailto:heshamelmatary@gmail.com">heshamelmatary@gmail.com</a>>:<br>
>> >>><br>
>> >>> Hi Denis,<br>
>> >>><br>
>> >>> Please use priv-1.10 branch. I rebased it (against master) and added<br>
>> >>> some fixes to make the build progress. Still, there's more work<br>
>> >>> needed. Your contributions are welcomed.<br>
>> >>><br>
>> >>> Cheers,<br>
>> >>> Hesham<br>
>> >>> .<br>
>> >>><br>
>> >><br>
>> >><br>
>> >> --<br>
>> >> Regards, Denis Obrezkov<br>
>> ><br>
>> > I think I worked it out. In a few days I will produce patches.<br>
>> > Now I am trying to compile .S files. Seems that some instructions are<br>
>> > missing.<br>
>> ><br>
>> ><br>
>> > --<br>
>> > Regards, Denis Obrezkov<br>
>><br>
>><br>
>><br>
>> --<br>
>> Hesham<br>
><br>
><br>
><br>
><br>
> --<br>
> Regards, Denis Obrezkov<br>
<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Hesham<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Regards, Denis Obrezkov</div>
</div>