小弟在PC104(奔腾)机上 通过CF卡启动并加载VxWorks成功,但是在启动和开始加载之间的时候曾经出现几个报错,因为对VxWorks了解深度有限,不太明白是什么原因或者什么设置错误导致的,请明白的大虾指点一二,多谢!
启动加载信息和报错如下
============================================================
VxWorks System Boot
Copyright 1984-2002 Wind River Systems, Inc.
CPU: PC PENTIUM
Version: VxWorks5.5
BSP version: 1.2/2
Creation date: Dec 8 2005, 09:05:34
0x2f85a4 (tBoot): cbioWffee8 appears
WARNING: Failed to create 0 bytes of disk cache ATA disk /vxboot/ configured without cache
0x2f85a4 (tBoot): cbioWrapBlkDev: BLK_DEV pointer 0x002ffee8 appears invalid.
0x2f85a4 (tBoot): cbioWrapBlkDev: BLK_DEV pointer 0x00000000 apprtition manager: 850001
0x2f85a4 (tBoot): sysNvRam_mount: usrAtaConfig failed
Press0x any key to stop a2f85a4uto-boot...
(tBoot ): sysNvRamGet: open failed0
auto-booting...
boot device : ata=1,0
unit number : 1
processor number : 0
host name : h
host name : h
inet on ethernet (e) : 192.168.0.139
host inet (h) : 192.168.0.234
use(f) : 0x0
Attaching to ATA disk device... done.
Loading /ata1/vxWorks... 675424
Starting at 0x308000...
Target Name: vxTarget
muxDevLoad failed for device entry 0!
Attaching network interface lo0... done.
VxWorks
Copyright 1984-2002 Wind River Systems, Inc.
CPU: PC PENTIUM
Runtime Name: VxWorks
Runtime Version: 5.5
BSP version: 1.2/2
Created: Dec 8 2005, 09:05:57
WDB Comm Type: WDB_COMM_SE
============================================================
以上报错虽然没有影响CF启动和加载过程 ,但是在今后的开发中是否是不可忽略的我很想了解。
以下是我对启动加载的配置
===========================================================
CF卡位于 seconderay Master
1 bootline:
ata=1,0(1,0)..................................
2 ATA1_INT_LVL 0x9 改为 ATA1_INT_LVL 0xf
3 ATA1_CTRL_TYPE (ATA_PCMCIA) 改为 ATA1_CTRL_TYPE (IDE_LOCAL)
4 #define SYS_WARM_ATA_CTRL 0 改为 #define SYS_WARM_ATA_CTRL 1
5 #define SYS_WARM_TYPE SYS_WARM_FD改为
#define SYS_WARM_TYPE SYS_WARM_ATA
6 #define ATA_CTAL1_DRV0_* 全部修改成我使用的CF的柱、头、簇数据
===========================================================