zephyr arch64 support and buffer stack size tuning for frdm_imx91 - #117280
Open
LiLongNXP wants to merge 2 commits into
Open
zephyr arch64 support and buffer stack size tuning for frdm_imx91#117280LiLongNXP wants to merge 2 commits into
LiLongNXP wants to merge 2 commits into
Conversation
Replace %d with %zu for size_t argument in LOG_ERR to fix build warning on AArch64 where size_t is 64-bit. Signed-off-by: Li Long <li.long@nxp.com>
zephyrbot
requested review from
JarmouniA,
MaochenWang1,
jukkar,
kartben,
krish2718,
nashif and
rlubos
August 25, 2026 09:22
Increase network buffer size and stack sizes for frdm_imx91/mimx9131 to stabilize TCP/UDP traffic (zperf) on 5GHz Wi-Fi: - Set NET_BUF_DATA_SIZE=1600 to fix TCP RX crash caused by net_buf being too small to hold a TCP segment (default is 128 bytes). Note: NET_PKT/BUF RX/TX counts are already set to sufficient values in overlay_iw610.conf and do not need to be overridden here. - Add ZPERF_WORK_Q_STACK_SIZE=8192 to fix zperf_work_q stack overflow during TCP TX. - Increase NXP Wi-Fi task stack sizes (TX/CORE/SCAN/MON/POWERSAVE/ DRIVER/WLCMGR) to prevent stack sentinel triggers. - Increase NET_TX_STACK_SIZE and NET_RX_STACK_SIZE to 16384 to fix intermittent TCP TX crash (work->queue == NULL assert). - Increase NET_MGMT_EVENT_STACK_SIZE to 16384 and SHELL_STACK_SIZE to 16384 for stability. Signed-off-by: Li Long <li.long@nxp.com>
LiLongNXP
force-pushed
the
main_lldbg_test10
branch
from
August 26, 2026 03:16
aa3a4a3 to
ae486f5
Compare
| CONFIG_MAIN_STACK_SIZE=8192 | ||
| CONFIG_NET_SOCKETS_SERVICE_STACK_SIZE=4096 | ||
| CONFIG_NXP_WIFI_TX_TASK_STACK_SIZE=4096 | ||
| CONFIG_NET_TX_STACK_SIZE=16384 |
Contributor
There was a problem hiding this comment.
please try if it can work with smaller stack size.
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.
No description provided.