[U-Boot] [PATCH] M28: Document that units has to be set to sectors on SD bootcard

Marek Vasut marek.vasut at gmail.com
Thu Nov 24 18:38:22 CET 2011


> On Thu, Nov 24, 2011 at 2:57 PM, Marek Vasut <marek.vasut at gmail.com> wrote:
> >  For example in Linux fdisk, the sequence for a clear card is the
> > following:
> > 
> >        * o ..................... create a clear partition table
> > +       * p ..................... here you need to verify that units is
> > set to +                                 sectors. In the output, earch
> > for a line
> 
> s/earch/search

Thanks!
> 
> > +                                 containing:
> > +                                     Units = sectors of 1 * 512 = 512
> > bytes +                                 If no such line is present,
> > press "u" to +                                 switch units to sectors.
> 
> Or maybe an easier way is to call:
> sudo fdisk /dev/mmcblk0 -u

-u=sectors is even better. Of course, this doesn't work on *BSD. Other 
OSes/game-loaders/etc. I don't think we even consider ;-)
> 
> Regards,
> 
> Fabio Estevam


More information about the U-Boot mailing list