Pull request for UEFI sub-system for efi-2021-04-rc1-3

Alexander von Gluck IV kallisti5 at unixzen.com
Sat Jan 23 16:30:43 CET 2021


January 23, 2021 8:39 AM, "Heinrich Schuchardt" <xypron.glpk at gmx.de> wrote:
> efi_loader: correct EFI_BLOCK_IO_PROTOCOL.Media.LastBlock (2021-01-23
> 07:56:54 +0100)

Confirming that these corrections fix the presented block devices
by u-boot EFI to EFI binaries:

Before:
(nonsensical "last block" which is start + length)
Welcome to the Haiku boot loader!
platform_add_boot_device: called
platform_add_boot_device: .. present: true, logical: false, removeable: false, blocksize: 512, lastblock: 681984
platform_add_boot_device: .. present: true, logical: true, removeable: false, blocksize: 512, lastblock: 679936
platform_add_boot_device: .. present: true, logical: true, removeable: false, blocksize: 512, lastblock: 614400


After:
(correct "last block" which is start + length)
Welcome to the Haiku boot loader!
platform_add_boot_device: called
platform_add_boot_device: .. present: true, logical: false, removeable: false, blocksize: 512, lastblock: 681983
platform_add_boot_device: .. present: true, logical: true, removeable: false, blocksize: 512, lastblock: 65535
platform_add_boot_device: .. present: true, logical: true, removeable: false, blocksize: 512, lastblock: 614399

-- Alex


More information about the U-Boot mailing list