4.5. Android Dual Screen Support

This application note contains steps to enable dual screen with Android in mirror mode or extended mode.

The following panel is currently supported with the AM62x SK EVM revision E3 board:

  • Microtips Technology USA (13-101HIEB0HF0-S) 10.1” WUXGA (1920x1200) TFT LCD panel

Note

By default Android configures the displays in mirror mode.

4.5.1. How to enable Microtips LVDS panel on AM62x SK EVM

Steps to enable OLDI Panel DT overlay:

  1. Follow the Device Tree Overlay Support guide.

Steps to enable touch on the Microtips Panel on AM625 SK EVM:

Note: The following steps are only applicable on AM625 SK EVM revision E3 board.

  1. Power off the LVDS board by disconnecting the 12V barrel jack (do not power off the SK EVM)

  2. Run the following commands from the Linux prompt:

    console:/ $ su
    console:/ # rmmod ili210x
    console:/ # i2ctransfer -f -y 0 w3@0x3f 0x09 0x1 0x0e
    console:/ # i2ctransfer -f -y 0 w6@0x3f 0x08 0x04 0x47 0x50 0x73 0x68
    
  3. Power on the LVDS board

  4. Run the following command:

    console:/ # insmod /vendor/lib/modules/ili210x.ko
    

After re-initializing the module, the touch IC should now be registered as an input and touch should be functional.

Attention

This step need to be done each time the board reboots.

4.5.2. How to enable Extended Display in Android

Step to setup an android build environment:

  1. Follow the Downloading sources download guide.

Step to enable Extended Display:

  1. Edit device.mk file to add this:

    # Display settings (windowing, system decorations, IME ...)
    PRODUCT_COPY_FILES += \
       device/ti/am62x/display_settings.xml:$(TARGET_COPY_OUT_VENDOR)/etc/display_settings.xml
    
    # Enable activities on secondary displays
    PRODUCT_COPY_FILES += \
       frameworks/native/data/etc/android.software.activities_on_secondary_displays.xml:system/etc/permissions/android.software.activities_on_secondary_displays.xml
    
  2. Rebuild Android: Relaunch command from Build Instructions build guide.

  3. Follow Flashing Instruction guide to flash Android images.