diff options
author | Milo Casagrande <milo@ubuntu.com> | 2013-03-25 13:52:28 +0100 |
---|---|---|
committer | Milo Casagrande <milo@ubuntu.com> | 2013-03-25 13:52:28 +0100 |
commit | d03f27ee8eca51f057652a44d0b77e0fd72ec289 (patch) | |
tree | 44047d15a46f3a8fc2d27b9e7b0a40f0e056956e /linaro_image_tools/media_create/tests | |
parent | 244376310e44eda6c0669da02d9a0f829f604209 (diff) |
Added a test for Arndale under Android, fixed other tests.
Diffstat (limited to 'linaro_image_tools/media_create/tests')
-rw-r--r-- | linaro_image_tools/media_create/tests/test_android_boards.py | 15 | ||||
-rw-r--r-- | linaro_image_tools/media_create/tests/test_media_create.py | 10 |
2 files changed, 20 insertions, 5 deletions
diff --git a/linaro_image_tools/media_create/tests/test_android_boards.py b/linaro_image_tools/media_create/tests/test_android_boards.py index babfc66..758aa94 100644 --- a/linaro_image_tools/media_create/tests/test_android_boards.py +++ b/linaro_image_tools/media_create/tests/test_android_boards.py @@ -481,3 +481,18 @@ class TestAndroidBoardsHwpack(TestCaseWithFixtures): 'fdt_high': '0xffffffff', 'initrd_high': '0xffffffff'} self.assertBootEnv(expected, board='mx53loco') + + def test_android_arndale_old(self): + """Test that uses values taken directly from the class. """ + expected = { + 'bootargs': 'ttySAC2,115200n8 rootwait ro rootdelay=3 ' + 'init=/init androidboot.console=ttySAC2 ' + 'console=ttySAC2 initrd=0x41000000', + 'bootcmd': 'fatload mmc 0:1 0x40007000 uImage; fatload mmc 0:1 ' + '0x41000000 uInitrd; fatload mmc 0:1 0x41f00000 ' + 'exynos5250-arndale.dtb; bootm 0x40007000 0x41000000 ' + '0x41f00000', + 'fdt_high': '0xffffffff', + 'initrd_high': '0xffffffff', + } + self.assertBootEnv(expected, board='arndale') 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 d14464c..03b8f82 100644 --- a/linaro_image_tools/media_create/tests/test_media_create.py +++ b/linaro_image_tools/media_create/tests/test_media_create.py @@ -2002,7 +2002,7 @@ class TestGetBootCmd(TestCase): 'root=UUID=deadbeef rootwait ro', 'bootcmd': 'fatload mmc 0:2 0x90000000 uImage; ' 'fatload mmc 0:2 0x92000000 uInitrd; ' - 'fatload mmc 0:2 0x91ff0000 board.dtb; ' + 'fatload mmc 0:2 0x91ff0000 mx51.dtb; ' 'bootm 0x90000000 0x92000000 0x91ff0000', 'fdt_high': '0xffffffff', 'initrd_high': '0xffffffff'} @@ -2126,7 +2126,7 @@ class TestGetBootCmd(TestCase): 'mem=456M@0x80000000 mem=512M@0xA0000000', 'bootcmd': 'fatload mmc 0:1 0x80200000 uImage; ' 'fatload mmc 0:1 0x81600000 uInitrd; ' - 'fatload mmc 0:1 0x815f0000 board.dtb; ' + 'fatload mmc 0:1 0x815f0000 panda.dtb; ' 'bootm 0x80200000 0x81600000 0x815f0000', 'fdt_high': '0xffffffff', 'initrd_high': '0xffffffff'} @@ -2149,7 +2149,7 @@ class TestGetBootCmd(TestCase): 'omapfb.mode=dvi:1280x720MR-16@60 mpurate=${mpurate}', 'bootcmd': 'fatload mmc 0:1 0x80000000 uImage; ' 'fatload mmc 0:1 0x81600000 uInitrd; ' - 'fatload mmc 0:1 0x815f0000 board.dtb; ' + 'fatload mmc 0:1 0x815f0000 beagle.dtb; ' 'bootm 0x80000000 0x81600000 0x815f0000', 'fdt_high': '0xffffffff', 'initrd_high': '0xffffffff'} @@ -2172,7 +2172,7 @@ class TestGetBootCmd(TestCase): 'omapfb.mode=dvi:1280x720MR-16@60 mpurate=${mpurate}', 'bootcmd': 'fatload mmc 0:1 0x80000000 uImage; ' 'fatload mmc 0:1 0x81600000 uInitrd; ' - 'fatload mmc 0:1 0x815f0000 board.dtb; ' + 'fatload mmc 0:1 0x815f0000 igep.dtb; ' 'bootm 0x80000000 0x81600000 0x815f0000', 'fdt_high': '0xffffffff', 'initrd_high': '0xffffffff'} @@ -2196,7 +2196,7 @@ class TestGetBootCmd(TestCase): 'omapfb.mode=dvi:${dvimode}', 'bootcmd': 'fatload mmc 0:1 0x80000000 uImage; ' 'fatload mmc 0:1 0x81600000 uInitrd; ' - 'fatload mmc 0:1 0x815f0000 board.dtb; ' + 'fatload mmc 0:1 0x815f0000 overo.dtb; ' 'bootm 0x80000000 0x81600000 0x815f0000', 'fdt_high': '0xffffffff', 'initrd_high': '0xffffffff'} |