Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

https://sunplus.atlassian.net/wiki/x/HwB8dg

DRAM Space Allocation

The diagram below illustrates the DRAM allocation during U-Boot execution.

...

Each segment serves a specific purpose:

  • null_pointer_prot: Reserved for null pointer protection, this segment is never mapped to physical memory, ensuring safety from accidental memory access.

  • warm-boot: Holds the code responsible for resuming the system from deep sleep mode.

  • BL31: Contains the BL31 firmware code as part of the Trusted Firmware-A (TF-A).

  • OP-TEE OS: Stores the OP-TEE OS and its applications. This segment is designated as a secure zone in the x-boot process.

  • uboot: Initially used to load the U-Boot image. The image is later relocated to the end of DRAM.

  • temporary: An unused segment, currently reserved for potential future purposes.

  • kernel: Allocated for the Linux kernel image, where the image is loaded, decompressed, and executed.

  • relocated_uboot: U-Boot is relocated to this segment at runtime, which is typically located at the very end of system DRAM.

U-Boot Log and Explanation

...