天嵌 ARM开发社区

 找回密码
 注册
查看: 2655|回复: 4

u-boot编译出错

[复制链接]
zuiqiang 发表于 2010-12-17 16:16:24 | 显示全部楼层 |阅读模式
u-boot编译出现以下错误
-Map u-boot.map -o u-boot
modules/usb.module(usbinit.o)(.text+0x1f0): In function `usb_init':
/opt/EmbedSky/u-boot-1.1.6_final/drivers/usb/usbinit.c:184: undefined reference to `Isr_Init'
modules/usb.module(usbinit.o)(.text+0x360): In function `usb_receive':
/opt/EmbedSky/u-boot-1.1.6_final/drivers/usb/usbinit.c:276: undefined reference to `Timer_InitEx'
modules/usb.module(usbinit.o)(.text+0x364):/opt/EmbedSky/u-boot-1.1.6_final/drivers/usb/usbinit.c:277: undefined reference to `Timer_StartEx'
modules/usb.module(usbinit.o)(.text+0x4a0):/opt/EmbedSky/u-boot-1.1.6_final/drivers/usb/usbinit.c:336: undefined reference to `Timer_StopEx'
modules/usb.module(usbinit.o)(.text+0x518):/opt/EmbedSky/u-boot-1.1.6_final/drivers/usb/usbinit.c:346: undefined reference to `intregs'
modules/usb.module(usblib.o)(.text+0x178): In function `ConfigUsbd':
/opt/EmbedSky/u-boot-1.1.6_final/drivers/usb/usblib.c:39: undefined reference to `intregs'
modules/usb.module(usbmain.o)(.text+0xd4): In function `IsrUsbd':
/opt/EmbedSky/u-boot-1.1.6_final/drivers/usb/usbmain.c:120: undefined reference to `ClearPending'
modules/usb.module(usbout.o)(.text+0x1f8): In function `Ep3Handler':
/opt/EmbedSky/u-boot-1.1.6_final/drivers/usb/usbout.c:150: undefined reference to `intregs'
modules/usb.module(usbout.o)(.text+0x238): In function `IsrDma2':
/opt/EmbedSky/u-boot-1.1.6_final/drivers/usb/usbout.c:188: undefined reference to `ClearPending'
modules/usb.module(usbout.o)(.text+0x390):/opt/EmbedSky/u-boot-1.1.6_final/drivers/usb/usbout.c:236: undefined
reference to `intregs'
make: *** [u-boot] Error 1
[root@xk-arm uboot-1.1.6]#
谁知道是怎么回事呀,就是一个变量定义在modules/usb.modules中,在顶层makefile中加入usb.modules后出现的
 楼主| zuiqiang 发表于 2010-12-17 16:34:27 | 显示全部楼层
我的uboot目录是/opt/EmbedSky/uboot-1.1.6,不知道怎么出来的u-boot-1.1.6_final
天嵌_support1 发表于 2010-12-17 19:01:32 | 显示全部楼层
2# zuiqiang


你是想用天嵌的USB模块是把?
 楼主| zuiqiang 发表于 2010-12-17 20:03:43 | 显示全部楼层
对呀,怎么用那?
天嵌_support1 发表于 2010-12-18 10:30:37 | 显示全部楼层
:)那是已经编译好的模块。
这个....你要引用可能需要配合天嵌的uboot源码好了。
然后再改成你喜欢的
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-5-18 15:15 , Processed in 1.062500 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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