My board is Xilinx ZC702,And I've make the HDL project by https://wiki.analog.com/resources/fpga/docs/build ,then I built a software project by Vivado and open it by SDK.
Then I create a new project by https://wiki.analog.com/resources/fpga/xilinx/kc705/adv7511?force_rev=1#downloads ,then import the source file.
But the SDK can't find Many Functions.and I can't compile the project.Such as
This project in process of updating right now so that it will be easier to get up and running.
In the meantime there are some workarounds to get the project running:
First make sure to copy the appropriate 'inc' and 'lib' folders into the software project and follow the steps described here to include the library into the project. After doing this you most likely have to change a compiler flag for both the project and the bsp. You need to change the flag -mfloat-abi=hard to -mfloat-abi=softfp. To do this for the software project you need to got to Project->Properties->Settings->Miscellaneous as in the picture below:
To change them in the BSP open system.mss file and press on the 'Modify this BSP's Settings' button like in the next picture:
Then go to the ps7_cortexa9_0 -> extra_compiler_flags and change it in the 'Value' tab like presented below:
Second, there are some functions used in this project from the BSP that have become static to the module they're in (xdmaps). These functions are:
They are declared extern in the cf_hdmi.c source, but instead they must be copied from the xdmaps.c file into the cf_hdmi.c file.
The XDmaPs_Memcpy4 function must also be copied here because XDmaPs_Instr_DMAMOV uses it.
Alternatively, you can use the current xdmaps API, but we don't have the example code yet.
Doing all this should you should be able to run the project.
Let us know if any issues arise.
Thanks a lot,but It seems have another problem.Now I tried built my project,and It notice me many errors such as
Description Resource Path Location Typeerror: HDMI_Test.elf uses VFP register arguments, ./src/cf_hdmi.o does not HDMI_Test C/C++ Problem
I apologize, I forgot to mention that the 'mfloat-abi' flag needs to be updated in the linker Misc options too. So the same path as for the compiler, but this time go to the misc properties of the linker. This illustration should help:
This should solve the problem.
emmm,I have already known this problem from other websites, but I still have the same error.
So you have updated the flag in the three places: BSP, compiler and linker, and still have the same issue?