Did you download the kernel source and build follow the docuemnt?
You can update to J4.6 by sdkmanager and then replace the /boot/Image build from your host machine.
Hi @ShaneCCC
I am installing SDK to check with the newer version.
Meanwhile I wanted to share the dmesg log with you something looks odd I am not able to find out whats wrong from the log .
can you help me out?
[ 809.141790] ------------[ cut here ]------------
[ 809.141932] WARNING: CPU: 3 PID: 9970 at /home/htic/Kernel_builds/NX/32.5.2/sources/kernel/kernel/kernel-4.9/drivers/media/v4l2-core/videobuf2-core.c:1664 __vb2_queue_cancel+0x11c/0x188
[ 809.142200] Modules linked in: fuse xt_conntrack ipt_MASQUERADE nf_nat_masquerade_ipv4 nf_conntrack_netlink nfnetlink xt_addrtype iptable_filter iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack br_netfilter zram overlay bnep rtl8822ce cfg80211 rtk_btusb btusb btrtl btbcm btintel userspace_alert imx219 spidev nvgpu bluedroid_pm ip_tables x_tables
[ 809.142342] CPU: 3 PID: 9970 Comm: gst-launch-1.0 Tainted: G W 4.9.201-tegra #2
[ 809.142350] Hardware name: NVIDIA Jetson Xavier NX Developer Kit (DT)
[ 809.142357] task: ffffffc0c1e0d400 task.stack: ffffffc15f9a4000
[ 809.142364] PC is at __vb2_queue_cancel+0x11c/0x188
[ 809.142371] LR is at __vb2_queue_cancel+0x34/0x188
[ 809.142376] pc : [<ffffff8008b3182c>] lr : [<ffffff8008b31744>] pstate: 20400045
[ 809.142379] sp : ffffffc15f9a7b20
[ 809.142386] x29: ffffffc15f9a7b20 x28: 0000000000000000
[ 809.142402] x27: ffffffc1e0f56000 x26: 0000000000000001
[ 809.142416] x25: ffffff8009fcea20 x24: 0000000000000013
[ 809.142430] x23: 0000000000000000 x22: ffffffc15f9a7d10
[ 809.142443] x21: ffffff8009071bf8 x20: ffffffc1e2b845d0
[ 809.142457] x19: ffffffc1e2b845d0 x18: 0000000000000000
[ 809.142471] x17: 0000000000004378 x16: 0000000000000000
[ 809.142485] x15: 0000000000000000 x14: 000000000010b6d6
[ 809.142515] x13: 0000000000000345 x12: 071c71c71c71c71c
[ 809.142533] x11: 000000000000000b x10: 0000000000000a10
[ 809.142544] x9 : ffffffc15f9a7220 x8 : ffffffc0c1e0de70
[ 809.142558] x7 : fefefeff646c606d x6 : 00000000167a821a
[ 809.142568] x5 : 0000000000000000 x4 : 0000000000000000
[ 809.142577] x3 : ffffff80094f9d90 x2 : 0000000000000000
[ 809.142586] x1 : ffffffc1f4e32c90 x0 : 0000000000000006
[ 809.142599] ---[ end trace 6cd49fb2d3ff43c0 ]---
[ 809.142701] Call trace:
[ 809.142713] [<ffffff8008b3182c>] __vb2_queue_cancel+0x11c/0x188
[ 809.142721] [<ffffff8008b31af4>] vb2_core_streamoff+0x54/0xb8
[ 809.142730] [<ffffff8008b3641c>] vb2_streamoff+0x54/0x88
[ 809.142737] [<ffffff8008b364a4>] vb2_ioctl_streamoff+0x54/0x60
[ 809.142746] [<ffffff8008b0ffdc>] v4l_streamoff+0x3c/0x50
[ 809.142754] [<ffffff8008b1508c>] __video_do_ioctl+0x204/0x2c8
[ 809.142760] [<ffffff8008b14a38>] video_usercopy+0x2a0/0x6a0
[ 809.142766] [<ffffff8008b14e74>] video_ioctl2+0x3c/0x50
[ 809.142775] [<ffffff8008b0e8d8>] v4l2_ioctl+0x88/0x118
[ 809.142784] [<ffffff8008271f58>] do_vfs_ioctl+0xb0/0x8d8
[ 809.142790] [<ffffff800827280c>] SyS_ioctl+0x8c/0xa8
[ 809.142798] [<ffffff8008083900>] el0_svc_naked+0x34/0x38
[ 809.143099] imx219 9-0010: imx219_power_off: power off
Have a try the patch from below link.
Hi @ShaneCCC ,
I am not able to find the line. I have added the code below
void vi_capture_shutdown(struct tegra_vi_channel *chan)
{
struct vi_capture *capture = chan->capture_data;
dev_dbg(chan->dev, "%s--\n", __func__);
if (capture == NULL)
return;
if (capture->channel_id != CAPTURE_CHANNEL_INVALID_ID)
vi_capture_reset(chan,
CAPTURE_CHANNEL_RESET_FLAG_IMMEDIATE);
if (capture->stream_id != NVCSI_STREAM_INVALID_ID)
csi_stream_release(chan);
if (capture->channel_id != CAPTURE_CHANNEL_INVALID_ID)
{
int i;
vi_capture_release(chan,
CAPTURE_CHANNEL_RESET_FLAG_IMMEDIATE);
if (capture->is_mem_pinned) {
for (i = 0; i < capture->queue_depth; i++)
vi_capture_request_unpin(chan, i);
}
capture_common_unpin_memory(&capture->requests);
kfree(capture->unpins_list);
}
kfree(capture);
chan->capture_data = NULL;
}
Did you get the kernel for r32.6.1?
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.