summaryrefslogtreecommitdiff
path: root/test-cli/test/flashers
diff options
context:
space:
mode:
authorHector Fernandez <hector@iatec.biz>2020-04-23 14:14:02 +0200
committerHector Fernandez <hector@iatec.biz>2020-04-23 14:14:02 +0200
commitd4020f0bce8c7841879736cd00ec64d617111c80 (patch)
treef7a7be97a629071c49fdbe107e09f4fb4ddb5985 /test-cli/test/flashers
parent6a680137694233008005415e22cf889b85baa292 (diff)
downloadboard-d4020f0bce8c7841879736cd00ec64d617111c80.zip
board-d4020f0bce8c7841879736cd00ec64d617111c80.tar.gz
board-d4020f0bce8c7841879736cd00ec64d617111c80.tar.bz2
Modified nand memory flasher
Diffstat (limited to 'test-cli/test/flashers')
-rw-r--r--test-cli/test/flashers/flashmemory.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test-cli/test/flashers/flashmemory.py b/test-cli/test/flashers/flashmemory.py
index c7267c6..3be56d7 100644
--- a/test-cli/test/flashers/flashmemory.py
+++ b/test-cli/test/flashers/flashmemory.py
@@ -1,9 +1,9 @@
import sh
-def flash_memory(imagefile):
+def flash_memory(imagepath):
print("Start programming Nand memory...")
- p = sh.bash("/usr/bin/igep-flash", "--skip-nandtest", "--image", "/opt/firmware/" + imagefile)
+ p = sh.bash("/usr/bin/igep-flash", "--skip-nandtest", "--image", imagepath)
if p.exit_code != 0:
print("Flasher: Could not complete flashing task.")
return 1