<div dir="ltr">Hello Hesham,<div><br></div><div>should I apply your patches? or should I paste all of them to </div><div>some directory (rsb has several 'patches' folders).</div><div><br></div><div>Also, could you describe our workflow? In the context of with what repository</div><div> I should work and where I should direct my pull requests.</div><div class="gmail_extra"><br><div class="gmail_quote">2017-06-01 5:09 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>
<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>
<div class="HOEnZb"><div class="h5"><br>
On Thu, Jun 1, 2017 at 12:04 AM, Denis Obrezkov <<a href="mailto:denisobrezkov@gmail.com">denisobrezkov@gmail.com</a>> 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/ -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>" -DPACKAGE_URL=\"\"<br>
>> -I.<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 -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>
>> echo<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 copied<br>
>> automatically.<br>
>><br>
>> Now I have an error:<br>
>> riscv32-rtems4.12-gcc --pipe -B../../../lib/ -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>" -DPACKAGE_URL=\"\"<br>
>> -I.<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 -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>
>> echo<br>
>> '/home/reprofy/Projects/riscv/<wbr>rtems/development/rtems/<wbr>kernel/rtems-riscv/c/src/<wbr>libchip/'`display/disp_<wbr>hcms29xx.c<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>
</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></div>