Add support for running applications on brcm974116sff#21
Merged
astolcenburg merged 3 commits intordkcentral:mainfrom Dec 22, 2025
Merged
Add support for running applications on brcm974116sff#21astolcenburg merged 3 commits intordkcentral:mainfrom
astolcenburg merged 3 commits intordkcentral:mainfrom
Conversation
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
There was a problem hiding this comment.
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.
ansu-mathew
approved these changes
Dec 22, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ref: #RDKEAPPRT-510