Imxdl board going into suspend mode on unplugging usb otg

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Imxdl board going into suspend mode on unplugging usb otg

975件の閲覧回数
sujay1
Contributor V

I'm using im6dl board with 1Gb RAM and android bsp.

The board boots fine but it goes into suspend mode the minute I disconnect the usb otg.

The kernel command line is

Kernel command line: console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,fbpix=RGB32,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=128M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=448M galcore.contiguousSize=33554432 buildvariant=userdebug androidboot.selinux=permissive androidboot.dm_verity=disabled android.permission.WAKE_LOCK buildvariant=user androidboot.serialno=2421c1d4e6b4bd55 androidboot.storage_type=emmc androidboot.serialno=2421c1d4e6b4bd55 androidboot.storage_type=emmc.

Please refer the attached document for full log.

How can I modify the android source to prevent the board from entering suspend mode?

タグ(3)
0 件の賞賛
3 返答(返信)

882件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Sujay

from log  i.MX6SOLO is used and one can check if issue persist in linux using sect.5 Enabling Solo

Emulation attached Linux Guide and software described in i.MX Software and Development Tools | NXP 

As for android, may be useful to rebuild all image from scratch for "i.MX6Solo SABRE-SD"

platform. pay attention to sect.3.3 Building U-Boot images, sect.3.4 Building a kernel image

attached Android Guide.

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

0 件の賞賛

882件の閲覧回数
sujay1
Contributor V

Hi Igor

imxsolo and imxdl images can be used interchangeably the issue here is removing auto suspend not rebuilding images.

0 件の賞賛

882件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Sujay

had you used maxcpus=1 in kernel boot parameters for imxsolo image.

For Android suspend mode one can look at general development resources:

https://www.thecustomdroid.com/disable-doze-specific-apps/ 

Power management  |  Android Developers 

Best regards
igor

0 件の賞賛