We want to use HDMI feature on zedboard.
To do the necessary initializations for HDMI in FSBL, we refered zynq_base_trd_14_2 design's FSBL source code. changes were accordingly made in "main.c" of FSBL.
Inside main.c functions needed for HDMI initializations are defined in i2c_utils.c. Hence i2c_utils.h and i2c_utils.h are included into the project directory and main.c is correspondingly modified to include these files.
Consequently SDK is throwing undefined reference errors for the following functions:
XIicPs_LookupConfig
XIicPs_SetSClk
XIicPs_CfgInitialize
XIicPs_BusIsBusy
XIicPs_MasterSendPolled
XIicPs_ClearOptions
Upon a search of source files, we could not come across files where the above-mentioned functions are defined.
Changes made in FSBL's "main.c" are as follows :
#ifdef FSBL_INIT
XIicPs zc702_IicPs;
/* Initialize ADV7511 HDMI */
info_xil_printf("INFO : Initialize HDMI OUT
r");
Status = zc702_hdmi_init(&zc702_IicPs);
if (Status == XST_FAILURE){tt ttinfo_xil_printf("WARNING : No monitor detected on HDMI OUTr
");
}
#endif
Kindly let us know, how the files wherein i2c related functions are defined can be sourced.
Else please suggest a suitable workaround.
Thanks and Regards
Venkatesh