Jump to content
  • 0

Arty Z7-20 HDMI In/Out Demos failed to build in Vivado SDK 2018.1


cmdigilent

Question

Hi All,

I am trying to build HDMI In Demo on Arty z7-20 board in Vivado SDK 2018.1, but it failed with the following error messages shown in the console. Can anybody tell me where to find xil_types.h file and why my setup doesn't have it?

Thanks,

Charles

 

12:36:42 **** Clean-only build of configuration Debug for project hdmi_in ****
make clean
make: *** No rule to make target 'clean'.  Stop.

12:36:42 Build Finished (took 552ms)

12:36:43 **** Build of configuration Debug for project hdmi_in ****
make pre-build main-build
a9-linaro-pre-build-step
 
Building file: ../src/video_capture/video_capture.c
Invoking: ARM v7 gcc compiler
arm-none-eabi-gcc -Wall -O0 -g3 -c -fmessage-length=0 -MT"src/video_capture/video_capture.o" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -I../../hdmi_in_bsp/ps7_cortexa9_0/include -MMD -MP -MF"src/video_capture/video_capture.d" -MT"src/video_capture/video_capture.o" -o "src/video_capture/video_capture.o" "../src/video_capture/video_capture.c"
In file included from ../src/video_capture/video_capture.c:105:0:
../src/video_capture/video_capture.h:74:10: fatal error: xil_types.h: No such file or directory
 #include "xil_types.h"
          ^~~~~~~~~~~~~
src/video_capture/subdir.mk:18: recipe for target 'src/video_capture/video_capture.o' failed
compilation terminated.
make: *** [src/video_capture/video_capture.o] Error 1

12:36:43 Build Finished (took 837ms)

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

I tried HDMI Out Demo too which is failed too. Below is the console messages as well as SDK log.

Console messages:

12:55:55 **** Clean-only build of configuration Debug for project fsbl ****
make clean
make: *** No rule to make target 'clean'.  Stop.

12:55:55 Build Finished (took 462ms)

12:55:55 **** Build of configuration Debug for project fsbl ****
make pre-build main-build
a9-linaro-pre-build-step
 
Building file: ../src/fsbl_handoff.S
Invoking: ARM v7 gcc compiler
arm-none-eabi-gcc -Wall -O0 -g3 -I"/home/cm/ws_fpga/Arty-Z7-20-hdmi-out-master/sdk/hdmi_out_wrapper_hw_platform_0" -c -fmessage-length=0 -MT"src/fsbl_handoff.o" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -I../../fsbl_bsp/ps7_cortexa9_0/include -MMD -MP -MF"src/fsbl_handoff.d" -MT"src/fsbl_handoff.o" -o "src/fsbl_handoff.o" "../src/fsbl_handoff.S"
Finished building: ../src/fsbl_handoff.S
 
Building file: ../src/fsbl_hooks.c
Invoking: ARM v7 gcc compiler
arm-none-eabi-gcc -Wall -O0 -g3 -I"/home/cm/ws_fpga/Arty-Z7-20-hdmi-out-master/sdk/hdmi_out_wrapper_hw_platform_0" -c -fmessage-length=0 -MT"src/fsbl_hooks.o" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -I../../fsbl_bsp/ps7_cortexa9_0/include -MMD -MP -MF"src/fsbl_hooks.d" -MT"src/fsbl_hooks.o" -o "src/fsbl_hooks.o" "../src/fsbl_hooks.c"
In file included from ../src/fsbl_hooks.c:54:0:
../src/fsbl.h:308:10: fatal error: xil_io.h: No such file or directory
src/subdir.mk:65: recipe for target 'src/fsbl_hooks.o' failed
 #include "xil_io.h"
          ^~~~~~~~~~
compilation terminated.
make: *** [src/fsbl_hooks.o] Error 1

12:55:56 Build Finished (took 683ms)

 

SDK log:

12:54:44 INFO    : Registering command handlers for SDK TCF services
12:54:46 INFO    : Launching XSCT server: xsct -n -interactive /home/cm/ws_fpga/Arty-Z7-20-hdmi-out-master/sdk/temp_xsdb_launch_script.tcl
12:54:49 INFO    : XSCT server has started successfully.
12:54:49 INFO    : Successfully done setting XSCT server connection channel  
12:54:49 INFO    : Successfully done setting SDK workspace  
12:55:52 ERROR    : (XSDB Server)ERROR: [Hsi 55-1594] Core cpu_cortexa9 of version 2.1 not found in repositories
ERROR: [Hsi 55-1594] Core gpio of version 4.0 not found in repositories
ERROR: [Hsi 55-1594] Core axivdma of version 6.0 not found in repositories

