当前位置: 首页 > 编程日记 > 正文

uboot readme 文件 (1)

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

相关文章:

青少年编程竞赛交流群周报(第040周)

2021年12月05日&#xff08;周日&#xff09;晚20:00我们在青少年编程竞赛交流群开展了第四十期直播活动。 一、直播内容 我们直播活动的主要内容如下&#xff1a; 讲解了上次测试中小朋友们做错的题目 Scratch青少年编程能力等级测试模拟题&#xff08;四级&#xff09;。演…

用Cordova打包Vue-vux项目

技术搭建&#xff1a;vue vux 首先推荐阅读这篇文章&#xff0c;写的已经很详细了&#xff1a;https://www.jianshu.com/p/25d797b983cd 此处记录下我按照这篇文章打包的时候报的一些错误&#xff0c;方便大家借鉴&#xff1a; 1、当执行最后一步 cordova build android 时&a…

linux mpp集群环境,Linux环境下,DM8-MPP两节点集群搭建

目录1.主备库&#xff0c;监视器信息部署2.初始化数据库实例3.启停数据库4.数据库备份与还原5.检查、修改和创建配置文件6.启动数据库&#xff0c;修改数据库模式和OGUID8.配置守护进程9.配置监视器10.启动守护进程11.启动监视器1.主备库&#xff0c;监视器信息部署(1)主库实例…

线性代数 2021-2022-1 考试要点

1、线性方程组解的判定、解的结构与求解&#xff1b; 2、矩阵秩的相关性质&#xff1b; 3、矩阵、分块矩阵的运算&#xff1b; 4、行列式的运算&#xff1b; 5、矩阵方程的求解&#xff1b; 6、向量空间&#xff08;RnR^nRn空间&#xff0c;多项式空间&#xff0c;矩阵空间…

JavaServer Faces技术

一、JSF是构建Java Web程序的服务器端的组件框架&#xff0c;包括&#xff1a; 1&#xff09;一个API&#xff0c;用来表示组件及管理他们的状态&#xff1b;处理事件&#xff1b;服务器端&#xff1b;数据转换&#xff1b;定义页面导航&#xff1b;支持国际化和可访问性&#…

Ubuntu安装Anaconda

安装Anaconda的最简单方法是下载最新的Anaconda安装程序bash脚本&#xff0c;然后运行它。 在Anaconda Downloads页面找到最新版本的Anaconda for Python 3 。当前最新版本为5.1.0。 切换到/tmp服务器上的目录 cd /tmp 在运行它之后可以删除掉。 使用wget命令下载anaconda安装包…

linux制作共享服务器,Linux如何制作一个简单的共享服务器

Linux下打开一个终端&#xff0c;cd 到某一个目录下&#xff0c;输入“ python -m SimpleHTTPServer ”&#xff0c;就可以将当前目录下的内容分享出去&#xff0c;如下&#xff1a;linuxidc www.linuxidc.com:~$ cd VideoSpace/linuxidc www.linuxidc.com:~/VideoSpace$ pytho…

报表应用系列——图表JFreeChart: 第 4 章 折线图

