diff options
Diffstat (limited to 'firmware/57X-GSP/570.144/find_functions_v2.py')
| -rw-r--r-- | firmware/57X-GSP/570.144/find_functions_v2.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/57X-GSP/570.144/find_functions_v2.py b/firmware/57X-GSP/570.144/find_functions_v2.py index 12c344c..df9506d 100644 --- a/firmware/57X-GSP/570.144/find_functions_v2.py +++ b/firmware/57X-GSP/570.144/find_functions_v2.py @@ -6,9 +6,10 @@ Searches for multiple prologue patterns. import struct import json +import os -FWIMAGE_PATH = "$OPEN_IOV_ROOT/firmware/570-GSP/gsp-570.144.fwimage.bin" -OUTPUT_DIR = "$OPEN_IOV_ROOT/firmware/570-GSP" +FWIMAGE_PATH = os.path.join(os.path.dirname(os.path.abspath(__file__)), "gsp-570.144.fwimage.bin") +OUTPUT_DIR = os.path.dirname(os.path.abspath(__file__)) BASE_ADDR = 0x04000000 def read_binary(path): |
