summaryrefslogtreecommitdiff
path: root/test-cli/test/flashers/flashmemory.py
diff options
context:
space:
mode:
authorHector Fernandez <hector@iatec.biz>2020-06-17 10:30:48 +0200
committerHector Fernandez <hector@iatec.biz>2020-06-17 10:30:48 +0200
commit7f13bbf84bec700c82e0cc2fea78a4026962f340 (patch)
tree270cac648f6d86bd2749b104b45600e9973363e2 /test-cli/test/flashers/flashmemory.py
parent09b3bb38fc7305c9b47c29bc90ebc9c636827307 (diff)
downloadboard-7f13bbf84bec700c82e0cc2fea78a4026962f340.zip
board-7f13bbf84bec700c82e0cc2fea78a4026962f340.tar.gz
board-7f13bbf84bec700c82e0cc2fea78a4026962f340.tar.bz2
SOPA0000: Erased colors in DMESG to have a clean file.
Diffstat (limited to 'test-cli/test/flashers/flashmemory.py')
-rw-r--r--test-cli/test/flashers/flashmemory.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/test-cli/test/flashers/flashmemory.py b/test-cli/test/flashers/flashmemory.py
deleted file mode 100644
index 3be56d7..0000000
--- a/test-cli/test/flashers/flashmemory.py
+++ /dev/null
@@ -1,12 +0,0 @@
-import sh
-
-
-def flash_memory(imagepath):
- print("Start programming Nand memory...")
- 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
- else:
- print("Flasher: NAND memory flashed succesfully.")
- return 0