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 | |
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')
-rw-r--r-- | test-cli/test/__init__.pyc | bin | 114 -> 124 bytes | |||
-rw-r--r-- | test-cli/test/flashers/flashmemory.py | 4 | ||||
-rw-r--r-- | test-cli/test/helpers/__init__.pyc | bin | 122 -> 132 bytes |
3 files changed, 2 insertions, 2 deletions
diff --git a/test-cli/test/__init__.pyc b/test-cli/test/__init__.pyc Binary files differindex cd50092..3248efc 100644 --- a/test-cli/test/__init__.pyc +++ b/test-cli/test/__init__.pyc 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 diff --git a/test-cli/test/helpers/__init__.pyc b/test-cli/test/helpers/__init__.pyc Binary files differindex 7d1c907..01014e2 100644 --- a/test-cli/test/helpers/__init__.pyc +++ b/test-cli/test/helpers/__init__.pyc |