一直想写一个s5pv210硬件平台的u-boot的移植文档,但一直都忙着没时间写。先写一些u-boot的脚本分析吧,包括makefile,mkconfig,config.mk,主要侧重于语法句意的分析,原理性的分析网上是比较多的了,虽然是一些老版本的,但原理是一致的,只是实现的具体形式有差异。随后有空再写关于u-boot2013.01.01版本在TQ210上的移植,就敬请期待吧!
(1)Uboot代码下载
所有版本的u-boot源代码压缩包都可以在 ftp://ftp.denx.de/pub/u-boot/下载。
关于u-boot源代码的信息,可以看 http://www.denx.de/wiki/U-Boot/SourceCode
关于u-boot
目前最新的版本是2013.07的,但只有rc2版本,稳定发布版还没出来,如果要移植最新的Uboot,建议大家可以下载2013.04.tar.bz,等2013.07.01.tar.bz出来后再可以更换。
(2)DENX小组及u-boot简介
下面我就DENX官网上的about us稍稍翻译,这就是他们的自我介绍,以帮助大家了解Denx是做什么的(这里也贴出原文以供参考):
About DENX Software Engineering
Our Services
DENX Software Engineering provides software engineering services in the area of Embedded and Real-Time Systems. We have a high level of expertise in that area with a strong focus on Open Source Software, especially Linux, but also FreeBSD, NetBSD, etc.
We port firmware and operating systems to your hardware and write device drivers and other low-level or hardware-related software components. We develop, tailor and install the base software for your embedded systems and provide solutions to problems as performance optimization, security concepts or tools for automatic software updates. This allows you to put all your resources in the development of your applications. We also provide on-the-job training for engineers who need to ramp up quickly on how to develop software for Embedded Linux systems.
For example, DENX has developed a powerful Embedded Linux Development Kit (ELDK) that runs on x86/Linux, x86/FreeBSD and SPARC/Solaris host operating systems and supports a wide range of PowerPC target processors (8xx, 82xx, 7xx, 74xx, 4xx). A version for ARM processors is available, too. All components are available for free, and with complete source code.
DENX also has started the development and is the driving force behind the PPCBoot and U-Boot Open Source projects which provides powerful, flexible and portable firmware for PowerPC systems. U-Boot has been ported to more than 100 boards (including most well-known evaluation boards) using PowerPC, ARM, MIPS and x86 processors.
Our Simple Embedded Linux Framework provides an easily extensible default configuration for Embedded Linux systems which has been succesfully used as base system for several projects.
Current projects are for customers in Germany, Austria, Switzerland, United Kingdom, Australia, and U.S.A.
/* Denx软件工程小组提供嵌入式和实时操作系统领域的软件工程服务。我们拥有一支的高水平专家,专注于各种开源软件的开发,尤其是Linux方面,并且也涉及FreeBSD,NetBSD等。
我们可以为你的硬件定制固件和操作系统,包括设备驱动和其他与硬件相关的底层软件组件。我们能为你的嵌入式系统开发,定制和安装基础组件,并且提供系统性能优化解决方案,系统安全建议和自动软件升级工具。这样以便你可以将所有精力致力于应用开发上。我们同样向需要学习如何开发嵌入式Linux系统并希望水平得到快速提升的工程师提供在职培训。
例如,DENX已经开发了一个强大的嵌入式Linux开发包(ELDK),它能运行在x86/Linux, x86/FreeBSD及x86/Linux, x86/FreeBSD 主操作系统上并且广泛支持PowerPC目标处理器(8xx, 82xx, 7xx, 74xx, 4xx)。其中有一个版本适用于ARM处理器。该项目所有组件均是100%开源免费的。
Denx同时已经开始为PowerPC系统开发并推动继PPCBoot和U-boot开源项目后的一套更强大,灵活,兼容性更高的固件。而U-boot已经移植在超过100套使用PowerPC, ARM, MIPS 及 x86等处理器的评估板上(包括大多数知名的评估板)。
我们为Linux嵌入式系统开发的简易Linux嵌入式框架提供了一个易扩展的默认配置,并且作为系统基本组件成功应用在一些项目上。
目前进行的项目是为德国,奥地利,瑞士,英国,澳大利亚和美国的客户定制的。*/
u-Boot用于多种嵌入式CPU(MIPS、x86、ARM、XScale等)的Bootloader程序,u-boot不仅支持嵌入式Linux的引导,还支持VxWorks,QNX等多种嵌入式操作系统。