Error while building Legato system for WP76xx on mangoh yellow board

Hello,

I am using following peocedure to build LEgato system for external SIM but it fails at a step with “Profile provisioning interrupted” and "Error during install step for mangoh-yellow-wp76xx-toolchain_0.7.7-linux64 . Any suggestions please?

Procedure to build the legato system for external sim . (any other suggestions?)

Build fails at this step:
Error:

Device Info:

root@swi-mdm9x28-wp:~# cm info
Device: WP7607
IMEI: 359779080293653
IMEISV: E
FSN: V3003171860710
Firmware Version: SWI9X07Y_02.37.03.00 73df45 jenkins 2020/04/08 10:59:14
Bootloader Version: SWI9X07Y_02.37.03.00 73df45 jenkins 2020/04/08 10:59:14
MCU Version: 002.015
PRI Part Number (PN): 9908663
PRI Revision: 001.002
Carrier PRI Name: SIERRA
Carrier PRI Revision: 001.060_000
SKU: 1104192
Last Reset Cause: Power Down
Resets Count: Expected: 11 Unexpected: 0
root@swi-mdm9x28-wp:~# cm radio
Power: ON
Current Network Operator:
Current RAT: Module not registered on network, RAT not available
Status: Not registered and not currently searching for new operator (LE_MRC_REG_NONE)
Signal: No signal strength (0)
PS: Packet Switched Not registered (LE_MRC_REG_NONE)

root@swi-mdm9x28-wp:~# cm sim
SIM card is inserted and unlocked (LE_SIM_READY).

root@swi-mdm9x28-wp:~# cm sim info
Type: EXTERNAL_SLOT_1
ICCID: 2000100000010093026
Home Network Operator:
EID:
IMSI: 200010001009302
Phone Number:
root@swi-mdm9x28-wp:~# cm data
Index: 1
APN: airspan
PDP Type: IPV4
Connected: no
root@swi-mdm9x28-wp:~# cm data connect &
root@swi-mdm9x28-wp:~# Setting up profile 1
Connecting … failed
Sun Jan 6 05:40:19 UTC 1980 - Connection Failure: LE_FAULT

[1]+ Done(1) cm data connect

Thanks,
Kalpit

What is the swi_vscode_suppport you are using?

You can try this version as mine first:

Thank you for your response.

I have not installed any VS code packages , do we need VS code package for a simple make file change?

Requirement is to change the target firmware to non-Octave version , I.e. to use external SIM card.

OCTAVE=0 make yellow

no, you don’t need VSCode…

I just tried on Ubuntu 16, no problem is found:

jordan@jordan-X240:~/LEAF$ leaf setup -p mangOH-yellow-wp76xx_0.7.0
Cannot find workspace, initialize one in /home/jordan/LEAF? (Y/n)
Y
  -> Execute: leaf init
Workspace initialized /home/jordan/LEAF
No profile name given, the new profile will be automatically named MANGOH-YELLOW-WP76XX
  -> Execute: leaf profile create MANGOH-YELLOW-WP76XX
Current profile is now MANGOH-YELLOW-WP76XX
Profile MANGOH-YELLOW-WP76XX created
  -> Execute: leaf profile config MANGOH-YELLOW-WP76XX -p mangOH-yellow-wp76xx_0.7.0
  -> Execute: leaf profile sync MANGOH-YELLOW-WP76XX
