Build failure with current master

Jan.Sommer at dlr.de Jan.Sommer at dlr.de
Fri Jan 22 12:46:30 UTC 2021


Hello,

Our nightly build of the current master of some ARM BSPs failed today (e.g. raspberrypi, zedboard).
It seems to be related to commit a434cc80cb00e: bsps/shared: Adapt fsl-edma driver for imxrt

The error I get is:
[  60/4060] Compiling bsps/shared/dev/dma/fsl-edma.c
[  62/4060] Compiling bsps/shared/dev/display/disp_hcms29xx.c
../../../bsps/shared/dev/dma/fsl-edma.c:65:35: error: 'EDMA' undeclared here (not in a function)
   65 |     (volatile struct fsl_edma *) &EDMA,
      |                                   ^~~~
../../../bsps/shared/dev/dma/fsl-edma.c: In function 'fsl_edma_init':
../../../bsps/shared/dev/dma/fsl-edma.c:265:4: error: #error "Unknown chip"
  265 |   #error "Unknown chip"
      |    ^~~~~
../../../bsps/shared/dev/dma/fsl-edma.c: In function 'fsl_edma_install_obtained_channel':
../../../bsps/shared/dev/dma/fsl-edma.c:362:4: error: #error "Unknown chip"
  362 |   #error "Unknown chip"
      |    ^~~~~
../../../bsps/shared/dev/dma/fsl-edma.c:341:12: warning: unused variable 'channel_index' [-Wunused-variable]
  341 |   unsigned channel_index = fsl_edma_channel_index_of_tcd(ctx->edma_tcd);
      |            ^~~~~~~~~~~~~
../../../bsps/shared/dev/dma/fsl-edma.c: In function 'fsl_edma_release_channel':
../../../bsps/shared/dev/dma/fsl-edma.c:422:4: error: #error "Unknown chip"
  422 |   #error "Unknown chip"
      |    ^~~~~
../../../bsps/shared/dev/dma/fsl-edma.c:424:5: warning: passing argument 1 of 'rtems_interrupt_handler_remove' makes integer from pointer without a cast [-Wint-conversion]
  424 |     fsl_edma_interrupt_handler,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |     |
      |     void (*)(void *)
In file included from ../../../bsps/arm/xilinx-zynq/include/bsp/irq.h:40,
                 from ../../../bsps/shared/dev/dma/fsl-edma.c:41:
../../../cpukit/include/rtems/irq-extension.h:159:23: note: expected 'rtems_vector_number' {aka 'unsigned int'} but argument is of type 'void (*)(void *)'
  159 |   rtems_vector_number vector,
      |   ~~~~~~~~~~~~~~~~~~~~^~~~~~
../../../bsps/shared/dev/dma/fsl-edma.c:425:5: warning: passing argument 2 of 'rtems_interrupt_handler_remove' from incompatible pointer type [-Wincompatible-pointer-types]
  425 |     ctx
      |     ^~~
      |     |
      |     fsl_edma_channel_context *
In file included from ../../../bsps/arm/xilinx-zynq/include/bsp/irq.h:40,
                 from ../../../bsps/shared/dev/dma/fsl-edma.c:41:
../../../cpukit/include/rtems/irq-extension.h:160:27: note: expected 'rtems_interrupt_handler' {aka 'void (*)(void *)'} but argument is of type 'fsl_edma_channel_context *'
  160 |   rtems_interrupt_handler handler,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
../../../bsps/shared/dev/dma/fsl-edma.c:416:8: error: too few arguments to function 'rtems_interrupt_handler_remove'
  416 |   sc = rtems_interrupt_handler_remove(
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../../bsps/arm/xilinx-zynq/include/bsp/irq.h:40,
                 from ../../../bsps/shared/dev/dma/fsl-edma.c:41:
../../../cpukit/include/rtems/irq-extension.h:158:19: note: declared here
  158 | rtems_status_code rtems_interrupt_handler_remove(
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../bsps/shared/dev/dma/fsl-edma.c:411:12: warning: unused variable 'channel_index' [-Wunused-variable]
  411 |   unsigned channel_index = fsl_edma_channel_index_of_tcd(ctx->edma_tcd);
      |            ^~~~~~~~~~~~~
At top level:
../../../bsps/shared/dev/dma/fsl-edma.c:151:13: warning: 'edma_interrupt_error_handler' defined but not used [-Wunused-function]
  151 | static void edma_interrupt_error_handler(void *arg)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

We should have the most recent build tools installed.

Best regards,

    Jan


Deutsches Zentrum für Luft- und Raumfahrt e. V. (DLR)
German Aerospace Center
Institute for Software Technology | Software for Space Systems and Interactive Visualization | Lilienthalplatz 7 | 38108 Braunschweig | Germany


More information about the devel mailing list