1Chinese translated version of Documentation/arm64/booting.txt 2 3If you have any comment or update to the content, please contact the 4original document maintainer directly. However, if you have a problem 5communicating in English you can also ask the Chinese maintainer for 6help. Contact the Chinese maintainer if this translation is outdated 7or if there is a problem with the translation. 8 9Maintainer: Will Deacon <will.deacon@arm.com> 10Chinese maintainer: Fu Wei <wefu@redhat.com> 11--------------------------------------------------------------------- 12Documentation/arm64/booting.txt ��������������� 13 14������������������������������������������������������������������������������������������������������ 15������������������������������������������������������������������������������������������������������ 16������������������������������������������������ 17 18������������������������ Git ��������������� bc465aa9d045feb0e13b4a8f32cc33c1943f62d6 19 20��������������������� Will Deacon <will.deacon@arm.com> 21��������������������� ������ Fu Wei <wefu@redhat.com> 22��������������������� ������ Fu Wei <wefu@redhat.com> 23��������������������� ������ Fu Wei <wefu@redhat.com> 24 25��������������� 26--------------------------------------------------------------------- 27 ������ AArch64 Linux 28 ================== 29 30������: Will Deacon <will.deacon@arm.com> 31������: 2012 ��� 09 ��� 07 ��� 32 33��������������� Russell King ��� ARM ������������������������������������������������ 34AArch64 Linux ��������������� 35 36AArch64 ������������������������������������EL0 - EL3������������������ EL0 ��� EL1 37������������������������������������������������EL2 ������������������������������������ 38���������������������EL3 ������������������������������������������������������ 39 40���������������������������������������������������������������������������������boot loader������ 41������������������������������������������ Linux ��������� CPU ��������������������������� 42������������������������������������������������������������������������������������������������������ 43������������������ 44 45������������������������������������������������������������������ 46 471��������������������� RAM 482������������������������ 493��������������������� 504��������������������� 51 52 531��������������������� RAM 54----------------- 55 56���������: ������ 57 58������������������������������������������������������������������������������������������������ RAM��� 59������������������������������������������������������������������������������������������������������ 60RAM������������������������������������������ RAM ������������������������������������������������ 61������������������������������������ 62 63 642������������������������ 65--------------- 66 67���������: ������ 68 69���������������������dtb��������� 8 ������������������������������������������������������������ 512MB 70��������������������� 2MB ��������������������������������������������������������������������������������� 71��������������������� 72 73 743��������������������� 75------------- 76 77���������: ������ 78 79AArch64 ��������������������������������������������������������������������������������������� 80��������� Image.gz������������������������������������������������ gzip ������������������������ 81������������������������������������������������������������������������������������������ 82 83 844��������������������� 85------------- 86 87���������: ������ 88 89������������������������������������ 64 ������������������������������ 90 91 u32 code0; /* ��������������� */ 92 u32 code1; /* ��������������� */ 93 u64 text_offset; /* ��������������������������������� */ 94 u64 image_size; /* ������������������, ������������ */ 95 u64 flags; /* ������������, ������������ * 96 u64 res2 = 0; /* ������ */ 97 u64 res3 = 0; /* ������ */ 98 u64 res4 = 0; /* ������ */ 99 u32 magic = 0x644d5241; /* ������, ������, "ARM\x64" */ 100 u32 res5; /* ������ ��������� PE COFF ��������� */ 101 102 103������������������ 104 105- ��� v3.17 ��������������������������������������������������������� 106 107- code0/code1 ��������������� stext. 108 109- ��������� EFI ������������ ������ code0/code1 ������������ 110 res5 ������ PE ������������������������ PE ��������������� EFI ������������������ ���efi_stub_entry������ 111 ��� stub ��������������������������������������������� code0 ������������������������������ 112 113- v3.17 ������������������������ text_offset ������������������������image_size ��������� 114 ��� text_offset ������������������������ 0x80000��� 115 ��� image_size ���������text_offset ������������������������������������������������������������������ 116 ��� image_size ���������text_offset ������������ 0x80000��� 117 118- flags ��� (v3.17 ������) ��� 64 ������������������������������������ 119 ��� 0: ������������������ 1 ���������������������0 ��������������������� 120 ��� 1-63: ��������� 121 122- ��� image_size ������������������������������������������������������������������������������������������������������ 123 ������������������������������������������������������������������������������������, ��������������������� 124 125��������������������������������������������������������������� 2MB ������������������ text_offset ������������������������������������ 126������������ Linux ��������������������������������������������������������������������������������������������������������������������� 127������������������������������������������������������������ image_size ������������������ 128 129������������������������������������������ 2MB ��������������������������������������������������������������� 130(������������������dtb������ memreserve ������������������������������������������������ 131 132��������������������������������������������������� 133 134- ������������ DMA ��������������������������������������������������������������������������� 135 ������������������������������������������������������������ 136 137- ��� CPU ��������������������� 138 x0 = ������ RAM ������������������������dtb��������������������� 139 x1 = 0 (���������������������������) 140 x2 = 0 (���������������������������) 141 x3 = 0 (���������������������������) 142 143- CPU ������ 144 ������������������������������ PSTATE.DAIF ���������������Debug���SError���IRQ 145 ��� FIQ������ 146 CPU ������������ EL2��������������������������������������������������� EL1 ������������ 147 148- ���������������MMU 149 MMU ��������������� 150 ��������������������������������������� 151 ������������������������������������������������������������������������������������������PoC������ 152 ������������������������������������������������������������������������������������������������������������������������ set/way ��������� 153 ������������������������������������������������������������������������������������������������������ 154 ������������������������������������������������������������������������������������������������������������ 155 156 *������������������ PoC ������������������������������������ ARMv8 ������������������ ARM DDI 0487A 157 158- ��������������� 159 CNTFRQ ��������������������������������������� CNTVOFF ������������������������ CPU 160 ��������������������������� EL1 ��������������������������� CNTHCTL_EL2 ������ 161 EL1PCTEN (bit 0) ��������������� 162 163- ��������� 164 ��������������������������� CPU ��������������������������������������������������������������� 165 ������������������������������������������������������������������������CPU��������������������� 166 ��������� 167 168- ��������������� 169 ������������������������������������������������������������������������������������������������ 170 ��������������������������������������������������������� ������ ������������������ 171 172 ������������ GICv3 ��������������������������� 173 - ������������ EL3 ��� 174 ICC_SRE_EL3.Enable (��� 3) ������������������ 0b1��� 175 ICC_SRE_EL3.SRE (��� 0) ������������������ 0b1��� 176 - ������������������ EL1��� 177 ICC_SRE_EL2.Enable (��� 3) ������������������ 0b1��� 178 ICC_SRE_EL2.SRE (��� 0) ������������������ 0b1��� 179 180������������ CPU ������������������������MMU��������������������������������������������������� 181��������������������������������� CPU��������� CPU ������������������������������������������ 182 183��������������������������������� CPU ������������������������������������������ 184 185- ��� CPU ������������������������������������������������������������ CPU ������������������ 186 ������������������������ CPU ��������������������� ���enable-method��� ������������ 187 ��������� enable-method ��������������� 188 189 ������������������������������������������������������������������������������������������������ 190 ������������ 191 192- enable-method ��� ���spin-table��� ��� CPU ������������������ CPU 193 ��������������������� ���cpu-release-addr��� ������������������������������������ 194 64 ��������������������������������������������������� 195 196 ������ CPU ������������������������������������������������ /memreserve/ ��������� 197 ������������������������������������������������������ cpu-release-addr ��������������� 198 ������������������������������������������ wfe ��������������������������������������� CPU ��� 199 ������ sev ��������������� cpu-release-addr ������������������������������������������ 200 ������CPU ��������������������������������������������������������������� 64 ��������������� 201 ������ CPU ������������������������������������������������������������������ 202 203- enable-method ��� ���psci��� ��� CPU ��������������������������������� 204 memory ��������������������������������������������������������������������� /memreserve/ 205 ��������������������������������������������������������������������� ARM ��������������� 206 ARM DEN 0022A��������� ARM ��������������������������������������������������������� 207 CPU_ON ������������ CPU ��������������� 208 209 *���������: ARM DEN 0022A ������������ ARM DEN 0022C��� 210 211 ��������������������������� ���psci��� ��������������������������������� 212 Documentation/devicetree/bindings/arm/psci.txt 213 214 215- ������ CPU ��������������������� 216 x0 = 0 (���������������������������) 217 x1 = 0 (���������������������������) 218 x2 = 0 (���������������������������) 219 x3 = 0 (���������������������������) 220