[U-Boot] [PATCH v2] fastboot: Improve error reporting on 'getvar partition-{size, type}'
Alex Kiernan
alex.kiernan at gmail.com
Fri Mar 29 08:09:38 UTC 2019
On Thu, Mar 28, 2019 at 1:32 PM Eugeniu Rosca <erosca at de.adit-jv.com> wrote:
>
> Currently U-Boot reports the same error message in all below cases:
> [A] host> fastboot getvar partition-type
> [B] host> fastboot getvar partition-size
> [C] host> fastboot getvar partition-type:
> [D] host> fastboot getvar partition-size:
> [E] host> fastboot getvar partition-type:<invalid-part>
> [F] host> fastboot getvar partition-size:<invalid-part>
>
> The message looks like:
> host> fastboot getvar partition-size:
> getvar:partition-size: FAILED (remote: partition not found)
> Finished. Total time: 0.003s
>
> Be more user friendly and output:
> - "partition not given" for [A-D]
> - "partition not found" for [E-F]
>
> Fixes: f73a7df984a9 ("net: fastboot: Merge AOSP UDP fastboot")
> Signed-off-by: Eugeniu Rosca <erosca at de.adit-jv.com>
Acked-by: Alex Kiernan <alex.kiernan at gmail.com>
--
Alex Kiernan
More information about the U-Boot
mailing list