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
No ratings
Version history
Last update:
‎08-05-2020 10:00 AM
Updated by: