On Monday, March 10th, 2025 at 12:44 PM, Ilias Apalodimas <ilias.apalodimas@xxxxxxxxxx> wrote: > Can you print 'target' in both of your success/fail cases... For the first (failing) call to efi_allocate_pages() the value of target is 0. For the second (successful) call, the value is 88080384. > ...and also apply the patch below to u-boot...that will print the memory map. For the first (failing) call this outputs: 7 0000000000000000-0000000004000000 0 0000000004000000-0000000004200000 7 0000000004200000-0000000004400000 0 0000000004400000-0000000005400000 7 0000000005400000-000000003dae3000 1 000000003dae3000-000000003e2c9000 7 000000003e2c9000-000000003ea6b000 4 000000003ea6b000-000000003ea6c000 2 000000003ea6c000-000000003ea6f000 1 000000003ea6f000-000000003ea95000 4 000000003ea95000-000000003ea9b000 2 000000003ea9b000-000000003eaae000 4 000000003eaae000-000000003eaaf000 2 000000003eaaf000-000000003eab1000 4 000000003eab1000-000000003eab2000 9 000000003eab2000-000000003eab9000 4 000000003eab9000-000000003eac1000 6 000000003eac1000-000000003eac2000 4 000000003eac2000-000000003eac3000 6 000000003eac3000-000000003eae5000 4 000000003eae5000-000000003eaee000 3 000000003eaee000-000000003fb8a000 6 000000003fb8a000-000000003fb8b000 3 000000003fb8b000-000000003ff00000 5 000000003ff00000-000000003ff10000 3 000000003ff10000-0000000040000000 For the second (successful) call this outputs: 7 0000000000000000-0000000004000000 0 0000000004000000-0000000004200000 7 0000000004200000-0000000004400000 0 0000000004400000-0000000005400000 7 0000000005400000-000000003dae3000 1 000000003dae3000-000000003e2c9000 7 000000003e2c9000-000000003ea6b000 4 000000003ea6b000-000000003ea6c000 2 000000003ea6c000-000000003ea6f000 1 000000003ea6f000-000000003ea95000 4 000000003ea95000-000000003ea9b000 2 000000003ea9b000-000000003eaae000 4 000000003eaae000-000000003eaaf000 2 000000003eaaf000-000000003eab1000 4 000000003eab1000-000000003eab2000 9 000000003eab2000-000000003eab9000 4 000000003eab9000-000000003eac1000 6 000000003eac1000-000000003eac2000 4 000000003eac2000-000000003eac3000 6 000000003eac3000-000000003eae5000 4 000000003eae5000-000000003eaee000 3 000000003eaee000-000000003fb8a000 6 000000003fb8a000-000000003fb8b000 3 000000003fb8b000-000000003ff00000 5 000000003ff00000-000000003ff10000 3 000000003ff10000-0000000040000000 Thanks! Ben