Repository for MangOH Yellow and WP7611

Hi,

I just got delivery of my new MangOH yellow + WP7611 evaluation kit. I was preparing for development with this platform but just noted that when I look through leaf for a MangOH yellow repository through leaf, there is none for the Yellow and WP7611. This is my setup of leaf:

leaf remote (Sorry about formatting in advance)

│ legato-stable │ https://downloads.sierrawireless.com/leaf/legato/stable.json │ yes │
│ legato-dev │ https://downloads.sierrawireless.com/leaf/legato/dev.json │ yes │
│ mangoh_red │ https://downloads.sierrawireless.com/mangOH/leaf/mangOH-red.json │ yes │
│ mangoh_yellow │ https://downloads.sierrawireless.com/mangOH/leaf/mangOH-yellow.json │ yes │

In the interim, is the best approach to grab the package swi-wp76_5.0.0 and build based off this one?

Thanks!

After some more research, I do see a repository in Github for this.

Will this ever be released via leaf?

I have another question:

I think i messed up my setup of my mangoh yellow with WP7611 and would like to re-install firmware and go back to stock. But the mangoh website only lists firmware download for WP77XX. What should I do?

You can search wp76 fw in source.sierrawireless.com

Thanks @jyijyi. I was able to recover my mango yellow with WP7611. But my original question still is not answered. Is there plans to release a full repository with the mangoh yellow + WP76XX? I only see WP77XX officially. Thanks!

I don’t have this information, but you can still compile it by yourself now

I’m getting much closer now. I started the approach by getting the latest wp76xx release via leaf and then cloning the mango project inside of my new workspace. I’m trying to get the onboard wifi working and I’m getting an error saying that the cywifi.sh is missing from /etc/init.d. Do you know where I can find this file?

The cywifi.sh is gone now…

I have a backup copy, but I don’t know how to use it as I never tried wifi on mangoh yellow before.
You might give a try.

cywifi.sh (4.6 KB)

I wanted to roll back everything to ‘factory’ settings on this wireless chip. I used the fdt2.exe WP76xx_Release16_ATT.spk but I get to Downloading, writing, flashing, and then the script gets hung at awaiting adapter …

