MangOH Red [wp76xx] with Talon Mirage IoT [wl18xx]

I am trying to get the Talon Mirage IOT module wl18xx on MangOH red board wp76xx based.

As per suggestions in the link: Anyone using Talon Mirage IoT card, or another WL18xx - based device with MangoH Red WP7607/ 8/9 board?

I have recompiled the mangoh red code commenting out “LEGATO_WIFI_PA=${CURDIR}/linux_kernel_modules/mt7697wifi/scripts/pa_wifi.sh” in the red.sdef file.

After flashing the image, i tried to run "wifi / wifiApTest " app, but its not present.

Can you please guide on how to test the Mirage Talon IoT module with MangoH red board.

Seems you don’t need to build the mangoh layer.

I use the official FW here:
https://source.sierrawireless.com/resources/airprime/software/wp76xx/wp76xx-firmware-release-13,-d-,1/#sthash.Ch70OjWH.dpbs

root@swi-mdm9x28-wp:~# app status
[running] atAirVantage
[stopped] atQmiLinker
[running] atService
[running] audioService
[running] avcService
[running] cellNetService
[running] dataConnectionService
[running] fwupdateService
[running] gpioService
[running] modemService
[running] portService
[running] positioningService
[running] powerMgr
[running] qmiAirVantage
[running] secStore
[stopped] smsInboxService
[stopped] spiService
[stopped] tools
[stopped] voiceCallService
[stopped] wifi
[stopped] wifiApTest
[stopped] wifiClientTest
[running] wifiService
[stopped] wifiWebAp
root@swi-mdm9x28-wp:~#
root@swi-mdm9x28-wp:~# wifi client start
[ 95.968353] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:2 cur:0 tx) bc(rx:1 tx:1) mode:FIFO slv_addr:0x70 MSTR_STS:0x0d1300c8 OPER:0x00000010
[ 95.983842] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:2 cur:0 tx) bc(rx:1 tx:1) mode:FIFO slv_addr:0x70 MSTR_STS:0x0d1300c8 OPER:0x00000010
[ 95.999697] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:2 cur:0 tx) bc(rx:1 tx:1) mode:FIFO slv_addr:0x70 MSTR_STS:0x0d1300c8 OPER:0x00000010
[ 96.015922] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:2 cur:0 tx) bc(rx:1 tx:1) mode:FIFO slv_addr:0x70 MSTR_STS:0x0d1300c8 OPER:0x00000010
[ 96.033280] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:2 cur:0 tx) bc(rx:1 tx:1) mode:FIFO slv_addr:0x70 MSTR_STS:0x0d1300c8 OPER:0x00000010
[ 96.048576] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:2 cur:0 tx) bc(rx:1 tx:1) mode:FIFO slv_addr:0x70 MSTR_STS:0x0d1300c8 OPER:0x00000010
[ 96.589980] mdm9607-asoc-snd soc:sound-wm8944: Defering mdm_asoc_machine_probe, q6_state 0
[ 96.614353] mdm9607-asoc-snd soc:sound-wm8944: Defering mdm_asoc_machine_probe, q6_state 0
successfully called start.
root@swi-mdm9x28-wp:~#
root@swi-mdm9x28-wp:~#
root@swi-mdm9x28-wp:~#
root@swi-mdm9x28-wp:~# wifi client scan
starting scan.
Found: SSID: “SWI-GUEST” BSSID: “94:b4:0f:d2:47:62” Strength:-73 Ref:0x10000003
Found: SSID: “SWI-WLAN” BSSID: “94:b4:0f:d2:47:60” Strength:-73 Ref:0x1000000b
Found: SSID: “SWI-GUEST” BSSID: “94:b4:0f:b9:04:62” Strength:-69 Ref:0x10000017
Found: SSID: “SWI-MOBILE” BSSID: “94:b4:0f:d2:4b:81” Strength:-86 Ref:0x10000019
Found: SSID: “DIRECT-OWCNHKG-OL-001811msFV” BSSID: “06:ea:56:9f:67:e9” Strength:-57 Ref:0x10000001
Found: SSID: “SWI-WLAN” BSSID: “94:b4:0f:b9:0e:20” Strength:-54 Ref:0x10000009
Found: SSID: “SWI-WLAN” BSSID: “94:b4:0f:b8:fa:20” Strength:-57 Ref:0x10000011
Found: SSID: “SWI-MOBILE” BSSID: “94:b4:0f:b9:04:61” Strength:-69 Ref:0x1000001b
Found: SSID: “SWI-GUEST” BSSID: “94:b4:0f:b9:0e:22” Strength:-54 Ref:0x10000007
Found: SSID: “SWI-MOBILE” BSSID: “94:b4:0f:b8:fa:21” Strength:-59 Ref:0x10000013
Found: SSID: “SWI-WLAN” BSSID: “94:b4:0f:b9:04:60” Strength:-69 Ref:0x1000000f
Found: SSID: “SWI-MOBILE” BSSID: “94:b4:0f:b9:0e:21” Strength:-54 Ref:0x10000005
Found: SSID: “SWI-GUEST” BSSID: “94:b4:0f:b8:fa:22” Strength:-59 Ref:0x10000015
Found: SSID: “SWI-MOBILE” BSSID: “94:b4:0f:d2:47:61” Strength:-73 Ref:0x1000000d

