Commit 8ab5f80a authored by Guido Gunther's avatar Guido Gunther

Merge branch 'add_debug_to_uuu' into 'master'

add debug support to uuu in flash script.

See merge request !24
parents f028492f f0575ed6
Pipeline #3794 passed with stage
in 1 minute and 45 seconds
......@@ -219,8 +219,11 @@ def write_uuu_script(target, image, uboot):
def flash_image(uuu_target):
subprocess.check_call(['uuu', uuu_target])
def flash_image(uuu_target, debug):
if debug:
subprocess.check_call(['uuu', '-v', uuu_target])
subprocess.check_call(['uuu', uuu_target])
def main():
......@@ -283,7 +286,7 @@ def main():
download_uboot(urljoin(uboot_ref['url'], 'artifact/build/{}'.format(UBOOT)),
write_uuu_script(uuu_target, image_target, uboot_target)
flash_image(uuu_target, args.debug)
except VerifyImageException as e:
return 1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment