[PATCH] xilinx: mbv: Update stack, heap, and OpenSBI memory
Tom Rini
trini at konsulko.com
Wed Feb 18 15:12:24 CET 2026
On Wed, Feb 18, 2026 at 12:03:15PM +0530, Padmarao Begari wrote:
> A 2 MB region of DDR memory is allocated for U‑Boot SPL, with the
> heap starting at address 0x80000000 and the stack at 0x80200000.
> However, U‑Boot fails when using OpenSBI v1.8 because OpenSBI begins
> execution at 0x80100000, causing an overlap between the SPL stack
> and the malloc region.
> To resolve this conflict, the SPL heap and stack are moved to
> higher memory addresses, and OpenSBI is relocated to 0x80000000.
> The SPL heap now starts at 0x8C000000, and the stack is placed
> at 0x8F000000. The MB-V requires at least 256MB of DDR to run U-Boot.
>
> _________________
> | |0x8FFFFFFF
> |_______________|
> | SPL- Stack |0x8F000000
> | |
> | |
> | SPL - Heap |
> |_______________|0x8C000000
> | |
> | |
> | Full U-Boot |
> |_______________|0x81200000
> |Load FIT Image |
> |_______________|0x80200000
> | OpenSBI |
> |_______________|0x80000000
>
> Signed-off-by: Padmarao Begari <padmarao.begari at amd.com>
> ---
> configs/xilinx_mbv32_defconfig | 4 ++--
> configs/xilinx_mbv32_smode_defconfig | 2 +-
> configs/xilinx_mbv64_smode_defconfig | 2 +-
> 3 files changed, 4 insertions(+), 4 deletions(-)
As general feedback, this is something that ought to be in doc/board/
somewhere too. One such existing example is doc/board/ti/am62x_sk.rst
and follow-up patches are fine.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20260218/5f2f197c/attachment.sig>
More information about the U-Boot
mailing list