Enable ModemManager QRTR + QCOM SoC plugin with external M.2 attach through MHI ports#1728
Open
mdembla-bit wants to merge 2 commits intoqualcomm-linux:masterfrom
Open
Enable ModemManager QRTR + QCOM SoC plugin with external M.2 attach through MHI ports#1728mdembla-bit wants to merge 2 commits intoqualcomm-linux:masterfrom
mdembla-bit wants to merge 2 commits intoqualcomm-linux:masterfrom
Conversation
Resolving syntax error replacing g_strcmp0 (net_port_driver, "mhi_net" == 0) with g_strcmp0 (net_port_driver, "mhi_net") == 0) Signed-off-by: mdembla-bit <mdembla@qti.qualcomm.com>
lumag
requested changes
Mar 10, 2026
|
|
||
| This patch enables MHI support over ModemManager. | ||
|
|
||
| Upstream-Status: Pending |
Contributor
There was a problem hiding this comment.
NAK, please post upstream first and get at least some reviews.
|
|
||
| # --- Enable QRTR support, disable MBIM --- | ||
| PACKAGECONFIG:remove = "mbim" | ||
| PACKAGECONFIG:append = " qrtr" |
Contributor
| EXTRA_OEMESON:remove = "-Dqrtr=false" | ||
|
|
||
| # --- Enable Qualcomm SoC plugin (required for QRTR/MM on QCOM) --- | ||
| EXTRA_OECONF:append = " --enable-plugin-qcom-soc" |
Contributor
There was a problem hiding this comment.
This also should go upstream as a PACKAGECONFIG
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
This PR enables ModemManager support for Qualcomm RB3Gen2 industrial kit, RB4 and RB8 (core kit +mezz) HWs with M.2 external attach modem ( SDX 65) by:
Downstream exception (QLIJIRA-106)
The patch
0001-enable-mhi-support.patchis included as a downstream exception per:This patch is based on an earlier upstream proposal that was not accepted:
Rationale for downstream exception:
Yocto build configuration changes (QRTR vs MBIM)
ModemManager is configured to build with QRTR support enabled and MBIM disabled. The bbappend applies:
PACKAGECONFIG:remove = "mbim"PACKAGECONFIG:append = " qrtr"EXTRA_OEMESON:remove = "-Dqrtr=false"EXTRA_OECONF:append = " --enable-plugin-qcom-soc"Files / Key changes
meta-qcom/dynamic-layers/openembedded-layer/recipes-connectivity/modemmanager/to enable QRTR + QCOM plugin..../modemmanager/files/0001-enable-mhi-support.patch.Validation
bitbake -c cleansstate modemmanager && bitbake modemmanagerbitbake qcom-multimedia-proprietary-image-rb3gen2-core-kitRuntime (target):
systemctl status ModemManagermmcli -Lls /sys/bus/qrtr