qcom-rtss-can: add recipe for RTSS CAN userspace deamon#2644
Draft
q-AnupKulkarni wants to merge 1 commit into
Draft
qcom-rtss-can: add recipe for RTSS CAN userspace deamon#2644q-AnupKulkarni wants to merge 1 commit into
q-AnupKulkarni wants to merge 1 commit into
Conversation
daemon The RTSS subsystem on Qualcomm SoCs includes a dedicated CAN controller that is not directly accessible from the Linux CAN stack. This recipe builds rtss_can, a userspace daemon that bridges that gap by routing traffic between Linux SocketCAN virtual interfaces and RTSS mailbox channels, allowing standard SocketCAN applications to communicate with CAN hardware managed by RTSS. The daemon depends on qcom-rtss-mailbox-umd for the librtss_mailbox interface and on linux-libc-headers for the SocketCAN kernel UAPI headers (linux/can.h, linux/can/raw.h). Active CAN controller count is configured per MACHINE at build time and injected into rtss_can.conf during install. Tested on: iq-9075-evk Signed-off-by: q-AnupKulkarni <anupkulk@qti.qualcomm.com>
ba8dafe to
20700ab
Compare
Author
|
Depends on #2528 |
Dmitry Baryshkov (lumag)
requested changes
Jun 28, 2026
Dmitry Baryshkov (lumag)
left a comment
Contributor
There was a problem hiding this comment.
This is what we talked about earlier, uAPI. Don't invent extra API. Provide the standard uAPI. Linux has AF_CAN. As such, if you want to provide CAN support, hook into the existing subsytem instead of providing something new.
This is NAK from my side.
Contributor
|
To point out, provide AF_CAN by the kernel, there should be no need for the extra userspace bridges. |
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.
Add a BitBake recipe for the RTSS CAN userspace daemon. This daemon acts
as a gateway between SocketCAN applications and the RTSS subsystem using
the RTSS mailbox UMD libraries (qcom-rtss-mailbox-umd).
Depends on qcom-rtss-mailbox-umd for librtss_mailbox.so and on
linux-libc-headers for linux/can.h and linux/can/raw.h.
Tested on: iq-9075-evk