Remaining BSP Build Failures
Joel Sherrill
joel.sherrill at oarcorp.com
Wed Aug 27 17:55:03 UTC 2014
I just fixed the virtex5. The missing code was pretty simple and
I just used the code from another BSP. That leaves:
avr/avrtest:
GCC PR 62284
nios2/nios2_iss:
Needs new toolset but binutils 2.20 has bug and won't assemble
some code produced by gcc 4.9.1. Reported on binutils mailing list.
or1k/or1ksim:
Hesham knows and this will get fixed.
I will now start a build with POSIX, Networking, and SMP disabled but
tests enabled to see if that breaks anything.
--joel
On 8/27/2014 11:44 AM, Joel Sherrill wrote:
> On 8/27/2014 11:34 AM, Ric Claus wrote:
>> Hi Joel,
>>
>> Sorry, but unfortunately I no longer have the ability or time to work on Virtex5 since we moved to Zynqs. If someone else can't take it over, I think you have no choice but to deprecate it.
> I understand. This may not be hard to remember though. It is really a simple
> method. It looks like the clock tick was using the shared decrementer
> driver.
> If so, then this from the beatnik BSP should work:
>
> #define BSP_Convert_decrementer( _value ) \
> ((unsigned long long) ((((unsigned long long)BSP_time_base_divisor) *
> 1000000ULL) /((unsigned long long) BSP_bus_frequency)) * ((unsigned long
> long) (_value)))
>
>
>
>> Ric
>>
>> On Aug 27, 2014, at 8:02 AM, Joel Sherrill wrote:
>>
>>> Hi
>>>
>>> Hesham.. or1k is missing a method.
>>>
>>> Ric.. any chance you can fix the virtex5 compile failure?
>>>
>>> Others please review and see what you can help with.
>>>
>>> I attempted to build all BSPs over night with this configuration:
>>>
>>> ../rtems/configure --target=@CPU at -rtems4.11 \
>>> --prefix=/home/joel/rtems-4.11-work/bsp-install/ \
>>> --disable-multiprocessing --disable-cxx --disable-rdbg \
>>> --enable-maintainer-mode --enable-tests --enable-networking \
>>> --enable-posix --disable-itron --disable-deprecated \
>>> --disable-ada --disable-expada --enable-rtemsbsp=@BSP@
>>>
>>> Although not printed, SMP was enabled in the configure command
>>> echoed in the output. :(
>>>
>>> The results were better than last time:
>>>
>>> arm/nds:
>>>
>>> ../../../../../nds/lib/librtemsbsp.a(startup.rel): In function `boot_card':
>>> :(.text+0x19c): multiple definition of `boot_card'
>>> init.o:init.c:(.text+0x70): first defined here
>>> collect2: error: ld returned 1 exit status
>>> gmake[6]: *** [spinternalerror01.exe] Error 1
>>>
>>> I think that's because it makes a set of .rel's and ends up pulling in
>>> a chunk of binary instead of individual files for the BSP. I think I
>>> can fix this one.
>>>
>>> avr/avrtest: Compiler error. Reported as
>>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62284
>>>
>>> nios2/nios2_iss: Compilation error which I think means that
>>> the newlib version needs to be bumped in the RSB.
>>>
>>> ../../../../../rtems/c/src/libchip/network/dwmac-desc-enh.c: In function
>>> 'dwmac_desc_enh_destroy_tx_desc':
>>> ../../../../../rtems/c/src/libchip/network/dwmac-desc-enh.c:814:
>>> warning: implicit declaration of function '__DEVOLATILE'
>>> ../../../../../rtems/c/src/libchip/network/dwmac-desc-enh.c:814:
>>> warning: nested extern declaration of '__DEVOLATILE'
>>> ../../../../../rtems/c/src/libchip/network/dwmac-desc-enh.c:814: error:
>>> expected expression before 'void'
>>> ../../../../../rtems/c/src/libchip/network/dwmac-desc-enh.c:814:
>>> warning: initialization makes pointer from integer without a cast
>>> ../../../../../rtems/c/src/libchip/network/dwmac-desc-enh.c: In function
>>> 'dwmac_desc_enh_release_tx_bufs':
>>> ../../../../../rtems/c/src/libchip/network/dwmac-desc-enh.c:850: error:
>>> expected expression before 'void'
>>>
>>> or1k/or1ksim: Port Missing methods
>>> /users/joel/rtems-4.11-work/rtems-testing/rtems/build-or1k-or1ksim-rtems/or1k-rtems4.11/c/or1ksim/testsuites/sptests/spcontext01/../../../../../../../rtems/c/src/../../testsuites/sptests/spcontext01/init.c:42:
>>> undefined reference to `_CPU_Context_validate'
>>> init.o: In function `clobber_and_switch_timer':
>>> /users/joel/rtems-4.11-work/rtems-testing/rtems/build-or1k-or1ksim-rtems/or1k-rtems4.11/c/or1ksim/testsuites/sptests/spcontext01/../../../../../../../rtems/c/src/../../testsuites/sptests/spcontext01/init.c:118:
>>> undefined reference to `_CPU_Context_volatile_clobber'
>>>
>>> powerpc/virtex5: BSP missing method
>>>
>>> /users/joel/rtems-4.11-work/rtems-testing/rtems/build-powerpc-virtex5-rtems/powerpc-rtems4.11/c/virtex5/lib/libcpu/powerpc/../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc6xx/timer/timer.c:85:
>>> undefined reference to `BSP_Convert_decrementer'
>>>
>>> --
>>> Joel Sherrill, Ph.D. Director of Research & Development
>>> joel.sherrill at OARcorp.com On-Line Applications Research
>>> Ask me about RTEMS: a free RTOS Huntsville AL 35805
>>> Support Available (256) 722-9985
>>>
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the devel
mailing list