Skip to content

RDKEMW-19246 : Enable firmware-independent OTA Updates for MemInsight#954

Open
rosemarybennyy wants to merge 2 commits into
developfrom
topic/RDKEMW-19246_meminsight
Open

RDKEMW-19246 : Enable firmware-independent OTA Updates for MemInsight#954
rosemarybennyy wants to merge 2 commits into
developfrom
topic/RDKEMW-19246_meminsight

Conversation

@rosemarybennyy

Copy link
Copy Markdown
Contributor

Reason for change: Enable firmware-independent OTA Updates for MemInsight
Test Procedure: Tested and verified
Risks: Low
Priority: P1
Signed-off-by: RoseMary_Benny@comcast.com

Copilot AI review requested due to automatic review settings June 15, 2026 06:35
@rosemarybennyy rosemarybennyy requested review from a team as code owners June 15, 2026 06:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 aims to enable firmware-independent (RDM-managed) OTA delivery for MemInsight by introducing an app-oriented packaging split, systemd units, and helper scripts/config for trigger-based execution and report uploads.

Changes:

  • Adds an RDM/firmware-decoupled MemInsight recipe variant with an ${PN}-app package split and optional versioned package.json installation.
  • Introduces a long-running upload sidecar (upload_MemReports.sh) plus systemd path/service units to trigger it.
  • Adds post-service logic (start_meminsight.sh) and systemd drop-in configs to drive MemInsight start via RFC trigger and per-platform path triggers.

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
recipes-devtools/meminsight/meminsight/meminsight_git.bb New recipe intended to add RDM/firmware-decoupled packaging + app split for MemInsight
recipes-devtools/meminsight/meminsight/files/upload_MemReports.sh Upload sidecar script that archives and uploads MemInsight reports based on configstore + runtime state
recipes-devtools/meminsight/meminsight/files/start_meminsight.sh Post-service script to stage/copy the MemInsight binary (broadband) and create enable trigger based on RFC value
recipes-devtools/meminsight/meminsight/files/package.json RDM app metadata to support versioned/decoupled delivery
recipes-devtools/meminsight/meminsight/files/meminsight-upload.service systemd unit to run the upload sidecar
recipes-devtools/meminsight/meminsight/files/meminsight-upload.path systemd path unit to trigger the upload sidecar based on a marker file
recipes-devtools/meminsight/meminsight/files/meminsight-runner.service systemd unit to run MemInsight with args sourced from /tmp/meminsight.env
recipes-devtools/meminsight/meminsight/files/meminsight-runner.path base systemd path unit for MemInsight runner (trigger configured via drop-ins)
recipes-devtools/meminsight/meminsight/files/conf/client.conf systemd service drop-in to populate ARGS from TR-181 (client)
recipes-devtools/meminsight/meminsight/files/conf/client-path.conf systemd path drop-in defining client enable marker path
recipes-devtools/meminsight/meminsight/files/conf/broadband.conf systemd service drop-in to populate ARGS from dmcli (broadband)
recipes-devtools/meminsight/meminsight/files/conf/broadband-path.conf systemd path drop-in defining broadband enable marker path (xmeminsight case)
recipes-devtools/meminsight/meminsight/files/conf/broadband-rdm-path.conf systemd path drop-in defining broadband enable marker path (RDM path)

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

Comment thread recipes-devtools/meminsight/meminsight/meminsight_git.bb Outdated
Comment thread recipes-devtools/meminsight/meminsight/meminsight_git.bb Outdated
Comment thread recipes-devtools/meminsight/meminsight/files/meminsight-upload.service Outdated
Comment thread recipes-devtools/meminsight/meminsight/files/start_meminsight.sh Outdated
Comment thread recipes-devtools/meminsight/meminsight/files/start_meminsight.sh Outdated
Comment thread recipes-devtools/meminsight/meminsight/files/start_meminsight.sh Outdated
Comment thread recipes-devtools/meminsight/meminsight/files/upload_MemReports.sh Outdated
Comment thread recipes-devtools/meminsight/meminsight/files/upload_MemReports.sh Outdated
Comment thread recipes-devtools/meminsight/meminsight/files/meminsight-runner.service Outdated
Comment thread recipes-devtools/meminsight/meminsight/files/upload_MemReports.sh Outdated
@rdkcmf-jenkins

Copy link
Copy Markdown
Contributor

b'## Blackduck scan failure details

Summary: 0 violations, 0 files pending approval, 1 file pending identification.

  • Protex Server Path: /home/blackduck/github/meta-rdk/954/rdk/components/generic/rdk-oe/meta-rdk

  • Commit: 37f0101

Report detail: gist'

@rdkcmf-jenkins

Copy link
Copy Markdown
Contributor

b'## Blackduck scan failure details

Summary: 0 violations, 0 files pending approval, 1 file pending identification.

  • Protex Server Path: /home/blackduck/github/meta-rdk/954/rdk/components/generic/rdk-oe/meta-rdk

  • Commit: 2102b92

Report detail: gist'

Copilot AI review requested due to automatic review settings June 15, 2026 06:58
@rosemarybennyy rosemarybennyy force-pushed the topic/RDKEMW-19246_meminsight branch from 2102b92 to c2e65d6 Compare June 15, 2026 06:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 12 out of 12 changed files in this pull request and generated no new comments.

Comments suppressed due to low confidence (1)

recipes-devtools/meminsight/meminsight_git.bb:1

  • This change deletes the MemInsight recipe and all associated systemd units/scripts from this layer. As a result, MemInsight will no longer be built or installed from meta-rdk, which seems to contradict the PR goal of “Enable firmware-independent OTA Updates for MemInsight” unless there is a replacement delivery mechanism elsewhere (e.g., moved to another layer/repo or an OTA-managed package that also installs/updates the unit files). Please either (a) add the new/relocated recipe/mechanism in this PR, or (b) update the PR description to explicitly state that MemInsight is being removed from the firmware image and where it is now expected to come from at runtime.

@rosemarybennyy rosemarybennyy force-pushed the topic/RDKEMW-19246_meminsight branch from c2e65d6 to e975326 Compare June 15, 2026 07:01
@Saranya2421

Copy link
Copy Markdown
Contributor

approved. Please resolve the copilot conversations

Reason for change: Enable firmware-independent OTA Updates for MemInsight
Test Procedure: Tested and verified
Risks: Low
Priority: P1
Signed-off-by: RoseMary_Benny@comcast.com
Reason for change: Remove meminsight dependencies from meta-rdk
Test Procedure: Tested and verified
Risks: Low
Priority: P1
Signed-off-by: RoseMary_Benny@comcast.com
Copilot AI review requested due to automatic review settings June 17, 2026 14:51
@rosemarybennyy rosemarybennyy force-pushed the topic/RDKEMW-19246_meminsight branch from e975326 to 0ab10c0 Compare June 17, 2026 14:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 13 out of 13 changed files in this pull request and generated no new comments.

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.

4 participants