SPI not working with Release 15

Hi!

I am having issues getting SPI working with Release 15 on WP8548. The spisvc kernel does not install properly (cannot be found in spisvc). It is included in the .sdef file I am installing ($LEGATO_ROOT/drivers/spisvc/spisvc). This same works fine on Release 14 firmware.
I am running Legato 18.03.0.

Anyone with similar problems?

Are you building with the appropriate toolchain for release 15? The version should be SWI9X15Y_07.12.14.00. Search for “64-bit ToolChain” on the wp85 firmware components page.

Hi @dfrey,

I tried using that and the one from here: https://source.sierrawireless.com/resources/airprime/software/wpx5xx/wpx5xx-firmware-release-15/
(Generic - GCF)

It seems like the latter also installs a new .sdef, since the applications change with it. The one you linked does not.

But anyways, if you install the one you suggested, with my own .sdef and spisvc installed, it works. Or the spisvc stays installed and SPI bus works. But if you install a sdef without spisvc kernel you cannot install it again. This is the same issue on either Release 15 .spk file. It cannot be found when running lsmod.

To get it to work, you need to install Realease 14, and then install the Release 15 you suggested.
The spivsvc kernel is installed though, but for some reason it does not work.

root@swi-mdm9x15:~# find / -name “spisvc.ko”
/legato/systems/current/modules/spisvc.ko
/mnt/flash/legato/systems/current/modules/spisvc.ko

root@swi-mdm9x15:~# lsmod
Not tainted
softdog 2127 1 - Live 0xbf138000
xt_hl 1246 4 - Live 0xbf134000
nf_conntrack_ipv6 9233 1 - Live 0xbf12d000
nf_defrag_ipv6 13110 1 nf_conntrack_ipv6, Live 0xbf125000
ip6table_filter 1192 1 - Live 0xbf121000
ip6_tables 10446 1 ip6table_filter, Live 0xbf11a000
nf_conntrack_ipv4 14153 1 - Live 0xbf112000
nf_defrag_ipv4 1405 1 nf_conntrack_ipv4, Live 0xbf10e000
xt_tcpudp 2873 6 - Live 0xbf10a000
ipv6 290588 16 nf_conntrack_ipv6,nf_defrag_ipv6,[permanent], Live 0xbf0ae000
xt_conntrack 2895 2 - Live 0xbf0aa000
nf_conntrack 67603 3 nf_conntrack_ipv6,nf_conntrack_ipv4,xt_conntrack, Live 0xbf08f000
iptable_filter 1248 1 - Live 0xbf08b000
ip_tables 11230 1 iptable_filter, Live 0xbf084000
x_tables 13448 7 xt_hl,ip6table_filter,ip6_tables,xt_tcpudp,xt_conntrack,iptable_filter,ip_tables, Live 0xbf07b000
msm_sdcc 62586 0 - Live 0xbf065000
usb_storage 41365 0 - Live 0xbf051000
sd_mod 29567 0 - Live 0xbf044000
scsi_mod 133355 2 usb_storage,sd_mod, Live 0xbf012000
spidev 6116 0 - Live 0xbf00d000
unix 29432 689 - Live 0xbf000000

Have you encountered any similar issues, or are you able to reproduce this? For me it can be done with:

  1. Install https://source.sierrawireless.com/resources/airprime/software/wpx5xx/wpx5xx-firmware-release-15/
    (Generic - GCF)
  2. Install your suggested firmware
  3. Try install a .sdef with $LEGATO_ROOT/drivers/spisvc/spisvc in kernelModules.

Adding to this. Cannot seem get accelerometer / gyro / temperature / pressure sensor to work either with the new firmware.
On the old firmware they are found under:
/sys/devices/i2c-0/0-0068/iio:device0
and
/sys/devices/i2c-0/0-0076/iio:device1

I have been working with a WP7702 as well. On that module the above mentioned sensors are found under:
/sys/devices/78b8000.i2c/i2c-4/4-0068/iio:device0
and
/sys/devices/78b8000.i2c/i2c-4/4-0076/iio:device1

But for WP8548 and Release 15 I cannot find them anywhere. @dfrey have you heard about similar issues?