Building the modified reference design

Hi,

I am using HDL reference design 2018_r2 for ADRV9364_Z7020-BOB_LVDS. Now, to modify or customize the reference design I followed Analog Wiki: Integrate FIR Filters into the FMCOMMS2 HDL design. I am able to generate bitstream, hdf,  and new BOOT.bin as well by following Analog WIki: How to build the Zynq boot image BOOT.BIN.

Since, I am using 2021-07-28-ADI_KUIPER_FULL image in the sd card. I would like to know what should be my next steps to run the aforementioned modified program on my hardware. Do I need to re-build the devicetree and/or uImage? Or should I simply add the newly generated BOOT.bin in the boot partition of SD card? As when I copied this new BOOT.bin only in the boot partition of SD Card and and used existing devicetree.dtb and uImage, the "cfg done" blue LED on ADCR-BOB did not lit up.

Any help would be much appreciated.

Thanks!

DS

Top Replies

    •  Analog Employees 
    Nov 24, 2021 +1 verified
    just generating a BOOT.bin and then copying it to the SD card is sufficient or not?

    I think it would be enough (from the HDL perspective) but regarding the software, as far as I know you h…

  • 0
    •  Analog Employees 
    on Nov 24, 2021 11:58 AM

    Hello,

    The first issue I see, is the mismatch between the versions: SD card image (2019_R2) and HDL (hdl_2018_r2). These should be  from the same release; either you pick an older version of the SD card image (which I do not recommend) or you pick hdl_2019_r2 branch for HDL. 

    Regards,
    Iulia

  • Thanks for the prompt response. I will try with hdl_2019_r2 branch as well. But, can you also tell me if just generating a BOOT.bin and then copying it to the SD card is sufficient or not?

    Moreover, if I am only make small modifications in the design like simply adding an ILA core from Vivado, do I still need to create BOOT.bin every time to program the hardware?

    Thanks!

  • +1
    •  Analog Employees 
    on Nov 24, 2021 1:06 PM
    just generating a BOOT.bin and then copying it to the SD card is sufficient or not?

    I think it would be enough (from the HDL perspective) but regarding the software, as far as I know you have to modify the devicetree only if the new components added in HDL have an AXI interface. I believe it will require some edits, but just to make sure, you can ask about this on our Linux forum, and they will assist you with this part further.

    do I still need to create BOOT.bin every time to program the hardware?

    Yes, every time you modify something in the HDL.

    For now, I would try with the default devicetree.dtb and uImage, but let me know how it goes with hdl_2019_r2 and this version of the SD card.