Skip to content

Conversation

@XYM132
Copy link
Collaborator

@XYM132 XYM132 commented Jul 30, 2025

note: can not frame done yet

You can test the ISP after running make install.
The test commands are as follows:

media-ctl -d /dev/media0 --set-v4l2 '"a0060000.infinite_isp":0[fmt:Y10_1X10/1920x1080 field:none]'
media-ctl -d /dev/media0 --set-v4l2 '"a0064000.xil_vip":1[fmt:UYVY8_1X16/1920x1080 field:none]'

v4l2-ctl -d /dev/video2 --set-fmt-video=width=1920,height=1080,pixelformat=YUYV --stream-mmap=3 --stream-poll --stream-to=camera1.yuyv &
v4l2-ctl -d /dev/video3 --set-fmt-video-out=width=1920,height=1080,pixelformat=XY10,bytesperline=2560 --stream-out-mmap=3 --stream-poll --stream-from=camera.raw10

camera.raw10 is the XY10 format image captured using the command mentioned in the README.
Please note that this code will set the sensor's media node to media1 (this might be due to the slow probing of the sensor-related node, which I will fix later). Please adjust the command for capturing sensor images accordingly.

You can use this command to read register val of Infinite-ISP, example for CONFIG.TOP_EN:

echo "0x40" > /sys/kernel/debug/xil_isp/reg_offset
cat /sys/kernel/debug/xil_isp/reg_offset

XYM132 added 2 commits July 30, 2025 22:31
note:
can not frame done yet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant