[PATCH v2 0/3] sandbox: align LMB memory

Tom Rini trini at konsulko.com
Fri Jun 27 00:15:43 CEST 2025


On Sun, 08 Jun 2025 09:54:25 +0200, Heinrich Schuchardt wrote:

> To implement the EFI_SYSTEM_TABLE_POINTER we need 4 MiB aligned
> memory.
> 
> On the sandbox LMB uses addresses relative to the start of a page aligned
> RAM buffer allocated with mmap(). This leads to a mismatch of alignment
> between EFI which uses pointers and LMB which uses phys_addr_t.
> 
> [...]

Applied to u-boot/next, thanks!

[1/3] sandbox: fix dram_init()
      commit: d50fd7f91168576918d1b4a6394bf57767ed7cc4
[2/3] sandbox: align LMB memory
      commit: 5c8de1bcfb0024993d902fb5dcfe87546116799b
[3/3] test: unit test for efi_alloc_aligned_pages()
      commit: 788df0536237321efcd443c74316d37451bde31c
-- 
Tom




More information about the U-Boot mailing list