summaryrefslogtreecommitdiffstats
path: root/firmware/57X-GSP/570.144/trace_all_subsystems.py
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/57X-GSP/570.144/trace_all_subsystems.py')
-rw-r--r--firmware/57X-GSP/570.144/trace_all_subsystems.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/57X-GSP/570.144/trace_all_subsystems.py b/firmware/57X-GSP/570.144/trace_all_subsystems.py
index dd5cc56..e004791 100644
--- a/firmware/57X-GSP/570.144/trace_all_subsystems.py
+++ b/firmware/57X-GSP/570.144/trace_all_subsystems.py
@@ -4,8 +4,9 @@ Trace all subsystems: WPR, Migration, Primary Dispatcher sub-commands
"""
import struct
+import os
-FWIMAGE_PATH = "$OPEN_IOV_ROOT/firmware/570-GSP/gsp-570.144.fwimage.bin"
+FWIMAGE_PATH = os.path.join(os.path.dirname(os.path.abspath(__file__)), "gsp-570.144.fwimage.bin")
BASE_ADDR = 0x04000000
def read_binary(path):