Software Configuration:
=======================
软件的配置
Configuration is usually done using C preprocessor defines; the
rationale behind that is to avoid dead code whenever possible.
使用c的预处理 避免 “dead code”

两种配置变量
There are two classes of configuration variables:

* Configuration _OPTIONS_: 选址性的
  These are selectable by the user and have names beginning with
  "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
  "CFG_".

以后做一个想linux 内核类似的配置工具

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.

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".

Example: For a TQM823L module type:

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.

Configuration Options: 配置选项
----------------------
依赖与板及cpu
Configuration depends on the combination of board and CPU type; all
such information is kept in a configuration file
"include/configs/<board_name>.h".

Example: For a TQM823L module, all configuration settings are in
"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.

The following options need to be configured:

- CPU Type:

- Board Type:

- CPU Daughterboard Type:

- CPU Module Type:

- Motherboard Type:

- Motherboard I/O Modules:

- Motherboard Options:

- Board flavour:

- Linux Kernel Interface:

- Serial Ports:

- Console Interface:

- Console Baudrate:

- Interrupt driven serial port input:

- Console UART Number:

- Boot Delay:

Software Configuration:
=======================
软件的配置
Configuration is usually done using C preprocessor defines; the
rationale behind that is to avoid dead code whenever possible.
使用c的预处理 避免 “dead code”

两种配置变量
There are two classes of configuration variables:

* Configuration _OPTIONS_: 选址性的
  These are selectable by the user and have names beginning with
  "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
  "CFG_".

以后做一个想linux 内核类似的配置工具

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.

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".

Example: For a TQM823L module type:

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.

Configuration Options: 配置选项
----------------------
依赖与板及cpu
Configuration depends on the combination of board and CPU type; all
such information is kept in a configuration file
"include/configs/<board_name>.h".

Example: For a TQM823L module, all configuration settings are in
"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.

The following options need to be configured:

- CPU Type:

- Board Type:

- CPU Daughterboard Type:

- CPU Module Type:

- Motherboard Type:

- Motherboard I/O Modules:

- Motherboard Options:

- Board flavour:

- Linux Kernel Interface:

- Serial Ports:

- Console Interface:

- Console Baudrate:

- Interrupt driven serial port input:

- Console UART Number:

- Boot Delay:

- Autoboot Command:

- Pre-Boot Commands:

- Serial Download Echo Mode:

- Kgdb Serial Baudrate:

- Monitor Functions:

- Watchdog:

- U-Boot Version:

- Real-Time Clock:

- Timestamp Support:

- Partition Support:

- IDE Reset method:

- ATAPI Support:

- LBA48 Support:

- SCSI Support:

- NETWORK Support (PCI):

- NETWORK Support (other):

- USB Support:

- MMC Support:

- Journaling Flash filesystem support:

- Keyboard Support:

- Video support:

- LCD Support:  CONFIG_LCD
- Splash Screen Support: CONFIG_SPLASH_SCREEN

- Gzip compressed BMP image support: CONFIG_VIDEO_BMP_GZIP

- Compression support:

- MII/PHY support:

- Ethernet address:

- IP address:

- Server IP address:

- BOOTP Recovery Mode:

- DHCP Advanced Options:

- CDP Options:

- Status LED:   CONFIG_STATUS_LED
- CAN Support:  CONFIG_CAN_DRIVER

- I2C Support:

- SPI Support:

- FPGA Support:

- Configuration Management:

- Vendor Parameter Protection:

- Protected RAM:

- Error Recovery:

- Command Interpreter:

- Commandline Editing and History:

- Default Environment:

- DataFlash Support:

- SystemACE Support:

- TFTP Fixed UDP Port:

- Show boot progress:

调制解调支持:

Modem Support:

Configuration Settings:

设置选项:

Building the Software:
======================
软件的编译:
Building U-Boot has been tested in native PPC environments (on a
PowerBook G3 running LinuxPPC 2000) and in cross environments
(running RedHat 6.x and 7.x Linux on x86, Solaris 2.6 on a SPARC, and
NetBSD 1.5 on x86).

