MM-ATH
Occasional Contributor
10 months agoAGILEX5 - HPS-first - timeout waiting for RECONFIG_COMPLETED
Hello,
I am using HPS-first boot scheme on AGILEX5 AXE5-Eagle dev board. I have suddenly problem with writing FPGA (fpga_core.rbf) from running linux. Before it worked as expected, but now I am getting these errors:
[ 39.349511] fpga_manager fpga0: writing /images/fpga_core.rbf to Stratix10 SOC FPGA Manager [ 46.563143] Stratix10 SoC FPGA manager soc@0:firmware:svc:fpga-mgr: timeout waiting for RECONFIG_COMPLETED [ 74.235126] svc_thread_cmd_config_status: poll status timeout [ 74.240952] fpga_manager fpga0: Error after writing image data to FPGA [ 74.247993] fpga_region region0: failed to load FPGA image [ 74.253484] OF: overlay: overlay changeset pre-apply notifier error -110, target: /soc@0/base_fpga_region [ 74.263055] create_overlay: Failed to create overlay (err=-110)
The same fpga_core.rbf image can be written without issues from u-boot. I have older fpga_core.rbf which can be written also from linux. Recent changes in fpga_core.rbf design were mailnly in experimenting about EMIF in FPGA-connected RAM (not HPS-one). I have tried multiple compilations and present compilations can not be written from linux, only from uboot.
This is my overlay.dts
/dts-v1/; /plugin/; / { fragment@0 { target-path = "/soc@0/base_fpga_region"; __overlay__ { firmware-name = "/images/fpga_core.rbf"; config-complete-timeout-us = <10000000>; }; }; };
Should I fiddle with some timeouts somehow?
Loading FPGA from u-boot takes about 1-2 seconds max.