Commit e8f7ba404f1409606962815ecc955a06984b08b3
Committed by
Wolfgang Denk
1 parent
3e3f766a52
Exists in
master
and in
54 other branches
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>
Showing 1 changed file with 12 additions and 12 deletions Side-by-side Diff
doc/README.sata
1 | 1 | 1. SATA usage in U-boot |
2 | 2 | |
3 | - Two ways to operate the hard disk | |
3 | + There are two ways to operate the hard disk | |
4 | 4 | |
5 | - * Raw read/write block from/to SATA hard disk; | |
6 | - * ext2load read file from ext2 filesytem in hard disk | |
5 | + * Read/write raw blocks from/to SATA hard disk | |
6 | + * ext2load to read a file from ext2 file system | |
7 | 7 | |
8 | -1.0 How to know the information of SATA hard disk? | |
8 | +1.0 How to read the SATA hard disk's information? | |
9 | 9 | |
10 | 10 | => sata info |
11 | 11 | |
12 | 12 | |
13 | 13 | |
... | ... | @@ -14,11 +14,12 @@ |
14 | 14 | Supports 48-bit addressing |
15 | 15 | Capacity: 305245.3 MB = 298.0 GB (625142448 x 512) |
16 | 16 | |
17 | -1.1 How to save the kernel, filesystem, dtb to SATA hard disk with raw? | |
17 | +1.1 How to raw write the kernel, file system, dtb to a SATA hard disk? | |
18 | 18 | |
19 | - Notes: 0x1000 sectors = 2 MBytes | |
19 | + Notes: Hard disk sectors are normally 512 bytes, so | |
20 | + 0x1000 sectors = 2 MBytes | |
20 | 21 | |
21 | - wirte kernel | |
22 | + write kernel | |
22 | 23 | => tftp 40000 /tftpboot/uImage.837x |
23 | 24 | => sata write 40000 0 2000 |
24 | 25 | |
... | ... | @@ -30,7 +31,7 @@ |
30 | 31 | => tftp 40000 /tftpboot/mpc837xemds.dtb |
31 | 32 | => sata write 40000 a000 1000 |
32 | 33 | |
33 | -1.2 How to read the kernel, filesystem, dtb from SATA hard disk with raw? | |
34 | +1.2 How to raw read the kernel, file system, dtb from a SATA hard disk? | |
34 | 35 | |
35 | 36 | load kernel |
36 | 37 | => sata read 200000 0 2000 |
37 | 38 | |
... | ... | @@ -44,11 +45,10 @@ |
44 | 45 | boot |
45 | 46 | => bootm 200000 1000000 2000000 |
46 | 47 | |
47 | -1.3 How to load image from ext2 filesystem in U-boot? | |
48 | +1.3 How to load an image from an ext2 file system in U-boot? | |
48 | 49 | |
49 | - U-boot doesn't support ext2 write to hard disk, so | |
50 | - you have to write the image to hard disk under Linux env, | |
51 | - before you load image from ext2 filesystem. | |
50 | + U-boot doesn't support writing to an ext2 file system, so the | |
51 | + files must be written by other means (e.g. linux). | |
52 | 52 | |
53 | 53 | => ext2ls sata 0:1 / |
54 | 54 | <DIR> 4096 . |