If you are not using a native PPC environment, it is assumed that you
have the GNU cross compiling tools available in your path and named
with a prefix of "powerpc-linux-". If this is not the case, (e.g. if
you are using Monta Vista's Hard Hat Linux CDK 1.2) you must change
the definition of CROSS_COMPILE in Makefile. For HHL on a 4xx CPU,
change it to:

CROSS_COMPILE = ppc_4xx-

U-Boot is intended to be  simple  to  build.  After  installing  the
sources  you must configure U-Boot for one specific board type. This
is done by typing:

make NAME_config

Finally, type "make all", and you should get some working U-Boot
images ready for download to / installation on your system:

- "u-boot.bin" is a raw binary image
- "u-boot" is an image in ELF binary format
- "u-boot.srec" is in Motorola S-Record format

By default the build is performed locally and the objects are saved
in the source directory. One of the two methods can be used to change
this behavior and build U-Boot to some external directory: (外部目录)

1. Add O= to the make command line invocations:

make O=/tmp/build distclean
        make O=/tmp/build NAME_config
        make O=/tmp/build all

2. Set environment variable BUILD_DIR to point to the desired location:

export BUILD_DIR=/tmp/build
        make distclean
        make NAME_config
        make all

If the system board that you have is not listed, then you will need
to port U-Boot to your hardware platform. To do this, follow these
steps:

移植的步骤:

转载于:https://www.cnblogs.com/kwingmei/p/3256340.html

uboot readme 文件 (1)相关推荐

  1. u-boot README翻译

    u-boot 根目录README文件 翻译 Summary Status Where to get help Where to get source code Where we come from N ...

  2. 上传到GitHub或者码云中README文件无法显示图片

    MarkDown语法 插入图片的语法如下:![alt text](E://data./pic.jp)类似这样,[]中输入文本,当图片显示不出时显示此文本信息,()中输入存放图片的路径. 无法显示原因 ...

  3. u-boot.lds文件详解

    网上大部分u-boot.lds文件的分析大部分都是千遍一律,例如下面就是本人在网上找到的关于u-boot.lds的资料. OUTPUT_FORMAT("elf32-littlearm&quo ...

  4. u-boot.lds文件简介

    可执行文件由许多链接在一起的对象文件组成.对象文件有许多节,如文本.数据.init 数据.bss等.这些对象文件都是由一个称为 链接器脚本(*lds)的文件链接并装入的.这个链接器脚本的功能是将输入对 ...

  5. 安装intel wifi link 5100 AG无线网卡驱动程序,iwlwifi-5000-5.ucode中的readme文件

    我的笔记本无线网卡驱动型号为:intel wifi link 5100 AG 下载连接如下: http://www.intellinuxwireless.org/?n=Downloads http:/ ...

  6. u-boot.lds文件诠释

    u-boot.lds文件诠释 网上大部分u-boot.lds文件的分析大部分都是千遍一律,例如下面就是本人在网上找到的关于u-boot.lds的资料. OUTPUT_FORMAT("elf3 ...

  7. iOS 【利用Markdown编辑GitHub仓库的README文件】

    最近对它的README.md文件颇为感兴趣.便写下这贴,帮助更多的还不会编写README文件的同学们. README文件后缀名为md.md是markdown的缩写,markdown是一种编辑博客的语言 ...

  8. README文件编写

    一直对README.md文件颇为感兴趣,每个工程根目录都要放置. md是markdown的缩写,markdown是一种编辑博客的语言.用惯了可视化的博客编辑器(比如CSDN博客,囧),这种编程式的博客 ...

  9. IMX6Q的uboot.imx文件解析

    文章目录 uboot.imx与uboot.bin的关系 uboot.imx文件解析 IMX6 ROM BOOT 流程中IVT.Boot data.DCD等相关数据操作 uboot.imx文件生成 猜想 ...

最新文章

  1. Android开发之浅谈Service的基本概况和常见问题
  2. 数据库设计原则【转】
  3. C语言中函数可变参数解析
  4. 理解“动心忍性”的含义
  5. UITableView UITableDataSource UITableViewDelegate的基本方法和属性
  6. compat mysql51 5.1_MySQL mysql-5.1升级到mysql-5.6
  7. MySQL多字段排序乱_Mysql ORDER BY 中文排序错乱问题
  8. java环境变量设置优化_Mac/windows配置jdk环境变量-seo优化只选拉一八科技
  9. 让Ubuntu更多的使用物理内存
  10. requirejs 学习笔记 0
  11. nginx 命令_MAC 操作nginx命令
  12. bzoj 2351: [BeiJing2011]Matrix(二维Hash)
  13. 深度学习框架中的魔鬼:探究人工智能系统中的安全问题
  14. perl软件使用报错总结
  15. win7 java下载_Windows7系统下JAVA运行环境下载、安装和设置(第二次更新:2012年03月14日)...
  16. 安装Win10操作系统-纯净版
  17. html-HR标签分割线
  18. fast虚拟服务器ip地址设置,迅捷路由器静态ip怎么设置_迅捷固定IP地址怎么设置?-192路由网...
  19. Django学习笔记
  20. 解决Google Drive 大文件下载过程中中途失败问题

热门文章

  1. 浙江大学通信与计算机网络,新浙大2015年通信与计算机网络离线作业.doc
  2. PTA---指针错误汇总(就自己做个笔记)
  3. python 写脚本 预约课程_Python盘纪念币系列之三:自动预约脚本编写 03 系列总结...
  4. idea mybatis plus 代码生成插件_妙啊,Mybatis从浅入深-Plus(IDEA版通俗易懂)
  5. android clean 框架,clean架构
  6. 优达学城《DeepLearning》项目2:犬种分类器
  7. HDU - 4614 Vases and Flowers 线段树+二分
  8. string 基本用法
  9. LeetCode刷题记录10——434. Number of Segments in a String(easy)
  10. Python如何在以数字命名的文件前补0