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

共8条 1/1 1 跳转至

vxworks boot problem

菜鸟
2007-06-26 10:51:15     打赏
If boot with network connected:

VxWorks System Boot
Copyright 1984-2002 Wind River Systems, Inc.
CPU: PC PENTIUM
 
Version: VxWorks5.5

BSP version: 1.2/2
Creation date: June 14 2007, 10:10:37

0x2a7a8c (tBoot): dosFsLib.c : ERROR reading the device boot sector
0x2a7a8c (tBoot): dosFsLib.c : media not formatted or not present
0x2a7a8c (tBoot): sysNvRamGet: open failed

Press any key to stop auto-boot... :
0
auto-booting...


boot device : fei
unit number : 0
processor number : 0
host name : bbdou
file name : c:\vxWorks
inet on ethernet (e) : 10.0.0.139
host inet (h) : 10.0.0.39
user (u) : ttry
ftp password (pw) : vxworks
flags (f) : 0x0
target name (tn) : target

Attached TCP/IP interface to fei0
Warning: no netmask specified.
Attaching network interface lo0... done
Loading... 888562
Starting at 0x308000...

WFTPD information:

[L 0040] 06/15/07 09:03:40 Connection accepted from 10.0.0139
[C 0040] 06/15/07 09:03:40 Command "USER ttry" received
[C 0040] 06/15/07 09:03:40 PASSword accepted
[L 0040] 06/15/07 09:03:40 User ttry logged in.
[C 0040] 06/15/07 09:03:40 Command "TYPE I" received
[C 0040] 06/15/07 09:03:40 TYPE set to I
[C 0040] 06/15/07 09:03:40 Command "PASV" received
[C 0040] 06/15/07 09:03:40 Entering Passive Mode [10,0,0,39,6,201]
[C 0040] 06/15/07 09:03:40 Command "RETR C:\vxWorks" received
[C 0040] 06/15/07 09:03:40 RETRieve started o file C:\vxWorks
[C 0040] 06/15/07 09:03:41 Transfer finished
[G 0040] 06/15/07 09:03:41 Got file C:\vxWorks successfully
[C 0040] 06/15/07 09:03:41 Command "QUIT" received
[C 0040] 06/15/07 09:03:41 QUIT or close-user ttry logged out


If boot without the connection with the host,
.................................................................(same with above)

Loading...
Error loading file: errno = 0x308000.
Can't load boot file!!
0x2a7a8c (tBoot): dosFsLib.c : ERROR reading the device boot sector
0x2a7a8c (tBoot): dosFsLib.c : media not formatted or not present
Error opening file "/vxboot/bootrom.sys", trying "/vxboot/bootrom.dat" ...
0x2a7a8c (tBoot): dosFsLib.c : ERROR reading the device boot sector
0x2a7a8c (tBoot): dosFsLib.c : media not formatted or not present

Error opening file "/vxboot/bootrom.dat"

[VxWorks Boot]:




关键词: vxworks     problem    

菜鸟
2007-06-27 21:22:00     打赏
2楼

nvram驱动没有写好,,,但这个没有问题。

启动盘的驱动有问题或者是设备名指定得不对。上面的错误应该是nvram实现的函数报出来的。

可以先把nvram的size设为0,即不启用。再提供点更详细的信息,比如默认启动行、启动设备。

可以在bootConfig.c里面的load之前,加上iosDevShow函数现实系统中到底有哪些设备加载了。


菜鸟
2007-07-02 02:32:00     打赏
3楼
以下是引用bbdou_edw在2007-6-26 2:51:00的发言:
If boot with network connected:

VxWorks System Boot
Copyright 1984-2002 Wind River Systems, Inc.
CPU: PC PENTIUM

Version: VxWorks5.5

BSP version: 1.2/2
Creation date: June 14 2007, 10:10:37

0x2a7a8c (tBoot): dosFsLib.c : ERROR reading the device boot sector
0x2a7a8c (tBoot): dosFsLib.c : media not formatted or not present
0x2a7a8c (tBoot): sysNvRamGet: open failed

Press any key to stop auto-boot... :
0
auto-booting...


boot device : fei
unit number : 0
processor number : 0
host name : bbdou
file name : c:\vxWorks
inet on ethernet (e) : 10.0.0.139
host inet (h) : 10.0.0.39
user (u) : ttry
ftp password (pw) : vxworks
flags (f) : 0x0
target name (tn) : target

Attached TCP/IP interface to fei0
Warning: no netmask specified.
Attaching network interface lo0... done
Loading... 888562
Starting at 0x308000...

