Skip to content
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

Nrfx none get latest mbox driver #1891

Merged
merged 8 commits into from
Jul 18, 2024

Conversation

nordic-segl
Copy link
Contributor

@nordic-segl nordic-segl commented Jul 16, 2024

Get the latest version of the MBOX driver from the Zephyr upstream.
Apply changes from following PR:
zephyrproject-rtos/zephyr#73024

manifest-pr-skip

@masz-nordic
Copy link
Contributor

Many commits are duplicates of #1887

@nordic-segl nordic-segl force-pushed the NRFX-NONE_Get-latest-MBOX-driver branch from b56f743 to 7c0d617 Compare July 16, 2024 13:33
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Jul 16, 2024
@nordic-segl nordic-segl force-pushed the NRFX-NONE_Get-latest-MBOX-driver branch from 7c0d617 to 0d5e5ee Compare July 16, 2024 13:42
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Jul 16, 2024
Include changes introduced with:
nrfconnect/sdk-zephyr#1891
zephyrproject-rtos/zephyr#73024

manifest-pr-skip

Signed-off-by: Sebastian Głąb <[email protected]>
@nordic-segl nordic-segl force-pushed the NRFX-NONE_Get-latest-MBOX-driver branch from 0d5e5ee to 7dcfcf4 Compare July 17, 2024 06:00
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Jul 17, 2024
Include changes introduced with:
nrfconnect/sdk-zephyr#1891
zephyrproject-rtos/zephyr#73024

manifest-pr-skip

Signed-off-by: Sebastian Głąb <[email protected]>
@nordic-segl nordic-segl force-pushed the NRFX-NONE_Get-latest-MBOX-driver branch from 7dcfcf4 to fef68c8 Compare July 17, 2024 07:13
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Jul 17, 2024
Include changes introduced with:
nrfconnect/sdk-zephyr#1891
zephyrproject-rtos/zephyr#73024

manifest-pr-skip

Signed-off-by: Sebastian Głąb <[email protected]>
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Jul 17, 2024
Include changes introduced with:
nrfconnect/sdk-zephyr#1891
zephyrproject-rtos/zephyr#73024

manifest-pr-skip

Signed-off-by: Sebastian Głąb <[email protected]>
Add a mailbox driver for VEVIF events (VPR irq).
The driver can be built in either 'rx' or 'tx' configuration.
The VPR sends the event, so it uses the 'tx' configuration,
while the master core uses the 'rx' configuration of the driver
to receive the VPR events.

Signed-off-by: Jakub Zymelka <[email protected]>
(cherry picked from commit bace4a1)

Signed-off-by: Sebastian Głąb <[email protected]>
Add a mbox VEVIF nodes to be used for communicating FLPR -> APP.

Signed-off-by: Jakub Zymelka <[email protected]>
(cherry picked from commit c7b3651)

Signed-off-by: Sebastian Głąb <[email protected]>
…lature

Renaming 'LOCAL' to 'RX' and 'REMOTE' to 'TX'.
This seems more descriptive and intuitive to use.

Signed-off-by: Jakub Zymelka <[email protected]>
(cherry picked from commit 8091e93)

Signed-off-by: Sebastian Głąb <[email protected]>
…nomenclature

After changing the VEVIF and BELLBOARD names,
the dts for the individual boards must be aligned.

Signed-off-by: Jakub Zymelka <[email protected]>
(cherry picked from commit 9473e32)

Signed-off-by: Sebastian Głąb <[email protected]>
Add nRF54L15 APP and FLPR cores to ping-pong sample application.

Signed-off-by: Jakub Zymelka <[email protected]>
(cherry picked from commit bd40190)

Signed-off-by: Sebastian Głąb <[email protected]>
Add nRF54L15 APP and FLPR cores to icmsg sample application.

Signed-off-by: Jakub Zymelka <[email protected]>
(cherry picked from commit 2cb0a07)

Signed-off-by: Sebastian Głąb <[email protected]>
…rf54h20 and nrf54l15

Nrf54h20dk and nrf54l15 have UART Flow Control enabled
by default on all cores.
It's a source of problem when mbox sample is run in Twister.
Twister opens serial port only on host core,
thus nobody confirms reception of logs from remote core.
As a result, remote core stucks on printing boot banner.

Twister fails sample due to the timeout while waiting for messages
from remote to host.

Disable Flow Control on remote core when mbox sample is executed
on nrf54h20 or nrf54l15.

Upstream PR: zephyrproject-rtos/zephyr#75309

Signed-off-by: Sebastian Głąb <[email protected]>
According to the official MBOX API documentation available at
https://docs.zephyrproject.org/latest/hardware/peripherals/mbox.html
mbox_sen() shall return
-EMSGSIZE – If the supplied data size is unsupported by the driver.

Fix error code returned by the mbox_send().

Upstream PR: zephyrproject-rtos/zephyr#75114

Signed-off-by: Sebastian Głąb <[email protected]>
@nordic-segl nordic-segl force-pushed the NRFX-NONE_Get-latest-MBOX-driver branch from fef68c8 to 9e9ddc2 Compare July 18, 2024 05:55
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Jul 18, 2024
Include changes introduced with:
nrfconnect/sdk-zephyr#1891
zephyrproject-rtos/zephyr#73024

manifest-pr-skip

Signed-off-by: Sebastian Głąb <[email protected]>
@rlubos rlubos merged commit bdab5cd into nrfconnect:main Jul 18, 2024
15 of 16 checks passed
@nordic-segl nordic-segl deleted the NRFX-NONE_Get-latest-MBOX-driver branch July 18, 2024 07:52
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Jul 18, 2024
Include changes introduced with:
nrfconnect/sdk-zephyr#1891
zephyrproject-rtos/zephyr#73024

manifest-pr-skip

Signed-off-by: Sebastian Głąb <[email protected]>
rlubos pushed a commit to nrfconnect/sdk-nrf that referenced this pull request Jul 18, 2024
Include changes introduced with:
nrfconnect/sdk-zephyr#1891
zephyrproject-rtos/zephyr#73024

manifest-pr-skip

Signed-off-by: Sebastian Głąb <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants