Not tested on hardware. It may not work. I do not have this board. The driver is written from what Rockchip's own Linux driver does, and every image from 0.91.0 on carries it: plug the adapter in and the firmware looks for it by itself. To make it work I need the log lines tagged rk628, from start-up to plugging a source in.
The adapter also has a wide 31-pin four-lane connector for 4K30. The ESP32-P4 has two lanes, so it is the 15-pin one that fits.
Good to know
- The reset line. The adapter takes the chip's reset from pin 5 of the 15-pin connector, the camera's GPIO line. A board that holds that pin low keeps the chip in reset, and then the log says nothing answered on the capture bus. The board's schematic shows what that pin does.
- MJPEG only on a rev 1.x ESP32-P4, from 0.91.1. The RK628 sends only YUV422, and before chip rev 3.0 the H.264 encoder needs RGB. The same path, tried with a TC358743 sent to YUV422, gives about 7 fps at 1080p.
- Two lanes, 1080p. A 4K source is scaled down to 1080p on the chip.