summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarol Lewandowski <k.lewandowsk@samsung.com>2024-05-22 12:36:48 +0200
committerJaehoon Chung <jh80.chung@samsung.com>2024-05-31 04:19:55 +0000
commite04578a5c8d90ac0251cbe7f8b541d3472b23b1a (patch)
treef17e920fe50c6f813503268d6ab041881045943e
parent909e621519439b61284cc0b08b6c7637adad21a3 (diff)
downloadu-boot-e04578a5c8d90ac0251cbe7f8b541d3472b23b1a.tar.gz
u-boot-e04578a5c8d90ac0251cbe7f8b541d3472b23b1a.tar.bz2
u-boot-e04578a5c8d90ac0251cbe7f8b541d3472b23b1a.zip
sd_fusing.py: Improve parameter write error message
Change-Id: If42e16e310b1454f190b21d6cd5b662e1f17f598 Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
-rwxr-xr-xscripts/tizen/sd_fusing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/tizen/sd_fusing.py b/scripts/tizen/sd_fusing.py
index e5fbbc75f2..ee380ebfc8 100755
--- a/scripts/tizen/sd_fusing.py
+++ b/scripts/tizen/sd_fusing.py
@@ -211,7 +211,7 @@ class InitParams:
stdin=subprocess.DEVNULL,
stdout=None, stderr=None)
if proc.returncode != 0:
- logging.error("Failed to mount {d} in {mnt}")
+ logging.error(f"Failed to mount {d} in {mnt} (Has the device been initialized with --format?)")
return
for param, value in self.params:
with open(os.path.join(mnt, param), 'w') as f: