This is still very ill defined. What does "change hex file values in the Max10" mean? The MAX10 is an FPGA, there are no "files" in it.Certainly you could implement a pseudo-EEPROM type device with an I2C access protocol within your MAX10 FPGA. Then connect this externally to the iMX6 and perform I2C reads and writes of 'hex' (really I think you mean binary bytes) data to that EEPROM pseudo-device in the MAX10. Internally to the MAX10 the data would be stored in a block RAM (or registers even) depending on the emulated EEPROM size. Other logic within the MAX10 could access this data as is required. But I am just extrapolating that this is what you want to do.