I am trying to get the no-OS example for the FMCOMMS2/3 to work with my AC701 board.I am following this wiki page: https://wiki.analog.com/resources/fpga/no-os_make/software_setup
The HDL project was made and the system_top.hdf file was generated and available in the /fmcomms2_ac701.sdk folder.I also exported the system_top.bit in the same folder.
If I open the fmcomms2/ac701 folder and execute "make", I keep getting errors that seem to be related to folder structures.The project expects a /hw and a /sw folder, which are not present (the fmcomms2/ac701 folder only contains a makefile).
Initially I keep getting the error message that /hw/system_top.bit is missing, but when I redirect this to the HDL project folder, the following error is related to /sw/Release/sw.elfSince I do not have any software yet, what should I do to make this work?
I read here that a new project should be created with a hw and sw folder:https://wiki.analog.com/resources/eval/user-guides/ad-fmcomms2-ebz/software/no-os-setup
Should I do this first? And for the fmcomms2 project, what exactly should I copy into my project folder if the fmcomms2 folder does not contain any sources?
Thank you in advance!
Hi,Can you do a make in no-Os/fmcomms2/ac701 and put here the log messages from your terminal and SDK.log?Thanks,Andrei
Hi Andrei,If I do a make in that folder, the result is as follows:
rm -fr .metadata .Xil hw bsp xilsw sw xsct.log
xsct ../../../no-OS/scripts/xsct.tcl init ../../../hdl/projects/fmcomms2/ac701/fmcomms2_ac701.sdk/system_top.hdf > xsct.log 2>&1
../../../no-OS/scripts/microblaze.mk:72: recipe for target 'hw/system_top.bit' failed
make: *** [hw/system_top.bit] Error 127
If I execute make with the "M_HDF_FILE=" argument, it makes no difference.I do not see an SDK.log file, but in the folder is a xsct.log file with the following content:
/bin/sh: 1: xsct: not found
Maybe it is good to mention the environment variable in a remark on the Wiki page, like you did on the HDL Wiki page (under Environment Setup). For Linux this apparently requires some manual action.
Hi,You have to set you environment.I guess you are running Linux, do a "export PATH=$PATH:xilinx_install_dir/SDK/bin"Andrei