12:55:52 ERROR    : (XSDB Server)ERROR: [Hsi 55-1594] Core coresightps_dcc of version 1.2 not found in repositories
ERROR: [Hsi 55-1594] Core devcfg of version 3.3 not found in repositories
ERROR: [Hsi 55-1594] Core dmaps of version 2.1 not found in repositories
ERROR: [Hsi 55-1594] Core dmaps of version 2.1 not found in repositories
ERROR: [Hsi 55-1594] Core emacps of version 3.1 not found in repositories
ERROR: [Hsi 55-1594] Core gpiops of version 3.1 not found in repositories
ERROR: [Hsi 55-1594] Core iicps of version 3.0 not found in repositories
ERROR: [Hsi 55-1594] Core iicps of version 3.0 not found in repositories
ERROR: [Hsi 55-1594] Core qspips of version 3.2 not found in repositories
ERROR: [Hsi 55-1594] Core scugic of version 3.1 not found in repositories
ERROR: [Hsi 55-1594] Core sdps of version 2.6 not found in repositories
ERROR: [Hsi 55-1594] Core ttcps of version 3.0 not found in repositories
ERROR: [Hsi 55-1594] Core usbps of version 2.2 not found in repositories
ERROR: [Hsi 55-1594] Core uartps of version 3.1 not found in repositories
ERROR: [Hsi 55-1594] Core standalone of version 5.3 not found in repositories

12:55:52 ERROR    : (XSDB Server)ERROR: [Hsi 55-1452] Error: running open_sw_design.

12:55:52 ERROR    :  [Common 17-39] 'hsi::open_sw_design' failed due to earlier errors.
12:55:52 ERROR    : (XSDB Server)ERROR: [Hsi 55-1594] Core cpu_cortexa9 of version 2.1 not found in repositories

12:55:52 ERROR    : (XSDB Server)ERROR: [Hsi 55-1594] Core gpio of version 4.0 not found in repositories
ERROR: [Hsi 55-1594] Core axivdma of version 6.0 not found in repositories
ERROR: [Hsi 55-1594] Core coresightps_dcc of version 1.2 not found in repositories

12:55:52 ERROR    : (XSDB Server)ERROR: [Hsi 55-1594] Core devcfg of version 3.3 not found in repositories

12:55:52 ERROR    : (XSDB Server)ERROR: [Hsi 55-1594] Core dmaps of version 2.1 not found in repositories

12:55:52 ERROR    : (XSDB Server)ERROR: [Hsi 55-1594] Core dmaps of version 2.1 not found in repositories
ERROR: [Hsi 55-1594] Core emacps of version 3.1 not found in repositories

12:55:52 ERROR    : (XSDB Server)ERROR: [Hsi 55-1594] Core gpiops of version 3.1 not found in repositories

12:55:52 ERROR    : (XSDB Server)ERROR: [Hsi 55-1594] Core iicps of version 3.0 not found in repositories

12:55:52 ERROR    : (XSDB Server)ERROR: [Hsi 55-1594] Core iicps of version 3.0 not found in repositories

12:55:52 ERROR    : (XSDB Server)ERROR: [Hsi 55-1594] Core qspips of version 3.2 not found in repositories

12:55:52 ERROR    : (XSDB Server)ERROR: [Hsi 55-1594] Core scugic of version 3.1 not found in repositories

12:55:52 ERROR    : (XSDB Server)ERROR: [Hsi 55-1594] Core sdps of version 2.6 not found in repositories

12:55:52 ERROR    : (XSDB Server)ERROR: [Hsi 55-1594] Core ttcps of version 3.0 not found in repositories

12:55:52 ERROR    : (XSDB Server)ERROR: [Hsi 55-1594] Core usbps of version 2.2 not found in repositories

12:55:52 ERROR    : (XSDB Server)ERROR: [Hsi 55-1594] Core uartps of version 3.1 not found in repositories
ERROR: [Hsi 55-1594] Core standalone of version 5.3 not found in repositories

12:55:52 ERROR    : (XSDB Server)ERROR: [Hsi 55-1452] Error: running open_sw_design.

