[PATCH v2] cmd: usb_mass_storage: Use part_get_info_by_dev_and_name_or_num
Sean Anderson
sean.anderson at seco.com
Thu Jul 8 20:02:50 CEST 2021
On 7/8/21 2:00 PM, Marek Vasut wrote:
> On 7/8/21 7:36 PM, Sean Anderson wrote:
>> This allows specifying partitions using more extended syntax. This is
>> particularly useful to access eMMC hardware partitions. For example,
>> this allows something like
>>
>> ums mmc 0.0,0.1,0.2,0.3
>
> Shouldn't that be ums X mmc Y ?
Yes.
>
>> to expose four LUNs for each of the four default eMMC hardware
>> partitions. Note that the comma syntax was already present.
>
> That's all good, but is there some specification of the syntax somewhere instead of a random example ?\
Yes, see https://u-boot.readthedocs.io/en/latest/usage/partitions.html
I suppose that https://u-boot.readthedocs.io/en/latest/usage/ums.html
should be updated as well, especially since the comma syntax is
undocumented.
> Is the current syntax still supported ?
Yes. This is completely backward-compatible.
--Sean
More information about the U-Boot
mailing list