Documentation/translations/zh_CN/arch/arm/Booting

Source file repositories/reference/linux-study-clean/Documentation/translations/zh_CN/arch/arm/Booting

File Facts

System
Linux kernel
Corpus path
Documentation/translations/zh_CN/arch/arm/Booting
Extension
[no extension]
Size
7077 bytes
Lines
176
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/arm/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.

Maintainer: Russell King <linux@arm.linux.org.uk>
Chinese maintainer: Fu Wei <tekkamanninja@gmail.com>
---------------------------------------------------------------------
Documentation/arch/arm/booting.rst 的中文翻译

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

英文版维护者: Russell King <linux@arm.linux.org.uk>
中文版维护者: 傅炜  Fu Wei <tekkamanninja@gmail.com>
中文版翻译者: 傅炜  Fu Wei <tekkamanninja@gmail.com>
中文版校译者: 傅炜  Fu Wei <tekkamanninja@gmail.com>

以下为正文
---------------------------------------------------------------------

			启动 ARM Linux
			==============

作者:Russell King
日期:2002年5月18日

以下文档适用于 2.4.18-rmk6 及以上版本。

为了启动 ARM Linux,你需要一个引导装载程序(boot loader),
它是一个在主内核启动前运行的一个小程序。引导装载程序需要初始化各种
设备,并最终调用 Linux 内核,将信息传递给内核。

从本质上讲,引导装载程序应提供(至少)以下功能:

1、设置和初始化 RAM。
2、初始化一个串口。
3、检测机器的类型(machine type)。
4、设置内核标签列表(tagged list)。
5、调用内核映像。


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

现有的引导加载程序:		强制
新开发的引导加载程序:		强制

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


2、初始化一个串口
-----------------------------

现有的引导加载程序:		可选、建议
新开发的引导加载程序:		可选、建议

引导加载程序应该初始化并使能一个目标板上的串口。这允许内核串口驱动
自动检测哪个串口用于内核控制台。(一般用于调试或与目标板通信。)

作为替代方案,引导加载程序也可以通过标签列表传递相关的'console='
选项给内核以指定某个串口,而串口数据格式的选项在以下文档中描述:

Annotation

Implementation Notes