first-stage bootloader for a custom STM32MP13 board with no SD and no JTAG?
The board was designed incorrectly, they have pins for a JTAG but forgot to actually route them to the MPU. The eMMC is not going to have a first-stage bootloader on it, and it's looking like it's not possible to flash an SPL to the eMMC over USB alone? Management won't be happy to do another board spin but it's sure looking like that's the only path forward.
ChatGPT says:
USB DFU alone cannot flash first-stage bootloader (SPL) to eMMC on a totally blank STM32MP135.
This is not a dfu-util bug — it’s how the STM32MP1 ROM works.
You need hardware access to write SPL + U-Boot to eMMC:
Option A: SWD / JTAG (ST-LINK)
CubeProgrammer can directly write SPL + U-Boot to eMMC.
Option B: SD card boot
The ROM can load a SPL + U-Boot image from SD into RAM and then copy it to eMMC.
