-
Notifications
You must be signed in to change notification settings - Fork 360
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| 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 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| 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" | ||
|
|
||
| COMPATIBLE_MACHINE = "qcs9100-ride-sx|qcs8300-ride-sx|iq-9075-evk|iq-8275-evk" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| 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." | ||
|
|
||
| require qcom-rtss-mailbox-module-common.inc | ||
|
|
||
| do_configure[noexec] = "1" | ||
| do_compile[noexec] = "1" | ||
|
|
||
| do_install() { | ||
| oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix} | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why do you need the headers outside of the DLKM? Please squash both recipes.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. +1
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ci check layer was failing, so referred other dlkm uapi header install logic for umd,
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What kind of CI error were you facing? |
||
| } | ||
| 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 = "qcs9100-ride-sx|qcs8300-ride-sx|iq-9075-evk|iq-8275-evk" | ||
Uh oh!
There was an error while loading. Please reload this page.