The basic peripherals of the FPGA mezzanine card, including JTAG, UART, GPIO, USB, I3C, etc., can be used for prototype verification of the basic peripherals of the SoC.
Install kicad 10, cmake, ninja, frugy.
When using it for the first time, it is necessary to program the IPMI FRU data for the EEPROM so that the development board can identify the power supply of the FMC.
cmake -G Ninja -B build
cmake --build buildIf you only need to build the eeprom binary,
cmake --build build --target eepromIf you only need to generate a pdf of the schematic or pcb,
cmake --build build --target pdfIf you need to generate complete production data,
cmake --build build --target productionUse a CH341A USB-to-I2C adapter (PID 1a86:5512, EPP/MEM/I2C mode) with
ch341eeprom. Wire SDA, SCL,
VCC (3.3V) and GND to the on-board M24C02, and pull WP to GND.
ch341eeprom -s 24c02 -e
ch341eeprom -s 24c02 -w build/fmc_fru_eeprom.bin
ch341eeprom -s 24c02 -V build/fmc_fru_eeprom.binch341eeprom truncates the 2 KiB bin to the 256-byte chip on write, and the
verifier passes end-to-end. To inspect the FRU contents semantically,
ch341eeprom -s 24c02 -r /tmp/dump.bin && frugy -r -d /tmp/dump.bin.
