<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2017-05-31 16:39 GMT+03: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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks, I downloaded it. <div>There was a mistake also that _JBLEN wasn't defined in machine/setjmp.h</div><div>I don't know the exact value, so I did the following:</div>#ifdef __riscv<br><br>/* TBD: not the exact number */<br><br>#define _JBLEN 16<br><br>#endif
<div><br></div><div>Now, it compiles further. But then I get the error:</div><div><div>riscv32-rtems4.12-gcc --pipe -B../../../lib/ -B../../../riscv_generic/lib/ -specs bsp_specs -qrtems -DPACKAGE_NAME=\"rtems-c-src\" -DPACKAGE_TARNAME=\"rtems-c-<wbr>src\" -DPACKAGE_VERSION=\"4.11.99.0\<wbr>" -DPACKAGE_STRING=\"rtems-c-<wbr>src\ 4.11.99.0\" -DPACKAGE_BUGREPORT=\"<a href="https://devel.rtems.org/newticket%5C" target="_blank">https://<wbr>devel.rtems.org/newticket\</a>" -DPACKAGE_URL=\"\" -I. -I/home/reprofy/Projects/<wbr>riscv/rtems/development/rtems/<wbr>kernel/rtems-riscv/c/src/<wbr>libchip  -isystem ../../../riscv_generic/lib/<wbr>include   -O0 -g -Wall -Wmissing-prototypes -Wimplicit-function-<wbr>declaration -Wstrict-prototypes -Wnested-externs -MT display/libdisplay_a-disp_<wbr>hcms29xx.o -MD -MP -MF display/.deps/libdisplay_a-<wbr>disp_hcms29xx.Tpo -c -o display/libdisplay_a-disp_<wbr>hcms29xx.o `test -f 'display/disp_hcms29xx.c' || echo '/home/reprofy/Projects/riscv/<wbr>rtems/development/rtems/<wbr>kernel/rtems-riscv/c/src/<wbr>libchip/'`display/disp_<wbr>hcms29xx.c</div><div>riscv32-rtems4.12-gcc: error: bsp_specs: No such file or directory</div></div><div><br></div><div>So, I inserted it manually. But I can't figure out, why it wasn't copied automatically.</div><div><br></div><div class="gmail_extra">Now I have an error:</div><div class="gmail_extra"><div class="gmail_extra">riscv32-rtems4.12-gcc --pipe -B../../../lib/ -B../../../riscv_generic/lib/ -specs bsp_specs -qrtems -DPACKAGE_NAME=\"rtems-c-src\" -DPACKAGE_TARNAME=\"rtems-c-<wbr>src\" -DPACKAGE_VERSION=\"4.11.99.0\<wbr>" -DPACKAGE_STRING=\"rtems-c-<wbr>src\ 4.11.99.0\" -DPACKAGE_BUGREPORT=\"<a href="https://devel.rtems.org/newticket%5C" target="_blank">https://<wbr>devel.rtems.org/newticket\</a>" -DPACKAGE_URL=\"\" -I. -I/home/reprofy/Projects/<wbr>riscv/rtems/development/rtems/<wbr>kernel/rtems-riscv/c/src/<wbr>libchip  -isystem ../../../riscv_generic/lib/<wbr>include   -O0 -g -Wall -Wmissing-prototypes -Wimplicit-function-<wbr>declaration -Wstrict-prototypes -Wnested-externs -MT display/libdisplay_a-disp_<wbr>hcms29xx.o -MD -MP -MF display/.deps/libdisplay_a-<wbr>disp_hcms29xx.Tpo -c -o display/libdisplay_a-disp_<wbr>hcms29xx.o `test -f 'display/disp_hcms29xx.c' || echo '/home/reprofy/Projects/riscv/<wbr>rtems/development/rtems/<wbr>kernel/rtems-riscv/c/src/<wbr>libchip/'`display/disp_<wbr>hcms29xx.c</div><div class="gmail_extra">/home/reprofy/Projects/riscv/<wbr>rtems/development/rtems/<wbr>kernel/rtems-riscv/c/src/<wbr>libchip/display/disp_hcms29xx.<wbr>c:26:10: fatal error: bsp.h: No such file or directory</div><div class="gmail_extra"> #include <bsp.h></div><div><br></div><div>It seems that configure scripts should be modified.</div></div><div class="gmail_extra"><span class=""><br><div class="gmail_quote">2017-05-31 8:46 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">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>
<div class="m_-5864727322727572051gmail-HOEnZb"><div class="m_-5864727322727572051gmail-h5"><br></div></div></blockquote></div><br clear="all"><div><br></div></span><span class="HOEnZb"><font color="#888888">-- <br><div class="m_-5864727322727572051gmail_signature">Regards, Denis Obrezkov</div>
</font></span></div></div>
</blockquote></div>I think I worked it out. In a few days I will produce patches.</div><div class="gmail_extra">Now I am trying to compile .S files. Seems that some instructions are missing.<br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Regards, Denis Obrezkov</div>
</div></div>