UFS boot and UFS tool
Neil Armstrong
neil.armstrong at linaro.org
Wed May 20 14:47:45 CEST 2026
Hi,
On 5/20/26 08:34, Raz wrote:
> There are many commands. ufs luns is a common example. see patch
> attached please.
Good, the changeset looks sane, please split the whole change into
logical and incremental changes, in the following order for example:
- fixes & typo fixups
- API export
- new API
- initial ufs cmd changes to accept subcommands
- add subcommands
Those commands are nice but I would like a way to "protect" those
so you can't change the LUNs desc accidentally, like perhaps
an intermediate command like "ufs allow-modify-desc" which asks
for a confirmation in order to call other commands which can
modify the descriptors.
Thanks,
Neil
>
> # ufs luns
> | LUN 0 | LUN 1 | LUN 2 | LUN 3 | LUN 4 |
> | 16 MB | 16 MB | 4 MB | 2000 MB | 80000 MB |
>
> On Tue, May 19, 2026 at 6:47 PM Neil Armstrong
> <neil.armstrong at linaro.org> wrote:
>>
>> Hi,
>>
>> On 5/19/26 13:53, Raz wrote:
>>> Hey,
>>>
>>> I have added a ufs_tool driver to my U-Boot repository. It extends the
>>> ufs command to provide access to IDNs and flags. Mainly, it allows
>>> creating and listing LUNs.
>>
>> This is something very welcome!
>>
>>>
>>> In addition, I am currently adding UFS functionality to the environment.
>>
>> Which kind of functionalities ?
>>
>>>
>>> 1. Are there any other engineers working on it ?
>>
>> AFAIK no, you're free to send,
>>
>>> 2. What is the procedure of posting a code ? Pull requests or emails ?
>>
>> It's mainly aligned on the Linux practices, you can find the U-Boot particularities in
>> https://docs.u-boot.org/en/latest/develop/sending_patches.html#sending-updated-patch-versions
>>
>> If you're unsure about the features implementation, please tag the patches as RFC.
>>
>> Thanks,
>> Neil
More information about the U-Boot
mailing list