Fixed
Details
Details
Assignee
Pierre Marzin
Pierre MarzinReporter
Edi Feschiyan
Edi FeschiyanContract ID
Hardware Platform(s) Affected
Intel Minnowboard
Intel Upsquare
QEMU x86_64
Raspberry Pi 3
Renesas M3
Components
Priority
Created April 9, 2019 at 9:46 AM
Updated April 24, 2019 at 8:05 PM
Resolved April 24, 2019 at 11:39 AM
The hello world service and test do not run.
After building a fresh image with bitbake agl-demo-platform-crosssdk, installing the sdk and sourcing the sdk environment file, here are the following steps taken
It should be noted that there are discrepancies within the documentation - for example
http://docs.automotivelinux.org/guppy/docs/apis_services/en/dev/reference/afb-test/the-test-widget.html#build-the-test-widget
The example shown uses -DBUILD_TEST_WIDGET=TRUE, however the correct option is the one shown in the description above -DBUILD_TEST_WGT=TRUE, which would not produce a test widget file following the former example.
This produces 2 .wgt files
The result of the installation and running the helloworld service is the following:
This results in the following
It turns out that the generated systemd service points to a non-existent .so file, and therefore this has to be fixed by editing the conf.d/wgt/config.xml.in line13 (found by ):
into
After cleaning and rebuilding the hello world service widget, scp-ing to the board and installing, the service seems to be running:
Installing the test widget seems to go fine, however running it - does not:
The failing test service reports this log: