-
Notifications
You must be signed in to change notification settings - Fork 362
meta-qcom: add RTSS mailbox DLKM/UMD recipes (phase 1) #3084
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
sargarram7
wants to merge
3
commits into
qualcomm-linux:master
Choose a base branch
from
sargarram7:rtss-mailbox-recipe-pin
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
1988853
qcom-rtss-mailbox-dlkm: add recipe for RTSS mailbox and UAPI Notice
sargarram7 b4cc748
qcom-rtss-mailbox-umd: add recipe for RTSS mailbox userspace middleware
sargarram7 f77a92b
qcom-qcs8300/qcs9100: add RTSS mailbox via MACHINE_EXTRA_RRECOMMENDS
sargarram7 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
12 changes: 12 additions & 0 deletions
12
recipes-kernel/qcom-rtss-mailbox-module/qcom-rtss-mailbox-dlkm_1.0.0.bb
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| SUMMARY = "Qualcomm RTSS Mailbox Kernel Driver Module" | ||
| DESCRIPTION = "Dynamically Loadable Kernel Module (DLKM) for RTSS mailbox communication. \ | ||
| Provides mailbox IPC communication between APSS and RTSS. \ | ||
| NOTICE / LIMITATIONS: this driver is still being upstreamed and its uAPI \ | ||
| (rtss_mailbox_uapi.h) is not yet frozen and may change before upstream \ | ||
| acceptance - see rtss-mailbox-kmd's README for details." | ||
|
|
||
| require qcom-rtss-mailbox-module-common.inc | ||
|
|
||
| inherit module | ||
|
|
||
| COMPATIBLE_MACHINE = "qcs8300|qcs9100" | ||
6 changes: 6 additions & 0 deletions
6
recipes-kernel/qcom-rtss-mailbox-module/qcom-rtss-mailbox-module-common.inc
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| HOMEPAGE = "https://github.com/qualcomm-linux/rtss-mailbox-kmd" | ||
| LICENSE = "GPL-2.0-only" | ||
| LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" | ||
|
|
||
| SRC_URI = "git://github.com/qualcomm-linux/rtss-mailbox-kmd.git;branch=rtss-mailbox-kernel.le.0.0;protocol=https;tag=v${PV}" | ||
| SRCREV = "9ce7c2f1ad860beb86e922e62b14fdcd178e129f" |
18 changes: 18 additions & 0 deletions
18
recipes-kernel/qcom-rtss-mailbox-module/qcom-rtss-mailbox-uapi-headers_1.0.0.bb
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| SUMMARY = "Qualcomm RTSS Mailbox UAPI headers" | ||
|
sargarram7 marked this conversation as resolved.
|
||
| DESCRIPTION = "IOCTL/struct definitions shared between the RTSS mailbox kernel \ | ||
| driver (rtss-mailbox-kmd) and userspace (rtss-mailbox-umd). Packaged \ | ||
| standalone so userspace can build against the UAPI without depending on \ | ||
| the kernel module recipe. \ | ||
| NOTICE / LIMITATIONS: this uAPI is not yet frozen and may change before \ | ||
| upstream acceptance - see rtss-mailbox-kmd's README for details." | ||
|
|
||
|
sargarram7 marked this conversation as resolved.
|
||
| require qcom-rtss-mailbox-module-common.inc | ||
|
|
||
| LICENSE = "GPL-2.0-with-Linux-syscall-note" | ||
|
|
||
| do_configure[noexec] = "1" | ||
| do_compile[noexec] = "1" | ||
|
|
||
| do_install() { | ||
| oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix} | ||
|
sargarram7 marked this conversation as resolved.
|
||
| } | ||
22 changes: 22 additions & 0 deletions
22
recipes-support/qcom-rtss-mailbox-umd/qcom-rtss-mailbox-umd_1.0.0.bb
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| SUMMARY = "Qualcomm RTSS Mailbox userspace middleware and tools" | ||
| DESCRIPTION = "Userspace middleware libraries and utilities for RTSS mailbox \ | ||
| IPC communication between APSS and RTSS." | ||
| HOMEPAGE = "https://github.com/qualcomm-linux/rtss-mailbox-umd" | ||
| LICENSE = "BSD-3-Clause" | ||
| LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=223037c4be0bfc6cf757035432adf983" | ||
|
|
||
| SRC_URI = "git://github.com/qualcomm-linux/rtss-mailbox-umd.git;branch=rtss-mailbox-usr.le.0.0;protocol=https;tag=v${PV}" | ||
| SRCREV = "667fbda29be9e4d09ff5dd1b35e8dfda17a6ed63" | ||
|
|
||
| inherit cmake | ||
|
|
||
| DEPENDS = "qcom-rtss-mailbox-uapi-headers glib-2.0" | ||
|
sargarram7 marked this conversation as resolved.
|
||
|
|
||
| PACKAGE_BEFORE_PN += "${PN}-utils" | ||
|
|
||
| RRECOMMENDS:${PN} += "kernel-module-rtss-mailbox" | ||
|
|
||
| FILES:${PN} = "${libdir}/librtss_mailbox.so.* ${libdir}/librtss_safemlib.so.* ${libdir}/librtss_update.so.* ${libdir}/librtss_gpt.so.*" | ||
| FILES:${PN}-utils = "${bindir}/rtss_dbg ${bindir}/rtss_console ${bindir}/rtss_mbdemo ${bindir}/rtss_updater" | ||
|
|
||
| COMPATIBLE_MACHINE = "qcs8300|qcs9100" | ||
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.