[PATCH v2 0/2] efi_loader: support all uclasses in device path

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Wed Jul 19 17:40:44 CEST 2023


On devices with multiple USB mass storage devices errors like

    Path /../USB(0x0,0x0)/USB(0x1,0x0)/Ctrl(0x0)
    already installed.

are seen. This is due to creating non-unique device paths. To uniquely
identify devices we must provide path nodes for all devices on the path
from the root device.

Add support for generating device path nodes for all uclasses.

v2:
	Add a prerequisite patch for BLKMAP, HOST, VIRTIO block devices

Heinrich Schuchardt (2):
  efi_loader: fix dp_fill() for BLKMAP, HOST, VIRTIO
  efi_loader: support all uclasses in device path

 include/efi_api.h                |  7 ++++
 lib/efi_loader/efi_device_path.c | 68 +++++++++++++-------------------
 2 files changed, 35 insertions(+), 40 deletions(-)

-- 
2.40.1



More information about the U-Boot mailing list