Skip to content

Add support for running applications on brcm974116sff#21

Merged
astolcenburg merged 3 commits intordkcentral:mainfrom
astolcenburg:main
Dec 22, 2025
Merged

Add support for running applications on brcm974116sff#21
astolcenburg merged 3 commits intordkcentral:mainfrom
astolcenburg:main

Conversation

@astolcenburg
Copy link
Contributor

Ref: #RDKEAPPRT-510

The wayland socket in the builds for the brcm974116sff platform does not
have write permissions for other users, therefore a correction of access
rights is necessary.

Ref: #RDKEAPPRT-510
Although some GPU layer libraries may not exist in the rootfs file system,
they can be replaced with symbolic links to libraries whose names include
the version number. This change adds a fallback mechanism for this case
and activates it for:
- /usr/lib/libEGL.so
- /usr/lib/libGLESv1_CM.so
- /usr/lib/libGLESv2.so

Ref: #RDKEAPPRT-510
Use the default configuration for the platform if no configuration is provided
for the detected firmware version.

Ref: #RDKEAPPRT-510
Copilot AI review requested due to automatic review settings December 22, 2025 12:00
Copy link

Copilot AI left a comment

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 running applications on the brcm974116sff platform by introducing platform-specific configuration and improving the robustness of GPU layer setup and socket configuration.

Key changes:

  • Added platform configuration file for brcm974116sff with device nodes, group IDs, and IPC socket bindings
  • Enhanced GPU layer setup script with fallback handling for stat command failures and flexible platform config lookup
  • Refactored socket configuration logic into reusable functions with proper access rights management

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
gpu-layer-poc/brcm974116sff.json New platform configuration defining GPU device nodes, video group access, and nxserver IPC binding for the brcm974116sff platform
gpu-layer-poc/setup-gpu-layer.sh Added FILE_INFO_FALLBACK for resilient library symlink detection and improved config file lookup to support platform-only or platform-version configs
bolt/src/runtime-config.cjs Extracted applyAccessRights function and added configureWaylandSocket and configureRialtoSocket functions to centralize socket configuration logic
bolt/src/run.cjs Refactored to use new socket configuration functions, improving code maintainability and socket availability tracking

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

@astolcenburg astolcenburg merged commit dc65587 into rdkcentral:main Dec 22, 2025
9 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Dec 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants