diff options
author | Hector Fernandez <hector@iatec.biz> | 2020-04-23 14:14:02 +0200 |
---|---|---|
committer | Hector Fernandez <hector@iatec.biz> | 2020-04-23 14:14:02 +0200 |
commit | d4020f0bce8c7841879736cd00ec64d617111c80 (patch) | |
tree | f7a7be97a629071c49fdbe107e09f4fb4ddb5985 /test-cli/test/flashers | |
parent | 6a680137694233008005415e22cf889b85baa292 (diff) | |
download | board-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.py | 4 |
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 |