GloDroid / glodroid_manifest

Android port that aims to bring both user- and developer-friendly experience in using AOSP with a set of single-board computers (SBC), phones and other devices.
472 stars 66 forks source link

Raspberry Pi CM4 with eMMC #186

Open NumberOneGit opened 2 years ago

NumberOneGit commented 2 years ago

I'd like to test out GloDroid on the Raspbery Pi CM4. The installer for Pi 4B only comes with an installer for SD cards but not the eMMC related files. Is this something that I can take from another device or are there contents that are hardware specific?

rsglobal commented 2 years ago

Hi,

You have to edit device/glodroid/rpi4/rpi4.mk file.

  1. Add PRODUCT_HAS_EMMC := true line
  2. Add SYSFS_MMC1_PATH := emmc2bus/f???????.??? line. Instead of ??? you have to put real sysfs path to rpicm4 emmc controller.

Probably you also have to copy appropriate device-tree into boot partition.