diff mbox

[Branch,~linaro-image-tools/linaro-image-tools/trunk] Rev 378: Add support for Android on the i.MX53 Quick Start Board

Message ID 20110718182820.10718.92523.launchpad@loganberry.canonical.com
State Accepted
Headers show

Commit Message

Guilherme Salgado July 18, 2011, 6:28 p.m. UTC
Merge authors:
  Bernhard Rosenkraenzer (berolinux)
Related merge proposals:
  https://code.launchpad.net/~berolinux/linaro-image-tools/iMX53/+merge/68186
  proposed by: Bernhard Rosenkraenzer (berolinux)
  review: Approve - Guilherme Salgado (salgado)
------------------------------------------------------------
revno: 378 [merge]
committer: Guilherme Salgado <guilherme.salgado@linaro.org>
branch nick: trunk
timestamp: Mon 2011-07-18 15:25:30 -0300
message:
  Add support for Android on the i.MX53 Quick Start Board
modified:
  linaro_image_tools/media_create/android_boards.py


--
lp:linaro-image-tools
https://code.launchpad.net/~linaro-image-tools/linaro-image-tools/trunk

You are subscribed to branch lp:linaro-image-tools.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-image-tools/linaro-image-tools/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'linaro_image_tools/media_create/android_boards.py'
--- linaro_image_tools/media_create/android_boards.py	2011-07-01 09:16:24 +0000
+++ linaro_image_tools/media_create/android_boards.py	2011-07-18 18:25:30 +0000
@@ -28,6 +28,7 @@ 
 from linaro_image_tools.media_create.boards import PART_ALIGN_S
 from linaro_image_tools.media_create.boards import BeagleConfig
 from linaro_image_tools.media_create.boards import PandaConfig
+from linaro_image_tools.media_create.boards import Mx53LoCoConfig
 from linaro_image_tools.media_create.boards import SnowballSdConfig
 from linaro_image_tools.media_create.boards import SnowballEmmcConfig
 from linaro_image_tools.media_create.boards import (
@@ -209,10 +210,19 @@ 
         return '%s,%s,0xDA\n%s' % (
             loader_start, loader_len, command)
 
+class AndroidMx53LoCoConfig(AndroidBoardConfig, Mx53LoCoConfig):
+    extra_boot_args_options = (
+        'earlyprintk rootdelay=1 fixrtc nocompcache di1_primary tve')
+    _extra_serial_opts = 'console=tty0 console=%s,115200n8' % (
+        Mx53LoCoConfig.serial_tty)
+    android_specific_args = 'init=/init androidboot.console=%s' % (
+        Mx53LoCoConfig.serial_tty)
+    mmc_part_offset = 0
 
 android_board_configs = {
     'beagle': AndroidBeagleConfig,
     'panda': AndroidPandaConfig,
     'snowball_sd': AndroidSnowballSdConfig,
     'snowball_emmc': AndroidSnowballEmmcConfig,
+    'iMX53': AndroidMx53LoCoConfig,
     }