Olinuxino Micro EEPROM Configuration

Started by -peter-, January 08, 2021, 05:14:58 PM

Previous topic - Next topic

-peter-

Hello guys,

we have an custom design based on Olinuxino Micro.
Since the images for Olinuxino Boards needs configuration written to EEPROM, this configuration contains small structure with a few elements and a checksum.
Unfortunately it works only with an EEPROM which provides 256 bytes of writable memory, because the checksum will be written at the end of this block.

But we have an EEPROM (24AA02E48) with memory map like that:
0x00-0x7f: writeable EEPROM   
0x80-0xff: write protected ROM containing MAC

So the checksum can not be written because of ROM area.

Now I wonder what would be the proper way so solve this.

My fist idea was to change the code of u-boot and place the checksumm of EEPROM configuration at the address at the end of the first 128 bytes.
If u-boot is the only place where the EEPROM configuration is beeing read, then I'm lucky, but what if not?

Do you know if this EEPROM configuration will be also read in the current Olinuxino Linux Image later on during boot, i.g. any Olinuxino linux driver, services or something else?
And if yes, what are those places and is the checksum also beeing verified?

with best Regards,
Peter