blob: 818be9107e2b696c02f075a170c902a26f00ab64 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
from test.helpers.syscmd import SysCommand
def flash_sopa0000():
print("Sart programming Nand memory...")
str_cmd = "/usr/bin/igep-flash --skip-nandtest --image /opt/firmware/demo-ti-image-*-*.tar* >/dev/null 2>&1"
sync_command = SysCommand("sync_command", str_cmd)
if sync_command.execute() != 0:
print("Flasher: Could not complete flashing task.")
return 1
else:
print("Flasher: NAND memory flashed succesfully.")
return 0
|