天天看点

U-Boot-2011.06的README翻译

U-Boot-2011.06的README翻译

翻译不准确的地方请指正。共同学习,一起进步。

#

# (C) Copyright 2000 - 2011

# Wolfgang Denk, DENX Software Engineering, [email protected].

#

# See file CREDITS for list of people who contributed to this project.

# 可以查看CREDITS文件来了解对本项目作出过贡献的人们

#

# This program is free software; you can redistribute it and/or

# modify it under the terms of the GNU General Public License as

# published by the Free Software Foundation; either version 2 of

# the License, or (at your option) any later version.

# 本程序是自由软件;你可以在遵守自由软件基金会发布的GNU GPL v2及其后

# 版本的条款下发布或修改它;

#

# This program is distributed in the hope that it will be useful,

# but WITHOUT ANY WARRANTY; without even the implied warranty of

# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

# GNU General Public License for more details.

# 本程序发布后希望是有用的,但是没有任何保证,甚至没有隐含的对适销性或针

# 对特定用途的适用性的保证。更多详细信息参见GNU GPL。

# You should have received a copy of the GNU General Public License

# along with this program; if not, write to the Free Software

# Foundation, Inc., 59 Temple Place, Suite 330, Boston,

# MA 02111-1307 USA

#你应该在本程序中同时收到一份GNU GPL许可证,如果没有的话,请向自由软件基金会写信。

#

Summary:

概述:

========

This directory contains the source code for U-Boot, a boot loader for Embedded boards based on PowerPC, ARM, MIPS and several other processors, which can be installed in a boot ROM and used to initialize and test the hardware or to download and run application code.

 这个目录包含的是U-Boot的源代码,U-Boot是一个用于基于PowerPC,ARM,MIPS和一些其他处理器的嵌入式开发板的bootloader。U-Boot可被安装到启动ROM中,用于初始化和测试硬件,或者是下载并运行应用程序代码。

The development of U-Boot is closely related to Linux: some parts of the source code originate in the Linux source tree, we have some header files in common, and special provision has been made to support booting of Linux images.

U-Boot的发展与linux联系紧密:源代码的一些部分源自于linux源码树,还有一些头文件是和Linux共有的,为支持启动Linux镜像,还做了一些特殊的规定。

Some attention has been paid to make this software easily configurable and extendable. For instance, all monitor commands are implemented with the same call interface, so that it's very easy to add new commands. Also, instead of permanently adding rarely used code (for instance hardware test utilities) to the monitor, you can load and run it dynamically.

 为使这个软件变得更容易配置和扩展,我们已经注意了一些事项。比如,所有的U-Boot命令都以相同的调用接口实现,所以添加新的命令变得非常简单。此外,对于那些不常用的代码(例如硬件测试程序),你可以动态地加载和运行,而不是将它们永久地添加到U-Boot中。

Status:

状态:

=======

In general, all boards for which a configuration option exists in the Makefile have been tested to some extent and can be considered "working". In fact, many of them are used in production systems.

一般来说,所有存在配置选项的开发板都已经做过一定范围的测试,并且可以认为是能够正常工作的,事实上,它们很多都用于实际的产品中。

In case of problems see the CHANGELOG and CREDITS files to find out who contributed the specific port. The MAINTAINERS file lists board maintainers.

如果出现了问题,可以查看CHANGELOG和CREDITS文件以找出是谁负责这个移植。MAINTAINERS文件列出了每个开发板的维护者。

Where to get help:

从哪里获得帮助:

==================

In case you have questions about, problems with or contributions for U-Boot you should send a message to the U-Boot mailing list at <[email protected]>. There is also an archive of previous traffic on the mailing list - please search the archive before asking FAQ's. Please see http://lists.denx.de/pipermail/u-boot and http://dir.gmane.org/gmane.comp.boot-loaders.u-boot

