[PATCH v4 2/4] boot: Move obtaining the label into a common file
    Mattijs Korpershoek 
    mkorpershoek at kernel.org
       
    Fri Oct 10 16:11:51 CEST 2025
    
    
  
On Fri, Oct 10, 2025 at 11:35, Simon Glass <sjg at chromium.org> wrote:
> Hi Tom,
>
> On Thu, 9 Oct 2025 at 18:24, Tom Rini <trini at konsulko.com> wrote:
>>
>> On Thu, Oct 09, 2025 at 03:29:53AM -0600, Simon Glass wrote:
>>
>> > The 'bootflow list' command supports looking at the EFI device-path when
>> > available. Move this piece into a common function so it can be used
>> > elsewhere.
>>
>> The point of this was to enable the show_bootflow->bootflow_show chnage,
>> so should be dropped.
>
> OK.
>
>>
>> > Use 'usb' instead of 'usb_mass_storage' for usb so that it fits in the
>> > column space.
>> >
>> > This updates the output from 'bootflow list'.
>>
>> And this is unrelated and should be its own patch. Wikipedia says USB
>> MSC or UMS are the common short forms for USB Mass Storage devices, and
>> we should use one of them to have the output be more precise (since we
>> support USB networking devices for example).
>
> Ok I can move it into its own patch.
>
> Are you wanting this to say 'ums' instead of 'usb' ? Will anyone know
> what that means?
Search for 'ums' gives the following U-Boot documentation:
https://docs.u-boot.org/en/latest/usage/cmd/ums.html#ums-command
Where the acronym is documented.
This is also the acronym used by the cmd (to configure usb gadget as USB
Mass Storage).
So I'd say it's a reasonable acronym
>
> Re the second point, at least in U-Boot a USB Ethernet device shows as
> 'ethernet', i.e. the interface doesn't matter. We don't have logic to
> look a level deeper, at present.
>
> Regards,
> Simon
    
    
More information about the U-Boot
mailing list