[PATCH v2] cmd: usb_mass_storage: Use part_get_info_by_dev_and_name_or_num

Sean Anderson sean.anderson at seco.com
Thu Oct 28 21:43:03 CEST 2021


Hi Marek,

On 7/22/21 2:24 PM, Sean Anderson wrote:
>
>
> On 7/8/21 2:02 PM, Sean Anderson wrote:
>>
>>
>> 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.
>
> Upon closer inspection, the partition syntax is actually already documented. This patch just brings the command in-line with what is documented.

Does this patch need any additional modifications? As stated above, this
new behavior is actually what is already documented.

--Sean


More information about the U-Boot mailing list