Skip to content

Tracked-on RSDSO 21089: Device did not reset after executing the hardware reset script. - #347

Merged
ymodlin merged 1 commit into
devfrom
hw-reset-fix
Feb 8, 2026
Merged

Tracked-on RSDSO 21089: Device did not reset after executing the hardware reset script.#347
ymodlin merged 1 commit into
devfrom
hw-reset-fix

Conversation

@ymodlin

@ymodlin ymodlin commented Feb 5, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings February 5, 2026 21:09

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for JetPack 6.2.1 and implements hardware reset functionality with recovery for GMSL connections.

Changes:

  • Added JetPack 6.2.1 support across multiple build/deployment scripts and configuration files
  • Implemented hardware reset with recovery mechanism for D4XX devices over GMSL connections
  • Enhanced build scripts with clean option and improved error handling
  • Added patch management improvements for better version control

Reviewed changes

Copilot reviewed 23 out of 23 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
setup_workspace.sh Added 6.2.1 to supported JetPack versions list
scripts/source_sync_*.sh Changed git protocol order (git:// first, https:// fallback)
scripts/setup-common Added 6.2.1 version detection and revision mapping
scripts/install_to_kernel.sh Extended version support to include 6.0, 6.1, 6.2, 6.2.1
scripts/deploy_kernel.sh Extended version support to include 6.0, 6.1, 6.2, 6.2.1
scripts/aggregate_kernel_6.x.sh Added 6.2.1 to valid kernel versions
nvidia-oot/6.2.1/*.patch Created symlinks and new patches for 6.2.1 support
kernel/realsense/d4xx.c Implemented hardware reset with recovery mechanism
kernel/kernel-jammy-src/6.2.1/*.patch Added kernel patches for 6.2.1 support
build_all.sh Added --clean flag and improved error handling
apply_patches.sh Enhanced patch management with commit tracking
README*.md Updated documentation to include 6.2.1
Comments suppressed due to low confidence (1)

kernel/realsense/d4xx.c:1

  • Double semicolon found. Remove the extra semicolon.
// SPDX-License-Identifier: GPL-2.0

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread build_all.sh
Comment on lines +113 to +122
cp $KERNEL_MODULES_OUT/kernel/drivers/iio/buffer/kfifo_buf.ko $KERNEL_MODULES_OUT/extra/ || true
cp $KERNEL_MODULES_OUT/kernel/drivers/iio/buffer/industrialio-triggered-buffer.ko $KERNEL_MODULES_OUT/extra/ || true
cp $KERNEL_MODULES_OUT/kernel/drivers/iio/common/hid-sensors/hid-sensor-iio-common.ko $KERNEL_MODULES_OUT/extra/ || true
cp $KERNEL_MODULES_OUT/kernel/drivers/hid/hid-sensor-hub.ko $KERNEL_MODULES_OUT/extra/ || true
cp $KERNEL_MODULES_OUT/kernel/drivers/iio/accel/hid-sensor-accel-3d.ko $KERNEL_MODULES_OUT/extra/ || true
cp $KERNEL_MODULES_OUT/kernel/drivers/iio/gyro/hid-sensor-gyro-3d.ko $KERNEL_MODULES_OUT/extra/ || true
cp $KERNEL_MODULES_OUT/kernel/drivers/iio/common/hid-sensors/hid-sensor-trigger.ko $KERNEL_MODULES_OUT/extra/ || true
# RealSense cameras support
cp $KERNEL_MODULES_OUT/kernel/drivers/media/usb/uvc/uvcvideo.ko $KERNEL_MODULES_OUT/extra/
cp $KERNEL_MODULES_OUT/kernel/drivers/media/v4l2-core/videodev.ko $KERNEL_MODULES_OUT/extra/
cp $KERNEL_MODULES_OUT/kernel/drivers/media/usb/uvc/uvcvideo.ko $KERNEL_MODULES_OUT/extra/ || true
cp $KERNEL_MODULES_OUT/kernel/drivers/media/v4l2-core/videodev.ko $KERNEL_MODULES_OUT/extra/ || true

Copilot AI Feb 5, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The cp commands with '|| true' suppress all errors. If these kernel modules are critical for functionality, consider logging which files are missing or adding a check to warn when files cannot be copied. This would improve debugging when builds fail silently.

Copilot uses AI. Check for mistakes.
@sareluzi

sareluzi commented Feb 8, 2026

Copy link
Copy Markdown
Collaborator

@ymodlin - please mention which JIRA is it related to

@ymodlin ymodlin changed the title Hw reset fix Tracked-on RSDSO 21089: Device did not reset after executing the hardware reset script. Feb 8, 2026
@ymodlin
ymodlin merged commit bbb0814 into dev Feb 8, 2026
5 of 11 checks passed
@ymodlin
ymodlin deleted the hw-reset-fix branch February 8, 2026 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants