iMX8QM-MEK: SUSPEND AND WAKEUP IN ANDROID 9 AUTOMOTIVE

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX8QM-MEK: SUSPEND AND WAKEUP IN ANDROID 9 AUTOMOTIVE

iMX8QM-MEK: SUSPEND AND WAKEUP IN ANDROID 9 AUTOMOTIVE

This the document for SUSPEND and WAKE-UP in IMX8QM-MEK platform

Wake up done by following,

  1. M4  debug UART
  2. A53 debug UART
  3. Power Key

Source: imx-p9.0.0_2.1.1-auto-ga

  • CONFIGURATION

         Disable the default wake-up - RTC Timer (Patch - Disable_auto_wakeup.diff)

  • SUSPEND

     1. Command  Line,

            # echo mem > /sys/power/state

     2. Dumpsys Command     

            # dumpsys activity service com.android.car inject-vhal-event 0x11410a00 4,2

  • WAKE-UP

    1. BUTTON

         By pressing the power-key SW3 (0.5s)

     2. DEBUG UART

         Enable debug UART wake-up

         # cat ./sys/devices/platform/5a060000.serial/tty/ttyLP0/power/wakeup
         disabled

         # echo enabled  > ./sys/devices/platform/5a060000.serial/tty/ttyLP0/power/wakeup

         TO WAKEUP

                  Press the ENTER Key 2 times

3. M4 UART WAKEUP

                       Apply the RPMSG patch (L4.14.98.diff)

                                       # cat./sys/devices/platform/5a070000.serial/tty/ttyLP1/power/wakeup

         disabled

         # echo enabled > ./sys/devices/platform/5a070000.serial/tty/ttyLP1/power/wakeup

Type some input in M4 Cosole               

Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-1104701%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EiMX8QM-MEK%3A%20SUSPEND%20AND%20WAKEUP%20IN%20ANDROID%209%20AUTOMOTIVE%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1104701%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThis%20the%20document%20for%20SUSPEND%20and%20WAKE-UP%20in%20IMX8QM-MEK%20platform%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EWake%20up%20done%20by%20following%2C%3C%2FP%3E%3COL%3E%3CLI%3EM4%26nbsp%3B%20debug%20UART%3C%2FLI%3E%3CLI%3EA53%20debug%20UART%3C%2FLI%3E%3CLI%3EPower%20Key%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3ESource%3C%2FSTRONG%3E%3A%20imx-p9.0.0_2.1.1-auto-ga%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CUL%20style%3D%22list-style-type%3A%20square%3B%22%3E%3CLI%3E%3CSTRONG%3ECONFIGURATION%3C%2FSTRONG%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BDisable%20the%20default%20wake-up%20-%20RTC%20Timer%20(Patch%20-%20Disable_auto_wakeup.diff)%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CUL%20style%3D%22list-style-type%3A%20square%3B%22%3E%3CLI%3E%3CSTRONG%3ESUSPEND%3C%2FSTRONG%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%20style%3D%22padding-left%3A%2030px%3B%22%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%201.%20Command%26nbsp%3B%20Line%2C%3C%2FSTRONG%3E%3C%2FP%3E%3CP%20style%3D%22padding-left%3A%2060px%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%23%20echo%20mem%20%26gt%3B%20%2Fsys%2Fpower%2Fstate%3C%2FP%3E%3CP%20style%3D%22padding-left%3A%2030px%3B%22%3E%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%20%3CSTRONG%3E2.%3C%2FSTRONG%3E%20%3CSTRONG%3EDumpsys%20Command%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%3CP%20style%3D%22padding-left%3A%2060px%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%23%20dumpsys%20activity%20service%20com.android.car%20inject-vhal-event%200x11410a00%204%2C2%3C%2FP%3E%3CP%20style%3D%22padding-left%3A%2060px%3B%22%3E%3C%2FP%3E%3CUL%20style%3D%22list-style-type%3A%20square%3B%22%3E%3CLI%3E%3CSTRONG%3EWAKE-UP%3C%2FSTRONG%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%20style%3D%22padding-left%3A%2030px%3B%22%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%201.%20BUTTON%3C%2FSTRONG%3E%3C%2FP%3E%3CP%20style%3D%22padding-left%3A%2060px%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BBy%20pressing%20the%20power-key%20SW3%20(0.5s)%3C%2FP%3E%3CP%20style%3D%22padding-left%3A%2030px%3B%22%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%202.%20DEBUG%20UART%3C%2FSTRONG%3E%3C%2FP%3E%3CP%20style%3D%22padding-left%3A%2060px%3B%22%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BEnable%20debug%20UART%20wake-up%3C%2FSTRONG%3E%3C%2FP%3E%3CP%20style%3D%22padding-left%3A%20120px%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%23%20cat%20.%2Fsys%2Fdevices%2Fplatform%2F5a060000.serial%2Ftty%2FttyLP0%2Fpower%2Fwakeup%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bdisabled%3C%2FP%3E%3CP%20style%3D%22padding-left%3A%20120px%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%23%20echo%20enabled%26nbsp%3B%20%26gt%3B%20.%2Fsys%2Fdevices%2Fplatform%2F5a060000.serial%2Ftty%2FttyLP0%2Fpower%2Fwakeup%3C%2FP%3E%3CP%20style%3D%22padding-left%3A%2060px%3B%22%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BTO%20WAKEUP%3C%2FSTRONG%3E%3C%2FP%3E%3CP%20style%3D%22padding-left%3A%2090px%3B%22%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSTRONG%3EPress%20the%20ENTER%20Key%202%20times%3C%2FP%3E%3CP%20style%3D%22padding-left%3A%2060px%3B%22%3E%3CSTRONG%3E3.%20M4%20UART%20WAKEUP%3C%2FSTRONG%3E%3C%2FP%3E%3CP%20style%3D%22padding-left%3A%2060px%3B%22%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3EApply%20the%20RPMSG%20patch%20(L4.14.98.diff)%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%23%20cat.%2Fsys%2Fdevices%2Fplatform%2F5a070000.serial%2Ftty%2FttyLP1%2Fpower%2Fwakeup%3C%2FP%3E%3CP%20style%3D%22padding-left%3A%20120px%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bdisabled%3C%2FP%3E%3CP%20style%3D%22padding-left%3A%20120px%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%23%20echo%20enabled%20%26gt%3B%20.%2Fsys%2Fdevices%2Fplatform%2F5a070000.serial%2Ftty%2FttyLP1%2Fpower%2Fwakeup%3C%2FP%3E%3CP%20style%3D%22padding-left%3A%20120px%3B%22%3E%3C%2FP%3E%3CP%20style%3D%22padding-left%3A%2090px%3B%22%3EType%20some%20input%20in%20M4%20Cosole%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
No ratings
Version history
Last update:
‎08-05-2020 10:00 AM
Updated by: