Commit e5e96938 authored by Matthieu Cattin's avatar Matthieu Cattin

test23, test26: Fix eeprom binary file path.

The eeprom binary file was located inside the sdbfs input dir.
Causing gensdbfs to put it in the file list.
parent 7816fd7f
......@@ -54,7 +54,8 @@ def main (default_directory='.'):
SDBFS_DIR = os.path.join(default_directory, SDBFS_DIR)
IPMI_BIN_FILENAME = SDBFS_DIR + "ipmi.sdb"
CALIBR_BIN_FILENAME = SDBFS_DIR + "calibration.sdb"
EEPROM_BIN_FILENAME = SDBFS_DIR + "eeprom_content.out"
EEPROM_BIN_FILENAME = "eeprom_content.out"
EEPROM_BIN_FILENAME = os.path.join(default_directory, EEPROM_BIN_FILENAME)
EEPROM_SIZE = 8192 # in Bytes
......
......@@ -41,6 +41,7 @@ def main (default_directory = '.'):
EXPECTED_BITSTREAM_TYPE = 0x1
EEPROM_BIN_FILENAME = "eeprom_content.out"
EEPROM_BIN_FILENAME = os.path.join(default_directory, EEPROM_BIN_FILENAME)
EEPROM_SIZE = 8192 # in Bytes
......@@ -68,6 +69,8 @@ def main (default_directory = '.'):
try:
print("Read FMC EEPROM and dump it to %s"%EEPROM_BIN_FILENAME)
# Read entire EEPROM
eeprom_data_read = fmc.sys_i2c_eeprom_read(0, EEPROM_SIZE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment