Commit 5a516748a8e003aa80eab259cbf94026a6e30c93

Authored by Liu Gang
Committed by Andy Fleming
1 parent f64bd7c038

powerpc/doc: Update the README.srio-pcie-boot-corenet

1. Misalignment will be found in the doc/README.srio-pcie-boot-corenet
   file when the tabs are set to 8 characters. And the standard for
   u-boot should be 8 character tabs! So this issue should be amended.

2. Add a NOTE for the ENV parameters of the Slave.

Signed-off-by: Liu Gang <Gang.Liu@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>

Showing 1 changed file with 20 additions and 14 deletions Side-by-side Diff

doc/README.srio-pcie-boot-corenet
... ... @@ -21,13 +21,13 @@
21 21 e) Slave's RCW should configure the SerDes for SRIO or PCIE boot port, set
22 22 the boot location to SRIO or PCIE, and holdoff all the cores.
23 23  
24   - ---------- ----------- -----------
25   - | | | | | |
26   - | | | | | |
  24 + ----------- ----------- -----------
  25 + | | | | | |
  26 + | | | | | |
27 27 | NorFlash|<----->| Master |SRIO or PCIE | Slave |<---->[EEPROM]
28   - | | | |<===========>| |
29   - | | | | | |
30   - ---------- ----------- -----------
  28 + | | | |<===========>| |
  29 + | | | | | |
  30 + ----------- ----------- -----------
31 31  
32 32 The example based on P4080DS platform:
33 33 Two P4080DS platforms can be used to implement the boot from SRIO or PCIE.
34 34  
35 35  
36 36  
37 37  
38 38  
... ... @@ -87,27 +87,33 @@
87 87 Please refer to the examples given above.
88 88  
89 89 2. U-Boot image's compilation.
90   - For master, U-Boot image should be generated normally.
  90 + For master, U-Boot image should be generated normally.
91 91  
92   - For example, master U-Boot image used on P4080DS should be compiled with
  92 + For example, master U-Boot image used on P4080DS should be compiled with
93 93  
94 94 make P4080DS_config.
95 95  
96   - For slave, U-Boot image should be generated specifically by
  96 + For slave, U-Boot image should be generated specifically by
97 97  
98 98 make xxxx_SRIO_PCIE_BOOT_config.
99 99  
100   - For example, slave U-Boot image used on P4080DS should be compiled with
  100 + For example, slave U-Boot image used on P4080DS should be compiled with
101 101  
102 102 make P4080DS_SRIO_PCIE_BOOT_config.
103 103  
104 104 3. Necessary modifications based on a specific environment.
105   - For a specific environment, the addresses of the slave's U-Boot image,
106   - UCode, ENV stored in master's NorFlash, and any other configurations
107   - can be modified in the file:
108   - include/configs/corenet_ds.h.
  105 + For a specific environment, the addresses of the slave's U-Boot image,
  106 + UCode, ENV stored in master's NorFlash, and any other configurations
  107 + can be modified in the file:
  108 + include/configs/corenet_ds.h.
109 109  
110 110 4. Set and save the environment variable "bootmaster" with "SRIO1", "SRIO2"
111 111 or "PCIE1", "PCIE2", "PCIE3" for master, and then restart it in order to
112 112 perform the role as a master for boot from SRIO or PCIE.
  113 +
  114 +NOTE: When the Slave's ENV parameters are stored in Master's NorFlash,
  115 + it can fetch them through PCIE or SRIO interface. But the ENV
  116 + parameters can not be modified by "saveenv" or other commands under
  117 + the Slave's u-boot environment, because the Slave can not erase,
  118 + write Master's NorFlash by PCIE or SRIO link.