u-boot for fun (1) -- read RAEDME

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,完成最多功能的支持

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值