WFTPD information:

[L 0040] 06/15/07 09:03:40 Connection accepted from 10.0.0139
[C 0040] 06/15/07 09:03:40 Command "USER ttry" received
[C 0040] 06/15/07 09:03:40 PASSword accepted
[L 0040] 06/15/07 09:03:40 User ttry logged in.
[C 0040] 06/15/07 09:03:40 Command "TYPE I" received
[C 0040] 06/15/07 09:03:40 TYPE set to I
[C 0040] 06/15/07 09:03:40 Command "PASV" received
[C 0040] 06/15/07 09:03:40 Entering Passive Mode [10,0,0,39,6,201]
[C 0040] 06/15/07 09:03:40 Command "RETR C:\vxWorks" received
[C 0040] 06/15/07 09:03:40 RETRieve started o file C:\vxWorks
[C 0040] 06/15/07 09:03:41 Transfer finished
[G 0040] 06/15/07 09:03:41 Got file C:\vxWorks successfully
[C 0040] 06/15/07 09:03:41 Command "QUIT" received
[C 0040] 06/15/07 09:03:41 QUIT or close-user ttry logged out


If boot without the connection with the host,
.................................................................(same with above)

Loading...
Error loading file: errno = 0x308000.
Can't load boot file!!
0x2a7a8c (tBoot): dosFsLib.c : ERROR reading the device boot sector
0x2a7a8c (tBoot): dosFsLib.c : media not formatted or not present
Error opening file "/vxboot/bootrom.sys", trying "/vxboot/bootrom.dat" ...
0x2a7a8c (tBoot): dosFsLib.c : ERROR reading the device boot sector
0x2a7a8c (tBoot): dosFsLib.c : media not formatted or not present

Error opening file "/vxboot/bootrom.dat"

[VxWorks Boot]:

很显然,target和host没有通过网络相连,怎么可能下载到vxworks


菜鸟
2007-07-19 23:04:00     打赏
4楼

Attached TCP/IP inte**ce to fei0
Warning: no netmask specified.
Attaching network inte**ce lo0... done
Loading... 888562
---------------------------------

我的到上面就停止了

然后超长时间后才显示[Vxworks boot]

为什么啊

我的是Tor2.2+Vx5.5+PIII+intel82559ER

是不是用自带的82559的网卡驱动不行,和82559ER有甚么区别啊

也能ping通,就是下载不下去

谢谢


菜鸟
2007-07-20 18:56:00     打赏
5楼

请问很长时间具体是多长,得有个大概值啊?

很长时间后又出现[vxworks_boot],loading没有成功?

可否把前面和后面的输出都贴出来看看。

82559应该没有问题。


菜鸟
2007-07-21 00:03:00     打赏
6楼

开发环境Tor2.2+Vx5.5+PIII+intel82559ER

目标机会显示

0x2a7a8c (tBoot): sysNvRamGet: open failed

然后Press any key to stop auto-boot... :
7---》0

auto-booting...然后

Attached TCP/IP inte**ce to fei0
Warning: no netmask specified.
Attaching network inte**ce lo0... done
Loading... 888562
目标机就停在这了,过段时间就显示[Vxworks boot]

时间长短和主机的wftpd有关,那上面有个设置超时的选型吧,(ps:有人说是tor2.2带的wftpd有问题)

另外在主机wftpd端,

ftp server的提示:
connection accepted from 192.168.0.199

command "user starlight " received

password accepted

user starlight logged in

command "type i"received

type set to i n

command "pasv" received

entering passive mode[192,168,0,2,8,93]

command "retr vxworks" received

retrieve started on file vxworks

显示不能成功下载

为什么,难道是ftp的问题?

谢谢各位了!!!

[em01][em01]

菜鸟
2009-05-31 14:45:46     打赏
7楼


菜鸟
2009-05-31 14:52:20     打赏
8楼
说的很详细,这里我想请教一个问题,希望高人赐教。

我用的VMWare, 网上下载的AMD 79C97x驱动,修改config.h为
lnPci(0,0)host:vxWorks h=192.168.10.19 e=192.168.10.23 u=user pw=1 tn=target

引导时提示lnPci0: failed to enter suspend mode

Loading... FTP transfer failed

Error loading file: errno = 0x33.
Can't load boot file!!

WFTPD那边没有收到任何请求。

请问这是什么原因,网卡驱动是否已经装上了?

共8条 1/1 1 跳转至

回复

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