Hi Denis,

I submitted two patches for the tools, please use the latest only and
rebuild the tools. This should avoid the newlib issues you had above
as it uses main riscv patches.

I'll look into the port this weekend and submit fixes unless you beat
me to it. Meanwhile, you can submit error messages and I'll see if I
can help.

Keep the good work.

Cheers,
Hesham

On Thu, Jun 1, 2017 at 12:04 AM, Denis Obrezkov <denisobrez...@gmail.com> wrote:
> 2017-05-31 16:39 GMT+03:00 Denis Obrezkov <denisobrez...@gmail.com>:
>>
>> Thanks, I downloaded it.
>> There was a mistake also that _JBLEN wasn't defined in machine/setjmp.h
>> I don't know the exact value, so I did the following:
>> #ifdef __riscv
>>
>> /* TBD: not the exact number */
>>
>> #define _JBLEN 16
>>
>> #endif
>>
>> Now, it compiles further. But then I get the error:
>> riscv32-rtems4.12-gcc --pipe -B../../../lib/ -B../../../riscv_generic/lib/
>> -specs bsp_specs -qrtems -DPACKAGE_NAME=\"rtems-c-src\"
>> -DPACKAGE_TARNAME=\"rtems-c-src\" -DPACKAGE_VERSION=\"4.11.99.0\"
>> -DPACKAGE_STRING=\"rtems-c-src\ 4.11.99.0\"
>> -DPACKAGE_BUGREPORT=\"https://devel.rtems.org/newticket\"; -DPACKAGE_URL=\"\"
>> -I.
>> -I/home/reprofy/Projects/riscv/rtems/development/rtems/kernel/rtems-riscv/c/src/libchip
>> -isystem ../../../riscv_generic/lib/include   -O0 -g -Wall
>> -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes
>> -Wnested-externs -MT display/libdisplay_a-disp_hcms29xx.o -MD -MP -MF
>> display/.deps/libdisplay_a-disp_hcms29xx.Tpo -c -o
>> display/libdisplay_a-disp_hcms29xx.o `test -f 'display/disp_hcms29xx.c' ||
>> echo
>> '/home/reprofy/Projects/riscv/rtems/development/rtems/kernel/rtems-riscv/c/src/libchip/'`display/disp_hcms29xx.c
>> riscv32-rtems4.12-gcc: error: bsp_specs: No such file or directory
>>
>> So, I inserted it manually. But I can't figure out, why it wasn't copied
>> automatically.
>>
>> Now I have an error:
>> riscv32-rtems4.12-gcc --pipe -B../../../lib/ -B../../../riscv_generic/lib/
>> -specs bsp_specs -qrtems -DPACKAGE_NAME=\"rtems-c-src\"
>> -DPACKAGE_TARNAME=\"rtems-c-src\" -DPACKAGE_VERSION=\"4.11.99.0\"
>> -DPACKAGE_STRING=\"rtems-c-src\ 4.11.99.0\"
>> -DPACKAGE_BUGREPORT=\"https://devel.rtems.org/newticket\"; -DPACKAGE_URL=\"\"
>> -I.
>> -I/home/reprofy/Projects/riscv/rtems/development/rtems/kernel/rtems-riscv/c/src/libchip
>> -isystem ../../../riscv_generic/lib/include   -O0 -g -Wall
>> -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes
>> -Wnested-externs -MT display/libdisplay_a-disp_hcms29xx.o -MD -MP -MF
>> display/.deps/libdisplay_a-disp_hcms29xx.Tpo -c -o
>> display/libdisplay_a-disp_hcms29xx.o `test -f 'display/disp_hcms29xx.c' ||
>> echo
>> '/home/reprofy/Projects/riscv/rtems/development/rtems/kernel/rtems-riscv/c/src/libchip/'`display/disp_hcms29xx.c
>>
>> /home/reprofy/Projects/riscv/rtems/development/rtems/kernel/rtems-riscv/c/src/libchip/display/disp_hcms29xx.c:26:10:
>> fatal error: bsp.h: No such file or directory
>>  #include <bsp.h>
>>
>> It seems that configure scripts should be modified.
>>
>> 2017-05-31 8:46 GMT+03:00 Hesham Almatary <heshamelmat...@gmail.com>:
>>>
>>> Hi Denis,
>>>
>>> Please use priv-1.10 branch. I rebased it (against master) and added
>>> some fixes to make the build progress. Still, there's more work
>>> needed. Your contributions are welcomed.
>>>
>>> Cheers,
>>> Hesham
>>> .
>>>
>>
>>
>> --
>> Regards, Denis Obrezkov
>
> I think I worked it out. In a few days I will produce patches.
> Now I am trying to compile .S files. Seems that some instructions are
> missing.
>
>
> --
> Regards, Denis Obrezkov



-- 
Hesham
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to