On 2/18/26 15:12, Tom Rini wrote:
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 <[email protected]>
---
  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.

Just curious. Memory layout is something what every platform has to deal with.
Don't we have any script for it?

Thanks,
Michal

Reply via email to