双击代码全选12345DefaultCategoryDataset dataset  new DefaultCategoryDataset(); dataset.addValue(100, "Jan", "Spring Security"); dataset.addValue(150, "Jan", "jBPM 4"); dataset.addValue(300, "Jan&qu…

中国电子学会青少年编程能力等级测试图形化四级编程题:小猴数草莓

「青少年编程竞赛交流群」已成立&#xff08;适合6至18周岁的青少年&#xff09;&#xff0c;公众号后台回复【Scratch】或【Python】&#xff0c;即可进入。如果加入了之前的社群不需要重复加入。 我们将有关编程题目的教学视频已经发布到抖音号21252972100&#xff0c;小马老…

python_day16_pythom-mysql-API

16、py_mysql操作 pymysql 是python中操作mysql的模块&#xff0c;其使用方法和py2的mysqldb几乎相同 16.1、pymysql模块安装 1. pip install pymysql 16.2、使用 16.2.1、导入模块 import pymysql connpymysql.connect(host127.0.0.1,port3306,userroot,passwdxiong,dbs1) #…

linux打开 root .m2,小辣椒M2 (LA-M2)获取ROOT权限教程,新手root必看

小辣椒M2 (LA-M2)如何获取ROOT权限?用什么ROOT工具最简单?请跟着小编一起来看看如何用奇兔刷机对小辣椒M2 (LA-M2)进行一键ROOT&#xff0c;小编特别亲手制作了详细的小辣椒M2 (LA-M2) ROOT教程图解&#xff0c;非常适合初次接触ROOT的朋友&#xff0c;具体步骤如下&#xff…

C++中typedef和define的区别

typedef和#define的用法与区别 一、typedef的用法 在C/C语言中&#xff0c;typedef常用来定义一个标识符及关键字的别名&#xff0c;它是语言编译过程的一部分&#xff0c;但它并不实际分配内存空间&#xff0c;实例像&#xff1a; typedef int INT;typedef int …

SVN 钩子操作-同步更新web目录

一个简单的钩子演示&#xff1a;也可以网上搜索其他高级的 本次想要达到的功能是&#xff1a;每次用户commit 到仓库后&#xff0c;仓库的钩子会自动把程序又更新的www/的web发布目录 1.现在web目录下创建一个test.com网站目录 [rootwentao13 ~]# cd /var/www/html/ [rootwenta…

【组队学习】【32期】深入理解计算机系统

深入理解计算机系统 航路开辟者&#xff1a;李岳昆、易远哲领航员&#xff1a;初晓宇航海士&#xff1a;叶前坤、沈豪 基本信息 开源内容&#xff1a;https://github.com/datawhalechina/team-learning-program/tree/master/ComputerSystems内容属性&#xff1a;公测课程内容…

linux中怎么退出执行过程,(进程)处理过程中的Linux:从执行到退出

Linux是一个多任务操作系统&#xff0c;表面上看&#xff0c;同时运行许多任务——即进程。每一个进程都在系统中留下足迹。这里介绍一些检查这些足迹的工具&#xff0c;并且还要说明蔓延的/proc目录到底是什么。欢迎归来。上周我们考察Linux调度程序如何区分要运行的进程的优先…

git - 简易指南

http://www.bootcss.com/p/git-guide/转载于:https://www.cnblogs.com/passer1991/p/3279333.html

python爬虫 智联招聘 工作地点

需求&#xff1a;智联上找工作的时候&#xff0c;工作地点在搜索页面只能看到城市-区。看不到具体的地址。&#xff08;离家近的工作肯定优先考虑&#xff09;思路&#xff1a;爬取搜索页面&#xff08;页面一&#xff09;然后进去其中一个内页&#xff0c;再爬工作地点&#x…

2021-2022-1 线性代数知识点总结的视频

01 线性方程组02 矩阵及其运算03 向量空间&#xff08;上&#xff09;03 向量空间&#xff08;下&#xff09;04 特征值与特征向量05 实对称矩阵与二次型2021 线性代数 第三章 习题课2021 线性代数 第四章 习题课2021-2022-1 线性代数考试要点2021-2022-1 线性代数知识点总结 …

win使用linux共享打印机,Ubuntu 12.04以及 Window 下使用共享打印机

目前针对各个办公室里面都已经配置打印机了&#xff0c;为了节约资源&#xff0c;该打印机想必已经被网管设置成了共享&#xff0c;然而我们应该如何进行使用呢&#xff1f;笔者目前常用的系统是Ubuntu 12.04,偶尔想打印东西的不想切换到XP系统下&#xff0c;就此简单介绍下如何…

poj3280Cheapest Palindrome(记忆化)

链接 真的1A了。。 一开始想复杂了 想着补全再删 没想好 后来想到递归 大的回文串是由小的推过来的 一直递归下去 对于当前的i&#xff0c;j可以选择保留或者删除 选个最小的 1 #include <iostream>2 #include<cstring>3 #include<algorithm>4 #include<…

【组队学习】【32期】推荐系统-新闻推荐系统实践

推荐系统-新闻推荐系统实践 航路开辟者&#xff1a;罗如意领航员&#xff1a;肖桐航海士&#xff1a;汪志鸿、吴忠强、赖敏材、王辰玥、毛伟、宋禹成、陈雨龙、管柯琴 基本信息 开源内容&#xff1a;https://github.com/datawhalechina/fun-rec内容属性&#xff1a;公测课程…

Redis配置到本地以及可视化工具的安装运用

配置到本地出错&#xff1a; 解决方法&#xff1a; 1、先把原来的服务删除了 2、在重新配置服务。 真的&#xff0c;我就是这样的。。 转载于:https://www.cnblogs.com/stujike/p/8672165.html

linux消息通信无法接收,进程间通信:消息队列有关问题:进程1接收不到进程2的消息...

进程间通信&#xff1a;消息队列有关问题&#xff1a;进程1接收不到进程2的消息进程间通信&#xff1a;消息队列有关问题&#xff1a;进程1接收不到进程2的消息日期&#xff1a;2014-05-16  浏览次数&#xff1a;20365 次进程间通信&#xff1a;消息队列问题&#xff1a;进程1…

java听课笔记(四)

程序流程控制 分支 顺序 循环 if switch&case 1 2 3 调整 break 1.6 前 switch(byte、short、char、int) 1.7 可放String 循环 while&#xff08;次数不确定&#xff09; do while for&#xff08;确定次数&#xff09; break&#xff08;跳出本层循环&#xff09; continu…

【组队学习】【32期】scikit-learn教程

scikit-learn教程 航路开辟者&#xff1a;江季领航员&#xff1a;李牧轩航海士&#xff1a;武帅、陈宇 基本信息 开源内容&#xff1a;&#xff1a;https://github.com/datawhalechina/machine-learning-toy-code/tree/main/ml-with-sklearn内容属性&#xff1a;公测课程内容…

css一个很好用的hover显示

之前一直想在样式实现&#xff0c;hover时显示其他div&#xff0c;今天终于找到了&#xff0c;(*^▽^*).a悬停时显示.b.a:hover .b {display: block;}转载于:https://www.cnblogs.com/HCXiao/p/8677713.html

c语言输入函数有什么作用,c语言的输入函数有哪些

c语言的输入函数有&#xff1a;1、scanf()函数、从标准输入stdin读取格式化输入&#xff1b;2、getchar()函数&#xff0c;从标准输入stdin获取一个字符&#xff1b;3、gets()函数&#xff0c;从标准输入stdin读取一行&#xff1b;4、getch()函数。【相关学习推荐&#xff1a;C…

dubbo学习过程、使用经验分享及实现原理简单介绍

一、前言部门去年年中开始各种改造&#xff0c;第一步是模块服务化&#xff0c;这边初选dubbo试用在一些非重要模块上&#xff0c;慢慢引入到一些稍微重要的功能上&#xff0c;半年时间&#xff0c;学习过程及线上使用遇到的些问题在此总结下。整理这篇文章差不多花了两天半时间…

AutoIt脚本在做自动化操作的时候,如何进行错误捕获?

我的自动化脚本在运行的时候&#xff0c;会生成一个界面&#xff0c;点击该页面上的按钮能够进行自动化操作。 经常遇到的一个问题是&#xff1a; 脚本运行一半&#xff0c;GUI程序出现了异常情况&#xff0c;这个时候&#xff0c;再次点击生成的界面上的按钮&#xff0c;不会有…

中国电子学会青少年编程能力等级测试图形化四级编程题:计算生肖

「青少年编程竞赛交流群」已成立&#xff08;适合6至18周岁的青少年&#xff09;&#xff0c;公众号后台回复【Scratch】或【Python】&#xff0c;即可进入。如果加入了之前的社群不需要重复加入。 我们将有关编程题目的教学视频已经发布到抖音号21252972100&#xff0c;小马老…