12:55:52 INFO    : Unable to read in MSS file /home/cm/ws_fpga/Arty-Z7-20-hdmi-out-master/sdk/displaydemo_bsp/system.mss : null
12:55:52 ERROR    : (XSDB Server)ERROR: [Hsi 55-1594] Core cpu_cortexa9 of version 2.1 not found in repositories

12:55:52 ERROR    : (XSDB Server)ERROR: [Hsi 55-1594] Core gpio of version 4.0 not found in repositories
ERROR: [Hsi 55-1594] Core axivdma of version 6.0 not found in repositories
ERROR: [Hsi 55-1594] Core coresightps_dcc of version 1.2 not found in repositories
ERROR: [Hsi 55-1594] Core devcfg of version 3.3 not found in repositories

12:55:52 ERROR    : (XSDB Server)ERROR: [Hsi 55-1594] Core dmaps of version 2.1 not found in repositories
ERROR: [Hsi 55-1594] Core dmaps of version 2.1 not found in repositories
ERROR: [Hsi 55-1594] Core emacps of version 3.1 not found in repositories
ERROR: [Hsi 55-1594] Core gpiops of version 3.1 not found in repositories
ERROR: [Hsi 55-1594] Core iicps of version 3.0 not found in repositories
ERROR: [Hsi 55-1594] Core iicps of version 3.0 not found in repositories
ERROR: [Hsi 55-1594] Core qspips of version 3.2 not found in repositories

12:55:52 ERROR    : (XSDB Server)ERROR: [Hsi 55-1594] Core scugic of version 3.1 not found in repositories
ERROR: [Hsi 55-1594] Core sdps of version 2.6 not found in repositories
ERROR: [Hsi 55-1594] Core ttcps of version 3.0 not found in repositories

12:55:52 ERROR    : (XSDB Server)ERROR: [Hsi 55-1594] Core usbps of version 2.2 not found in repositories
ERROR: [Hsi 55-1594] Core uartps of version 3.1 not found in repositories

12:55:52 ERROR    : (XSDB Server)ERROR: [Hsi 55-1594] Core standalone of version 5.3 not found in repositories
ERROR: [Hsi 55-1452] Error: running open_sw_design.

12:55:52 ERROR    : Failed in generating sources
12:55:52 INFO    : BSP Project P/displaydemo_bsp has been successfully migrated.
12:55:53 ERROR    : (XSDB Server)ERROR: [Hsi 55-1594] Core cpu_cortexa9 of version 2.3 not found in repositories

12:55:53 ERROR    : (XSDB Server)ERROR: [Hsi 55-1594] Core gpiops of version 3.1 not found in repositories

12:55:53 ERROR    : (XSDB Server)ERROR: [Hsi 55-1452] Error: running open_sw_design.

12:55:53 ERROR    :  [Common 17-39] 'hsi::open_sw_design' failed due to earlier errors.
12:55:53 ERROR    : (XSDB Server)ERROR: [Hsi 55-1594] Core cpu_cortexa9 of version 2.3 not found in repositories

12:55:53 ERROR    : (XSDB Server)ERROR: [Hsi 55-1594] Core gpiops of version 3.1 not found in repositories

12:55:53 ERROR    : (XSDB Server)ERROR: [Hsi 55-1452] Error: running open_sw_design.

12:55:53 INFO    : Unable to read in MSS file /home/cm/ws_fpga/Arty-Z7-20-hdmi-out-master/sdk/fsbl_bsp/system.mss : null
12:55:53 ERROR    : (XSDB Server)ERROR: [Hsi 55-1594] Core cpu_cortexa9 of version 2.3 not found in repositories

12:55:53 ERROR    : (XSDB Server)ERROR: [Hsi 55-1594] Core gpiops of version 3.1 not found in repositories

12:55:53 ERROR    : (XSDB Server)ERROR: [Hsi 55-1452] Error: running open_sw_design.

12:55:53 ERROR    : Failed in generating sources
12:55:53 INFO    : BSP Project P/fsbl_bsp has been successfully migrated.

 

Link to comment
Share on other sites

Most examples for Arty Z7 are based on Vivado 2016.4, some of them have been ported to Vivado 2017.4, none of them I have seen yet with a 2018 version. You might consider opening, upgrading and rebuilding the block diagram prior to compiling the software within SDK.

I managed to do so for Vivado 2017.4 and the whole project compiles and starts. But it crashes somewhere when accessing the HDMI settings... So it is likely that such an upgrade needs a bit more insight in the whole stuff ?

Jürgen

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...