Hi All,
I am using WP7702 which came wih mangOH red,
I updated the VM with the latest tool chain as described by dfrey in the topic
I still get the errors below
Sep 18 13:34:19 | uartMode[28702]/swiQmi T=main | swiQmi.c StartService() 113 | qmi_client_get_service_list rc=0, numServices=1
Sep 18 13:34:19 | uartMode[28708]/swiQmi T=main | swiQmi.c InitService() 379 | Init QMI service QMI_SERVICE_DMS (2)
Sep 18 13:34:19 | uartMode[28708]/swiQmi T=main | swiQmi.c PrintServiceDetails() 355 | Service.2: library_version.6 idl_version.1 service_id.0x2 idl_minor_version.57
Sep 18 13:34:19 | uartMode[28709]/swiQmi T=main | swiQmi.c InitService() 379 | Init QMI service QMI_SERVICE_DMS (2)
Sep 18 13:34:19 | uartMode[28709]/swiQmi T=main | swiQmi.c PrintServiceDetails() 355 | Service.2: library_version.6 idl_version.1 service_id.0x2 idl_minor_version.57
Sep 18 13:34:19 | QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-6
Sep 18 13:34:19 | uartMode[28708]/swiQmi T=main | swiQmi.c StartService() 113 | qmi_client_get_service_list rc=0, numServices=1
Sep 18 13:34:19 | QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-6
Sep 18 13:34:19 | uartMode[28709]/swiQmi T=main | swiQmi.c StartService() 113 | qmi_client_get_service_list rc=0, numServices=1
Sep 18 13:34:26 | supervisor[783]/supervisor T=main | apps.c appCtrl_Stop() 1653 | Application ‘redSensorToCloud’ is not running and cannot be stopped.
Sep 18 13:34:26 | supervisor[783]/supervisor T=main | app.c app_Create() 2735 | Creating app ‘redSensorToCloud’
Sep 18 13:34:26 | supervisor[783]/supervisor T=main | proc.c GetFaultAction() 323 | No fault action specified for process ‘redSensorToCloud’. Assuming ‘ignore’.
Sep 18 13:34:26 | supervisor[783]/supervisor T=main | proc.c GetWatchdogAction() 359 | redSensorToCloud watchdogAction ‘’ in proc section
Sep 18 13:34:26 | supervisor[783]/supervisor T=main | proc.c GetWatchdogAction() 359 | redSensorToCloud watchdogAction ‘’ in proc section
Sep 18 13:34:26 | supervisor[783]/supervisor T=main | app.c app_Start() 2926 | Starting app ‘redSensorToCloud’
Sep 18 13:34:26 | supervisor[783]/supervisor T=main | app.c CreateFileLink() 1619 | Created file link ‘/dev/log’ to ‘/legato/systems/current/appsWriteable/redSensorToCloud/dev/log’.
Sep 18 13:34:26 | supervisor[783]/supervisor T=main | app.c CreateFileLink() 1619 | Created file link ‘/dev/null’ to ‘/legato/systems/current/appsWriteable/redSensorToCloud/dev/null’.
Sep 18 13:34:26 | supervisor[783]/supervisor T=main | app.c CreateFileLink() 1619 | Created file link ‘/dev/zero’ to ‘/legato/systems/current/appsWriteable/redSensorToCloud/dev/zero’.
Sep 18 13:34:26 | supervisor[783]/supervisor T=main | app.c CreateFileLink() 1619 | Created file link ‘/legato/systems/current/lib/liblegato.so’ to ‘/legato/systems/current/appsWriteable/redSensorToCloud/lib/liblegato.so’.
Sep 18 13:34:26 | supervisor[783]/supervisor T=main | app.c CreateFileLink() 1619 | Created file link ‘/lib/ld-linux.so.3’ to ‘/legato/systems/current/appsWriteable/redSensorToCloud/lib/ld-linux.so.3’.
Sep 18 13:34:26 | supervisor[783]/supervisor T=main | app.c CreateFileLink() 1619 | Created file link ‘/lib/libc.so.6’ to ‘/legato/systems/current/appsWriteable/redSensorToCloud/lib/libc.so.6’.
Sep 18 13:34:26 | supervisor[783]/supervisor T=main | app.c CreateFileLink() 1619 | Created file link ‘/lib/libpthread.so.0’ to ‘/legato/systems/current/appsWriteable/redSensorToCloud/lib/libpthread.so.0’.
Sep 18 13:34:26 | supervisor[783]/supervisor T=main | app.c CreateFileLink() 1619 | Created file link ‘/lib/librt.so.1’ to ‘/legato/systems/current/appsWriteable/redSensorToCloud/lib/librt.so.1’.
Sep 18 13:34:26 | supervisor[783]/supervisor T=main | app.c CreateFileLink() 1619 | Created file link ‘/lib/libdl.so.2’ to ‘/legato/systems/current/appsWriteable/redSensorToCloud/lib/libdl.so.2’.
Sep 18 13:34:26 | supervisor[783]/supervisor T=main | app.c CreateFileLink() 1619 | Created file link ‘/lib/libgcc_s.so.1’ to ‘/legato/systems/current/appsWriteable/redSensorToCloud/lib/libgcc_s.so.1’.
Sep 18 13:34:26 | supervisor[783]/supervisor T=main | app.c CreateFileLink() 1619 | Created file link ‘/lib/libm.so.6’ to ‘/legato/systems/current/appsWriteable/redSensorToCloud/lib/libm.so.6’.
Sep 18 13:34:26 | supervisor[783]/supervisor T=main | app.c CreateFileLink() 1619 | Created file link ‘/usr/lib/libstdc++.so.6’ to ‘/legato/systems/current/appsWriteable/redSensorToCloud/lib/libstdc++.so.6’.
Sep 18 13:34:26 | supervisor[783]/supervisor T=main | app.c CreateFileLink() 1619 | Created file link ‘/legato/systems/current/apps/redSensorToCloud/read-only/lib/libComponent_sensorsComponent.so’ to '/legato/systems/current/appsWriteabl
Sep 18 13:34:26 | supervisor[783]/supervisor T=main | app.c CreateFileLink() 1619 | Created file link ‘/legato/systems/current/apps/redSensorToCloud/read-only/lib/libComponent_avPublisherComponent.so’ to '/legato/systems/current/appsWrit
Sep 18 13:34:26 | supervisor[783]/supervisor T=main | app.c CreateFileLink() 1619 | Created file link '/legato/systems/current/apps/redSensorToCloud/read-only/bin/redSensorToCloud’ to '/legato/systems/current/appsWriteable/redSensorToClo
Sep 18 13:34:26 | supervisor[783]/supervisor T=main | app.c CreateFileLink() 1507 | Could not stat file at ‘/sys/devices/platform/led.0/led’. No such file or directory
Sep 18 13:34:26 | supervisor[783]/supervisor T=main | app.c CreateFileLink() 1624 | Failed to create link at ‘/sys/devices/platform/led.0/led’ in app ‘redSensorToCloud’.
Sep 18 13:34:26 | supervisor[783]/supervisor T=main | app.c app_Start() 2954 | Failed to set Smack rules or set up app area.
Sep 18 13:34:26 | supervisor[783]/supervisor T=main | supervisor.c SigChildHandler() 783 | Reaping unconfigured child process 28779.
redSensorToCloud
Here is the output of the cfglegato command
mangoh@mangoh-vm : ~ $ cfglegato
Configuring shell for Legato development
[wp85] Toolchain dir = /opt/swi/y17-ext-wp85/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi
prefix = arm-poky-linux-gnueabi-
sysroot = /opt/swi/y17-ext-SWI9X15Y_07.12.14.00/sysroots/armv7a-vfp-neon-poky-linux-gnueabi
kernelroot = /opt/swi/y17-ext-SWI9X15Y_07.12.14.00/sysroots/armv7a-vfp-neon-poky-linux-gnueabi/usr/src/kernel
[wp750x] Toolchain dir = /opt/swi/y17-ext-wp750x/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi
prefix = arm-poky-linux-gnueabi-
sysroot = /opt/swi/y17-ext-SWI9X15Y_07.12.14.00/sysroots/armv7a-vfp-neon-poky-linux-gnueabi
kernelroot = /opt/swi/y17-ext-SWI9X15Y_07.12.14.00/sysroots/armv7a-vfp-neon-poky-linux-gnueabi/usr/src/kernel
[wp76xx] Toolchain dir = /opt/swi/SWI9X06Y_02.18.05.00/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi
prefix = arm-poky-linux-gnueabi-
sysroot = /opt/swi/SWI9X06Y_02.18.05.00/sysroots/armv7a-neon-poky-linux-gnueabi
kernelroot = /opt/swi/SWI9X06Y_02.18.05.00/sysroots/armv7a-neon-poky-linux-gnueabi/usr/src/kernel
[wp77xx] Toolchain dir = /opt/swi/SWI9X06Y_02.18.05.00/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi
prefix = arm-poky-linux-gnueabi-
sysroot = /opt/swi/SWI9X06Y_02.18.05.00/sysroots/armv7a-neon-poky-linux-gnueabi
kernelroot = /opt/swi/SWI9X06Y_02.18.05.00/sysroots/armv7a-neon-poky-linux-gnueabi/usr/src/kernel
root@swi-mdm9x28-wp:~# lsmod
Not tainted
root@swi-mdm9x28-wp:~# cat /legato/systems/current/version
18.06.1_7bc924287cc41a0157bd414af840e754_modified
root@swi-mdm9x28-wp:~# cm info
Device: WP7702
IMEI: 352653090005521
IMEISV: 2
FSN: [30922.820135] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:1 cur:0 tx) bc(rx:0 tx:2) mode:FIFO slv_addr:0x3a MSTR_STS:0x0c1300c8 OPER:0x00000090
VU749185081002
Firmware Version: SWI9X06Y_02.16.06.00 7605a6 jenkins 2018/06/20 17:56:12
Bootloader Version: SWI9X06Y_02.16.06.00 7605a6 jenkins 2018/06/20 17:56:12
MCU Version: 002.009
PRI Part Number (PN): 9907365
PRI Revision: 001.004
Carrier PRI Name: ATT
Carrier PRI Revision: 001.026_000
SKU: 1103530
Last Reset Cause: Crash
Resets Count: Expected: 81 Unexpected: 21
I also observed when I run the RedSensorToCloud Application, the following error appears on the console.
root@swi-mdm9x28-wp:~# [30675.026839] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:1 cur:0 tx) bc(rx:0 tx:2) mode:FIFO slv_addr:0x3a MSTR_STS:0x0c1300c8 OPER:0x00000090
root@swi-mdm9x28-wp:~# ls -la /sys/devices/platform/
drwxr-xr-x 79 root root 0 Sep 18 05:03 .
drwxr-xr-x 208 root root 0 Jan 1 1970 …
drwxr-xr-x 3 root root 0 Sep 18 05:03 DATA1.0
drwxr-xr-x 3 root root 0 Sep 18 05:03 DATA11.0
drwxr-xr-x 3 root root 0 Sep 18 05:03 DATA2.0
drwxr-xr-x 3 root root 0 Sep 18 05:03 DATA3.0
drwxr-xr-x 3 root root 0 Sep 18 13:34 DATA4.0
drwxr-xr-x 3 root root 0 Sep 18 05:03 DATA40.0
drwxr-xr-x 3 root root 0 Sep 18 05:03 DATA40_CNTL.0
drwxr-xr-x 3 root root 0 Sep 18 05:03 DATA5_CNTL.0
drwxr-xr-x 3 root root 0 Sep 18 05:03 DIAG.0
drwxr-xr-x 3 root root 0 Sep 18 05:03 DIAG_2.0
drwxr-xr-x 3 root root 0 Sep 18 05:03 DIAG_2_CMD.0
drwxr-xr-x 3 root root 0 Sep 18 05:03 DIAG_CMD.0
drwxr-xr-x 3 root root 0 Sep 18 05:03 DIAG_CNTL.0
drwxr-xr-x 3 root root 0 Sep 18 05:03 DS.0
drwxr-xr-x 3 root root 0 Sep 18 05:03 GPSNMEA.0
drwxr-xr-x 3 root root 0 Sep 18 05:03 IPCRTR.0
drwxr-xr-x 3 root root 0 Sep 18 05:03 SSM_RTR_MODEM_APPS.0
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC00000001:00000001.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC00000002:00000001.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC00000003:00000001.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC00000005:00000001.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC00000008:00000001.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC00000009:00000002.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC0000000a:00000002.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC0000000b:00000001.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC0000000c:00000001.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC0000000f:00000001.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC00000010:00000002.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC00000011:00000001.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC00000016:00000001.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC00000017:00000001.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC00000018:00000001.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC00000019:00000001.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC0000001a:00000001.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC00000024:00000001.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC00000029:00000101.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC0000002a:00000001.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC0000002b:00002202.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC0000002d:00000001.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC0000002f:00000001.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC00000030:00000001.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC00000036:00000001.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC00000048:00000001.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC000000e3:00000001.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC000000e4:00000001.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC000000f0:00000001.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC000000f2:00000001.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC000000f3:00000001.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC000000f5:00000001.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC000000f6:00000001.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC000000f8:00000001.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC000000f9:00000001.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC000000fa:00000001.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC000000fd:00000001.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC000000fe:00000001.1
drwxr-xr-x 3 root root 0 Sep 18 05:03 SVC00000400:00000001.1
drwxr-xr-x 3 root root 0 Sep 18 13:42 SVC00001001:00000000.1
drwxr-xr-x 3 root root 0 Sep 18 13:42 SVC00001001:00000002.1
drwxr-xr-x 3 root root 0 Sep 18 13:42 SVC00001001:00000004.1
drwxr-xr-x 3 root root 0 Sep 18 13:42 SVC00001001:00000040.1
drwxr-xr-x 3 root root 0 Sep 18 13:42 SVC00001001:00000042.1
drwxr-xr-x 3 root root 0 Sep 18 13:42 SVC00001001:00000044.1
drwxr-xr-x 3 root root 0 Sep 18 13:42 SVC00001001:00000080.1
drwxr-xr-x 3 root root 0 Sep 18 13:42 SVC00001001:00000082.1
drwxr-xr-x 3 root root 0 Sep 18 13:42 SVC00001001:00000084.1
drwxr-xr-x 3 root root 0 Sep 18 13:42 SVC00001001:000000c0.1
drwxr-xr-x 3 root root 0 Sep 18 13:42 SVC00001001:000000c2.1
drwxr-xr-x 3 root root 0 Sep 18 13:42 SVC00001001:000000c4.1
drwxr-xr-x 3 root root 0 Sep 18 13:42 alarmtimer
drwxr-xr-x 3 root root 0 Sep 18 05:03 apr_apps2.0
drwxr-xr-x 3 root root 0 Sep 18 05:03 apr_audio_svc.0
drwxr-xr-x 3 root root 0 Sep 18 05:03 bam_dmux_ch_0.2
drwxr-xr-x 3 root root 0 Sep 18 05:03 bam_dmux_ch_8.2
lrwxrwxrwx 1 root root 0 Sep 18 05:03 msm_serial_hs.0 → …/78b0000.uart
lrwxrwxrwx 1 root root 0 Sep 18 13:42 msm_serial_hsl.0 → …/78b0000.serial
lrwxrwxrwx 1 root root 0 Sep 18 05:03 msm_serial_hsl.1 → …/78af000.serial
drwxr-xr-x 2 root root 0 Sep 18 13:42 power
drwxr-xr-x 4 root root 0 Jan 1 1970 reg-dummy
drwxr-xr-x 3 root root 0 Sep 18 13:42 rpm_requests.15
drwxr-xr-x 3 root root 0 Sep 18 13:42 snd-soc-dummy
-rw-r–r-- 1 root root 4096 Sep 18 13:42 uevent
root@swi-mdm9x28-wp:~# uname -a
Linux swi-mdm9x28-wp 3.18.44 #2 PREEMPT Fri Jul 20 21:01:16 UTC 2018 armv7l GNU/Linux
Did I miss anything ?
I would appreciate your response.