aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilo Casagrande <milo@ubuntu.com>2013-04-03 17:12:24 +0200
committerMilo Casagrande <milo@ubuntu.com>2013-04-03 17:12:24 +0200
commitf2d720ea4972e27c51b447d25c0c771f08a576fc (patch)
tree27dade577a0cb3244607f45996a6bd7364c595d3
parent4c13ee4544edf27bff1c10928e9294f936a77deb (diff)
parentaa0732f33358c63f632a7e0f18617a47002f0bc5 (diff)
Changed MMC option for Snowball EMMC board.
-rw-r--r--linaro_image_tools/media_create/boards.py1
-rw-r--r--linaro_image_tools/media_create/tests/test_media_create.py4
2 files changed, 3 insertions, 2 deletions
diff --git a/linaro_image_tools/media_create/boards.py b/linaro_image_tools/media_create/boards.py
index dedd1cf..d578ffa 100644
--- a/linaro_image_tools/media_create/boards.py
+++ b/linaro_image_tools/media_create/boards.py
@@ -1089,6 +1089,7 @@ class SnowballEmmcConfig(SnowballSdConfig):
# puts the MBR, so the boot loader skips that address.
self.supports_writing_to_mmc = False
self.snowball_startup_files_config = 'startfiles.cfg'
+ self.mmc_option = '0:2'
def get_v1_sfdisk_cmd(self, should_align_boot_part=None):
"""Return the sfdisk command to partition the media.
diff --git a/linaro_image_tools/media_create/tests/test_media_create.py b/linaro_image_tools/media_create/tests/test_media_create.py
index 37537ac..219770e 100644
--- a/linaro_image_tools/media_create/tests/test_media_create.py
+++ b/linaro_image_tools/media_create/tests/test_media_create.py
@@ -2102,8 +2102,8 @@ class TestGetBootCmd(TestCase):
'mem_modem=32M@96M mem=44M@128M pmem=22M@172M '
'mem=30M@194M mem_mali=32M@224M pmem_hwb=54M@256M '
'hwmem=48M@302M mem=152M@360M',
- 'bootcmd': 'fatload mmc 1:1 0x00100000 uImage; '
- 'fatload mmc 1:1 0x08000000 uInitrd; '
+ 'bootcmd': 'fatload mmc 0:2 0x00100000 uImage; '
+ 'fatload mmc 0:2 0x08000000 uInitrd; '
'bootm 0x00100000 0x08000000',
'fdt_high': '0xffffffff',
'initrd_high': '0xffffffff'}