[U-Boot] [PATCH v3 5/7] dfu:cmd: Support for DFU u-boot command

Lukasz Majewski l.majewski at samsung.com
Mon Aug 6 09:13:52 CEST 2012


Dear Stephen Warren,

> On 08/03/2012 12:13 AM, Lukasz Majewski wrote:
> > Dear Stephen Warren,
> > 
> >> Again, this is confusing two different kinds of partitions.
> >>
> >> There are HW-level partitions/regions/areas within the eMMC HW
> >> itself. You need to send commands to the eMMC device to select
> >> whether read/write commands act on the boot0/boot1/general*/user
> >> HW partition.
> > 
> > This will be done via "mmc boot [dev] [HW partition (boot0/1/user]"
> > command (from u-boot prompt).
> 
> Hmm. I still fail to see how this is any different to the existing
> "mmc dev" command. Are the following two commands not exactly
> identical:
> 
> mmc dev $dev $part      # already exists today
> mmc boot $dev $part     # new command you're proposing
> 
> ?

You are totally right the $part part is the thing I'm looking for.
I had in mind a previous version of "mmc dev" command with only the
$dev part.

As I can see in the code - the mmc_switch() call does exactly the
things that I need :-)
> 
> > This command is not yet implemented at u-boot (at least for Trats
> > development board).
> > After its implementation it will be used as a helper function for
> > dfu.
> 


-- 
Best regards,

Lukasz Majewski

Samsung Poland R&D Center | Linux Platform Group


More information about the U-Boot mailing list