树莓派基金会官方提供的脚本
https://github.com/raspberrypi/hats
把 eeprom 的内容写好到 txt,然后转二进制烧录。
Tools available:
eepmake: Parses EEPROM text file and creates binary .eep file
eepdump: Dumps a binary .eep file as human readable text (for debug)
eepflash: Write or read .eep binary image to/from HAT EEPROM
Write to start of eeprom, read it back
https://www.richud.com/wiki/Rasberry_Pi_I2C_EEPROM_Program#Write_to_start_of_eeprom
Raspberry Pi I2C 256K EEPROM Tutorial
https://www.digitalpeer.com/blog/raspberry-pi-i2c-256k-eeprom-tutorial
Python 读写程序
https://www.instructables.com/id/Raspberry-Pi-Python-EEPROM-Programmer/