[PATCH] fastboot: Add OEM run command
Marek Vasut
marex at denx.de
Fri Dec 2 22:00:03 CET 2022
On 12/2/22 21:51, Sean Anderson wrote:
> On 12/2/22 15:50, Marek Vasut wrote:
>> On 12/2/22 18:11, Sean Anderson wrote:
>>> This adds the UUU UCmd functionality as an OEM command. While the
>>> fastboot tool allows sending arbitrary commands as long as they are
>>> prefixed with "oem". This allows running generic U-Boot commands over
>>> fastboot without UUU, which is especially useful when not using USB.
>>> This is really the route we should have gone in the first place when
>>> adding these commands.
>>
>> Example how to make use of this, or even documentation entry, would be really nice.
>
> OK
Thanks
[...]
>>> diff --git a/include/fastboot.h b/include/fastboot.h
>>> index 57daaf1298..8b6b4b934a 100644
>>> --- a/include/fastboot.h
>>> +++ b/include/fastboot.h
>>> @@ -45,6 +45,7 @@ enum {
>>> FASTBOOT_COMMAND_OEM_BOOTBUS,
>>> #endif
>>> #if CONFIG_IS_ENABLED(FASTBOOT_UUU_SUPPORT)
>>> + FASTBOOT_COMMAND_OEM_RUN,
>>
>> Keep the list sorted.
>
> Didn't realize it was sorted.
>
> --Sean
>
>>> FASTBOOT_COMMAND_ACMD,
>>> FASTBOOT_COMMAND_UCMD,
>>> #endif
At least O...EM ... should go after A...CMD .
More information about the U-Boot
mailing list