All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 1/4] doc/zh_CN: add mips booting.rst translation
@ 2021-01-08 10:02 Yanteng Si
  2021-01-08 10:02 ` [PATCH v4 2/4] doc/zh_CN: add mips index.rst translation Yanteng Si
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Yanteng Si @ 2021-01-08 10:02 UTC (permalink / raw)
  To: Harry Wei
  Cc: Alex Shi, Yanteng Si, Jonathan Corbet, linux-doc, Huacai Chen,
	Jiaxun Yang, Yanteng Si

This patch translates Documentation/mips/booting.rst into Chinese.

Signed-off-by: Yanteng Si <siyanteng@loongson.cn>
---
 .../translations/zh_CN/mips/booting.rst       | 31 +++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 Documentation/translations/zh_CN/mips/booting.rst

diff --git a/Documentation/translations/zh_CN/mips/booting.rst b/Documentation/translations/zh_CN/mips/booting.rst
new file mode 100644
index 000000000000..3099d0fff7a6
--- /dev/null
+++ b/Documentation/translations/zh_CN/mips/booting.rst
@@ -0,0 +1,31 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+.. include:: ../disclaimer-zh_CN.rst
+
+:Original: :ref:`Documentation/mips/booting.rst <booting>`
+:Translator: Yanteng Si <siyanteng@loongson.cn>
+
+.. _cn_booting:
+
+BMIPS设备树引导
+------------------------
+
+  一些bootloaders只支持在内核镜像开始地址处的单一入口点。而其它
+  bootloaders将跳转到ELF的开始地址处。两种方案都支持的;因为
+  CONFIG_BOOT_RAW=y and CONFIG_NO_EXCEPT_FILL=y, 所以第一条指令
+  会立即跳转到kernel_entry()入口处执行。
+
+  与arch/arm情况(b)类似,dt感知的引导加载程序需要设置以下寄存器:
+
+         a0 : 0
+
+         a1 : 0xffffffff
+
+         a2 : RAM中指向设备树块的物理指针(在chapterII中定义)。
+              设备树可以位于前512MB物理地址空间(0x00000000 -
+              0x1fffffff)的任何位置,以64位边界对齐。
+
+  传统bootloaders不会使用这样的约定,并且它们不传入DT块。
+  在这种情况下,Linux将通过选中CONFIG_DT_*查找DTB。
+
+  以上约定只在32位系统中定义,因为目前没有任何64位的BMIPS实现。
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-01-12  8:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-08 10:02 [PATCH v4 1/4] doc/zh_CN: add mips booting.rst translation Yanteng Si
2021-01-08 10:02 ` [PATCH v4 2/4] doc/zh_CN: add mips index.rst translation Yanteng Si
2021-01-09  1:32   ` Huacai Chen
2021-01-08 10:02 ` [PATCH v4 3/4] doc/zh_CN: add mips features.rst translation Yanteng Si
2021-01-08 10:02 ` [PATCH v4 4/4] doc/zh_CN: add mips ingenic-tcu.rst translation Yanteng Si
2021-01-08 11:25   ` Jiaxun Yang
2021-01-09  1:49     ` yanteng si
2021-01-12  7:15       ` Jiaxun Yang
2021-01-12  8:06         ` yanteng si

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.