On 12/07/2017 08:00 AM, Jonathan Gray wrote: > On Fri, Dec 01, 2017 at 04:10:33PM +0100, Alexander Graf wrote: >> Commit 884bcf6f65 (efi_loader: use proper device-paths for partitions) tried >> to introduce the el torito scheme to all partition table types: Spawn >> individual disk objects for each partition on a disk. >> >> Unfortunately, that code ended up creating partitions with offset=0 which >> meant >> that anyone accessing these objects gets data from the raw block device >> instead >> of the partition. >> >> Furthermore, all the el torito logic to spawn devices for partitions was >> duplicated. So let's merge the two code paths and give partition disk objects >> good offsets to work from, so that payloads can actually make use of them. >> >> Fixes: 884bcf6f65 (efi_loader: use proper device-paths for partitions) >> Reported-by: Yousaf Kaukab <[email protected]> >> Signed-off-by: Alexander Graf <[email protected]> > > This once again broke being able to find a DEVICE_PATH_TYPE_MEDIA_DEVICE > node with the loaded image protocol on rpi_3 with mmc/usb.
Could you, please, specify which software you are trying to call: Linux EFI stub, Grub, or anything else? Which patches did you consider? Did you apply these patch series that are not yet in efi-next? efi_loader: correct media device paths efi_loader: avoid use after free Regards Heinrich _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

