[PATCH v3] fastboot: Add OEM run command

Heiko Schocher hs at denx.de
Sun Jan 1 08:53:59 CET 2023


Hello Sean,

On 16.12.22 19:20, 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.
> 
> While we're here, clean up the UUU Kconfig a bit.
> 
> Signed-off-by: Sean Anderson <sean.anderson at seco.com>
> ---
> This commit is based on [1].
> 
> [1] https://lore.kernel.org/u-boot/20221215101547.1.Ic4654626494193d6dd4788d14fda0aae447783a5@changeid/
> 
> Changes in v3:
> - Further document command capabilities
> - Use a separate config for oem run
> 
> Changes in v2:
> - Document usage
> - Keep enum in order
> 
>  doc/android/fastboot.rst      | 18 ++++++++++++++++++
>  drivers/fastboot/Kconfig      | 19 ++++++++++++++-----
>  drivers/fastboot/fb_command.c |  4 ++++
>  include/fastboot.h            |  1 +
>  4 files changed, 37 insertions(+), 5 deletions(-)

Looks good to me, thanks for the cleanup!

Reviewed-by: Heiko Schocher <hs at denx.de>

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de


More information about the U-Boot mailing list