Hello,
I am trying to build a custom image for the RFSoC 4x2 board so my team and I can use the new remote features of 3.1.2. Unfortunately, I am running into an error I cannot figure out:
I get this checkenv error but can’t seem to fix it. I have opened Vitis and used the “source” command to make sure the container can access it. Vitis is located in the standard /tools/Xilinx/… directory. It is structured the same as Vivado and I have not altered it since it was installed. I have chmod’ed 777 for all files trying to fix this, too.
If there are some troubleshooting steps I can take or if one of you have any advice, please comment on this post! Thank you!!
To understand the error you’re seeing I would have to understand a bit more of your setup. Typically, to build an RFSoC4x2 image you would need to run the make command from within the RFSoC-PYNQ repo, not the PYNQ repo.
If you’re looking to build a remote image for the RFSoC4x2, there is already a pynqremote target in the latest RFSoC-PYNQ Makefile that will do this for you.
From within the PYNQ SD Build Docker container (and with the Vivado/Vitis tools sourced):
Clone the RFSoC-PYNQ repo and cd into it
git clone --recursive https://github.com/Xilinx/RFSoC-PYNQ.git
cd RFSoC-PYNQ
Then just run BOARD=RFSoC4x2 make pynqremote
This should get you a basic remote image for the 4x2 and allow you to use functionality like Overlay download, MMIO, DMA, and GPIO. However, the RF features of the RFSoC are not available at the moment for remote (working on that at the moment).
Thank you for your reply! I was not aware the RFSoC4x2 pynq repository had the necessary board files and makefile for the pynq.remote functionalities. I followed what you said to do and added the .bsp files to the locations that need them. Unfortunately, running the make failed. I attached the log to this post of what failed. It seems to be a python function that failed finding the axi_gpio blocks for the board? I will try to debug on my own, but any suggestions/help would be much appreciated.