0x50 eeprom writing

Hey, I’m working with Jetson Nano board, and I would like to store some value inside eeprom (0x50). It will be booting counter (each time system boots, it is increased by 1). I used to store this value in bootloader env (with fw_utils), but IMO this is not safe to write into bootloader envs so often.
My question is what bytes can I use on built-in eeprom on Nano board?
I saw this documentation https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-3231/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/jetson_eeprom_layout.html
and I see that every free byte is marked as Reserved for future use. Is it save to use two of them (e.g. 240 and 241)?
I also thought about 2 and 3 which are marked as no longer supported. Could I change them without breaking board?
I’m working on A02 and B01 in parallel

Thanks, Przemysław

1 Like

You can change the reserved field in module eeprom.

But be very careful that you must update the checksum bit in the end of the eeprom. I mean, every time you modify any value in the eeprom, you have to recalculate checksum and write it back.
Otherwise it will not be able to flashed anymore.

1 Like