January 23, 2021 8:39 AM, "Heinrich Schuchardt" <[email protected]> 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

Reply via email to