X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=scripts%2Ftizen%2Fsd_fusing.py;h=bc67deb5f2129c2365ca5e3d8bcf1bf87417fdc0;hb=8f78bf12c0eba95ebb203868856899fdcec2935c;hp=3130c55e69d8d9ceabcc313d1d349d43b4b9bc80;hpb=42033767edf4ddae3a49766bbdb27ac6e5e308ff;p=platform%2Fkernel%2Fu-boot.git diff --git a/scripts/tizen/sd_fusing.py b/scripts/tizen/sd_fusing.py index 3130c55..bc67deb 100755 --- a/scripts/tizen/sd_fusing.py +++ b/scripts/tizen/sd_fusing.py @@ -756,16 +756,16 @@ def do_fuse_file(f, name, target): 'oflag=direct', 'iflag=fullblock', 'conv=nocreat', + 'status=progress', f"of={pdevice}"] logging.debug(" ".join(argv)) proc_dd = subprocess.Popen(argv, bufsize=(4 << 20), stdin=subprocess.PIPE, stdout=None, stderr=None) - logging.info(f"Writing {name} to {pdevice}") + print('\033[32m'+f"Writing {name} to {pdevice}"+'\033[0m') buf = f.read(4 << 20) while len(buf) > 0: - #TODO: progress proc_dd.stdin.write(buf) buf = f.read(4 << 20) proc_dd.communicate()