D457 Camera + Max96712 porting to AGX orin JP6.2

Hi Nvidia Team

我們現在正嘗試poritng Max96712 + Realsense D457 cameraAGX Orin Jetpack6.2,
D457
總共有四個串流 RGB Depth IR IMU 都是走Mipi 路徑*,我們已經打通三個串流RGB Depth
IR,但是IMU* 這個串留有遇到一些問題*,執行v4l2 command* 或Realsense SDK 開啟IMU時會出現以下錯誤 . 有用示波器去看Mipi data 是有訊號的*,* 想問可能是什麼原因 造成以下錯誤*?

IMU是video0 格式如下
v4l2-ctl -d /dev/video0 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture

[0]: 'GREY' (8-bit Greyscale)
	Size: Discrete 640x480
		Interval: Discrete 0.020s (50.000 fps)
		Interval: Discrete 0.010s (100.000 fps)
		Interval: Discrete 0.005s (200.000 fps)
		Interval: Discrete 0.003s (400.000 fps)

用v4l2 執行streaming 會出現以下錯誤.

Realsense SDK 時會開啟RGB IR Depth 功能都正常 但開啟IMU串流後會出現 err_data 512

The error tell the pixel short line. It could be the output size less than driver reported.

謝謝你的回覆,我更正一下IMU Video Node 資料量只有38x1 , 我可以在v4l2 哪加pritntk 檢查看我vi 進來的buffer size ? 我想看看當我啟動 IMU 串流時 buffer 大小 是否正確 .

我有嘗試修改 device tree 的值 但好像沒什麼作用
active_w = “38”;
active_h = “1”;
line_length = “38“

You may confirm the “Bytes per Line” by the v4l2-ctl –all?

有嘗試修改TEGRA_STRIDE_ALIGNMENT 對齊64 也沒用.

I’ve already resolved this issue. Thank you for your support — you can close this ticket.