这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 嵌入式开发 » MCU » pc104的配置

共3条 1/1 1 跳转至

pc104的配置

菜鸟
2005-05-11 21:51:27     打赏

现有目标板sed586SV,芯片486dx

想在其上运行VXWORKS,开发环境tornado2.0 for x86

软盘启动软盘加载,制作bootrom过程,采用pc486的BSP

#undef INCLUDE_NETWORK

#define DEFAULT_BOOT_LINE "fd=0,0(0,0)zhgw:/fd0/vxWorks h=210.72.135.76 e=210.72.135.77 u=SED586"

#define DEFAULT_BOOT_LINE \ "fd=0,0(0,0)zhgw:/fd0/vxWorks h=210.72.135.76 e=210.72.135.77 u=SED586"

#define INCLUDE_SERIAL #undef WDB_TTY_DEV_NAME #define WDB_TTY_DEV_NAME "/tyCo/0" #undef CONSOLE_TTY #define CONSOLE_TTY NONE #undef WDB_TTY_CHANNEL #define WDB_TTY_CHANNEL 0 #undef WDB_COMM_TYPE #define WDB_COMM_TYPE WDB_COMM_SERIAL #undef WDB_TTY_BAUD #define WDB_TTY_BAUD 9600

#define INCLUDE_DOSFS /* include dosFs file system */ #define INCLUDE_FD /* include floppy disk driver */ #define INCLUDE_LPT /* include parallel port driver */ #define INCLUDE_ATA /* include IDE/EIDE(ATA) hard disk driver */ #define INCLUDE_TIMESTAMP /* include TIMESTAMP timer for Wind View */ #undef INCLUDE_TFFS /* include TrueFFS driver for Flash */ #undef INCLUDE_PCMCIA /* include PCMCIA driver */ #define INCLUDE_DISKONCHIP /* M-SYSTEMS DiskOnChip */ #undef INCLUDE_NETWORK

#define INCLUDE_PC_CONSOLE

上电加载时,vxld 2.0...................................................... 停止不动。打开串口,收不到任何信息

这是说明vxworks引导没成功吧?

问高手,针对于不同的cpu,需要修改什么,怎样才能引导成功?

盼复

[em06][em06][em06][em06] [align=right][color=#000066][此贴子已经被作者于2005-5-16 16:14:08编辑过][/color][/align]



关键词: pc104     配置     INCLUDE     #define    

菜鸟
2005-05-12 17:27:00     打赏
2楼
没人回,自己顶一下

菜鸟
2005-05-24 01:51:00     打赏
3楼

1.你只要修改congfig.h里的

#ifdef cpu=pentium

"fd=0,0(0,0)zhgw:/fd0/vxWorks h=210.72.135.76 e=210.72.135.77 u=SED586"

#endif

2.在tornado下生成bootrom_uncmp

3.在host\x86_win32\bin 运行torvars注册环境变量

4.在pentium 的bsp 下执行 mkboot a: bootrom_uncmp

ok!

[align=right][color=#000066][此贴子已经被作者于2005-5-23 17:57:29编辑过][/color][/align]

共3条 1/1 1 跳转至

回复

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