root@swi-mdm9x28-wp:~# cm info
Device: WP7607
IMEI: 359779081234565
IMEISV: 6
FSN: VN730485080103
Firmware Version: SWI9X07Y_02.28.03.03 000000 jenki[ 80.541265] 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
ns 2019/05/21 03:33:04
Bootloader Version: SWI9X07Y_[ 80.560894] 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
02.28.03.03 000000 jenkins 2019/05/21 03:33:04
MCU Version: 002.011
PRI Part Number (PN): 9908958
PRI Revision: 001.000
Carrier PRI Name: GENERIC
Carrier PRI Revision: 002.068_000
SKU: 1104301
Last Reset Cause: Reset, User Requested
Resets Count: Expected: 189 Unexpected: 14

Downloaded the WP76xx spk and flashed using the command.

swiflash -m “wp76xx” -i WP76xx_Release13.1_GENERIC_GCF.spk

After reboot, in the “app status” i dont see any wifi app

root@swi-mdm9x28-wp:~#
root@swi-mdm9x28-wp:~# cm info
Device: WP7607
IMEI: 359779080125194
IMEISV: 6
FSN: [ 456.866295] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:1 cur:0 tx) bc(rx:0
VN842200670510
Firmware Version: SWI9X07Y_02.28.0[ 456.886508] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:10
3.03 000000 jenkins 2019/05/21 03:33:04
Bootloader Version: SWI9X07Y_02.28.03.03 000000 jenkins 2019/05/21 03:33:04
MCU Version: 002.011
PRI Part Number (PN): 9907327
PRI Revision: 001.004
Carrier PRI Name: GENERIC
Carrier PRI Revision: 002.068_000
SKU: 1103511
Last Reset Cause: Reset, User Requested
Resets Count: Expected: 41 Unexpected: 0
root@swi-mdm9x28-wp:~#
root@swi-mdm9x28-wp:~#
root@swi-mdm9x28-wp:~#
root@swi-mdm9x28-wp:~#
root@swi-mdm9x28-wp:~# app status
[running] atAirVantage
[running] atQmiLinker
[running] atService
[running] audioService
[running] avcService
[running] battery
[running] cellNetService
[running] dataConnectionService
[running] dataHub
[running] fwupdateService
[running] gpioService
[running] ledService
[running] modemService
[running] portService
[running] positioningService
[running] powerMgr
[running] qmiAirVantage
[stopped] redCloud
[running] redSensor
[running] secStore
[stopped] smsInboxService
[stopped] spiService
[stopped] tools
[stopped] voiceCallService
root@swi-mdm9x28-wp:~#
CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.7 | VT102 | Offline | ttyUSB0

That means you did not flash successfully, you can check the uart debug log

Its flashed correctly. I tried flashing the GCF and the SIERRA 13.3 releases and it got updated accordingly.

This is the uart log:

[ 1476.400767] diag: download mode set, Rebooting SoC…
[ 1476.409204] reboot: Restarting system

Format: Log Type - Time(microsec) - Message - Optional Info
Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic
S - QC_IMAGE_VERSION_STRING=BOOT.BF.3.1.2-00094
S - IMAGE_VARIANT_STRING=LAATANAZA
S - OEM_IMAGE_VERSION_STRING=jenkins
S - Boot Config, 0x000002e1
B - 1216 - PBL, Start
B - 3720 - bootable_media_detect_entry, Start
B - 4395 - bootable_media_detect_success, Start
B - 4399 - elf_loader_entry, Start
B - 7853 - auth_hash_seg_entry, Start
B - 31496 - auth_hash_seg_exit, Start
B - 82882 - elf_segs_hash_verify_entry, Start
B - 129945 - PBL, End
B - 138378 - SBL1, Start
B - 196206 - pm_device_init, Start
B - 216397 - PM_SET_VAL:Skip
D - 18788 - pm_device_init, Delta
B - 218044 - boot_config_data_table_init, Start
D - 0 - boot_config_data_table_init, Delta - (0 Bytes)
B - 226523 - CDT version:3,Platform ID:8,Major ID:1,Minor ID:0,Subtype:129
B - 233325 - sbl1_ddr_set_params, Start
B - 237168 - Pre_DDR_clock_init, Start
D - 213 - Pre_DDR_clock_init, Delta
D - 0 - sbl1_ddr_set_params, Delta
B - 249856 - pm_driver_init, Start
D - 4483 - pm_driver_init, Delta
B - 256200 - cpr_init, Start
D - 122 - cpr_init, Delta
B - 260775 - cpr_cx_mx_apc_vol_update, Start
D - 91 - cpr_cx_mx_apc_vol_update, Delta
B - 275964 - clock_init, Start
D - 152 - clock_init, Delta
B - 276208 - boot_flash_init, Start
D - 39894 - boot_flash_init, Delta
B - 319121 - boot_flash_swi_ddr_init, Start
D - 29280 - boot_flash_swi_ddr_init, Delta
B - 524722 - hw_family:5, hw_type:18, hw_rev:40
B - 529236 - SSMEM init OK
B - 551470 - USB non-zero endpoint requirements: 9 in, 5 out
B - 553727 - opening partition 0:SWIFOTA
B - 555313 - error for readpage:0
B - 558577 - DWL-get: ecnt=0 code=3
B - 574589 - Failed to read size: /swinv/item_files/CUST_IM_SWITCH_HIDE
B - 582336 - Failed to read size: /swinv/item_files/FOTA_PARTITION
B - 582977 - Failed to read size: /swinv/item_files/CUST_IM_CONFIG
B - 596061 - flags: u=1 e=1 obmsk=c,0
B - 607682 - ssmem_release: region 20 not exists
B - 607743 - ssmem_get: region 20 not exists
B - 615429 - smart recovery counter cleared
B - 615490 - DWL-ety: rea=1 rcv=0
B - 1147288 - Sahara over USB
B - 6739951 - Sahara: Hello pkt sent
B - 34782871 - ssmem_get: region 20 not exists
B - 34785250 - ssmem_get: region 20 not exists
B - 34785860 - ssmem_get: region 20 not exists
B - 46790507 - AUTH_SKIPPED=USER,STATUS=PASS
B - 478054�
Format: Log Type - Time(microsec) - Message - Optional Info
Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic
S - QC_IMAGE_VERSION_STRING=BOOT.BF.3.1.2-00094
S - IMAGE_VARIANT_STRING=LAATANAZA
S - OEM_IMAGE_VERSION_STRING=jenkins
S - Boot Config, 0x000002e1
B - 1216 - PBL, Start
B - 3720 - bootable_media_detect_entry, Start
B - 4395 - bootable_media_detect_success, Start
B - 4399 - elf_loader_entry, Start
B - 7853 - auth_hash_seg_entry, Start
B - 31496 - auth_hash_seg_exit, Start
B - 82885 - elf_segs_hash_verify_entry, Start
B - 129948 - PBL, End
B - 138348 - SBL1, Start
B - 196176 - pm_device_init, Start
B - 216367 - PM_SET_VAL:Skip
D - 18818 - pm_device_init, Delta
B - 218014 - boot_config_data_table_init, Start
D - 0 - boot_config_data_table_init, Delta - (0 Bytes)
B - 226493 - CDT version:3,Platform ID:8,Major ID:1,Minor ID:0,Subtype:129
B - 233294 - sbl1_ddr_set_params, Start
B - 237137 - Pre_DDR_clock_init, Start
D - 213 - Pre_DDR_clock_init, Delta
D - 0 - sbl1_ddr_set_params, Delta
B - 249825 - pm_driver_init, Start
D - 4483 - pm_driver_init, Delta
B - 256169 - cpr_init, Start
D - 122 - cpr_init, Delta
B - 260744 - cpr_cx_mx_apc_vol_update, Start
D - 91 - cpr_cx_mx_apc_vol_update, Delta
B - 275933 - clock_init, Start
D - 152 - clock_init, Delta
B - 276177 - boot_flash_init, Start
D - 39833 - boot_flash_init, Delta
B - 319060 - boot_flash_swi_ddr_init, Start
D - 29219 - boot_flash_swi_ddr_init, Delta
B - 524630 - hw_family:5, hw_type:18, hw_rev:40
B - 529144 - SSMEM init OK
B - 551409 - USB non-zero endpoint requirements: 9 in, 5 out
B - 553666 - opening partition 0:SWIFOTA
B - 555222 - error for readpage:0
B - 560529 - DWL-get: ecnt=0 code=0
B - 574376 - Failed to read size: /swinv/item_files/CUST_IM_SWITCH_HIDE
B - 582092 - Failed to read size: /swinv/item_files/FOTA_PARTITION
B - 582733 - Failed to read size: /swinv/item_files/CUST_IM_CONFIG
B - 595817 - flags: u=1 e=1 obmsk=c,0
B - 607468 - ssmem_release: region 20 not exists
B - 607529 - ssmem_get: region 20 not exists
B - 614697 - Image Load, Start
D - 93970 - QSEE Image Loaded, Delta - (489292 Bytes)
D - 213 - boot_pm_post_tz_device_init, Delta
B - 713059 - sbl1_efs_handle_cookies, Start
D - 0 - sbl1_efs_handle_cookies, Delta
B - 721050 - DEVCFG ELF verification failure
B - 724588 - Image Load, Start
D - 30 - SEC Image Loaded, Delta - (0 Bytes)
B - 732274 - Image Load, Start
D - 55205 - RPM Image Loaded, Delta - (152712 Bytes)
B - 788181 - Image Load, Start
B - 790499 - Auth disabled for image 9
B - 829874 - ssmem_get: region 20 not exists
D - 41754 - APPSBL Image Loaded, Delta - (379056 Bytes)
B - 833138 - QSEE Execution, Start
D - 1159 - QSEE Execution, Delta
B - 839848 - SBL1, End
D - 703879 - SBL1, Delta
S - Throughput, 8000 KB/s (1195924 Bytes, 136205 us)
S - DDR Frequency, 240 MHz
Android Bootloader - UART_DM Initialized!!!
[10] ERROR: No devinfo partition found
[10] Neither ‘config’ nor ‘frp’ partition found
[10] ERROR: No misc partition found
[1110] SSMEM init OK[1110] ssmem_get: region 20 not exists[1200] DEBUG: cmdline has root=
[1340] Channel alloc freed
[ 0.000000] GIC CPU mask not found - kernel will fail to boot.
[ 0.000000] GIC CPU mask not found - kernel will fail to boot.
[ 0.000000] MPM 1 irq mapping errored -517
[ 0.076739] SWI ssmem_framework_init: SSMEM init OK
[ 0.215456] spmi_pmic_arb 200f000.qcom,spmi: PMIC Arb Version-2 0x20010000
[ 0.231466] msm_mpm_dev_probe(): Cannot get clk resource for XO: -517
[ 0.234614] smd_channel_probe_now: allocation table not initialized
[ 0.242297] msm_thermal:msm_thermal_dev_probe Failed reading node=/soc/qcom,msm-thermal, key=qcom,online-hotplug-core. err:-517
[ 0.270239] msm_mpm_dev_probe(): Cannot get clk resource for XO: -517
[ 0.273136] msm_thermal:get_kernel_cluster_info CPU0 topology not initialized.
[ 0.274057] cpu cpu0: dev_pm_opp_get_opp_count: device OPP not found (-19)
[ 0.274074] msm_thermal:get_cpu_freq_plan_len Error reading CPU0 freq table len. error:-19
[ 0.274823] cpu cpu0: dev_pm_opp_get_opp_count: device OPP not found (-19)
[ 0.274840] msm_thermal:get_cpu_freq_plan_len Error reading CPU0 freq table len. error:-19
[ 0.274856] cpu cpu0: dev_pm_opp_get_opp_count: device OPP not found (-19)
[ 0.274868] msm_thermal:get_cpu_freq_plan_len Error reading CPU0 freq table len. error:-19
[ 0.369914] AXI: msm_bus_scale_register_client(): msm_bus_scale_register_client: Bus driver not ready.
[ 0.371800] AXI: msm_bus_scale_register_client(): msm_bus_scale_register_client: Bus driver not ready.
[ 0.372085] 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:0x30
[ 0.372143] 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:0x30
[ 0.433646] msm_bus_fabric_init_driver
[ 0.649349] uart_tx_gpio is not available
[ 0.649369] uart_rx_gpio is not available
[ 0.649389] uart_cts_gpio is not available
[ 0.649408] uart_rfr_gpio is not available
[ 0.650190] sps: BAM device 0x07884000 is not registered yet.
[ 0.655056] uart_tx_gpio is not available
[ 0.655077] uart_rx_gpio is not available
[ 0.655097] uart_cts_gpio is not available
[ 0.655116] uart_rfr_gpio is not available
[ 0.859823] mdm9607-pinctrl 1000000.pinctrl: pin GPIO_4 already requested by 78b0000.uart; cannot claim for 78b0000.serial
[ 0.870295] mdm9607-pinctrl 1000000.pinctrl: pin-4 (78b0000.serial) status -22
[ 0.877442] mdm9607-pinctrl 1000000.pinctrl: could not request pin 4 (GPIO_4) from group gpio4 on device 1000000.pinctrl
[ 0.888414] msm_serial_hsl 78b0000.serial: Error applying setting, reverse things back
[ 0.946362] sps: BAM device 0x07984000 is not registered yet.
[ 1.031699] unable to find DT imem DLOAD mode node
[ 1.035754] unable to find DT imem EDLOAD mode node
[ 1.040746] unable to find DT imem dload-type node
[ 1.045259] Failed to disable secure wdog debug: -4
[ 1.076542] devfreq soc:qcom,cpubw: Couldn’t update frequency transition information.
[ 1.084608] sdhci_msm 7864900.sdhci: sdhci_msm_pm_qos_parse_irq: error -22 reading irq cpu
[ 1.092677] coresight_event: error registering on panic -38
[ 1.099580] coresight-tmc 6025000.tmc: failed to get flush cti
[ 1.104912] coresight-tmc 6025000.tmc: failed to get reset cti
[ 1.114220] NIDnT disabled, only sd mode supported.
[ 1.179685] mdm9607-asoc-snd soc:sound-wm8944: Defering mdm_asoc_machine_probe, q6_state 0
[ 1.200675] mdm9607-asoc-snd soc:sound-wm8944: Defering mdm_asoc_machine_probe, q6_state 0
[ 1.241163] mdm9607-asoc-snd soc:sound-wm8944: Defering mdm_asoc_machine_probe, q6_state 0
[ 1.256103] calculate_residency: residency < 0 for LPM
[ 1.260826] mdm9607-asoc-snd soc:sound-wm8944: Defering mdm_asoc_machine_probe, q6_state 0
[ 1.270471] parse_cpu_levels: idx 1 420
[ 1.273272] calculate_residency: residency < 0 for LPM
[ 1.290136] parse_cpu_levels: idx 2 500
[ 1.292941] parse_cpu_levels: idx 2 3040
[ 1.297803] mdm9607-asoc-snd soc:sound-wm8944: Defering mdm_asoc_machine_probe, q6_state 0
[ 1.313692] mdm9607-asoc-snd soc:sound-wm8944: Defering mdm_asoc_machine_probe, q6_state 0
ima: setting up IMA subsystem…
ima: feature not supported
The proc node does not exist
mount root fs from partition (rootfs|system)
Non-secure.
[ 1.493499] mdm9607-asoc-snd soc:sound-wm8944: Defering mdm_asoc_machine_probe, q6_state 0
UBI device number 0, total 120 LEBs (30474240 bytes, 29.0 MiB), available 0 LEBs (0 bytes), LEB size 253952 bytes (248.0 KiB)
[ 1.884431] mdm9607-asoc-snd soc:sound-wm8944: Defering mdm_asoc_machine_probe, q6_state 0
rootfs roothash: c4ecb89849f0dc3a98879d85562266ff6348195029413ea3facf16e4fdb6674f
rootfs: dev ‘/dev/ubiblock0_0’ ‘squashfs’
mount /dev/mapper/rt
rootfs: mounting took 0ms
rcS: Executing mount_essential_fs…
rcS: Executing simple_network…
rcS: Executing run_S_scripts…
S02mount_early: Executing mount_early_pseudo…
S02mount_early: Mounting SMACK security pseudo fs…
S02mount_early: Executing mount_early_other…
S02mount_early: Executing mount_early_create_dirs…
S02mount_early: Executing mount_early_set_timezone…
S02mount_early: Using timezone Universal…
S02mount_early: Executing yaffs2_kern_supported_init…
S02mount_early: Executing mount_early_user_start…
S02mount_early: RO rootfs fudge allowed.
S02mount_early: User is forcing userapp file system to be ubifs.
S02mount_early: Trying to mount UBIFS on /mnt/flash using [usrquota,grpquota,rw] mount options…
UBI device number 3, total 524 LEBs (133070848 bytes, 126.9 MiB), available 5 LEBs (1269760 bytes, 1.2 MiB), LEB size 253952 bytes (248.0 KiB)
S02mount_early: Performing quota check on file system mounted at /mnt/flash
S02mount_early: UBIFS volume successfully mounted on /mnt/flash
S02mount_early: Executing mount_early_legato_start…
mount Legato from partition lefwkro
S02mount_early: Non-secure.
UBI device number 2, total 35 LEBs (8888320 bytes, 8.4 MiB), available 0 LEBs (0 bytes), LEB size 253952 bytes (248.0 KiB)
S02mount_early: SQUASHFS successfully mounted on /mnt/legato
S02mount_early: Executing mount_early_userrw_start…
S02mount_early: Mounting swirw file system as UBIFS
S02mount_early: Trying to mount UBIFS on /mnt/userrw using [usrquota,grpquota,rw] mount options…
UBI device number 4, total 100 LEBs (25395200 bytes, 24.2 MiB), available 2 LEBs (507904 bytes, 496.0 KiB), LEB size 253952 bytes (248.0 KiB)
S02mount_early: Performing quota check on file system mounted at /mnt/userrw
S02mount_early: UBIFS volume successfully mounted on /mnt/userrw
S02mount_early: swirw mounted to /mnt/userrw
S03confighw.sh: Kernel internal entropy pool filler is available, increasing write_wakeup_threshold to 3072
Starting system message bus: dbus.
Loading modules: S07mount_unionfs: RO rootfs fudge allowed.
S07mount_unionfs: Overlay over /etc is allowed
S07mount_unionfs: Using timezone [Universal].
Mounting local filesystems…
[ 7.823422] UBIFS error (pid: 514): cannot open “ubi0:usrfs”, error -19mount: mounting ubi0:usrfs on /usr failed: No such device
mount modem from partition modem
MTD : Detected block device : /firmware for modem

UBI device number 1, total 128 LEBs (32505856 bytes, 31.0 MiB), available 0 LEBs (0 bytes), LEB size 253952 bytes (248.0 KiB)
Initializing random number generator…
Switching to composition sierra_dev (1199:68C0)
[ 11.051670] enable_store: android_usb: already disabled
SOFTAP_W_DUN: Y
Configuring network interfaces… done.
[ 11.702923] gbam_connect_work: gbam_connect_work: Bam channel is not ready
[ 11.714895] qti_ctrl_queue_notify: qti_ctrl_queue_notify: rmnet ctrl file handler cdb96300 is not openStarting syslogd/klogd:
done
ifconfig: SIOCGIFFLAGS: No such device
Starting diagrebootapp: done
$Starting qcom_time:
starting time-daemon
Starting time_services: done
Legato start sequence
start_at_cmux_le: Starting DS_MUX:
restart_at_uart: Mapped UART1 for AT service
start_at_cmux_le: Done start_at_cmux_le script.
update-ld-cache: Removing stale mount [/etc/ld.so.conf]…
update-ld-cache: Removing stale mount [/etc/ld.so.cache]…
update-ld-cache: Updating ld.so.cache using [/legato/systems/current/lib]…
update-ld-cache: Updating /etc/ld.so.cache …
[ 14.147918] i2c-msm-v2 78b8000.i2c: msm_bus_scale_register_client(mstr-id:86):0xc (ok)
[ 14.200800] 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:0x30
[ 14.215866] 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:0x30
update-ld-cache: Removing stale mount [/etc/ld.so.cache]…
cp: can’t stat ‘/etc/resolv.conf’: No such file or directory
mount: mounting /tmp/resolv.conf on /etc/resolv.conf failed: No such file or directory
[ 18.240529] mdm9607-asoc-snd soc:sound-wm8944: Defering mdm_asoc_machine_probe, q6_state 0
[ 20.061823] mdm9607-asoc-snd soc:sound-wm8944: Defering mdm_asoc_machine_probe, q6_state 0
[ 20.069476] M-Notify: General: 7
Finished Legato start Sequence
Starting reboot daemon: done
Starting atreset: done
Starting modem dependent daemons: Load modem done
Starting qmuxd: done
Starting thermal-engine: done
Starting irsc_util: Starting irsc tool
Failed to open file:/etc/sec_config
Absent/Invalid config,Default rules apply
Ending irsc tool
done
Starting netmgrd: done
Starting powerconfig for mdm9607: Starting fs-scrub-daemon: done
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
rm: can’t remove ‘/var/log/wtmp’: No such file or directory
Starting eMBMs_TunnelingModule: done
Starting qmi_ip: done
starting DNS forwarder and DHCP server: dnsmasq… done.
Starting Dropbear SSH server: DONE
Starting port_bridge: done
cat: can’t open ‘/sys/devices/virtual/android_usb/android0/f_ecm/native_ethaddr’: No such file or directory
dropbear.
stopping DNS forwarder and DHCP server: dnsmasq… stopped /usr/bin/dnsmasq (pid 1041)
done.
starting DNS forwarder and DHCP server: dnsmasq… done.
run_getty.sh: ttyHSL1 reserved for CONSOLE

Poky (Yocto Project Reference Distro) 2.5.2 swi-mdm9x28-wp /dev/ttyHSL1

swi-mdm9x28-wp login: [ 23.965355] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:2 cur:0 tx) bc(rx:2 tx:1) 0
[ 23.980402] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:2 cur:0 tx) bc(rx:2 tx:1) mode:FIFO slv_addr:0x50
[ 23.996799] bq27xxx-battery 6-0055: error reading voltage
[ 24.001277] power_supply BQ27246: driver failed to report voltage_now' property: -107 [ 24.020580] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:1 cur:0 tx) bc(rx:0 tx:3) mode:FIFO slv_addr:0x50 [ 24.035358] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:1 cur:0 tx) bc(rx:0 tx:3) mode:FIFO slv_addr:0x50 [ 24.052147] bq27xxx-battery 6-0055: bus error on unseal: -107 [ 24.057386] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:2 cur:0 tx) bc(rx:2 tx:1) mode:FIFO slv_addr:0x50 [ 24.072717] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:2 cur:0 tx) bc(rx:2 tx:1) mode:FIFO slv_addr:0x50 [ 24.091208] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:2 cur:0 tx) bc(rx:2 tx:1) mode:FIFO slv_addr:0x50 [ 24.106103] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:2 cur:0 tx) bc(rx:2 tx:1) mode:FIFO slv_addr:0x50 [ 24.432774] bq27xxx-battery 6-0055: error reading voltage [ 24.511124] power_supply BQ27246: driver failed to report voltage_now’ property: -107
[ 24.587072] diag: In diag_send_feature_mask_update, control channel is not open, p: 0, c1017114
[ 84.163459] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:2 cur:0 tx) bc(rx:2 tx:1) mode:FIFO slv_addr:0x50
[ 84.178242] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:2 cur:0 tx) bc(rx:2 tx:1) mode:FIFO slv_addr:0x50

