[Discuss OpenCPI] Ubuntu 19 Support
I'm trying to add Ubuntu 19.x support to OpenCPI. My procedure has been to
add the directory projects/core/rcc/platforms/ubuntu19 and the following
files:
- README
- ubuntu19-check.sh
- ubuntu19.mk
- ubuntu-packages.sh
I also needed to change some source files due to updated GCC warnings
turning into errors, specifically:
- os/interfaces/include/OcpiOsEther.h
- runtime/dataplane/transport/impl/include/OcpiInputBuffer.h
- runtime/util/property/include/OcpiPValueApi.h
- runtime/util/property/src/OcpiUtilPValue.cxx
I also had to change the kernel module to have a different return type to
get everything to build.
Unfortunately, when I try to perform a command to show me the installed
platforms, I get this error:
$ ocpidev show platforms
OCPI:ERROR: STDERR output from Make (set_vars_from_make):
/bin/sh: 1: Bad substitution
For platform configuration file alst4x_zipper_hsmc_alst4_port_a_rx: File
"alst4x_zipper_hsmc_alst4_port_a_rx" could not be opened for
reading/parsing. Files tried: alst4x_zipper_hsmc_alst4_port_a_rx.xml,
./../../../components/misc_comps/lib/alst4x_zipper_hsmc_alst4_port_a_rx.xml,
./../../../components/misc_comps/lib/hdl/alst4x_zipper_hsmc_alst4_port_a_rx.xml,
./../../../components/util_comps/lib/alst4x_zipper_hsmc_alst4_port_a_rx.xml,
./../../../components/util_comps/lib/hdl/alst4x_zipper_hsmc_alst4_port_a_rx.xml,
./../../../components/dsp_comps/lib/alst4x_zipper_hsmc_alst4_port_a_rx.xml,
./../../../components/dsp_comps/lib/hdl/alst4x_zipper_hsmc_alst4_port_a_rx.xml,
./../../../components/comms_comps/lib/alst4x_zipper_hsmc_alst4_port_a_rx.xml,
./../../../components/comms_comps/lib/hdl/alst4x_zipper_hsmc_alst4_port_a_rx.xml,
./../../../components/base_comps/lib/alst4x_zipper_hsmc_alst4_port_a_rx.xml,
./../../../components/base_comps/lib/hdl/alst4x_zipper_hsmc_alst4_port_a_rx.xml,
./../../../hdl/devices/lib/alst4x_zipper_hsmc_alst4_port_a_rx.xml,
./../../../hdl/devices/lib/hdl/alst4x_zipper_hsmc_alst4_port_a_rx.xml,
./../../../imports/ocpi.core/exports/lib/devices/alst4x_zipper_hsmc_alst4_port_a_rx.xml,
./../../../imports/ocpi.core/exports/lib/devices/hdl/alst4x_zipper_hsmc_alst4_port_a_rx.xml,
./../../../hdl/cards/lib/alst4x_zipper_hsmc_alst4_port_a_rx.xml,
./../../../hdl/cards/lib/hdl/alst4x_zipper_hsmc_alst4_port_a_rx.xml,
./../../../imports/ocpi.core/exports/lib/cards/alst4x_zipper_hsmc_alst4_port_a_rx.xml,
./../../../imports/ocpi.core/exports/lib/components/alst4x_zipper_hsmc_alst4_port_a_rx.xml,
./../../../imports/ocpi.core/exports/lib/components/hdl/alst4x_zipper_hsmc_alst4_port_a_rx.xml,
alst4x_zipper_hsmc_alst4_port_a_rx.xml,
gen/alst4x_zipper_hsmc_alst4_port_a_rx.xml. CWD is
/home/bpadalino/projects/opencpi.git/projects/assets/hdl/platforms/alst4x
/home/bpadalino/projects/opencpi.git/cdk/include/hdl/hdl-platform.mk:199:
*** Processing platform configuration XML
"alst4x_zipper_hsmc_alst4_port_a_rx": . Stop.
OCPI:ERROR: The following make command returned an error:
make -n -r -s -C
/home/bpadalino/projects/opencpi.git/projects/assets/hdl/platforms/alst4x
ShellHdlPlatformVars=1 showpackage
I tried searching through the archives, but nothing popped out at me as a
solution.
Any idea what's happening?
Thanks,
Brian
Received on Thu Dec 05 2019 - 21:56:43 CST
This archive was generated by hypermail 2.3.0
: Fri Jun 05 2026 - 08:45:25 CDT