M28: Document that units has to be set to sectors on SD bootcard
PATCH 1/1 M28: Document that units has to be set to sectors on SD bootcard
--- doc/README.m28 | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
doc/README.m28 +6 -0
@@ -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
Signature · 1 line
1.7.7.1
PATCH 1/1 M28: Document that units has to be set to sectors on SD bootcard
In reply to a message not in the archiveQuoted 10 lines · Marek Vasut
Quoted 7 lines
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 lines/earch/search
Thanks!
Quoted 8 lines
Quoted 5 lines
(quoted diff) +2
-0+ containing: + Units = sectors of 1 * 512 = 512bytes + 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 ;-)
Quoted 4 lines
Regards,
Fabio Estevam
PATCH v2 1/1 M28: Document that units has to be set to sectors on SD bootcard
In reply to Marek Vasut--- doc/README.m28 | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
V2: Make this all simpler for user to follow
doc/README.m28 +2 -1
@@ -113,7 +113,8 @@ must have the following parameters: * Partition size ........ at least 1024 kb * Partition type ........ 0x53 (sometimes "OnTrack DM6 Aux3") -For example in Linux fdisk, the sequence for a clear card is the following: +For example in Linux fdisk, the sequence for a clear card is the follows. Be +sure to run fdisk with the option "-u=sectors" to set units to sectors: * o ..................... create a clear partition table * n ..................... create new partition
Signature · 1 line
1.7.7.1
PATCH v2 1/1 M28: Document that units has to be set to sectors on SD bootcard
Quoted 17 lines · Marek Vasut
Signed-off-by Marek Vasut <[email protected]>Cc Stefano Babic <[email protected]>Cc Wolfgang Denk <[email protected]>---
?doc/README.m28 | ? ?3 ++-
?1 files changed, 2 insertions(+), 1 deletions(-)V2: Make this all simpler for user to follow
doc/README.m28 +0
-0@@ -113,7 +113,8 @@ must have the following parameters:? ? ? ?* Partition size ........ at least 1024 kb
? ? ? ?* Partition type ........0x53(sometimes "OnTrack DM6 Aux3")
doc/README.m28 must have the following parameters: · line 116
Quoted 2 lines
doc/README.m28 +1
-1-For example in Linux fdisk, the sequence for a clear card is the following: +For example in Linux fdisk, the sequence for a clear card is the follows. Be
s/follows/following
Other than that:
PATCH v3 1/1 M28: Document that units has to be set to sectors on SD bootcard
In reply to Marek Vasut--- doc/README.m28 | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
V2: Make this all simpler for user to follow
V3: Fix grammar
doc/README.m28 +2 -1
@@ -113,7 +113,8 @@ must have the following parameters: * Partition size ........ at least 1024 kb * Partition type ........ 0x53 (sometimes "OnTrack DM6 Aux3") -For example in Linux fdisk, the sequence for a clear card is the following: +For example in Linux fdisk, the sequence for a clear card follows. Be sure to +run fdisk with the option "-u=sectors" to set units to sectors: * o ..................... create a clear partition table * n ..................... create new partition
Signature · 1 line
1.7.7.1
PATCH 1/1 M28: Document that units has to be set to sectors on SD bootcard
In reply to Marek VasutDear Marek Vasut,
Quoted 14 lines · In message <[email protected]> you wrote:
Signed-off-by Marek Vasut <[email protected]>Cc Stefano Babic <[email protected]>Cc Wolfgang Denk <[email protected]>--- doc/README.m28 | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)doc/README.m28 +0
-0@@ -116,6 +116,12 @@ must have the following parameters: For example in Linux fdisk, the sequence for a clear card is the following:
doc/README.m28 must have the following parameters: · line 127
Quoted 10 lines
doc/README.m28 +6
-0* 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
Signature · 5 lines
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
PATCH 1/1 M28: Document that units has to be set to sectors on SD bootcard
Quoted 3 lines
Dear Marek Vasut,
In message <[email protected]> you
Quoted 24 lines · wrote:
Quoted 24 lines
Signed-off-by Marek Vasut <[email protected]>Cc Stefano Babic <[email protected]>Cc Wolfgang Denk <[email protected]>---
doc/README.m28 | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)doc/README.m28 +6
-0@@ -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.
Quoted 7 lines
doc/README.m28 must have the following parameters: · line 127
Quoted 4 lines
doc/README.m28 +0
-0* n ..................... create new partitiondoc/README.m28 +0
-0* p ............. primary partition * 1 ............. first partitionWould it not make sense to actually make sure this is the case, like by passing the "-u" option to fdisk ?
Definitelly, please check v3 of the patch. Fabio was so kind to check my grammar issues etc ;-)
M