E310 OSP platform install error - v2.4.7 (Error for card 'e31x_mimo_xcvr_scdcd_csts')
Bug Summary
When preparing a new container development environment for OpenCPI v2.4.7, it was found that the following error was flagged when installing the E310 OSP (ocpiadmin --package-id ocpi.osp.e3xx install platform e31x)
Steps to reproduce
Run the following command: ocpiadmin --package-id ocpi.osp.e3xx install platform e31x
Relevant logs and/or screenshots
Console output as follows:
======= Exiting the "base" configuration for the "e31x" platform.
======= Entering the "cfg_1rx_1tx_mode_2_cmos_csts" configuration for the "e31x" platform.
For file ../../e31x/cfg_1rx_1tx_mode_2_cmos_csts.xml: Error for card 'e31x_mimo_xcvr_scdcd_csts': for device worker platform_csts_ad9361_data_sub in platform/card cfg_1rx_1tx_mode_2_cmos_csts: No build parameter configuration for worker "platform_csts_ad9361_data_sub" matches requested (non-default) parameter values: LVDS_P="false"
/opencpi/cdk/include/hdl/hdl-config.mk:70: *** Failed to process initial parameters for this worker: 1. Stop.
make[2]: *** [config-cfg_1rx_1tx_mode_2_cmos_csts] Error 2
make[1]: *** [e31x] Error 2
make: *** [hdlplatforms] Error 2
Error: error building at STEP "RUN source cdk/opencpi-setup.sh -s && ocpiadmin --package-id ocpi.osp.e3xx install platform e31x": error while running runtime: exit status 1
Environment info
- OpenCPI Version used: 2.4.7
- Environment vars (
env | grep -i ocpi | sort
): Podman build - Operating System and version (ex. CentOS 7): Centos 7
- Link to your project on GitLab (optional):
Possible fixes (Optional)
This issue was bypassed by adding the —minimal flag, which according to the help message, does the following - “specifies a minimized installation process that does not pre-build HDL workers or run any installation tests; default is “false””. This flag was not required when installing the e310 OSP on OpenCPI v2.4.6.
When using the –minimal flag, it may be necessary to include the “–workers-as-needed” flag when building applications e.g.:
“ocpidev build --hdl-platform xsim --hdl-platform e31x –workers-as-needed”
(Thanks @dawalters for the help with this)
Acceptance criteria
Fix should allow the following command, without the --minimal flag
'''ocpiadmin --package-id ocpi.osp.e3xx install platform e31x'''