Skip to content
peyo-hd edited this page Jun 21, 2015 · 35 revisions

Usage

Screen resolution

  • Default build (framebuffer mode) : 1280x720 : Any monitor/TV which support this resolution could be connected.
  • vc4 build : 1920x1080 : Only full HD monitor/TV could be used.

Keymap with generic PC keyboard

  • F1 : Home
  • F2 : Back
  • F3 : Menu

ADB connection

  • Boot the android image with ethernet connected.
  • Check IP address of the board at Settings->About->Status
  • At host do 'adb connect '

How to use vc4 drm/mesa driver

Since vc4 build is still unstable & slow (but working), it's not documented on the README

After 'repo sync' step of https://github.com/peyo-hd/local_manifests, do 'git checkout vc4' on following sources.

  • kernel/rpi
  • external/mesa3d
  • hardware/drm_gralloc
  • device/brcm/rpi2

Then follow README of https://github.com/peyo-hd/device_brcm_rpi2

For vc4 original work of Eric Anholt, refer to http://dri.freedesktop.org/wiki/VC4 And his github : https://github.com/anholt

AssetAtlasService exception

You might encounter below error during boot-up. In that case, work-around it by applying the patch upon framework/base.

FATAL EXCEPTION IN SYSTEM PROCESS: Thread-54 java.util.ConcurrentModificationException at java.util.AbstractList$FullListIterator.set(AbstractList.java:148) at java.util.Collections.sort(Collections.java:1888) at com.android.server.AssetAtlasService.computeBestConfiguration(AssetAtlasService.java:428)

/services/core/java/com/android/server/AssetAtlasService.java
@@ -400,7 +400,7 @@ public class AssetAtlasService extends IAssetAtlas.Stub {
         // Don't bother with an extra thread if there's only one processor
-        int cpuCount = Runtime.getRuntime().availableProcessors();
+        int cpuCount = 1;
         if (cpuCount == 1) {
             new ComputeWorker(MIN_SIZE, MAX_SIZE, STEP, bitmaps, pixelCount, results, null).run();
Clone this wiki locally