如果你有问题或者是要向U-Boot贡献代码,你应该向U-Boot的邮件列表发送一个邮件,邮件列表的地址为<[email protected]>。邮件列表中有一个以前问题的归档,在你提问之前应该先搜索一下这个归档。请看http://lists.denx.de/pipermail/u-boot和http://dir.gmane.org/gmane.comp.boot-loaders.u-boot

Where to get source code:

从哪里获得源代码:

=========================

The U-Boot source code is maintained in the git repository at git://www.denx.de/git/u-boot.git ; you can browse it online at http://www.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=summary

U-Boot的源代码在git库中维护,地址在git://www.denx.de/git/u-boot.git,你可以在http://www.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=summary上在线浏览源代码。

The "snapshot" links on this page allow you to download tarballs of any version you might be interested in. Official releases are also available for FTP download from the ftp://ftp.denx.de/pub/u-boot/ directory.

你可以使用该页上的"snapshot" (快照)链接来下载你感兴趣的任何版本的tar包,官方的发布版本也可通过FTP来下载,地址为ftp://ftp.denx.de/pub/u-boot/ directory。

Pre-built (and tested) images are available from ftp://ftp.denx.de/pub/u-boot/images/

预先编译和测试好的镜像ftp://ftp.denx.de/pub/u-boot/images/。

Where we come from:

我们来自哪里:

===================

- start from 8xxrom sources

