Chinaunix首页 | 论坛 | 博客
  • 博客访问: 900
  • 博文数量: 0
  • 博客积分: 1410
  • 博客等级: 上尉
  • 技术积分: 10
  • 用 户 组: 普通用户
  • 注册时间: 2008-08-12 15:39
我的朋友
最近访客
     该分类下暂时没有公开的博文,给他留言提醒一下吧。
给主人留下些什么吧!~~

xue6282009-05-10 21:28

你好,我编译u-boot1.20遇到了和你一样的问题,看到你已经解决了,能跟我说一下是怎么解决的吗?谢谢了! 我完全按照你的方法修改uboot1.2.0,gpio和内存地址分配参考开发商提供的bootloader 编译时保错,主要原因是在修改中删除了很多define,很多东西都没有定义了 flash.c: In function 'flash_init': flash.c:64: error: 'CFG_MAX_FLASH_BANKS' undeclared (first use in this function) flash.c:64: error: (Each undeclared identifier is reported only once flash.c:64: error: for each function it appears in.) flash.c:67: error: 'flash_info' undeclared (first use in this function) flash.c:75:2: error: #error "Unknown flash configured" flash.c:77: error: 'PHYS_FLASH_SIZE' undeclared (first use in this function) flash.c:78: error: 'CFG_MAX_FLASH_SECT' undeclared (first use in this function) flash.c:81: error: 'PHYS_FLASH_1' undeclared (first use in this function) flash.c:113: warning: implicit declaration of function 'flash_protect' flash.c:113: error: 'FLAG_PROTECT_SET' undeclared (first use in this function) flash.c:114: error: 'CFG_FLASH_BASE' undeclared (first use in this function) flash.c:119: error: 'CFG_ENV_ADDR' undeclared (first use in this function) flash.c: At top level: flash.c:127: error: expected ')' before '*' token flash.c:172: error: expected ')' before '*' token flash.c:293: error: expected ')' before '*' token flash.c:371: error: expected ')' before '*' token 你有碰到过这些问题吗?

回复  |  举报
留言热议
请登录后留言。

登录 注册