SoC Builder Error: Cannot Initialize Environment

2 次查看(过去 30 天)
Matlab: R2022b
Vivado: 2020.2
Device: Xilinx ZCU111 RFSoC
OS: Windows 11
I'm executing the https://www.mathworks.com/help/soc/ug/5GNRCellSearchUsingXilinxRFSoCDevice.html example on the ZCU 111 RFSoC. When loading the bitsream I encounter the error:
Error executing command "mw_setboot /tmp/hdlcoder_rd/soc_5GNRMIBRecovery_top-XilinxZynqUltraScale_RFSoCZCU111EvaluationKit.bit /tmp/hdlcoder_rd/soc_prj.output.dtb /tmp/hdlcoder_rd "" ". Details: STDERR: Cannot open /mnt/uboot.env: No such file or directory Error: environment not initialized STDOUT: # Copied /tmp/hdlcoder_rd to /mnt/hdlcoder_rd # Copying Bitstream soc_5GNRMIBRecovery_top-XilinxZynqUltraScale_RFSoCZCU111EvaluationKit.bit to /mnt/hdlcoder_rd ERROR: Failed to set the target bitstream
Using PuTTy to setup serial commandline on the hardware:
The file indeed doesn't exist in the directory, I am not familiar with UBoot. But I do know in csh you'd have a setenv command to set it up. I'm not sure how to proceed in case of bash. Any help is appreciated.

采纳的回答

Danna
Danna 2023-11-6
The issue was in the usage of the SD to load the bitstream, it was initially used on a Linux system, I reformatted the SD on windows using a tool like SD Card Formatter. And then loaded the image again during the FPGA setup for the ZCU111, following this, the SD Card contained the UBoot.env file.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Code Generation 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by