这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 嵌入式开发 » MCU » 各位大侠救命啊,关于制作Vxworks用DOC启动的Bootimage

共7条 1/1 1 跳转至

各位大侠救命啊,关于制作Vxworks用DOC启动的Bootimage

菜鸟
2004-11-12 06:28:48     打赏

我用的是M-sys的DOC2000,今天该公司网站上下了DOC2000的驱动,按照readme安装了驱动,有按照readme上面说的采用B.two-step boot方法,修改了config.h,bootConfig.c和usrConfig.c。结果在命令行执行make bootrom,但是始终没能成功。请各位大侠帮我分析一下原因。




关键词: 各位     大侠     救命     关于     制作     Vxworks     启动    

菜鸟
2004-11-12 20:12:00     打赏
2楼
你应该把出错的信息贴出来啊。

菜鸟
2004-11-12 20:41:00     打赏
3楼

总是说fldrvvxw.h中定义的一些结构和函数与tffsDrv.h中的重复,怀疑bootConfig.c修改的有问题,但我是按照DOC驱动readme中修改bootConfig.c的方法修改的啊,而且我把其中的重复的地方删去了,不知道为什么还不行。另外,readme里面要求在config.h中添加

#include INCLUDE_DISKONCHIP ,不只是什么用途,不是已经包含了

#include INCLUDE_TFFS了吗?


菜鸟
2004-11-12 21:09:00     打赏
4楼

#include INCLUDE_DISKONCHIP 用于加载doc驱动

在config.h中要#undef INCLUDE_TFFS


菜鸟
2004-11-13 06:44:00     打赏
5楼

又出现一大堆下面的错误:

