Version
Targets
ESP32-P4 boards come in two versions that need different images.
Look at the GPIO header. A coloured header means a newer
(v3) board, so use factory-p4v3. A black header
means an older (v1) board, so use factory-p4. The wrong image
flashes without an error, but the board then restarts in a loop. If that
happens, flash the other one. If in doubt, the boot log (or
esptool chip-id) shows the chip revision: v3.x or
v1.x.
Pick a version.