Documentation/translations/zh_CN/arch/arm64/booting.txt

Source file repositories/reference/linux-study-clean/Documentation/translations/zh_CN/arch/arm64/booting.txt

File Facts

System
Linux kernel
Corpus path
Documentation/translations/zh_CN/arch/arm64/booting.txt
Extension
.txt
Size
10936 bytes
Lines
247
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: documentation
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

Chinese translated version of Documentation/arch/arm64/booting.rst

If you have any comment or update to the content, please contact the
original document maintainer directly.  However, if you have a problem
communicating in English you can also ask the Chinese maintainer for
help.  Contact the Chinese maintainer if this translation is outdated
or if there is a problem with the translation.

M:	Will Deacon <will.deacon@arm.com>
zh_CN:	Fu Wei <wefu@redhat.com>
C:	55f058e7574c3615dea4615573a19bdb258696c6
---------------------------------------------------------------------
Documentation/arch/arm64/booting.rst 的中文翻译

如果想评论或更新本文的内容,请直接联系原文档的维护者。如果你使用英文
交流有困难的话,也可以向中文版维护者求助。如果本翻译更新不及时或者翻
译存在问题,请联系中文版维护者。

英文版维护者: Will Deacon <will.deacon@arm.com>
中文版维护者: 傅炜  Fu Wei <wefu@redhat.com>
中文版翻译者: 傅炜  Fu Wei <wefu@redhat.com>
中文版校译者: 傅炜  Fu Wei <wefu@redhat.com>
本文翻译提交时的 Git 检出点为: 55f058e7574c3615dea4615573a19bdb258696c6

以下为正文
---------------------------------------------------------------------
			启动 AArch64 Linux
			==================

作者: Will Deacon <will.deacon@arm.com>
日期: 2012 年 09 月 07 日

本文档基于 Russell King 的 ARM 启动文档,且适用于所有公开发布的
AArch64 Linux 内核代码。

AArch64 异常模型由多个异常级(EL0 - EL3)组成,对于 EL0 和 EL1 异常级
有对应的安全和非安全模式。EL2 是系统管理级,且仅存在于非安全模式下。
EL3 是最高特权级,且仅存在于安全模式下。

基于本文档的目的,我们将简单地使用‘引导装载程序’(‘boot loader’)
这个术语来定义在将控制权交给 Linux 内核前 CPU 上执行的所有软件。
这可能包含安全监控和系统管理代码,或者它可能只是一些用于准备最小启动
环境的指令。

基本上,引导装载程序(至少)应实现以下操作:

1、设置和初始化 RAM
2、设置设备树数据
3、解压内核映像
4、调用内核映像


1、设置和初始化 RAM
-----------------

必要性: 强制

引导装载程序应该找到并初始化系统中所有内核用于保持系统变量数据的 RAM。
这个操作的执行方式因设备而异。(它可能使用内部算法来自动定位和计算所有
RAM,或可能使用对这个设备已知的 RAM 信息,还可能是引导装载程序设计者
想到的任何合适的方法。)


2、设置设备树数据
---------------

必要性: 强制

设备树数据块(dtb)必须 8 字节对齐,且大小不能超过 2MB。由于设备树
数据块将在使能缓存的情况下以 2MB 粒度被映射,故其不能被置于必须以特定

Annotation

Implementation Notes