[U-Boot] [PATCH] fastboot: check for alias when looking up partition by name

Lukasz Majewski
2015-03-23T09:13:17Z

Hi Steve,

> Hi Lukasz,
>
> On 15-03-20 12:50 AM, Lukasz Majewski wrote:
> > Hi Steve,
> >
> >>
> >>
> >> On 15-03-12 10:17 AM, Michael Scott wrote:
> >>>
> >>> On 03/12/2015 09:23 AM, Steve Rae wrote:
>
> [... snip ...]
>
> >>>> An interesting feature (which seems unnecessary to me...)
> >>>> However,
> >>> A bit of background:
> >>>
> >>> We are using fastboot support on Nvidia Jetson-TK1 platform where
> >>> a GPT limitation sets partition names to 3 letters.
> >>>
> >>> IE: LNX = boot, APP = system and UDA = userdata.
> >> OK -- then this patch makes much more sense!
> >> - so when the user performs "mmc part", (I'm assuming it will list
> >> the "3 letter names"), then they perform "fastboot flash LNX
> >> boot.bin" (which makes sense to me....)
> >> - or they can setup these aliases and perform "fastboot flash boot
> >> boot.bin" (I would probably stick with the former myself...)
> >> Thanks, Steve
> >>>
> >>> To present a "normal" fastboot experience to users, we use this
> >>> patch.
> >>>
> >>>> Acked-by: Steve Rae <srae@broadcom.com>
> >>>
> >>> Thank you for the Ack!
> >
> > Are there more comments for this patch?
> >
>
> No - the feature is OK
> (personally - I would use the names that match what "mmc part"
> displays; so I don't think that I would create any aliases....)
>
> Acked-by: Steve Rae <srae@broadcom.com>

Applied to u-boot-dfu tree. Thanks!

--
Best regards,

Lukasz Majewski

Samsung R&D Institute Poland (SRPOL) | Linux Platform Group