It always says ‘failed’ at the end. This is the console logs:

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-00095
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 -     31484 - auth_hash_seg_exit, Start
B -     82912 - elf_segs_hash_verify_entry, Start
B -    129973 - PBL, End
B -    138378 - SBL1, Start
B -    196206 - pm_device_init, Start
B -    216397 - PM_SET_VAL:Skip
D -     18818 - 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 -    233416 - 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 -     39162 - boot_flash_init, Delta
B -    318389 - boot_flash_swi_ddr_init, Start
D -     30347 - boot_flash_swi_ddr_init, Delta
B -    438315 - Invalid PMIC gpio 3
B -    438376 - Invalid PMIC gpio 3
B -    438407 - Failed to configure/read HW ID minor bit 0
B -    443714 - hw_family:5, hw_type:28, hw_rev:40
B -    451949 - SSMEM init OK
B -    455792 - DEBUG OU: 0000000000000002
B -    455853 - DEBUG OU - setting: 2
B -    458079 - is_memory_dump_allowed (0) in this secure module
B -    481412 - USB non-zero endpoint requirements: 9 in, 5 out
B -    483089 - opening partition 0:SWIFOTA
B -    487939 - DWL-get: ecnt=0 code=0
B -    494374 - API change: date not generated by cwe_header_init
B -    502030 - Failed to read size: /swinv/item_files/CUST_IM_SWITCH_HIDE
B -    510478 - Failed to read size: /swinv/item_files/CUST_IM_CONFIG
B -    516151 - flags: u=1 e=1 obmsk=c,0
B -    526216 - error for readpage:0
B -    526704 - error for readpage:64
B -    527345 - error for readpage:128
B -    530486 - error for readpage:192
B -    533506 - ssmem_release: region 20 not exists
B -    538172 - ssmem_get: region 20 not exists
B -    544730 - Image Load, Start
D -     91347 - QSEE Image Loaded, Delta - (461644 Bytes)
D -       213 - boot_pm_post_tz_device_init, Delta
B -    640500 - sbl1_efs_handle_cookies, Start
D -         0 - sbl1_efs_handle_cookies, Delta
B -    648460 - DEVCFG ELF verification failure
B -    652029 - Image Load, Start
D -        30 - SEC Image Loaded, Delta - (0 Bytes)
B -    659715 - Image Load, Start
D -     55663 - RPM Image Loaded, Delta - (154624 Bytes)
B -    716048 - Image Load, Start
B -    718275 - Auth disabled for image 9
B -    761859 - error for readpage:0
B -    762347 - error for readpage:64
B -    762988 - error for readpage:128
B -    766129 - error for readpage:192
B -    769149 - ssmem_release: region 20 not exists
B -    773815 - ssmem_get: region 20 not exists
D -     62037 - APPSBL Image Loaded, Delta - (409744 Bytes)
B -    783362 - QSEE Execution, Start
D -       915 - QSEE Execution, Delta
B -    790011 - SBL1, End
D -    654012 - SBL1, Delta
S - Throughput, 8000 KB/s  (1209116 Bytes,  138038 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
[1420] SSMEM init OK[1420] ssmem_get: region 20 not exists[1510] DEBUG: cmdline has root=
[1680] Channel alloc freed

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-00095
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 -      4416 - bootable_media_detect_success, Start
B -      4421 - elf_loader_entry, Start
B -      7874 - auth_hash_seg_entry, Start
B -     31506 - auth_hash_seg_exit, Start
B -     82931 - elf_segs_hash_verify_entry, Start
B -    129993 - PBL, End
B -    120414 - SBL1, Start
B -    170708 - pm_device_init, Start
B -    188551 - PM_SET_VAL:Skip
D -     16500 - pm_device_init, Delta
B -    189862 - boot_config_data_table_init, Start
D -         0 - boot_config_data_table_init, Delta - (0 Bytes)
B -    198616 - CDT version:3,Platform ID:8,Major ID:1,Minor ID:0,Subtype:129
B -    205509 - sbl1_ddr_set_params, Start
B -    209321 - Pre_DDR_clock_init, Start
D -       213 - Pre_DDR_clock_init, Delta
D -         0 - sbl1_ddr_set_params, Delta
B -    222040 - pm_driver_init, Start
D -      4453 - pm_driver_init, Delta
B -    228292 - cpr_init, Start
D -       122 - cpr_init, Delta
B -    232959 - cpr_cx_mx_apc_vol_update, Start
D -        91 - cpr_cx_mx_apc_vol_update, Delta
B -    248148 - clock_init, Start
D -       152 - clock_init, Delta
B -    248392 - boot_flash_init, Start
D -     39345 - boot_flash_init, Delta
B -    290787 - boot_flash_swi_ddr_init, Start
D -     30347 - boot_flash_swi_ddr_init, Delta
B -    438590 - Invalid PMIC gpio 3
B -    438651 - Invalid PMIC gpio 3
B -    438712 - Failed to configure/read HW ID minor bit 0
B -    443988 - hw_family:5, hw_type:28, hw_rev:40
B -    451674 - cannot detect SSMEM base
B -    451979 - SSMEM bad, reinit
B -    456188 - SSMEM init OK
B -    462563 - DEBUG OU: 0000000000000002
B -    462624 - DEBUG OU - setting: 2
B -    464942 - is_memory_dump_allowed (0) in this secure module
B -    470798 - ssmem_get: region 18 not exists
B -    474976 - cannot get SSMEM fwupdate region
B -    496662 - USB non-zero endpoint requirements: 9 in, 5 out
B -    498858 - opening partition 0:SWIFOTA
B -    503158 - DWL-get: ecnt=0 code=0
B -    509685 - API change: date not generated by cwe_header_init
B -    517341 - Failed to read size: /swinv/item_files/CUST_IM_SWITCH_HIDE
B -    523898 - Failed to read size: /swinv/item_files/FOTA_PARTITION
B -    524447 - Failed to read size: /swinv/item_files/CUST_IM_CONFIG
B -    535671 - flags: u=1 e=1 obmsk=c,0
B -    537806 - ssmem_get: region 21 not exists
B -    546285 - error for readpage:0
B -    546804 - error for readpage:64
B -    547444 - error for readpage:128
B -    550555 - error for readpage:192
B -    553575 - ssmem_release: region 20 not exists
B -    558241 - ssmem_get: region 20 not exists
B -    564768 - Image Load, Start
D -     91470 - QSEE Image Loaded, Delta - (461644 Bytes)
D -       183 - boot_pm_post_tz_device_init, Delta
B -    660660 - sbl1_efs_handle_cookies, Start
D -         0 - sbl1_efs_handle_cookies, Delta
B -    668651 - DEVCFG ELF verification failure
B -    672128 - Image Load, Start
D -        30 - SEC Image Loaded, Delta - (0 Bytes)
B -    679906 - Image Load, Start
D -     55632 - RPM Image Loaded, Delta - (154624 Bytes)
B -    736239 - Image Load, Start
B -    738588 - Auth disabled for image 9
B -    782050 - error for readpage:0
B -    782569 - error for readpage:64
B -    783209 - error for readpage:128
B -    786320 - error for readpage:192
B -    789370 - ssmem_release: region 20 not exists
B -    794006 - ssmem_get: region 20 not exists
D -     62068 - APPSBL Image Loaded, Delta - (409744 Bytes)
B -    803583 - QSEE Execution, Start
D -       915 - QSEE Execution, Delta
B -    810232 - SBL1, End
D -    692197 - SBL1, Delta
S - Throughput, 8000 KB/s  (1209116 Bytes,  138035 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
[1420] SSMEM init OK[1420] ssmem_get: region 20 not exists[1510] DEBUG: cmdline has root=
[1680] Channel alloc freed

Any help that can be provided would be much appreciated. How do I put this chip back to factory settings?

So the module keeps rebooting?
I remember in mangoh red board, the switch 7 of sw401 can force the module to boot mode

You might find this script useful for starting wifi. It scans for SSID and asks you to enter password. Take the last line (./xattr_set …) out, it’s a local script we use.

Also I don’t have cywifi.sh in /etc/init.d, just cywifi.

wifiStart (480 Bytes)

Paul, thanks, that helps me a lot!