Skip to content

Commit

Permalink
Support for JP 5.0.2 in Orin AGX
Browse files Browse the repository at this point in the history
  • Loading branch information
Arun-Prasad-V committed Nov 15, 2024
1 parent 61afe61 commit 3be5cbb
Show file tree
Hide file tree
Showing 3 changed files with 453 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apply_patches.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ if [[ "$JETPACK_VERSION" == "6.0" ]]; then
apply_external_patches $1 hardware/nvidia/t23x/nv-public
else
apply_external_patches $1 hardware/nvidia/platform/t19x/galen/kernel-dts
apply_external_patches $1 hardware/nvidia/platform/t23x/concord/kernel-dts
fi

if [ $1 = 'apply' ]; then
Expand All @@ -69,6 +70,7 @@ if [ $1 = 'apply' ]; then
cp $DEVDIR/hardware/realsense/tegra234-camera-d4xx-overlay*.dts $DEVDIR/sources_$JETPACK_VERSION/hardware/nvidia/t23x/nv-public/overlay/
else
cp $DEVDIR/hardware/realsense/$JP5_D4XX_DTSI $DEVDIR/sources_$JETPACK_VERSION/hardware/nvidia/platform/t19x/galen/kernel-dts/common/tegra194-camera-d4xx.dtsi
cp $DEVDIR/hardware/realsense/tegra234-camera-d4xx.dtsi $DEVDIR/sources_$JETPACK_VERSION/hardware/nvidia/platform/t23x/concord/kernel-dts/cvb/tegra234-camera-d4xx.dtsi
fi
elif [ $1 = 'reset' ]; then
[[ -f $DEVDIR/sources_$JETPACK_VERSION/${D4XX_SRC_DST}/drivers/media/i2c/d4xx.c ]] && rm $DEVDIR/sources_$JETPACK_VERSION/${D4XX_SRC_DST}/drivers/media/i2c/d4xx.c
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
From df47ea4f23998a3de2376a703e4d98d5fa10f1ae Mon Sep 17 00:00:00 2001
From: Arun-Prasad-V <[email protected]>
Date: Fri, 15 Nov 2024 17:48:26 +0530
Subject: [PATCH] Porting dts to jetpack 5.0.2

Signed-off-by: Arun-Prasad-V <[email protected]>
---
tegra234-p3701-0000-p3737-0000.dts | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tegra234-p3701-0000-p3737-0000.dts b/tegra234-p3701-0000-p3737-0000.dts
index 0a4d2bb..e96bca4 100644
--- a/tegra234-p3701-0000-p3737-0000.dts
+++ b/tegra234-p3701-0000-p3737-0000.dts
@@ -19,7 +19,8 @@
#include "tegra234-power-tree-p3701-0000-p3737-0000.dtsi"
#include "tegra234-dcb-p3701-0000-a02-p3737-0000-a01.dtsi"
#include <tegra234-soc/mods-simple-bus.dtsi>
-#include "cvb/tegra234-p3737-camera-modules.dtsi"
+/*#include "cvb/tegra234-p3737-camera-modules.dtsi"*/
+#include "cvb/tegra234-camera-d4xx.dtsi"

#include <t234-common-cvm/tegra234-cpuidle.dtsi>
#include <t234-common-cvm/tegra234-thermal.dtsi>
--
2.34.1

Loading

0 comments on commit 3be5cbb

Please sign in to comment.