How to install Intel realsense D435i driver on TX2(JetPack4.2)?

I can’t install D435i driver on Tx2(Jetpack4.2),I find some way to solve this problem.But it need to reflash Jetpack3.2.1 to TX2,and I don’t want to do.So,does anyone drive D435i on Tx2(Jetpack4.2) successfully?Please let me know.Thank you very much.

Hi,
We have shared you some links at
[url]https://devtalk.nvidia.com/default/topic/1052039/jetson-tx2/how-to-install-intel-realsense-d435i-driver-on-tx2-jetpack4-2-/post/5340756/#5340756[/url]

Other users may share their experiences.

Hi~ Danelll.Thank you for your response.
In order to use this guide(https://www.jetsonhacks.com/2019/01/21/intel-realsense-d435i-on-nvidia-jetson-agx-xavier/#comment-4574) on TX2(Jetpack4.2+kernel4.9.140+librealsense_v2.22),I have changed some code.Everything is ok but applying realsense metadata patch.There are some error I get.

Applying realsense-metadata patch
patching file drivers/media/usb/uvc/uvc_driver.c
Hunk #1 succeeded at 2770 (offset 3 lines).
patching file drivers/media/usb/uvc/uvc_video.c
Hunk #1 succeeded at 1241 (offset 12 lines).
Hunk #2 succeeded at 1279 (offset 12 lines).
patching file drivers/media/usb/uvc/uvcvideo.h
Hunk #2 FAILED at 222.
1 out of 2 hunks FAILED -- saving rejects to file drivers/media/usb/uvc/uvcvideo.h.rej

How can I fix it?I never change anything under patches folder.

I’m also working on it.
Here are a github profile that it seems can make it.
https://github.com/Tengyun-Mo/buildLibrealsense2TX2
https://github.com/alexrashed/buildJetsonTX2Kernel/tree/Jetpack_4