WP8548 Boot issue mbim

Hello,

I have a brand new Mangoh red platform with WP8548 module. I have flashed the generic firmware SWI9X15Y_07.12.09.00 using the swiflash tool.
I cannot connect to the board with ssh with IP 196.168.2.2
If I connect a serial terminal to the board it looks like the boot sequence is stuck.
Here is the message:

[ 106.132153] Suspending console(s) (use no_console_suspend to debug)
[ 106.186021] msm_hsic_host msm_hsic_host: HSIC-USB in low power mode
[ 106.186326] PM: suspend of devices complete after 46.238 msecs
[ 106.188463] PM: late suspend of devices complete after 2.136 msecs
[ 106.190355] PM: noirq suspend of devices complete after 1.861 msecs
[ 106.190569] msm_pm_enter
[ 106.190569] msm_pm_enter: power collapse
[ 106.190569] msm_mpm_irqs_detectable: cannot monitor 000000,00000000,000000000
[ 106.190569] msm_pm_enter: return
[ 106.192003] PM: noirq resume of devices complete after 1.251 msecs
[ 106.193956] PM: early resume of devices complete after 1.556 msecs
[ 106.194933] msm_hsic_host msm_hsic_host: HSIC-USB exited from low power mode
[ 106.201129] usb usb2: root hub lost power or was reset
[ 106.308316] PM: resume of devices complete after 114.298 msecs
[ 106.387913] Restarting tasks …
[ 106.396001] mbim_read: Requests list is empty. Wait.
[ 106.402594] done.
[ 107.394719] PM: Syncing filesystems … done.
[ 107.399786] Freezing user space processes …
[ 107.405432] mbim_read: Waiting failed
[ 107.409613] (elapsed 0.006 seconds) done.
[ 107.412574] Freezing remaining freezable tasks … (elapsed 0.001 seconds) d.
[ 107.420448] Suspending console(s) (use no_console_suspend to debug)

The boot is looping with this sequence indefinitely.
Does anybody has a solution to this ?

Thanks for your help.
Olivier.

Yes,
On mine with the latest software for AT&T, (Release 14 page, but software is 13.1)
Just wait a few minutes and you will eventually get a login prompt. It appears that Sierra changed the functionality for security reasons. I’ve had to alternate a chip between a Mangoh Green and the Red about 5 times to get something that works. Mine eventually comes up with a login on the port. I also use a WP7504 not a WP8548. I will try that. I am very new to the RED, but have built quite a bit on the GREEN.

Hi Olivier,

Can you update to the latest firmware and check:
https://source.sierrawireless.com/resources/legato/wpfirmwarerelease14/

regards,
Ashish

Hi Ashish,

I have already updated the firmware to the latest version (Release 14) without success.
I have dumped the complete boot log to help analysis.
But I cannot upload the complete log, is there any logs or other information I can send you to help analyzing the issue ?

Thanks,
Olivier.

Do you have the USB cable plugged into the CF3 USB port?

Mangoh red has two USB connections one for the power and one for serial communication, you can select the one for communication and the one for powering the board. I have tested both configurations and I get the same result each time.

Can you try by having both cables connected? Also, can you try do firmware upgrade using swiflash as shown in the video tutorials on a linux machine?

Both USB cables are connected, one is used to power up the board and the other one to communicate with the board.
Sorry if it was not clear but I have already flashed the module with swiflash to update to the last firmware.
Here is the Linux version reported during the boot sequence:
Linux version 3.14.29ltsi-961ca71325_ab5094eade

Thanks.

can you post the console output during bootup?
also, can you look at this page
http://legato.io/legato-docs/latest/basicTarget.html

Sorry I cannot upload files !
Here is the begining of the log:

