Skip to main content
Visitor II
December 3, 2019
Question

Android support

  • December 3, 2019
  • 4 replies
  • 1024 views

Hello,

Could you explain the reason why Android is not supported on the STM32MP157C-DK2?

I can't find any instructions how to install an Android image on the target? The following example references the coprocessor example for A7 and M4 cores, but misses how this is done:-

https://wiki.st.com/stm32mpu/wiki/STM32MP1_Developer_Package_for_Android

    This topic has been closed for replies.

    4 replies

    Technical Moderator
    December 3, 2019

    Hi @moredatalesscenter​ 

    Android does not fit to DK2 because there is not enough DDR ( 1GB required) .

    Guideline to install Android on target is there :

    https://wiki.st.com/stm32mpu/wiki/How_to_populate_boards_for_Android

    Olivier

    Visitor II
    December 3, 2019

    Ah. The board features suggest it's 4 Gbit DDR3L, 16 bits.

    Technical Moderator
    December 3, 2019

    Indeed ..which mean 512MBytes. ;)

    Visitor II
    December 5, 2019

    Can packages be selectively removed to create a barebones distribution that will fit into 0.5GB?

    ST Employee
    December 5, 2019

    Android from AOSP can work with 512MBytes but with an impact on the overall performance (swap has a huge impact).

    It's then required to limit the memory usage to the maximum:

    1- limit the display resolution on the device

    2- limit the number of packages started (remove all unnecessary packages which can means patching the system server to avoid starting them (ex: Telecom))

    3- applications (packages) including the Launcher shall be developed considering memory usage (no animation, simple layouts (ex: use ConstrainLayout), avoid too much activity swap...)

    At the end, it depends on the kind of device targeted (ex: wear device with small screen can work easily with 512MBytes DDR)