I have a brand new JTX1, and the only thing I’ve done to it so far is flash JetPack to it.
I now need to locate “kernel_src.tbz2” which I know normally can be found in /usr/src/. However, I haven’t found it there, and haven’t been able to find it anywhere else on my JTX1 either (I used the command "find . “kernel_src.tbz2"” to no avail).
Can anyone help me locate the kernel source files?
Perhaps the file is named something else? i.e. not “kernel_src.tbz2”? In either case, it’s definitely not in /usr/src/ but maybe I should be looking for something else?
And/or maybe I need to download the kernel source files? I have not yet done this.
One more quick question: Since the latest JetPack uses R23.2, is that the kernel that I should be using if I want it to work with the JetPack upgrades?
For context, I’m trying to follow these instructions to install the DUO3D camera on the TX1: DUO ARM Installation - DUO Docs
Another question if you have a moment: The steps require some patches to be applied to the kernel and then the built kernel should be transferred to the TX1. However, I’m running into a few errors when building:
drivers/media/platform/tegra/camera/mc_common.c: In function 'tegra_vi_v4l2_init':
drivers/media/platform/tegra/camera/mc_common.c:213:14: error: 'struct v4l2_device' has no member named 'mdev'
vi->v4l2_dev.mdev = &vi->media_dev;
^
make[5]: *** [drivers/media/platform/tegra/camera/mc_common.o] Error 1
make[4]: *** [drivers/media/platform/tegra/camera] Error 2
make[4]: *** Waiting for unfinished jobs....
drivers/media/platform/tegra/csi/csi.c:492:19: error: 'v4l2_subdev_link_validate' undeclared here (not in a function)
.link_validate = v4l2_subdev_link_validate,
^
drivers/media/platform/tegra/csi/csi.c: In function 'tegra_csi_media_controller_init':
drivers/media/platform/tegra/csi/csi.c:597:8: error: 'struct v4l2_subdev' has no member named 'entity'
subdev->entity.ops = &tegra_csi_media_ops;
^
drivers/media/platform/tegra/csi/csi.c:612:33: error: 'struct v4l2_subdev' has no member named 'entity'
ret = media_entity_init(&subdev->entity, csi->num_ports * 2,
^
drivers/media/platform/tegra/csi/csi.c:626:30: error: 'struct v4l2_subdev' has no member named 'entity'
media_entity_cleanup(&subdev->entity);
^
drivers/media/platform/tegra/csi/csi.c: In function 'tegra_csi_media_controller_remove':
drivers/media/platform/tegra/csi/csi.c:636:30: error: 'struct v4l2_subdev' has no member named 'entity'
media_entity_cleanup(&subdev->entity);
^
CC drivers/mmc/card/queue.o
make[5]: *** [drivers/media/platform/tegra/csi/csi.o] Error 1
make[4]: *** [drivers/media/platform/tegra/csi] Error 2
make[3]: *** [drivers/media/platform/tegra] Error 2
make[2]: *** [drivers/media/platform] Error 2
make[1]: *** [drivers/media] Error 2
make[1]: *** Waiting for unfinished jobs....
Is this an issue I need to fix or can I proceed with ignoring it?