- create PPCBoot project (http://sourceforge.net/projects/ppcboot)

- clean up code

- make it easier to add custom boards

- make it possible to add other [PowerPC] CPUs

- extend functions, especially:

  * Provide extended interface to Linux boot loader

  * S-Record download

  * network boot

  * PCMCIA / CompactFlash / ATA disk / SCSI ... boot

- create ARMBoot project (http://sourceforge.net/projects/armboot)

- add other CPU families (starting with ARM)

- create U-Boot project (http://sourceforge.net/projects/u-boot)

- current project page: see http://www.denx.de/wiki/U-Boot

- 起源于8xxrom项目

- 创建了PPCBoot项目(http://sourceforge.net/projects/ppcboot)

- 清理代码

- 使其更容易添加自定义开发板

- 使添加其他CPU[PowerPC]成为可能

- 扩展功能,尤其是

  * 为linux boot loader提供了扩展接口

  * S-Record下载

  * 网络启动

  * CMCIA / CompactFlash / ATA disk / SCSI ... 启动

- 创建了ARMBoot项目 (http://sourceforge.net/projects/armboot)

- 添加了其他CPU(从ARM开始)

- 创建了U-Boot项目(http://sourceforge.net/projects/u-boot)

- 当前项目主页:http://www.denx.de/wiki/U-Boot

Names and Spelling:

命名和拼写:

===================

The "official" name of this project is "Das U-Boot". The spelling "U-Boot" shall be used in all written text (documentation, comments in source files etc.). Example:

这个项目的官方命名是"Das U-Boot",在所有的文本书写中应使用"U-Boot"这个拼写,如:

 This is the README file for the U-Boot project.

 这是U-Boot项目的README文件

File names etc. shall be based on the string "u-boot". Examples:

文件名等应该使用字符串"u-boot",比如

 include/asm-ppc/u-boot.h

 #include <asm/u-boot.h>

Variable names, preprocessor constants etc. shall be either based on the string "u_boot" or on "U_BOOT". Example:

变量名、预处理常数等应使用基于"u_boot"或"U_BOOT"的名字,如:

 U_BOOT_VERSION  u_boot_logo

 IH_OS_U_BOOT  u_boot_hush_start

Versioning:

版本:

===========

Starting with the release in October 2008, the names of the releases were changed from numerical release numbers without deeper meaning into a time stamp based numbering. Regular releases are identified by names consisting of the calendar year and month of the release date. Additional fields (if present) indicate release candidates or bug fix releases in "stable" maintenance trees.

从2008年10月开始,发行版名字中的版本号由原来用数值表示改为用时间表示,原来用数值表示的版本号没有更深程度的含义,用时间表示的版本号由两部分组成,分别是发行时的年和月。附加的字段(如果出现了的话)指示备选的发行版或者是在稳定版中修复bug后的发行版。

Examples:

 U-Boot v2009.11     - Release November 2009

 U-Boot v2009.11.1   - Release 1 in version November 2009 stable tree

 U-Boot v2010.09-rc1 - Release candiate 1 for September 2010 release

 U-Boot v2009.11     - 2009年11月的发行版

 U-Boot v2009.11.1   - 2009年11月的稳定版基础上修改后的第一个发行版

 U-Boot v2010.09-rc1 - 2010年9月的候选发行版1

Directory Hierarchy:

目录层次:

==================== 

/arch   Architecture specific files                                            体系结构专有文件

    /arm   Files generic to ARM architecture                          ARM体系的文件

        /cpu  CPU specific files                                                   CPU专有文件

            /arm720t  Files specific to ARM 720 CPUs             ARM720t专有文件

            /arm920t  Files specific to ARM 920 CPUs             ARM920t专有文件

            /s3c24x0 Files specific to Samsung S3C24X0 CPUs     三星S3C24X0 CPU专有文件

            ……

        /lib  Architecture specific library files                             体系结构专有库文件

    /avr32  Files generic to AVR32 architecture

        /cpu  CPU specific files

        /lib  Architecture specific library files

    ……

/api   Machine/arch independent API for external apps      外部程序使用的与体系无关的API

/board   Board dependent files                                               开发板相关文件

/common   Misc architecture independent functions          各种体系无关的功能

/disk   Code for disk drive partition handling                        磁盘分区处理的代码

/doc   Documentation (don't expect too much)                     文档(不要希望太多)

/drivers  Commonly used device drivers                               常用的设备驱动

/examples  Example code for standalone applications, etc.   独立应用的示例代码

/fs   Filesystem code (cramfs, ext2, jffs2, etc.)                      文件系统代码

/include  Header Files                                                               头文件

/lib   Files generic to all architectures                                     所有体系共有的文件

    /libfdt  Library files to support flattened device trees       支持flattened设备树的库

    /lzma   Library files to support LZMA decompression     支持LAMA解压的库

    /lzo   Library files to support LZO decompression           支持LZO解压的库

/net   Networking code                                                               网络代码

/post   Power On Self Test                                                        开机自检

/rtc   Real Time Clock drivers                                                   实时时钟驱动

/tools   Tools to build S-Record or U-Boot images, etc.     创建S-Record和U-Boot镜像的工具

Software Configuration:

软件配置:

=======================

Configuration is usually done using C preprocessor defines; the rationale behind that is to avoid dead code whenever possible.

配置通常使用C预处理器的宏定义;这样做的合理性在于可以避免任何可能的死代码。

There are two classes of configuration variables:

有两种类型的可配置变量:

* Configuration _OPTIONS_:

  These are selectable by the user and have names beginning with  "CONFIG_".

  这些配置是用户可选的,以"CONFIG_"开头命名

* Configuration _SETTINGS_:

  These depend on the hardware etc. and should not be meddled with if you don't know what you're doing; they have names beginning with "CONFIG_SYS_".

  这些配置依赖于硬件等,如果你不知道你在做什么的话,请不要干预,这些配置以"CONFIG_SYS_"开头。

Later we will add a configuration tool - probably similar to or even identical to what's used for the Linux kernel. Right now, we have to do the configuration by hand, which means creating some symbolic links and editing some configuration files. We use the TQM8xxL boards as an example here.

以后我们会添加一个配置工具 - 可能和Linux内核使用的类似甚至完全相同。但是目前我们还必须手工配置,这意味着需要创建一些符号链接并且编写一些配置文件。我们这里使用TQM8xxL开发板作为示例。

配置太多了,这里有选择地忽略了一部分内容。

Selection of Processor Architecture and Board Type:

选择处理器体系结构和开发板类型:

---------------------------------------------------

For all supported boards there are ready-to-use default configurations available; just type "make <board_name>_config".

对于支持的所有开发板,都有一个现成可用的默认配置,仅需要输入"make <开发板名字>_config"即可:

Example: For a TQM823L module type:

例如:对于TQM823L:

 cd u-boot

 make TQM823L_config

For the Cogent platform, you need to specify the CPU type as well; e.g. "make cogent_mpc8xx_config". And also configure the cogent directory according to the instructions in cogent/README.

对于Cogent平台,你需要指定CPU类型,例如"make cogent_mpc8xx_config"。此外,还需要按照cogent/README的说明配置cogent目录。

Configuration Options:

配置选项:

----------------------

Configuration depends on the combination of board and CPU type; all such information is kept in a configuration file "include/configs/<board_name>.h".

配置选项依赖于开发板和CPU的组合,所有的这些信息保存在配置文件"include/configs/<开发板名字>.h"中。

Example: For a TQM823L module, all configuration settings are in "include/configs/TQM823L.h".

例如:TQM823L的所有配置的设置在"include/configs/TQM823L.h"中。

Many of the options are named exactly as the corresponding Linux kernel configuration options. The intention is to make it easier to build a config tool - later.

许多选项和对应的Linux内核的配置选择命名完全相同,目的是在使以后建立配置工具更简单。

The following options need to be configured:

一下选项需要配置:

- CPU Type: Define exactly one, e.g. CONFIG_MPC85XX.

- CPU类型:只能定义一个,比如CONFIG_MPC85XX.

- Board Type: Define exactly one, e.g. CONFIG_MPC8540ADS.

- 开发板类型:只能定义一个,比如CONFIG_MPC8540ADS.

- CPU Daughterboard Type: (if CONFIG_ATSTK1000 is defined)

 Define exactly one, e.g. CONFIG_ATSTK1002

- CPU子板类型:(如果定义了ONFIG_ATSTK1000)只能定义一个,例如CONFIG_ATSTK1002

- CPU Module Type: (if CONFIG_COGENT is defined)

  Define exactly one of

  CONFIG_CMA286_60_OLD

--- FIXME --- not tested yet:

  CONFIG_CMA286_60, CONFIG_CMA286_21, CONFIG_CMA286_60P,

  CONFIG_CMA287_23, CONFIG_CMA287_50

- CPU组件类型:(如果定义了CONFIG_COGENT)只能定义以下配置中的一个

  CONFIG_CMA286_60_OLD

--- 需要整理 --- 尚未测试:

  CONFIG_CMA286_60, CONFIG_CMA286_21, CONFIG_CMA286_60P,

  CONFIG_CMA287_23, CONFIG_CMA287_50

- Motherboard Type: (if CONFIG_COGENT is defined)

  Define exactly one of

  CONFIG_CMA101, CONFIG_CMA102

- 母板类型:(如果定义了CONFIG_COGENT)

  只能定义以下配置之一

  CONFIG_CMA101, CONFIG_CMA102

……

- Linux Kernel Interface:

- Linux内核接口

  CONFIG_CLOCKS_IN_MHZ

  U-Boot stores all clock information in Hz internally. For binary compatibility with older Linux kernels (which expect the clocks passed in the bd_info data to be in MHz) the environment variable "clocks_in_mhz" can be defined so that U-Boot converts clock data to MHZ before passing it to the Linux kernel. When CONFIG_CLOCKS_IN_MHZ is defined, a definition of  "clocks_in_mhz=1" is automatically included in the default environment.

  U-Boot内部使用Hz来存储所有的时钟信息。为了与旧内核(旧内核使用MHZ)的二进制兼容,应该定义环境变量"clocks_in_mhz"以使U-Boot在将时钟数据传递给Linux内核内核前将其转换为MHZ。如果定义了CONFIG_CLOCKS_IN_MHZ,则"clocks_in_mhz=1"的定义会自动包含到默认的环境变量中。

  CONFIG_MEMSIZE_IN_BYTES  [relevant for MIPS only]

  When transferring memsize parameter to linux, some versions expect it to be in bytes, others in MB. Define CONFIG_MEMSIZE_IN_BYTES to make it in bytes.

  仅和MIPS相关。当传递内存大小参数给内核时,一些版本以字节为单位,另一些以MB为单位。定义CONFIG_MEMSIZE_IN_BYTES将以字节为单位。

  CONFIG_OF_LIBFDT

  New kernel versions are expecting firmware settings to be passed using flattened device trees (based on open firmware concepts).

  新的内核版本要求用flattened设备树传递固件设置(基于开放固件思想?)

  CONFIG_OF_LIBFDT

   * New libfdt-based support

   * Adds the "fdt" command

   * The bootm command automatically updates the fdt

  OF_CPU - The proper name of the cpus node (only required for

   MPC512X and MPC5xxx based boards).

  OF_SOC - The proper name of the soc node (only required for

   MPC512X and MPC5xxx based boards).

  OF_TBCLK - The timebase frequency.

  OF_STDOUT_PATH - The path to the console device

  boards with QUICC Engines require OF_QE to set UCC MAC

  addresses

  CONFIG_OF_BOARD_SETUP

  Board code has addition modification that it wants to make to the flat device tree before handing it off to the kernel

  CONFIG_OF_BOOT_CPU

  This define fills in the correct boot CPU in the boot param header, the default value is zero if undefined.

  这个定义在启动参数头中填充正确的启动CPU,如果没有定义,默认值将是0

  CONFIG_OF_IDE_FIXUP

  U-Boot can detect if an IDE device is present or not. If not, and this new config option is activated, U-Boot removes the ATA node from the DTS before booting Linux, so the Linux IDE driver does not probe the device and crash. This is needed for buggy hardware (uc101) where no pull down resistor is connected to the signal IDE5V_DD7.

  U-Boot会检测是否存在IDE设备,如果不存在,并且激活了这个选项,那么U-Boot将在启动Linux前从DTS中删除ATA结点,因此,Linux的IDE驱动不会探测IDE设备并崩溃。这个选项用于那些有bug的硬件(uc101),这些硬件没有下拉电阻连接到IDE5V_DD7。

- vxWorks boot parameters:

- vxWorks启动参数:

 ……

- Serial Ports:

- 串口:

 ……

- Console Interface:

- 控制台接口:

- Console Baudrate:

- 控制台波特率:

  CONFIG_BAUDRATE - in bps                                                     单位bps

  Select one of the baudrates listed in                                            从下面定义的波特率列表中选择一个

  CONFIG_SYS_BAUDRATE_TABLE, see below.

  CONFIG_SYS_BRGCLK_PRESCALE, baudrate prescale

- Console Rx buffer length

- 控制台接收缓冲长度

  仅82xx and 8xx可能使用。

 ……

- Boot Delay: CONFIG_BOOTDELAY - in seconds

  Delay before automatically booting the default image;set to -1 to disable autoboot.

  在自动启动默认镜像前的延时,单位是秒,设为-1可禁用自动启动

  See doc/README.autoboot for these options that work with CONFIG_BOOTDELAY. None are required.

  阅读doc/README.autoboot可以了解下面这些同CONFIG_BOOTDELAY一起工作的选项。它们都不是必须的。

  CONFIG_BOOT_RETRY_TIME

  CONFIG_BOOT_RETRY_MIN

  CONFIG_AUTOBOOT_KEYED

  CONFIG_AUTOBOOT_PROMPT

  CONFIG_AUTOBOOT_DELAY_STR

  CONFIG_AUTOBOOT_STOP_STR

  CONFIG_AUTOBOOT_DELAY_STR2

  CONFIG_AUTOBOOT_STOP_STR2

  CONFIG_ZERO_BOOTDELAY_CHECK

  CONFIG_RESET_TO_RETRY

- Autoboot Command:

  CONFIG_BOOTCOMMAND

  Only needed when CONFIG_BOOTDELAY is enabled; define a command string that is automatically executed when no character is read on the console interface within "Boot Delay" after reset.

  仅CONFIG_BOOTDELAY使能时需要,定义一个命令字符串,如果复位后在Boot Dealy时间内没有从控制台读入任何字符,则自动执行该字符串定义的命令。

  CONFIG_BOOTARGS

  This can be used to pass arguments to the bootm command. The value of CONFIG_BOOTARGS goes into the environment value "bootargs".

  用于向bootm命令传递参数。CONFIG_BOOTARGS的值将会加入环境变量"bootargs"中

  CONFIG_RAMBOOT and CONFIG_NFSBOOT

  The value of these goes into the environment as "ramboot" and "nfsboot" respectively, and can be used as a convenience, when switching between booting from RAM and NFS.

  它们的值将分别加入环境变量"ramboot"和"nfsboot"中,可为从RAM或NFS启动切换提供方便

- Pre-Boot Commands:

- 预启动命令:

……

- Serial Download Echo Mode:

- 串口下载回显模式:

  CONFIG_LOADS_ECHO

  If defined to 1, all characters received during a serial download (using the "loads" command) are echoed back. This might be needed by some terminal emulations (like "cu"), but may as well just take time on others. This setting #define's the initial value of the "loads_echo" environment variable.

  如果定义为1,所有通过串口下载(使用loads命令)接收的字符会回显。这可能被某些终端模拟器(比如cu)需要。

……

- Monitor Functions:

- U-Boot功能:

  Monitor commands can be included or excluded from the build by using the #include files "config_cmd_all.h" and #undef'ing unwanted commands, or using "config_cmd_default.h"  and augmenting with additional #define's for wanted commands.

  U-Boot命令可以包含或排除在生成中,可以使用#include "config_cmd_all.h"并用#undef排除不需要的命令的方式,也可以使用include "config_cmd_default.h"并用define添加需要命令的方式。

  The default command configuration includes all commands except those marked below with a "*".

  默认命令包含如下除标以*的所有命令。

  CONFIG_CMD_ASKENV * ask for env variable

  CONFIG_CMD_BDI    bdinfo

  CONFIG_CMD_BEDBUG * Include BedBug Debugger

  CONFIG_CMD_BMP  * BMP support

  CONFIG_CMD_BSP  * Board specific commands

  CONFIG_CMD_BOOTD   bootd

  CONFIG_CMD_CACHE * icache, dcache

  CONFIG_CMD_CONSOLE   coninfo

  CONFIG_CMD_CRC32 * crc32

  CONFIG_CMD_DATE  * support for RTC, date/time...

  CONFIG_CMD_DHCP  * DHCP support

  CONFIG_CMD_DIAG  * Diagnostics

  CONFIG_CMD_DS4510 * ds4510 I2C gpio commands

  CONFIG_CMD_DS4510_INFO * ds4510 I2C info command

  CONFIG_CMD_DS4510_MEM * ds4510 I2C eeprom/sram commansd

  CONFIG_CMD_DS4510_RST * ds4510 I2C rst command

  CONFIG_CMD_DTT  * Digital Therm and Thermostat

  CONFIG_CMD_ECHO    echo arguments

  CONFIG_CMD_EDITENV   edit env variable

  CONFIG_CMD_EEPROM * EEPROM read/write support

  CONFIG_CMD_ELF  * bootelf, bootvx

  CONFIG_CMD_EXPORTENV * export the environment

  CONFIG_CMD_SAVEENV   saveenv

  CONFIG_CMD_FDC  * Floppy Disk Support

  CONFIG_CMD_FAT  * FAT partition support

  CONFIG_CMD_FDOS  * Dos diskette Support

  CONFIG_CMD_FLASH   flinfo, erase, protect

  CONFIG_CMD_FPGA    FPGA device initialization support

  CONFIG_CMD_GO  * the 'go' command (exec code)

  CONFIG_CMD_GREPENV * search environment

  CONFIG_CMD_HWFLOW * RTS/CTS hw flow control

  CONFIG_CMD_I2C  * I2C serial bus support

  CONFIG_CMD_IDE  * IDE harddisk support

  CONFIG_CMD_IMI    iminfo

  CONFIG_CMD_IMLS    List all found images

  CONFIG_CMD_IMMAP * IMMR dump support

  CONFIG_CMD_IMPORTENV * import an environment

  CONFIG_CMD_IRQ  * irqinfo

  CONFIG_CMD_ITEST   Integer/string test of 2 values

  CONFIG_CMD_JFFS2 * JFFS2 Support

  CONFIG_CMD_KGDB  * kgdb

  CONFIG_CMD_LDRINFO   ldrinfo (display Blackfin loader)

  CONFIG_CMD_LOADB   loadb

  CONFIG_CMD_LOADS   loads

  CONFIG_CMD_MD5SUM   print md5 message digest

       (requires CONFIG_CMD_MEMORY and CONFIG_MD5)

  CONFIG_CMD_MEMORY   md, mm, nm, mw, cp, cmp, crc, base,

       loop, loopw, mtest

  CONFIG_CMD_MISC    Misc functions like sleep etc

  CONFIG_CMD_MMC  * MMC memory mapped support

  CONFIG_CMD_MII  * MII utility commands

  CONFIG_CMD_MTDPARTS * MTD partition support

  CONFIG_CMD_NAND  * NAND support

  CONFIG_CMD_NET    bootp, tftpboot, rarpboot

  CONFIG_CMD_PCA953X * PCA953x I2C gpio commands

  CONFIG_CMD_PCA953X_INFO * PCA953x I2C gpio info command

  CONFIG_CMD_PCI  * pciinfo

  CONFIG_CMD_PCMCIA  * PCMCIA support

  CONFIG_CMD_PING  * send ICMP ECHO_REQUEST to network

       host

  CONFIG_CMD_PORTIO * Port I/O

  CONFIG_CMD_REGINFO * Register dump

  CONFIG_CMD_RUN    run command in env variable

  CONFIG_CMD_SAVES * save S record dump

  CONFIG_CMD_SCSI  * SCSI Support

  CONFIG_CMD_SDRAM * print SDRAM configuration information

       (requires CONFIG_CMD_I2C)

  CONFIG_CMD_SETGETDCR   Support for DCR Register access

       (4xx only)

  CONFIG_CMD_SHA1SUM   print sha1 memory digest

       (requires CONFIG_CMD_MEMORY)

  CONFIG_CMD_SOURCE   "source" command Support

  CONFIG_CMD_SPI  * SPI serial bus support

  CONFIG_CMD_TFTPSRV * TFTP transfer in server mode

  CONFIG_CMD_USB  * USB support

  CONFIG_CMD_CDP  * Cisco Discover Protocol support

  CONFIG_CMD_FSL  * Microblaze FSL support

  EXAMPLE: If you want all functions except of network support you can write:

  例如:如果你需要除网络外的所有功能,你可以这样写:

  #include "config_cmd_all.h"

  #undef CONFIG_CMD_NET

 Other Commands:

  fdt (flattened device tree) command: CONFIG_OF_LIBFDT

 Note: Don't enable the "icache" and "dcache" commands (configuration option CONFIG_CMD_CACHE) unless you know what you (and your U-Boot users) are doing. Data cache cannot be enabled on systems like the 8xx or 8260 (where accesses to the IMMR region must be uncached), and it cannot be disabled on all other systems where we (mis-) use the data cache to hold an initial stack and some data.

 注意:不要使能指令cache和数据cache命令(配置CONFIG_CMD_CACHE选项),除非你知道你(和你的U-Boot用户)知道你在做什么。数据cache不能在像8xx或8260(这里访问IMMR区域必须不能被缓存)这样的系统中启用,但是在其他一些系统中(mis-)数据cache不能被禁用,因为在这些地方我们要使用数据cache保持初始化堆栈和一些数据。

  XXX - this list needs to get updated!

  XXX - 这个列表需要更新

本篇文章来源于 Linux公社网站(www.linuxidc.com)  原文链接:http://www.linuxidc.com/Linux/2011-08/40559p2.htm

继续阅读