Poky (Yocto Project Reference Distro) 2.5.2 swi-mdm9x28-wp /dev/ttyHSL1

swi-mdm9x28-wp login: root

It is strongly recommended to setup credentials for remote login.
Please select one of the following options:

  1. Setup ssh keys and disable passwords-based authentication via ssh
    (the most secure)
  2. Setup password (better than nothing)
  3. Do nothing
    3

Would you like a reminder next time you log in [Y/n]?
y
OK, I will remind you next time.
root@swi-mdm9x28-wp:~# app sta
Unknown command ‘sta’. Try --help.
root@swi-mdm9x28-wp:~# app status
[running] atAirVantage
[running] atQmiLinker

i don’t see problem here, maybe you can downgrade to R12 and than go back to R13 and see if it works.

Another way is to include the wifi stuff when you build the mangoh layer:

  1. cd /home/owner/Downloads/mangOH-master/mangOH

  2. open the shared.sdef, and comment out this line:
    //#include “${LEGATO_ROOT}/modules/WiFi/wifi.sinc”

  3. add the following line:
    #include “${LEGATO_ROOT}/modules/WiFi/wifi.sdef”

Finally with the release R12 i was able to test the wifi on the Talon Mirage + MangoH REd board.

Can you please let me know the release versions of legato adn MangoH source for R12.

