diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2013-09-19 18:09:20 +0300 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2013-09-19 18:09:20 +0300 |
commit | f676c0d3ab0bd064ec8475ce60c78eef7697dcd5 (patch) | |
tree | 011378ae3422f8f1b5d594a89a52076988891c82 /linaro_image_tools/media_create | |
parent | b00e28f473cd2313815d05eef01b5d71de7445cb (diff) | |
parent | 7ee0ff22b87d118bd01f7ddd0f96492028e7ef96 (diff) |
Add support for the new ARM models
Diffstat (limited to 'linaro_image_tools/media_create')
-rw-r--r-- | linaro_image_tools/media_create/boards.py | 7 |
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) |