aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Liu <r63238@freescale.com>2008-03-27 18:49:56 +0800
committerWolfgang Denk <wd@denx.de>2008-04-13 14:56:51 -0700
commite8f7ba404f1409606962815ecc955a06984b08b3 (patch)
tree66422f85699530b913bab2458be73a976359abc8
parent3e3f766a5274d204780460e1879723b565296d34 (diff)
downloadu-boot-e8f7ba404f1409606962815ecc955a06984b08b3.zip
u-boot-e8f7ba404f1409606962815ecc955a06984b08b3.tar.gz
u-boot-e8f7ba404f1409606962815ecc955a06984b08b3.tar.bz2
doc: english polishing for README.sata
according to gvb's suggestion, polishing for the doc. Signed-off-by: Jerry Van Baren <gerald.vanbaren@ge.com> Signed-off-by: Dave Liu <daveliu@freescale.com>
-rw-r--r--doc/README.sata24
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/README.sata b/doc/README.sata
index 168dc7f..d0ce667 100644
--- a/doc/README.sata
+++ b/doc/README.sata
@@ -1,11 +1,11 @@
1. SATA usage in U-boot
- Two ways to operate the hard disk
+ There are two ways to operate the hard disk
- * Raw read/write block from/to SATA hard disk;
- * ext2load read file from ext2 filesytem in hard disk
+ * Read/write raw blocks from/to SATA hard disk
+ * ext2load to read a file from ext2 file system
-1.0 How to know the information of SATA hard disk?
+1.0 How to read the SATA hard disk's information?
=> sata info
@@ -14,11 +14,12 @@ SATA device 0: Model: ST3320620AS Firm: 3.AAD Ser#: 4QF01ZTN
Supports 48-bit addressing
Capacity: 305245.3 MB = 298.0 GB (625142448 x 512)
-1.1 How to save the kernel, filesystem, dtb to SATA hard disk with raw?
+1.1 How to raw write the kernel, file system, dtb to a SATA hard disk?
- Notes: 0x1000 sectors = 2 MBytes
+ Notes: Hard disk sectors are normally 512 bytes, so
+ 0x1000 sectors = 2 MBytes
- wirte kernel
+ write kernel
=> tftp 40000 /tftpboot/uImage.837x
=> sata write 40000 0 2000
@@ -30,7 +31,7 @@ SATA device 0: Model: ST3320620AS Firm: 3.AAD Ser#: 4QF01ZTN
=> tftp 40000 /tftpboot/mpc837xemds.dtb
=> sata write 40000 a000 1000
-1.2 How to read the kernel, filesystem, dtb from SATA hard disk with raw?
+1.2 How to raw read the kernel, file system, dtb from a SATA hard disk?
load kernel
=> sata read 200000 0 2000
@@ -44,11 +45,10 @@ SATA device 0: Model: ST3320620AS Firm: 3.AAD Ser#: 4QF01ZTN
boot
=> bootm 200000 1000000 2000000
-1.3 How to load image from ext2 filesystem in U-boot?
+1.3 How to load an image from an ext2 file system in U-boot?
- U-boot doesn't support ext2 write to hard disk, so
- you have to write the image to hard disk under Linux env,
- before you load image from ext2 filesystem.
+ U-boot doesn't support writing to an ext2 file system, so the
+ files must be written by other means (e.g. linux).
=> ext2ls sata 0:1 /
<DIR> 4096 .