Seeprombin Upd ~repack~ | Otpbin

qemu-system-arm -M stm32-stm32f4 -nographic -kernel firmware.elf \ -drive file=eeprom.bin,if=mtd,format=raw \ -global stm32.otp=otp.bin

Using standard Linux tools or MCU vendor tools: otpbin seeprombin upd