=== modified file 'linaro_image_tools/media_create/android_boards.py'
@@ -210,7 +210,8 @@
'mem=22M@360M mem_issw=1M@383M mem=640M@384M vmalloc=500M')
_extra_serial_opts = 'console=ttyAMA2,115200n8'
android_specific_args = 'init=/init androidboot.console=ttyAMA2'
- dtb_name = None
+ dtb_name = 'board.dtb'
+ dtb_addr = '0x8000000'
class AndroidSnowballEmmcConfig(AndroidBoardConfig, SnowballEmmcConfig):
@@ -222,7 +223,8 @@
_extra_serial_opts = 'console=ttyAMA2,115200n8'
android_specific_args = 'init=/init androidboot.console=ttyAMA2'
mmc_option = '0:2'
- dtb_name = None
+ dtb_name = 'board.dtb'
+ dtb_addr = '0x8000000'
@classmethod
def get_sfdisk_cmd(cls, should_align_boot_part=False):
=== modified file 'linaro_image_tools/media_create/tests/test_media_create.py'
@@ -1970,7 +1970,8 @@
'vmalloc=500M init=/init androidboot.console=ttyAMA2',
'bootcmd': 'fatload mmc 1:1 0x00100000 uImage; '
'fatload mmc 1:1 0x05000000 uInitrd; '
- 'bootm 0x00100000 0x05000000'}
+ 'fatload mmc 1:1 0x8000000 board.dtb; '
+ 'bootm 0x00100000 0x05000000 0x8000000'}
self.assertBootEnv(
android_boards.AndroidSnowballSdConfig, expected)
@@ -1983,7 +1984,8 @@
'vmalloc=500M init=/init androidboot.console=ttyAMA2',
'bootcmd': 'fatload mmc 0:2 0x00100000 uImage; '
'fatload mmc 0:2 0x05000000 uInitrd; '
- 'bootm 0x00100000 0x05000000'}
+ 'fatload mmc 0:2 0x8000000 board.dtb; '
+ 'bootm 0x00100000 0x05000000 0x8000000'}
self.assertBootEnv(
android_boards.AndroidSnowballEmmcConfig, expected)