Profile is out of sync
Packages to install: wp76-modem-image_16, mangOH-yellow-wp76xx-toolchain_0.7.0-linux64, mangOH-yellow-wp76xx-linux-image_0.7.0, mangOH-yellow-wp76xx-legato_0.7.0, Octave-mangOH-yellow-wp76xx_3.1.0-mangOH-0, mangOH-yellow-wp76xx_0.7.0
Total size: 707.2 MB
Do you want to continue? (Y/n)
Y
Run sync steps for swi-aptdeps-legato_1.0
Run sync steps for swi-license_1.2
Run sync steps for swi-verify-aptdeps_1.6.191122
Checking required apt packages......
All system dependencies are OK
Run sync steps for swi-verify-license_1.4.190813
License already accepted: sierra-v1
Downloading 6 package(s)
[100%] Downloading 79183f0-wp76-modem-image_16.leaf 
[100%] Downloading ac44f9c-mangOH-yellow-wp76xx-toolchain_0.7.0-linux64.leaf 
[100%] Downloading 1298626-mangOH-yellow-wp76xx-linux-image_0.7.0.leaf 
[100%] Downloading 94a77b9-mangOH-yellow-wp76xx-legato_0.7.0.leaf 
[100%] Downloading f105574-Octave-mangOH-yellow-wp76xx_3.1.0-mangOH-0.leaf 
[100%] Downloading 1c96c8d-mangOH-yellow-wp76xx_0.7.0.leaf 
[1/6] Installing wp76-modem-image_16
[2/6] Installing mangOH-yellow-wp76xx-toolchain_0.7.0-linux64
Run install steps for mangOH-yellow-wp76xx-toolchain_0.7.0-linux64
Configuring the toolchain for your environment, this may take a few minutes...
[3/6] Installing mangOH-yellow-wp76xx-linux-image_0.7.0
[4/6] Installing mangOH-yellow-wp76xx-legato_0.7.0
[5/6] Installing Octave-mangOH-yellow-wp76xx_3.1.0-mangOH-0
[6/6] Installing mangOH-yellow-wp76xx_0.7.0
jordan@jordan-X240:~/LEAF$ leaf --version
leaf version 2.3.1

Ok, one of my customer is using mangoh yellow board with WP7607 module. Is there any process you can recommend for them to change the target firmware to non-Octave version , I.e. to use external SIM card?

OCTAVE=0 make yellow

Any suggestion on what they should try next with the error they are facing?

Thanks in advance!

can you see if you have this mangOH-yellow-wp76xx_0.7.0.spk which should be non-octave image?


jordan@jordan-X240:~/QMI/MBPL/MBPL_SDK_R20_ENG4-lite.src/SampleApps/lite-qmi-connection-manager$ ls /home/jordan/LEAF/leaf-data/MANGOH-YELLOW-WP76XX/mangOH-yellow-wp76xx
mangOH-yellow-wp76xx_0.7.0-octave.spk  mangOH-yellow-wp76xx_0.7.0.spk  manifest.json
jordan@jordan-X240:~/QMI/MBPL/MBPL_SDK_R20_ENG4-lite.src/SampleApps/lite-qmi-connection-manager$ ls /home/jordan/LEAF/leaf-data/MANGOH-YELLOW-WP76XX/mangOH-yellow-wp76xx -l
lrwxrwxrwx 1 jordan jordan 45 Sep  1 09:28 /home/jordan/LEAF/leaf-data/MANGOH-YELLOW-WP76XX/mangOH-yellow-wp76xx -> /home/jordan/.leaf/mangOH-yellow-wp76xx_0.7.0

jordan@jordan-X240:~/QMI/MBPL/MBPL_SDK_R20_ENG4-lite.src/SampleApps/lite-qmi-connection-manager$ ls /home/jordan/.leaf/mangOH-yellow-wp76xx_0.7.0/ -l
total 137780
-rw-rw-r-- 1 jordan jordan 71455607 Dec  9  2020 mangOH-yellow-wp76xx_0.7.0-octave.spk
-rw-rw-r-- 1 jordan jordan 69620599 Dec  9  2020 mangOH-yellow-wp76xx_0.7.0.spk
-rw-rw-r-- 1 jordan jordan      806 Dec  9  2020 manifest.json
jordan@jordan-X240:~/QMI/MBPL/MBPL_SDK_R20_ENG4-lite.src/SampleAp

Hi,

Thanks for your response. My customer confirmed he don’t have these files. Does he need to have this file or files? if yes, where can he get it from? Please advise next step.

Thanks,
Kalpit

As stated above, I just run “leaf setup -p mangOH-yellow-wp76xx_0.7.0” in ubuntu 16

Thanks. Does that mean they have to use Ubuntu 16 for Legato application development? What will be a ideal path for them?

I tried ubuntu 14 16 and 18, all are working fine