RTEMS | RISC-V bsp_memory_initialize ignores configured limits (#5545)
Gedare Bloom (@gedare)
gitlab at rtems.org
Thu Apr 2 19:19:18 UTC 2026
Gedare Bloom created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5545
Assignee: Gedare Bloom
## Summary
<!--
Please provide as much information as possible such as error messages or attaching logs
-->
The implementation of `bsp_memory_initialize()` reads the memory limit from the FDT or falls back to the linker script variable. However this ignores user configuration for `RISCV_RAM_REGION_BEGIN` and `RISCV_RAM_REGION_SIZE` which could be different especially if limiting the usage of the available memory.
Prefer to calculate the memory size from the user configuration first to avoid mismatched expectations.
## Steps to reproduce
<!-- Pre-set options
- milestone
-->
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5545
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260402/91490cbb/attachment-0001.htm>
More information about the bugs
mailing list