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

Wolfgang Denk wd at denx.de
Thu Nov 24 21:45:42 CET 2011


Dear Marek Vasut,

In message <1322153845-19369-1-git-send-email-marek.vasut at gmail.com> you wrote:
> Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
> Cc: Stefano Babic <sbabic at denx.de>
> Cc: Wolfgang Denk <wd at denx.de>
> ---
>  doc/README.m28 |    6 ++++++
>  1 files changed, 6 insertions(+), 0 deletions(-)
> 
> diff --git a/doc/README.m28 b/doc/README.m28
> index b749ce0..242230b 100644
> --- a/doc/README.m28
> +++ b/doc/README.m28
> @@ -116,6 +116,12 @@ must have the following parameters:
>  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
> +				  containing:
> +				      Units = sectors of 1 * 512 = 512 bytes
> +				  If no such line is present, press "u" to
> +				  switch units to sectors.
>  	* n ..................... create new partition
>  		* p ............. primary partition
>  		* 1 ............. first partition

Would it not make sense to actually make sure this is the case, like
by passing the "-u" option to fdisk ?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A person with one watch knows what time it  is;  a  person  with  two
watches is never sure.                                       Proverb


More information about the U-Boot mailing list