C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.data+0x8): multiple definition o f `flMsecCounter' C:\Tornado\target\lib\libI80486gnuvx.a(fatlite.o)(.data+0x0): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0xe668): multiple definitio n of `flIdentifyFlash' C:\Tornado\target\lib\libI80486gnuvx.a(flflash.o)(.text+0x390): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0x10df0): multiple definiti on of `flTakeMutex' C:\Tornado\target\lib\libI80486gnuvx.a(tffsLib.o)(.text+0x30): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0x1079c): multiple definiti on of `flSocketSetBusy' C:\Tornado\target\lib\libI80486gnuvx.a(flsocket.o)(.text+0x2a0): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0x1080c): multiple definiti on of `flNeedVcc' C:\Tornado\target\lib\libI80486gnuvx.a(flsocket.o)(.text+0x2c0): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0x1084c): multiple definiti on of `flDontNeedVcc' C:\Tornado\target\lib\libI80486gnuvx.a(flsocket.o)(.text+0x300): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0x10e00): multiple definiti on of `flFreeMutex' C:\Tornado\target\lib\libI80486gnuvx.a(tffsLib.o)(.text+0x70): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0x114c0): multiple definiti on of `flMount' C:\Tornado\target\lib\libI80486gnuvx.a(fltl.o)(.text+0x0): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0xbe40): multiple definitio n of `fromUNALLONG' C:\Tornado\target\lib\libI80486gnuvx.a(flbase.o)(.text+0x70): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0xbde0): multiple definitio n of `fromUNAL' C:\Tornado\target\lib\libI80486gnuvx.a(flbase.o)(.text+0x20): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0x11660): multiple definiti on of `flFormat' C:\Tornado\target\lib\libI80486gnuvx.a(fltl.o)(.text+0x80): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0xa83c): multiple definitio n of `flDosFormat' C:\Tornado\target\lib\libI80486gnuvx.a(dosformt.o)(.text+0x540): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0x1960): multiple definitio n of `replaceFATsector' C:\Tornado\target\lib\libI80486gnuvx.a(fatlite.o)(.text+0x400): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0xbe10): multiple definitio n of `toUNALLONG' C:\Tornado\target\lib\libI80486gnuvx.a(flbase.o)(.text+0x40): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0x3070): multiple definitio n of `flInit' C:\Tornado\target\lib\libI80486gnuvx.a(fatlite.o)(.text+0xd20): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0x1064c): multiple definiti on of `flSocketOf' C:\Tornado\target\lib\libI80486gnuvx.a(flsocket.o)(.text+0x10): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0x10ab0): multiple definiti on of `flSysfunInit' C:\Tornado\target\lib\libI80486gnuvx.a(tffsLib.o)(.text+0x90): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0x109cc): multiple definiti on of `flInitSockets' C:\Tornado\target\lib\libI80486gnuvx.a(flsocket.o)(.text+0xf0): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0x10de0): multiple definiti on of `flCreateMutex' C:\Tornado\target\lib\libI80486gnuvx.a(tffsLib.o)(.text+0x0): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0x106cc): multiple definiti on of `flMap' C:\Tornado\target\lib\libI80486gnuvx.a(flsocket.o)(.text+0x1d0): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0x106ac): multiple definiti on of `flWriteProtected' C:\Tornado\target\lib\libI80486gnuvx.a(flsocket.o)(.text+0x50): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0x1063c): multiple definiti on of `flSocketNoOf' C:\Tornado\target\lib\libI80486gnuvx.a(flsocket.o)(.text+0x0): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0x1066c): multiple definiti on of `flBufferOf' C:\Tornado\target\lib\libI80486gnuvx.a(flsocket.o)(.text+0x30): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0x1072c): multiple definiti on of `flSetWindowBusWidth' C:\Tornado\target\lib\libI80486gnuvx.a(flsocket.o)(.text+0x230): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0x1074c): multiple definiti on of `flSetWindowSpeed' C:\Tornado\target\lib\libI80486gnuvx.a(flsocket.o)(.text+0x250): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0x1076c): multiple definiti on of `flSetWindowSize' C:\Tornado\target\lib\libI80486gnuvx.a(flsocket.o)(.text+0x270): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0x10af0): multiple definiti on of `flAddLongToFarPointer' C:\Tornado\target\lib\libI80486gnuvx.a(tffsLib.o)(.text+0x240): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0x10ad0): multiple definiti on of `flRandByte' C:\Tornado\target\lib\libI80486gnuvx.a(tffsLib.o)(.text+0x190): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0xbdc0): multiple definitio n of `toUNAL' C:\Tornado\target\lib\libI80486gnuvx.a(flbase.o)(.text+0x0): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0xc4a8): multiple definitio n of `tffsDrv' C:\Tornado\target\lib\libI80486gnuvx.a(tffsDrv.o)(.text+0x0): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0xca88): multiple definitio n of `tffsDevCreate' C:\Tornado\target\lib\libI80486gnuvx.a(tffsDrv.o)(.text+0x60): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0xd558): multiple definitio n of `tffsDevFormat' C:\Tornado\target\lib\libI80486gnuvx.a(tffsDrv.o)(.text+0x420): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0x1086c): multiple definiti on of `flSetPowerOnCallback' C:\Tornado\target\lib\libI80486gnuvx.a(flsocket.o)(.text+0x380): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0xe308): multiple definitio n of `flIntelIdentify' C:\Tornado\target\lib\libI80486gnuvx.a(flflash.o)(.text+0x90): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0xe3e8): multiple definitio n of `flIntelSize' C:\Tornado\target\lib\libI80486gnuvx.a(flflash.o)(.text+0x1a0): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0x106bc): multiple definiti on of `flGetMappingContext' C:\Tornado\target\lib\libI80486gnuvx.a(flsocket.o)(.text+0x1c0): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(MSYSVXW-I80486.o)(.text+0x1088c): multiple definiti on of `flIntervalRoutine' C:\Tornado\target\lib\libI80486gnuvx.a(flsocket.o)(.text+0x3a0): first defined here C:\Tornado\target\lib\libI80486gnuvx.a(flflash.o)(.text+0x117): undefined reference to `fl DelayLoop' C:\Tornado\target\lib\libI80486gnuvx.a(flflash.o)(.text+0x34d): undefined reference to `fl DelayLoop' make.exe: *** [bootrom.Z.s] Error 0x1

是怎么回事呢?


菜鸟
2004-11-13 20:02:00     打赏
6楼
能把你的bootconfig.c文件发给我一份吗,我想借鉴一下。小弟先行谢过了

菜鸟
2004-11-13 21:02:00     打赏
7楼
谢谢上面回贴的各位,我已经搞定了。刚才发现DOC驱动装的有问题,少了一个.o文件。重装后就搞定了。

共7条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]