aboutsummaryrefslogtreecommitdiff
path: root/linaro_image_tools/media_create
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2013-09-19 17:15:46 +0300
committerFathi Boudra <fathi.boudra@linaro.org>2013-09-19 17:15:46 +0300
commit7ee0ff22b87d118bd01f7ddd0f96492028e7ef96 (patch)
tree011378ae3422f8f1b5d594a89a52076988891c82 /linaro_image_tools/media_create
parentb00e28f473cd2313815d05eef01b5d71de7445cb (diff)
downloadlinaro-image-tools-7ee0ff22b87d118bd01f7ddd0f96492028e7ef96.tar.gz
Add support for the new ARM models
Diffstat (limited to 'linaro_image_tools/media_create')
-rw-r--r--linaro_image_tools/media_create/boards.py7
1 files changed, 4 insertions, 3 deletions
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)