Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OV5647 sensor support #31

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft

Add OV5647 sensor support #31

wants to merge 8 commits into from

Conversation

KuRue
Copy link

@KuRue KuRue commented Jul 10, 2024

No description provided.

@ret7020
Copy link

ret7020 commented Nov 26, 2024

I tried to test this patch with sensor_test demo. But it return this error:

[sys_vi_init]-41: MMF Version:1d5c76c29-musl_riscv64
[SAMPLE_COMM_SNS_ParseIni]-2185: Parse /mnt/data/sensor_cfg.ini
[parse_source_devnum]-1778: devNum =  1
[parse_sensor_name]-1859: sensor =  OV_OV5647_MIPI_2M_30FPS_10BIT
[parse_sensor_busid]-1888: bus_id =  4
[parse_sensor_i2caddr]-1899: sns_i2c_addr =  36
[parse_sensor_mipidev]-1910: mipi_dev =  0
[parse_sensor_laneid]-1921: Lane_id =  0, 1, 2, 3, -1
[parse_sensor_pnswap]-1932: pn_swap =  0, 0, 0, 0, 0
[parse_sensor_mclken]-1954: mclk_en =  1
[parse_sensor_mclk]-1965: mclk =  1
[SAMPLE_PLAT_SYS_INIT]-72: common pool[0] BlkSize 3133440

** I changed config /mnt/data/sensor_cfg.ini to yours and apply another changes from pull request and recompile image.

@legath
Copy link

legath commented Dec 9, 2024

I tried to test this patch with sensor_test demo. But it return this error:

i also tried with the same result, may be we use wrong connector?

@ret7020
Copy link

ret7020 commented Dec 12, 2024

Maybe, I use RPi Zero Camera (blue textolite) with default ribbon. But I don't check pinout of csi port on board and on camera module. But anyway there are some problems with software.
Lane_id: 0, 1, 2, 3, -1 is incorrect for new RV boards revision, but even I changed them it doesn't affect. Also, I think it is not good idea to use system("devmem <...>") for camera init.

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.

3 participants