VxWorks System Boot
Copyright 1984-2002 Wind River Systems, Inc.
CPU: PC PENTIUM Version: VxWorks5.5.1 BSP version: 1.2/3 Creation date: Dec 3 2004, 11:55:42
WARNING: Failed to create 0 bytes of disk cache ATA disk /vxboot/ configured wit hout cache 0x2d93dc (tBoot): cbioWrapBlkDev: BLK_DEV pointer 0x002ffee8 appears invalid. 0x2d93dc (tBoot): cbioWrapBlkDev: BLK_DEV pointer 0x00000000 appears invalid. Error creating partition manager: 850001 0x2d93dcAttached TCP/I (P interface to tBootrtl): sysNvRam_mount0: usrAtaConfig failed . 0x2d93dc (tBoot): sysNvRamGet: open failed Warning: no netmask specified. Attaching network interface lo0... done. netInit Seccessed.
Press any key to stop auto-boot... 0 auto-booting...
Attaching to ATA disk device... done. Loading /ata0/vxworks...2410128 Starting at 0x308000...
Attached TCP/IP interface to rtl unit 0 Attaching interface lo0...done
VxWorks
Copyright 1984-2002 Wind River Systems, Inc.
CPU: PC PENTIUM Runtime Name: VxWorks Runtime Version: 5.5.1 BSP version: 1.2/3 Created: Dec 1 2004, 13:18:42 WDB Comm Type: WDB_COMM_END WDB: Ready.
其中出现的错误为:
WARNING: Failed to create 0 bytes of disk cache ATA disk /vxboot/ configured wit hout cache 0x2d93dc (tBoot): cbioWrapBlkDev: BLK_DEV pointer 0x002ffee8 appears invalid. 0x2d93dc (tBoot): cbioWrapBlkDev: BLK_DEV pointer 0x00000000 appears invalid. Error creating partition manager: 850001 0x2d93dcAttached TCP/I (P interface to tBootrtl): sysNvRam_mount0: usrAtaConfig failed 我的具体做法:
1、将config.h里的SYS_WARM_ATA_CTRL修改为1。
2、对config.h里的CF卡参数进行设置:
#define ATA_CTRL1_DRV0_CYL (980) /* ATA 1, device 0 cylinders */ #define ATA_CTRL1_DRV0_HDS (16) /* ATA 1, device 0 heads */ #define ATA_CTRL1_DRV0_SPT (32) /* ATA 1, device 0 sectors per track */ #define ATA_CTRL1_DRV0_BPS (512) /* ATA 1, device 0 bytes per sector */ #define ATA_CTRL1_DRV0_WPC (0xff) /* ATA 1, device 0 write pre-compensation */
3、将config.h里的ATA1_CTRL_TYPE修改为IDE_LOCAL
4、将config.h里的ATA1_INT_LVL修改为0x0f
说明:我的CF卡是Second_Primary。利用ataLoad( 1, 0, "\ata0\VxWorks" )加载CF卡上的VxWorks文件。这些都成功了,但就是出现上面的错误!我在网上看了好多同志跟我的情况一样,哪位做过的能帮帮我们吗???
QQ:22915614
Email:lizj@hbsanhuan.com.cn
[align=right][color=#000066][此贴子已经被作者于2004-12-3 14:56:44编辑过][/color][/align]