1.Download u-boot at sourceforge. (u-boot-1.1.6)
2.read the file of the README, get the http://lists.sourceforge.net/lists/listinfo/u-boot-users
3.copy from README
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:
1). Add a new configuration option for your board to the toplevel
"Makefile" and to the "MAKEALL" script, using the existing
entries as examples. Note that here and at many other places
boards and other names are listed in alphabetical sort order. Please
keep this order.
2). Create a new directory to hold your board specific code. Add any
files you need. In your board directory, you will need at least
the "Makefile", a "<board>.c", "flash.c" and "u-boot.lds".
3). Create a new configuration file "include/configs/<board>.h" for
your board
If you're porting U-Boot to a new CPU, then also create a new
directory to hold your CPU specific code. Add any files you need.
4). Run "make <board>_config" with your new name.
5). Type "make", and you should get a working "u-boot.srec" file
to be installed on your target system.
6). Debug and solve any problems that might arise.
[Of course, this last step is much harder than it sounds.]
u-boot移植项目需要完成的目标:
深入了解硬件平台移植相关知识,对u-boot的源码结构和代码细节要有深入研究,学以致用。
移植u-boot到mini2440,完成最多功能的支持
本文详细介绍了如何将U-Boot移植到新的硬件平台,并提供了具体的步骤指导。包括配置选项的添加、特定于板级文件的创建及调试过程。旨在帮助读者深入理解硬件平台移植的相关知识。

被折叠的 条评论
为什么被折叠?