you can check the legato version by “legato version” in console.

According to here, it should be 18.10.3.
https://source.sierrawireless.com/resources/airprime/software/wp76xx/wp76xx-firmware-release-12/#sthash.JRyolnxt.dpbs

Not sure about the mangoh source, but you can try to install the master one.

Followed the steps to include the wifi stuff into the mangoH layer as per the steps. Got error.

Legato version used is 18.10.3.

Logs :

[8/8] Packaging app
make[3]: Leaving directory `/home/tjayaprakash/wp/legato-18.10.3’

Computing MD5 hash for contents of framework bin and lib directories.

md5= ( find /home/tjayaprakash/wp/legato-18.10.3/build/wp76xx/framework/bin && \ find /home/tjayaprakash/wp/legato-18.10.3/build/wp76xx/framework/bin -type f | xargs cat && \ find /home/tjayaprakash/wp/legato-18.10.3/build/wp76xx/framework/bin -type l | xargs -r -n 1 readlink && \ find /home/tjayaprakash/wp/legato-18.10.3/build/wp76xx/framework/lib && \ find /home/tjayaprakash/wp/legato-18.10.3/build/wp76xx/framework/lib -type f | xargs cat && \ find /home/tjayaprakash/wp/legato-18.10.3/build/wp76xx/framework/lib -type l | xargs -r -n 1 readlink \ ) | md5sum &&
md5=${md5%% *} &&
echo “$md5” > /home/tjayaprakash/wp/legato-18.10.3/build/wp76xx/framework/md5
make[2]: Leaving directory /home/tjayaprakash/wp/legato-18.10.3' make[1]: Leaving directory /home/tjayaprakash/wp/legato-18.10.3’

NOTE: When using leaf, these TOOLCHAIN_X variables don’t need to be passed to mksys.

TOOLCHAIN_DIR=/opt/swi/SWI9X07Y_02.28.03.05/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi
TOOLCHAIN_PREFIX=arm-poky-linux-gnueabi-
OCTAVE=
mksys -t wp76xx --cflags=-O2 --object-dir=build/red_wp76xx --output-dir=build/update_files red.sdef
** ERROR:
/home/tjayaprakash/wp/legato-18.10.3/apps/platformServices/defaultAirVantage.sinc:29:8: error: App ‘avcService’ added to the system more than once.
/home/tjayaprakash/wp/legato-18.10.3/apps/platformServices/defaultAirVantage.sinc:29:8: note: Previously added here.
make: *** [red_wp76xx] Error 1
tjayaprakash@IM-RT-SR-002:~/wp/mangOH$

Can you try with R13.3 legato framework?

If you need to add the wifi stuff, you need to open shared.sdef and modify like this:

//#include "${LEGATO_ROOT}/default.sdef"
//#include "${LEGATO_ROOT}/modules/WiFi/wifi.sinc"
#include "${LEGATO_ROOT}/modules/WiFi/wifi.sdef"

On our Custom board, we have wp 76xx connected to Talon Mirage IoT module.

When we try to run the wifi client application, we get the below error in bold.

Is there a way in the wifi client application to bypass enabling the I2C PCA9548A switch ?

In our current design we have not included the switch.

root@swi-mdm9x28-wp:~# logread -f
[ 94.561552] 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:0x70
[ 94.576682] 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:0x70
Jan 6 00:09:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[908]/supervisor T=main | app.c app_Create() 3207 | Creating app ‘wifi’
Jan 6 00:09:19 swi-mdm9x28-wp user.warn Legato: -WRN- | supervisor[908]/supervisor T=main | proc.c GetWatchdogAction() 359 | wifi@0 watchdogAn
Jan 6 00:09:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[908]/supervisor T=main | app.c app_Start() 3420 | Starting app ‘wifi’
Jan 6 00:09:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[908]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link '_
Jan 6 00:09:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[908]/supervisor T=main | app.c CreateFileLink() 2104 | Created file link '.
Jan 6 00:09:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[908]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting r.
Jan 6 00:09:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[908]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting r.
Jan 6 00:09:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[908]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting r.
Jan 6 00:09:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[908]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting r.
Jan 6 00:09:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[908]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting r.
Jan 6 00:09:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[908]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting r.
Jan 6 00:09:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[908]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting r.
Jan 6 00:09:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[908]/supervisor T=main | proc.c proc_Start() 1390 | Starting process 'wifi2
Jan 6 00:09:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1792]/supervisor T=main | proc.c proc_Start() 1355 | Execing ‘bin/wifi’
Jan 6 00:09:19 swi-mdm9x28-wp user.debug Legato: DBUG | wifiService[956]/framework T=main | LE_FILENAME ExtractFileDescriptor() 34 | Receive.
Jan 6 00:09:19 swi-mdm9x28-wp user.debug Legato: DBUG | wifiService[956]/framework T=main | LE_FILENAME ExtractFileDescriptor() 34 | Receive.
Jan 6 00:09:19 swi-mdm9x28-wp user.debug Legato: DBUG | wifiService[956]/framework T=main | LE_FILENAME le_mem_ForceAlloc() 833 | Memory poo.
Jan 6 00:09:19 swi-mdm9x28-wp user.debug Legato: DBUG | wifiService[956]/framework T=WifiClientPaThread | LE_FILENAME PThreadStartRoutine() .
Jan 6 00:09:19 swi-mdm9x28-wp user.info Legato: INFO | wifiService[956]/daemon T=WifiClientPaThread | pa_wifi_client_ti.c WifiClientPaThread!
Jan 6 00:09:19 swi-mdm9x28-wp user.info Legato: INFO | wifiService[956] | WIFI_START
Jan 6 00:09:19 swi-mdm9x28-wp user.info Legato: INFO | wifiService[956]/daemon T=WifiClientPaThread | pa_wifi_client_ti.c WifiClientPaThread5
Jan 6 00:09:19 swi-mdm9x28-wp user.err kernel: [ 94.561552] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:0
Jan 6 00:09:19 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[956] | ERR failed to write i2c data*
Jan 6 00:09:19 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[956] | FTL Failed to enable PCA9548A I2C switch*
Jan 6 00:09:19 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[956]/daemon T=main | pa_wifi_client_ti.c pa_wifiClient_Start() 349 | WiFi T
Jan 6 00:09:19 swi-mdm9x28-wp user.err kernel: [ 94.576682] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:0
Jan 6 00:09:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[908]/supervisor T=main | supervisor.c SigChildHandler() 792 | Reaping unco.
Jan 6 00:09:19 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[956]/daemon T=WifiClientPaThread | pa_wifi_client_ti.c ThreadDestructor() t
Jan 6 00:09:19 swi-mdm9x28-wp user.err Legato: =ERR= | wifiService[956]/daemon T=main | le_wifiClient.c le_wifiClient_Start() 657 | Unable to6
Jan 6 00:09:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[908]/supervisor T=main | proc.c proc_SigChildHandler() 2051 | Process 'wif.
Jan 6 00:09:19 swi-mdm9x28-wp user.debug Legato: DBUG | wifiService[956]/framework T=main | le_wifiClient_server.c CleanupClientData() 148 |!
Jan 6 00:09:19 swi-mdm9x28-wp user.debug Legato: DBUG | wifiService[956]/framework T=main | le_wifiClient_server.c CleanupClientData() 169 |h
Jan 6 00:09:19 swi-mdm9x28-wp user.debug Legato: DBUG | wifiService[956]/framework T=main | le_wifiAp_server.c CleanupClientData() 148 | Cli!
Jan 6 00:09:19 swi-mdm9x28-wp user.warn Legato: -WRN- | supervisor[908]/supervisor T=main | app.c app_SigChildHandler() 4015 | Process 'wifi@.
Jan 6 00:09:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[908]/supervisor T=main | app.c app_StopComplete() 4686 | app ‘wifi’ has st.
Jan 6 00:09:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[908]/supervisor T=main | apps.c DeactivateAppContainer() 374 | Application.
[ 117.872312] mmc0: error -110 whilst initialising SDIO card
Jan 6 00:09:42 swi-mdm9x28-wp user.warn kernel: [ 117.868858] sdhci_msm 7864900.sdhci: card claims to support voltages below defined range
Jan 6 00:09:42 swi-mdm9x28-wp user.warn kernel: [ 117.868908] sdhci_msm 7864900.sdhci: exceeding card’s volts
Jan 6 00:09:42 swi-mdm9x28-wp user.err kernel: [ 117.872312] mmc0: error -110 whilst initialising SDIO card
Jan 6 00:09:42 swi-mdm9x28-wp user.warn kernel: [ 117.879090] sdhci_msm 7864900.sdhci: card claims to support voltages below defined range
[ 119.049998] mmc0: mmc_init_card: mmc_send_op_cond() fails -110
[ 119.054920] mmc0: error -110 whilst initialising MMC card
Jan 6 00:09:44 swi-mdm9x28-wp user.err kernel: [ 119.049998] mmc0: mmc_init_card: mmc_send_op_cond() fails -110
Jan 6 00:09:44 swi-mdm9x28-wp user.err kernel: [ 119.054920] mmc0: error -110 whilst initialising MMC card
Jan 6 00:09:46 swi-mdm9x28-wp user.info kernel: [ 121.441772] sierra_startup_monitor
^C

Seems this forum thread can help you.
I guess you need to modify /etc/init.d/tiwifi

Hi, i’m trying to connect on wifi my mangOH Red, with wp76xx and Talon Mirage IoT card, but after being connected to the network I can’t ping any website.

This is what i have done to connect my mangoh to my network :
root@swi-mdm9x28-wp:~# wifi client start
successfully called start.
root@swi-mdm9x28-wp:~# wifi client scan
starting scan.
Found: SSID: “FreeWifi_secure” BSSID: “68:a3:78:76:82:9d” Strength:-70 Ref:0xb7
Found: SSID: “Xperia XZ Premium_b52c” BSSID: “84:c7:ea:7d:ec:fe” Strength:-28 Ref:0x2b7
Found: SSID: “GroupeAstek-Guest” BSSID: “b4:fb:e4:4a:89:a6” Strength:-51 Ref:0x4b7
Found: SSID: “” BSSID: “b6:fb:e4:4a:89:a6” Strength:-51 Ref:0x6b7
Found: SSID: “Squad CDS” BSSID: “78:bc:1a:54:4d:20” Strength:-69 Ref:0x8b7
Found: SSID: “GroupeAstek-Guest” BSSID: “b4:fb:e4:4d:07:9a” Strength:-84 Ref:0xab7
Found: SSID: “GroupeAstek-Corp” BSSID: “fc:ec:da:aa:26:a3” Strength:-89 Ref:0xcb7
Found: SSID: “GroupeAstek-Corp” BSSID: “b4:fb:e4:4d:2e:88” Strength:-60 Ref:0xeb7
root@swi-mdm9x28-wp:~# wifi client setsecurityproto 0x2b7 3
Successfully set security protocol.
root@swi-mdm9x28-wp:~# wifi client setpassphrase 0x2b7 LoupGarou67
Successfully set passphrase.
root@swi-mdm9x28-wp:~# wifi client connect 0x2b7
Connecting…
CONNECTED: interface: wlan0, bssid: 84:c7:ea:7d:ec:fe
root@swi-mdm9x28-wp:~# ping mangoh.io
ping: bad address ‘mangoh.io

And this is my firmware version :
root@swi-mdm9x28-wp:~# fwupdate query
Connecting to service …
Firmware Version: SWI9X07Y_02.28.03.05 000000 jenkins 2019/07/08 11:04:16
Bootloader Version: SWI9X07Y_02.28.03.05 000000 jenkins 2019/07/08 11:04:16
Linux Version: 3.18.131 #1 PREEMPT Mon Jul 8 12:20:50 UTC 2019
root@swi-mdm9x28-wp:~# legato version
19.11.0_24cdcc5a229c127c500a1fc31f970401

Have you ever seen this problem? And do you have any solution?

How about “udhcpc -i wlan0”

Is it ok to ping 8.8.8.8

You might find this script helpful.
wifiStart (515 Bytes)

Nice! It’s working now, Thx @jyijyi