You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today I built a new image with your buildscript using the provided rootfs from your google drive (rootfs-debian-20171225(fix a stupid mistake, affect performance since 20170901).tar.gz as a side note filenames with spaces and '(' are nasty to work in console - maybe you can rename it?). The image built without issues and the tinker board boots.
Unfortunately, the camera is not available. Dmesg showed that probing of the camera fails: linaro@linaro-alip:~$ dmesg | grep ov56 [ 3.664487] OF: graph: no port node found in /i2c@ff660000/ov5647@36 [ 3.677146] ov5647 2-0036: DT parsing error: -22 [ 3.687968] ov5647: probe of 2-0036 failed with error -22
and as expected camera_test.sh fails too: linaro@linaro-alip:/usr/local/bin$ sudo ./test_camera.sh Start MIPI CSI Camera Preview! ./test_camera.sh: 9: ./test_camera.sh: cannot create /sys/module/video_rkisp1/parameters/rkisp1_debug: Permission denied Setting pipeline to PAUSED ... ERROR: Pipeline doesn't want to pause. ERROR: from element /GstPipeline:pipeline0/GstRkXImageSink:rkximagesink0: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure. Additional debug info: gstbasesink.c(5184): gst_base_sink_change_state (): /GstPipeline:pipeline0/GstRkXImageSink:rkximagesink0: Failed to start Setting pipeline to NULL ... Freeing pipeline ...
a complete syslog can be found here: http://ix.io/UeR
and kernel config here (I didn't made any changes to default): http://ix.io/Uff
Any help to get in working is appreciated.
(I add @Tonymac32 to this issue, since we're both interested in getting up the camera)
For my part I have been working with the Armbian builds, I've modified the config to use the ISP1 and mipi, camera light powers on, but there is an immediate "oops" on driver probe. I get the same fault with the ov5647 and the imx219.
kernelversion: linaro@linaro-alip:~$ uname -r 4.4.114
Side note:
TinkerOS which uses ISP10 and some tweaks works with this camera& tinkerboard, so I don't think it's a hardware issue.
Well, that wasn't what was causing my kernel oops, the errors due to ov5647 are gone, but (I have imx219):
[ 5.030378] imx219 2-0010: Reading register 100 from 10 failed
[ 5.047697] imx219 2-0010: Model ID 0x0219, Lot ID 0x718e37, Chip ID 0x0662
[ 5.053022] ERROR: Bad of_node_put() on /isp@ff910000/port
Activity
Tonymac32 commentedon Mar 9, 2018
For my part I have been working with the Armbian builds, I've modified the config to use the ISP1 and mipi, camera light powers on, but there is an immediate "oops" on driver probe. I get the same fault with the ov5647 and the imx219.
wzyy2 commentedon Mar 9, 2018
[ 3.677146] ov5647 2-0036: DT parsing error: -22 [ 3.687968] ov5647: probe of 2-0036 failed with error -22
Could you update the kernel to the latest?
chwe17 commentedon Mar 9, 2018
the kernel was freshly built today:
https://github.com/rockchip-linux/kernel.git
kernelversion:
linaro@linaro-alip:~$ uname -r 4.4.114Side note:
TinkerOS which uses ISP10 and some tweaks works with this camera& tinkerboard, so I don't think it's a hardware issue.
wzyy2 commentedon Mar 9, 2018
You need to edit dts to make ov5647 work.
https://github.com/rockchip-linux/kernel/blob/release-4.4/arch/arm/boot/dts/rk3288-miniarm.dts#L451
https://github.com/rockchip-linux/kernel/blob/release-4.4/Documentation/devicetree/bindings/media/rockchip-mipi-dphy.txt
Tonymac32 commentedon Mar 9, 2018
My results with my build (parallel effort to chwe17)
https://hastebin.com/lapivulaxa.xml
My I2C device tree entries for the camera:
https://hastebin.com/suseqahito.pl
I changed the imx219_out label to camera_out (in all necessary places) to help aid readability. Other than that...
wzyy2 commentedon Mar 9, 2018
Tonymac32 commentedon Mar 9, 2018
Right. So the only way to support both would be via overlay...
Tonymac32 commentedon Mar 9, 2018
Well, that wasn't what was causing my kernel oops, the errors due to ov5647 are gone, but (I have imx219):
[ 5.030378] imx219 2-0010: Reading register 100 from 10 failed
[ 5.047697] imx219 2-0010: Model ID 0x0219, Lot ID 0x718e37, Chip ID 0x0662
[ 5.053022] ERROR: Bad of_node_put() on /isp@ff910000/port
I'll swap and test ov5647 and get back to you.
Tonymac32 commentedon Mar 9, 2018
Got the same with the ov5647:
[ 5.221070] ERROR: Bad of_node_put() on /isp@ff910000/port
As I am actually getting a crash I will continue to review and see what is different in my config/etc.
chwe17 commentedon Mar 9, 2018
@wzyy2
changing to your suggested entry doesn't fails when the kernel is builded:
replacing it to:
builds but camera isn't recognized.
do you have any suggestions?
edit: formating second
wzyy2 commentedon Mar 9, 2018
Try issuing "media-ctl -p"
chwe17 commentedon Mar 9, 2018
do I need additional packages?
wzyy2 commentedon Mar 9, 2018
v4l2-utils
chwe17 commentedon Mar 9, 2018
with the above config:
change to (remove the whole imx219 entry):
gives:
btrfs: Wait for in-flight bios before freeing target device for raid56
KVM: PPC: Book3S: Protect kvmppc_gpa_to_ua() with SRCU
mt7601u: fix possible memory leak when the device is disconnected
mt7601u: fix possible memory leak when the device is disconnected
powerpc/sparse: Fix plain integer as NULL pointer warning
drm/rockchip: tve: Fix shutdown panic when no bind
drm/rockchip: tve: Fix shutdown panic when no bind
media: rc: gpio-ir-recv: add remove function
media: rc: gpio-ir-recv: add remove function
drm/rockchip: tve: Fix shutdown panic when no bind
mm-madvise-split-out-mmap-locking-operations-for-madvise-fix-checkpat…
mm-madvise-split-out-mmap-locking-operations-for-madvise-fix-checkpat…