No Kernel modules found on wp7608


#1

Hi all,

we have 2 mango_red boards with wp7608.

Bot the modules are updated to the latest release 9 and have the same software version as shown below

Module 1:

root@swi-mdm9x28:~# cm info
Device: WP7608
IMEI: 352913090102771
IMEISV: 4
FSN: XG814285080710
Firmware Version: SWI9X07Y_02.16.02.00 000000 jenkins 20[ 267.898633] 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
18/04/19 19:59:02
Bootloader Version: SWI9X07Y_02.16.02.00 000000 jenkins 2018/04/19 19:59:02
MCU Version: 002.009
PRI Part Number (PN): 9907762
PRI Revision: 001.002
Carrier PRI Name: GENERIC
Carrier PRI Revision: 002.032_000
SKU: 1103788
Last Reset Cause: Reset, User Requested
Resets Count: Expected: 112 Unexpected: 15

root@swi-mdm9x28:~# lsmod
Not tainted

Module 2:

root@swi-mdm9x28:~# cm info
Device: WP7608
IMEI: 352913090102664
IMEISV: 4
FSN: XG814285460910
Firmware Version: SWI9X07Y_02.16.02.00 000000 jenkins 2018/04/19 19:59:02
Bootloader Version: SWI9X07Y_02.16.02.00 000000 jenkins 2018/04/19 19:59:02
[ 69.952296] 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:0x081343c8 OPER:0x00000090
MCU Version: 002.009
PRI Part Number (PN): 9907762
PRI Revision: 001.002
Carrier PRI Name: GENERIC
Carrier PRI Revision: 002.032_000
SKU: 1103788
Last Reset Cause: Reset, User Requested
Resets Count: Expected: 214 Unexpected: 1

root@swi-mdm9x28:~# lsmod
** Tainted: G**
spisvc 1069 0 - Live 0xbf043000 (O)
mt7697serial 8118 0 - Live 0xbf03d000 (O)
mt7697q 19711 0 - Live 0xbf033000 (O)
mangoh_red_dv5 8156 0 - Live 0xbf02d000 (O)
ltc294x 5575 0 - Live 0xbf028000 (O)
led 1935 0 - Live 0xbf024000 (O)
cp2130 20478 1 mt7697q, Live 0xbf01b000 (O)
bq24296 10836 0 - Live 0xbf014000 (O)
bmp280_i2c 2631 0 - Live 0xbf010000 (O)
bmp280 9493 1 bmp280_i2c, Live 0xbf009000 (O)
bmi160_i2c 1396 0 - Live 0xbf005000 (O)
bmi160 5472 1 bmi160_i2c, Live 0xbf000000 (O)

I have 2 question

  • How can I get the kernel modules on the 1st module as similar to 2nd ? Am I missing something here ?
  • In the software vesions the slave not responding message, what does it indicate ? Do I need to worry about this error in regards to functionality ?

Thanks


#2

Hi @stirulaka,

The easy part first - the slave not responding message is due to a power state of the MCU peripheral. It requires a wakeup kick before responding, so the first message is NACK’d, before the MCU version is correctly received and reported as 002.009. It’s a nuisance in the logs, but it’s expected behaviour.

For the first part of your question, the logs you’ve shown don’t provide enough info to know. The Firmware and Bootloader shown there correspond to the Modem and SBL (System Bootloader, not Linux Bootloader - LK). The kernel modules are going to be in your Linux image, and evidently you’re running two different images. The kernel modules aren’t in our standard Release 9 software, so I’m assuming you’ve rebuilt for MangOh and applied that image to only one of the two devices. Does that sound right?

Thanks,
Ryan