Device not wakeup after suspend

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Device not wakeup after suspend

2,245 次查看
vimalan_93
Contributor I

I have useing IMX8M som with custom carrier board. When the device goes to suspend or lock mode when the power button is pressed, its not able to resume on a power button press. The CPUs are going to shutdown mode and hence need to do a hard boot to bringup the board again.

we used the following software setup.

Android Version : PIE

Kernel version : 4.14.78

Thanks

Vimal.

标签 (1)
0 项奖励
回复
3 回复数

2,146 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Vimal

may be recommended to try latest v.24 RPA tool with running ddr test

i.MX 8M Family DDR Tool Release 

Also Kernel version 4.14.78 is quite old, please try latest from

source.codeaurora.org/external/imx/linux-imx offical nxp repository
linux-imx - i.MX Linux kernel 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

2,146 次查看
vimalan_93
Contributor I
Hi Igorpadykov,
Thanks for the response.

We tried to test with the image you have mentioned.
Also we tried to capture the issue using the initcall_debug kernel argument and we get the below message in the debug. 
 brcmfmac: brcmf_ops_sdio_suspend: Failed to set pm_flags 1
I have attached the debug log as well. Is this the reason for the issue we are facing?
[   33.538790] brcmfmac mmc1:0001:1: Falling back to user helper
[   33.561881] ueventd: firmware: loading 'brcm/brcmfmac4339-sdio.clm_blob' for '/devices/platform/30b50000.usdhc/mmc_host/mmc1/mmc1:0001/mmc1:0001:1/firmware/brcm!brcmfmac4339-sdio.clm_blob'
[   33.579673] ueventd: firmware: could not find firmware for brcm/brcmfmac4339-sdio.clm_blob
[   33.597205] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available(err=-11), device may have limited channels available
[   33.597219] ueventd: loading /devices/platform/30b50000.usdhc/mmc_host/mmc1/mmc1:0001/mmc1:0001:1/firmware/brcm!brcmfmac4339-sdio.clm_blob took 35ms
[   33.639144] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Jul 24 2017 19:51:13 version 6.37.39.77 (r666031 CY)
[   48.930516] brcmfmac: brcmf_cfg80211_add_iface: iface validation failed: err=-16
[   83.252097] brcmfmac: brcmf_ops_sdio_suspend: Failed to set pm_flags 1
[   84.404569] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110
[   84.464567] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110
[  117.620571] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110
[  117.628450] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  117.664593] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  117.700593] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  117.736579] brcmfmac: brcmf_set_mpc: fail to set mpc
[  117.746583] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation
[  117.820569] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110
 
Thansk
vimal.
0 项奖励
回复

2,146 次查看
igorpadykov
NXP Employee
NXP Employee

one can look on

[v2] brcmfmac: Correctly fail to suspend when SDIO does not support power on suspend - Patchwork 

Cannot bring up brcmfmac 43455 version 7.45.173... | Cypress Developer Community 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复