天嵌 ARM开发社区

 找回密码
 注册
查看: 4395|回复: 5

移植u-boot-2010.06 到TQ2440 详解

[复制链接]
danshi126 发表于 2011-12-13 18:12:13 | 显示全部楼层 |阅读模式
http://www.armbbs.net/home.php?m ... p;do=blog&id=34
  贴子在我个人空间里,  
     这可以花了我午休时间写的哦,,觉得好的顶一个,同时也欢迎拍砖

评分

参与人数 1 +30 收起 理由
TQ-lkp + 30 赞一个!

查看全部评分

reder_mcu 发表于 2011-12-19 17:03:10 | 显示全部楼层
好帖,晚上回去实验~   支持楼主
ojssuo 发表于 2011-12-13 19:20:33 | 显示全部楼层
请问一下,修改了时钟后,增加了对S3C2440的支持,可编译不通了,

opt/u-boot-2010.06/include/part.h:91: warning: no semicolon at end of struct or union
/opt/u-boot-2010.06/include/part.h:92: warning: type defaults to `int' in declaration of `type'
/opt/u-boot-2010.06/include/part.h:92: warning: data definition has no type or storage class
/opt/u-boot-2010.06/include/part.h:93: error: syntax error before '}' token
/opt/u-boot-2010.06/include/part.h:93: warning: type defaults to `int' in declaration of `disk_partition_t'
/opt/u-boot-2010.06/include/part.h:93: warning: data definition has no type or storage class
/opt/u-boot-2010.06/include/part.h:106: error: syntax error before "disk_partition_t"
/opt/u-boot-2010.06/include/part.h:106: warning: function declaration isn't a prototype
In file included from /opt/u-boot-2010.06/include/common.h:115,
                 from speed.c:32:
/opt/u-boot-2010.06/include/flash.h:37: error: syntax error before "uchar"
/opt/u-boot-2010.06/include/flash.h:37: warning: no semicolon at end of struct or union
/opt/u-boot-2010.06/include/flash.h:59: warning: type defaults to `int' in declaration of `flash_info_t'
/opt/u-boot-2010.06/include/flash.h:59: warning: data definition has no type or storage class
/opt/u-boot-2010.06/include/flash.h:93: error: syntax error before '*' token
/opt/u-boot-2010.06/include/flash.h:93: warning: function declaration isn't a prototype
/opt/u-boot-2010.06/include/flash.h:94: error: syntax error before '*' token
/opt/u-boot-2010.06/include/flash.h:94: warning: function declaration isn't a prototype
/opt/u-boot-2010.06/include/flash.h:98: error: syntax error before '*' token
/opt/u-boot-2010.06/include/flash.h:98: warning: function declaration isn't a prototype
/opt/u-boot-2010.06/include/flash.h:102: error: syntax error before "flash_info_t"
/opt/u-boot-2010.06/include/flash.h:102: warning: function declaration isn't a prototype
/opt/u-boot-2010.06/include/flash.h:104: error: syntax error before '*' token
/opt/u-boot-2010.06/include/flash.h:104: warning: type defaults to `int' in declaration of `addr2info'
/opt/u-boot-2010.06/include/flash.h:104: warning: data definition has no type or storage class
/opt/u-boot-2010.06/include/flash.h:105: error: syntax error before '*' token
/opt/u-boot-2010.06/include/flash.h:105: warning: function declaration isn't a prototype


怎么回事?
 楼主| danshi126 发表于 2011-12-13 19:53:22 | 显示全部楼层
提示你有语法错误

把前面内容也贴出来,还有,修改代码时注意标点符号,括号少了没有
非也 发表于 2011-12-17 11:44:11 | 显示全部楼层
支持,要顶起!
车干 发表于 2012-7-22 10:22:55 | 显示全部楼层
收藏了。谢谢分享

评分

参与人数 1 +2 收起 理由
死神 + 2 很给力!

查看全部评分

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-5-21 06:07 , Processed in 1.046875 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表