From 7ee0ff22b87d118bd01f7ddd0f96492028e7ef96 Mon Sep 17 00:00:00 2001 From: Fathi Boudra Date: Thu, 19 Sep 2013 17:15:46 +0300 Subject: Add support for the new ARM models --- linaro_image_tools/media_create/boards.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'linaro_image_tools/media_create') diff --git a/linaro_image_tools/media_create/boards.py b/linaro_image_tools/media_create/boards.py index 02b291d..4e91954 100644 --- a/linaro_image_tools/media_create/boards.py +++ b/linaro_image_tools/media_create/boards.py @@ -1435,8 +1435,9 @@ class FastModelConfig(BoardConfig): bw_foundation = _get_file_matching("%s/boot/img-foundation.axf" % chroot_dir) - for filename in (bw_ve, bw_foundation, k_img_data, - i_img_data, d_img_data): + files = [bw_ve, bw_foundation, k_img_data, i_img_data, d_img_data] + files.extend(glob.glob("%s/fvp/*.bin" % boot_dir)) + for filename in files: if filename is not None: copy_drop(filename, output_dir) cmd_runner.run(["cp", "-v", filename, boot_dir], @@ -1891,7 +1892,7 @@ def _get_file_matching(regex): elif len(files) == 0: return None else: - # TODO: Could ask the user to chosse which file to use instead of + # TODO: Could ask the user to choose which file to use instead of # raising an exception. raise ValueError("Too many files matching '%s' found." % regex) -- cgit v1.2.3