フィルターのクリア

SoC Builder Error: Cannot Initialize Environment

7 ビュー (過去 30 日間)
Danna
Danna 2023 年 10 月 27 日
回答済み: Danna 2023 年 11 月 6 日
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 件)

Community Treasure Hunt

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

Start Hunting!

Translated by