openFyde / overlay-rock5b-openfyde

openFyde supported hardware RADXA Rock5 Model B build artefacts and pre-built image releases.
BSD 3-Clause "New" or "Revised" License
33 stars 3 forks source link

Radxa Camera 4k #20

Open dethnass opened 1 year ago

dethnass commented 1 year ago

Hello, I have radxa 8hd display and radxa camera 4k. Display is working. But it doesn't recognize the radxa 4k camera.

Combinations I tried:

overlays=rock-5b-radxa-display-8hd rock-5b-radxa-camera-4k ->> Display working, doesn't recognize camera

overlays=rock-5b-radxa-camera-4k ->> doesn't recognize camera

Damenly commented 1 year ago

According to https://wiki.radxa.com/Rock5/accessories/radxa-camera-4k and https://wiki.radxa.com/Rock5/accessories/radxa-display-8hd, it should be
overlays=rock-5b-radxa-display-8hd rock-5ab-camera-imx415.

dethnass commented 1 year ago

According to https://wiki.radxa.com/Rock5/accessories/radxa-camera-4k and https://wiki.radxa.com/Rock5/accessories/radxa-display-8hd, it should be overlays=rock-5b-radxa-display-8hd rock-5ab-camera-imx415.

I tried it that way and it didn't work. also there is no file with that name in /boot/rockchip/overlay tried copy rock-5b-radxa-camera-4k.dtbo and rename with rock-5ab-camera-imx415.dtbo can't create or mv file in that folder, read-only errors.

edit: copied "rock-5b-radxa-camera-4k.dtbo" to here "/mnt/stateful_partition/fyde/user_overlay/" and changed the name with "rock-5ab-camera-imx415.dtbo" added to Env.txt user_overlays=rock-5ab-camera-imx415

as like here: https://fydeos.io/docs/knowledge-base/recipes/RK3588-soc-how-to-use-device-tree-overlay/ still not works.

Damenly commented 1 year ago

I see. I checked the two dts files but without error found. The dts should be loaded but in Openfyde we need more work to let the MIPI camera work. Definitely a bug.