Android Bootloader - UART_DM Initialized!!!
[10] ERROR: No misc partition found
[ 0.000000] Kernel is starting…
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.14.29ltsi-961ca71325_ab5094eade (gsmbuild@CARMD-EV-FRMWR1) (gcc version 4.9.1 (GCC) ) #2 PREEMPT Thu Apr 27 02:17:10 PDT 2017
[ 0.000000] CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: QCT MSM9615 CDP
[ 0.000000] memory pool 3 (start 4ff00000 size 100000) initialized
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] L310 cache controller enabled
[ 0.000000] l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x00540000, Cache size: 262144 B
[ 0.000000] socinfo_init: v7, id=106, ver=3.0, raw_id=1760, raw_ver=1760, hw_plat=0, hw_plat_ver=65536
[ 0.000000] accessory_chip=0, hw_plat_subtype=0, pmic_model=19, pmic_die_revision=3
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 40720
[ 0.000000] Kernel command line: console=ttyHSL0,115200 console=ttyHSL1,115200 fudge_ro_rootfs=true rootfs_ro=true mtdparts=msm_nand:0x00100000@0x051c0000(bootloader),0x01400000(kernel),0x03140000(rootfs),0x02780000(user0),0x08b80000(user1),0x00500000(user2),0x00200000(user3) androidboot.serialno=MDM9615 lkversion=1.3.0_a50272dbb2 androidboot.baseband=msm
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] allocated 507904 bytes of page_cgroup
[ 0.000000] please try ‘cgroup_disable=memory’ option if you don’t want memory cgroups
[ 0.000000] Memory: 150452K/164864K available (6775K kernel code, 632K rwdata, 2260K rodata, 1370K init, 1268K bss, 14412K reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xd0000000 - 0xff000000 ( 752 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xcf800000 ( 248 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc08daf60 (9036 kB)
[ 0.000000] .init : 0xc08db000 - 0xc0a3194c (1371 kB)
[ 0.000000] .data : 0xc0a32000 - 0xc0ad019c ( 633 kB)
[ 0.000000] .bss : 0xc0ad019c - 0xc0c0d4fc (1269 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:681
[ 0.000030] sched_clock: 32 bits at 32kHz, resolution 30520ns, wraps every 65542000541696ns
[ 0.000610] Console: colour dummy device 80x30
[ 0.000671] Calibrating delay loop… 366.18 BogoMIPS (lpj=1830912)
[ 0.060491] pid_max: default: 32768 minimum: 301
[ 0.060949] Security Framework initialized
[ 0.061040] Smack: Initializing.
[ 0.061071] Smack: IPv6 port labeling enabled.
[ 0.061468] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.061498] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.063299] Initializing cgroup subsys debug
[ 0.063329] Initializing cgroup subsys memory
[ 0.063390] Initializing cgroup subsys devices
[ 0.063421] Initializing cgroup subsys freezer
[ 0.063421] Initializing cgroup subsys net_cls
[ 0.063451] Initializing cgroup subsys blkio
[ 0.063512] CPU: Testing write buffer coherency: ok
[ 0.063604] ftrace: allocating 22887 entries in 68 pages
[ 0.145551] Setting up static identity map for 0x40e20580 - 0x40e205d8
[ 0.168808] devtmpfs: initialized
[ 0.178208] VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 rev 1
[ 0.180863] regulator-dummy: no parameters
[ 0.181443] NET: Registered protocol family 16
[ 0.182603] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.182908] AXI: msm_bus_fabric_init_driver(): msm_bus_fabric_init_driver
[ 0.183610] gpio_sync_ri: RI owner is Modem
[ 0.184495] msm_serial_hsl_init: driver initialized
[ 0.185106] cpuidle: using governor ladder
[ 0.185289] cpuidle: using governor menu
[ 0.186052] msm_rpm_init: RPM firmware 3.0.16842958
[ 0.186326] gpio_cf3_low_power_reset_toggle: Setting up LowPower_RESET pin toggle timer
[ 0.186357] unmatched machine ID in register_i2c_devices
[ 0.186387] wl18xx board initialization done
[ 0.186876] 8018_s1: 500 <–> 1150 mV at 1150 mV normal idle
[ 0.187303] 8018_s2: 1225 <–> 1300 mV at 1300 mV normal idle
[ 0.188219] 8018_s3: 1800 mV normal idle
[ 0.188737] 8018_s4: 2100 <–> 2200 mV at 2200 mV normal idle
[ 0.189562] 8018_s5: 1350 mV normal idle
[ 0.190447] 8018_l2: 1800 mV normal idle
[ 0.191332] 8018_l3: 1800 mV normal idle
[ 0.191759] 8018_l4: 3300 mV normal idle
[ 0.192156] 8018_l5: 2850 mV normal idle
[ 0.192553] 8018_l6: 1800 <–> 2850 mV at 2850 mV normal idle
[ 0.192949] 8018_l7: 1850 <–> 1900 mV at 1900 mV normal idle
[ 0.193041] 8018_l7: supplied by 8018_s4
[ 0.193438] 8018_l8: 1200 mV normal idle
[ 0.193529] 8018_l8: supplied by 8018_s3
[ 0.193895] 8018_l9: 750 <–> 1150 mV at 1150 mV normal idle
[ 0.194018] 8018_l9: supplied by 8018_s5
[ 0.194384] 8018_l10: 1050 mV normal idle
[ 0.194506] 8018_l10: supplied by 8018_s5
[ 0.194842] 8018_l11: 1050 mV normal idle
[ 0.194964] 8018_l11: supplied by 8018_s5
[ 0.195421] 8018_l12: 1050 mV normal idle
[ 0.195544] 8018_l12: supplied by 8018_s5
[ 0.195940] 8018_l13: 1850 <–> 2950 mV at 2950 mV normal idle
[ 0.196368] 8018_l14: 2850 mV normal idle
[ 0.196734] 8018_lvs1: no parameters
[ 0.196795] 8018_lvs1: supplied by 8018_s3
[ 0.197192] vdd_dig_corner: 0 <–> 0 mV at 0 mV

The last message grant me the right to upload files :slight_smile:
Here is the log

WP85_20170621.txt (37.7 KB)