aboutsummaryrefslogtreecommitdiff
path: root/linaro_image_tools/media_create/android_boards.py
diff options
context:
space:
mode:
authorGuilherme Salgado <guilherme.salgado@linaro.org>2012-02-20 15:32:21 -0300
committerGuilherme Salgado <guilherme.salgado@linaro.org>2012-02-20 15:32:21 -0300
commit5aa58b6df9e92e09dfac70cf2ebe23955e243e9b (patch)
tree2cd0101a8ae86df8ee593c3bc2e4e963293ff7d0 /linaro_image_tools/media_create/android_boards.py
parent3e3721c0310aac58d17edce6aef89abe2b7e682a (diff)
Add a couple tests for AndroidMx6QSabreliteConfig
Diffstat (limited to 'linaro_image_tools/media_create/android_boards.py')
-rw-r--r--linaro_image_tools/media_create/android_boards.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/linaro_image_tools/media_create/android_boards.py b/linaro_image_tools/media_create/android_boards.py
index ea14a85..4144dcb 100644
--- a/linaro_image_tools/media_create/android_boards.py
+++ b/linaro_image_tools/media_create/android_boards.py
@@ -76,6 +76,9 @@ class AndroidBoardConfig(object):
"""
boot_env = {}
boot_env["bootargs"] = cls._get_bootargs(consoles)
+ # On Android, the DTB file is always built as part of the kernel it
+ # comes from - and lives in the same directory in the boot tarball, so
+ # here we don't need to pass the whole path to it.
boot_env["bootcmd"] = cls._get_bootcmd(cls.dtb_name)
return boot_env
@@ -261,17 +264,16 @@ class AndroidMx53LoCoConfig(AndroidBoardConfig, Mx53LoCoConfig):
def install_boot_loader(cls, boot_partition, boot_device_or_file):
install_mx5_boot_loader(os.path.join(boot_device_or_file, "u-boot.imx"), boot_partition, cls.LOADER_MIN_SIZE_S)
+
class AndroidMx6QSabreliteConfig(AndroidMx53LoCoConfig):
uboot_flavor = 'mx6qsabrelite'
kernel_addr = '0x10000000'
initrd_addr = '0x12000000'
load_addr = '0x10008000'
dtb_addr = '0x11ff0000'
- # On Android, the DTB file is always built as part of the
- # kernel it comes from - and lives in the same directory
- # in the boot tarball.
dtb_name = 'board.dtb'
+
class AndroidSamsungConfig(AndroidBoardConfig):
dtb_name = None