设置VMWARE串口使用主机串口2,主机串口1作为target server使用.
1.Config.h中的配置
#define DEFAULT_BOOT_LINE "tsfs(0,0) hp:vxWorks h=192.9.190.1 e=192.9.190.2 u=target"
#if TRUE
#define INCLUDE_PC_CONSOLE /* KBD and VGA are included */
#endif /* TRUE/FALSE */
#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 38400
#define INCLUDE_TSFS_BOOT
#undef INCLUDE_WDB_TSFS
#define INCLUDE_WDB_TSFS
2.修改all目录下的bootconfig.c
增加#include "wdb/wdbDbgLib.h"
#include "../../src/config/usrBreakpoint.c"
在#ifdef INCLUDE_TSFS_BOOT /* boot via Target Server File System */
#if ((WDB_COMM_TYPE == WDB_COMM_SERIAL) && (CONSOLE_TTY == NONE || CONSOLE_TTY == WDB_TTY_CHANNEL))
#define INCLUDE_TSFS_BOOT_VIO_CONSOLE /* needed for Target Server Console */
#endif之后增加
#undef INCLUDE_TSFS_BOOT_VIO_CONSOLE
编译生成BOOT image通过VMWAR软盘启动,然后显示v1.6................就没有显示了
请高手指点.