Xilinx / Vitis_Embedded_Platform_Source

111 stars 64 forks source link

Makefile:14: *** ERROR: 'BOOT_FILES_PATH' not set, please set this flag to path of boot files directory #30

Open Dinhding opened 2 years ago

Dinhding commented 2 years ago

When I ‘make all’ the xilinx_zcu104_base project under Xilinx_Official_Platforms, the following error occurs, what is the solution? Thanks The problem is 'BOOT_FILES_PATH' not set, please set this flag to path of boot files directory.

INFO: [Common 17-83] Releasing license: Implementation 12 Infos, 0 Warnings, 0 Critical Warnings and 0 Errors encountered. write_bitstream completed successfully write_bitstream: Time (s): cpu = 00:00:23 ; elapsed = 00:00:32 . Memory (MB): peak = 4869.473 ; gain = 31.520 ; free physical = 52344 ; free virtual = 58035 INFO: [Common 17-206] Exiting Vivado at Fri Aug 12 14:02:50 2022... [Fri Aug 12 14:02:51 2022] impl_1 finished wait_on_run: Time (s): cpu = 00:22:39 ; elapsed = 00:06:01 . Memory (MB): peak = 3660.621 ; gain = 0.000 ; free physical = 55353 ; free virtual = 61040 INFO: [Vivado 12-4895] Creating Hardware Platform: /home/user20051/VivadoProjects/xilinx_zcu104_base/hw/build/xilinx_zcu104_base_202020_1.xsa ... INFO: [Hsi 55-2053] elapsed time for repository (/home/user20051/Workspace/Vitis/Vivado/2020.2/data/embeddedsw) loading 0 seconds WARNING: [BD 41-2589] Platform should have atleast one axi memory mapped master interface. Enable a master AXI interface as platform AXI_PORT. INFO: [Project 1-1042] Successfully generated hpfm file INFO: [Vivado 12-12469] The Hardware Platform can be used for Hardware and Hardware Emulation INFO: [Vivado 12-4896] Successfully created Hardware Platform: /home/user20051/VivadoProjects/xilinx_zcu104_base/hw/build/xilinx_zcu104_base_202020_1.xsa write_hw_platform: Time (s): cpu = 00:00:11 ; elapsed = 00:00:12 . Memory (MB): peak = 3660.621 ; gain = 0.000 ; free physical = 55215 ; free virtual = 61010 INFO: [Vivado 12-12082] Found metadata file: xsa.json INFO: [Vivado 12-6078] Validating platform properties... INFO: [Vivado 12-6079] Validating unified platform... INFO: [Vivado 12-6073] Validating 'pre_synth' platform state... INFO: [Vivado 12-6077] Validating platform files... INFO: [Vivado 12-6066] Finished running validate_hw_platform for file: 'xilinx_zcu104_base_202020_1.xsa' INFO: [Common 17-206] Exiting Vivado at Fri Aug 12 14:03:03 2022... make[1]: 离开目录“/home/user20051/VivadoProjects/xilinx_zcu104_base/hw” make -C sw all make[1]: 进入目录“/home/user20051/VivadoProjects/xilinx_zcu104_base/sw” rm -rf /home/user20051/VivadoProjects/xilinx_zcu104_base/sw/build cp -rf prebuilt_linux /home/user20051/VivadoProjects/xilinx_zcu104_base/sw/build make -C /home/user20051/VivadoProjects/xilinx_zcu104_base/sw/build all make[2]: 进入目录“/home/user20051/VivadoProjects/xilinx_zcu104_base/sw/build” Makefile:14: ERROR: 'BOOT_FILES_PATH' not set, please set this flag to path of boot files directory。 停止。 make[2]: 离开目录“/home/user20051/VivadoProjects/xilinx_zcu104_base/sw/build” Makefile:8: recipe for target 'all' failed make[1]: [all] Error 2 make[1]: 离开目录“/home/user20051/VivadoProjects/xilinx_zcu104_base/sw” Makefile:43: recipe for target 'linux' failed make: *** [linux] Error 2

Dinhding commented 2 years ago

This issue has been resolved