Yocto NX5-IO: working with camera (IMX219)

I am trying to get the Raspberry Camera v2 (imx219) to work with a yocto build.

It works with the Radxa OS described here: https://docs.radxa.com/en/compute-module/nx5/accessories/camera but not on a yocto build using the scarthgap-vendor branch of radxa’s meta layer https://github.com/radxa/meta-rockchip, which uses radxa/u-boot and radxa/kernel.

  • Using machine: rockchip-rk3588s-radxa-nx5-io
  • Adapted rk3588s-radxa-nx5-io.dts to add the camera overlays (see github issue)
  • Extended the kernel config to add among others CONFIG_VIDEO_IMX219=y (see github issue)

Getting the error (full output in github issue):
[ 26.988569] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
[ 26.988630] stream_cif_mipi_id0: update sensor info failed -19

Github issue: https://github.com/radxa/meta-rockchip/issues/24

Has anyone managed to get a camera working through yocto or has anyone ideas on how to achieve this?