Hi @jack! After your comment, I have got the directory /boot/overlays
by installing
sudo apt-get install rockchip-fstab
sudo apt-get install rockpi4-dtbo
and uncommented intfc:dtoverlay=ov5647
in /boot/hw_intfc.conf
.
I then tried to run Cheese to see the webcam output but the pi freezed like before. What else need to be done?
Here is some output that may be helpful to diagnose:
rock@rockpi:~$ v4l2-ctl --list-devices
rkisp1-statistics (platform: rkisp1):
/dev/video2
/dev/video3
rkisp1_mainpath (platform:ff910000.rkisp1):
/dev/video0
/dev/video1
rock@rockpi:~$ media-ctl -d /dev/media0 -p
Media controller API version 0.1.0
Media device information
------------------------
driver rkisp1
model rkisp1
serial
bus info
hw revision 0x0
driver version 0.0.0
Device topology
- entity 1: rkisp1-isp-subdev (4 pads, 0 link)
type V4L2 subdev subtype Unknown flags 0
pad0: Sink
pad1: Sink
pad2: Source
pad3: Source
- entity 2: rkisp1_mainpath (1 pad, 0 link)
type Node subtype V4L flags 0
device node name /dev/video0
pad0: Sink
- entity 3: rkisp1_selfpath (1 pad, 0 link)
type Node subtype V4L flags 0
device node name /dev/video1
pad0: Sink
- entity 4: rkisp1-statistics (1 pad, 0 link)
type Node subtype V4L flags 0
device node name /dev/video2
pad0: Sink
- entity 5: rkisp1-input-params (1 pad, 0 link)
type Node subtype V4L flags 0
device node name /dev/video3
pad0: Source
- entity 6: rockchip-sy-mipi-dphy (2 pads, 0 link)
type V4L2 subdev subtype Unknown flags 0
pad0: Sink
pad1: Source