这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 嵌入式开发 » MCU » 关于BOOTROM从trueffs文件里LOAD VXWORKS的问题!

共2条 1/1 1 跳转至

关于BOOTROM从trueffs文件里LOAD VXWORKS的问题!

菜鸟
2007-04-20 16:42:53     打赏
#define INCLUDE_DOSFS
#define INCLUDE_DISK_UTIL
#define INCLUDE_TFFS 
#define INCLUDE_TFFS_SHOW
#define INCLUDE_TL_FTL
并且你的文件系统已经起来了!把VXWORKS放到TFFS里!
这样BOOTROM就可以引导TFFS了!看下面

help

? - print this list
@ - boot (load and go)
p - print boot params
c - change boot params
l - load boot file
g adrs - go to adrs

d adrs[,n] - display memory
m adrs - modify memory
f adrs, nbytes, value - fill memory
t adrs, adrs, nbytes - copy memory
e - print fatal exception
v - print boot logo with version
n netif - print network interface device address
N - set ethernet address
$dev(0,procnum)host:/file h=# e=# b=# g=# u=usr [pw=passwd] f=#
tn=targetname s=script o=other
boot device: tffs=drive,removable file name: /tffs0/vxWorks
Boot flags:
0x02 - load local system symbols
0x04 - don't autoboot
0x08 - quick autoboot (no countdown)
0x20 - disable login security
0x40 - use bootp to get boot parameters
0x80 - use tftp to get boot image
0x100 - use proxy arp

available boot devices:Enhanced Network Devices
motfec0 motfec1 tffs
[VxWorks Boot]:看到没有motfec0 motfec1 tffs 这表明可以用TFFS了!
boot device : motfec
unit number : 0
processor number : 0
host name : tr
file name : vxworks
inet on ethernet (e) : 192.168.0.131
host inet (h) : 192.168.0.41
gateway inet (g) : 192.168.0.2
user (u) : tr
ftp password (pw) : 1
flags (f) : 0x0
target name (tn) : tr

Attached TCP/IP interface to motfec0.
Warning: no netmask specified.
Attaching network interface lo0... done.
Loading...
看到没有boot device : motfec
把boot device: tffs=drive,removable file name: /tffs0/vxWorks
这样就可以LOAD在文件系统里的vxWorks 了!




关键词: 关于     BOOTROM     trueffs     文件     VXW    

菜鸟
2007-04-20 17:09:00     打赏
2楼

VxWorks System Boot


Copyright 1984-2002 Wind River Systems, Inc.

CPU: Motorola M5275AB
Version: VxWorks5.5.2
BSP version: 1.2/0
Creation date: Mar 12 2007, 17:55:11


Press any key to stop auto-boot...
7
6
5
4
3
2
1
0

auto-booting...


boot device : tffs=0,0
unit number : 0
processor number : 0
host name : tr
file name : /tffs0/vxworks
inet on ethernet (e) : 192.168.0.100
inet on backplane (b): 0.0.0.0
host inet (h) : 192.168.0.37
gateway inet (g) : 192.168.0.2
user (u) : tr
ftp password (pw) : 1
flags (f) : 0x0
target name (tn) : tr
other (o) : motfec0

Attaching to TFFS...
the baseFlashPtr is ffc00000

enter the fllv160Identify

thisVars->unlockAddr1 ffc00aaa,*thisVars->unlockAddr2 ffc00554

the flashPtr is ffc00002

the thisVars->unlockAddr1 is ffc00aaa, thisVars->unlockAddr2 is ffc00554

the type is 227e

identify ok
done.
Loading /tffs0/vxworks...844912 + 292328
Starting at 0x1000...

0x2007e60 (tRootTask): motFecPhyInit check cable connection
Attached TCP/IP interface to motfec unit 0
Attaching interface lo0...done
Unable to add route to 192.168.0.0; errno = 0xffffffff.

Adding 3650 symbols for standalone.

]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
]]]]]]]]]]] ]]]] ]]]]]]]]]] ]] ]]]] (R)
] ]]]]]]]]] ]]]]]] ]]]]]]]] ]] ]]]]
]] ]]]]]]] ]]]]]]]] ]]]]]] ] ]] ]]]]
]]] ]]]]] ] ]]] ] ]]]] ]]] ]]]]]]]]] ]]]] ]] ]]]] ]] ]]]]]
]]]] ]]] ]] ] ]]] ]] ]]]]] ]]]]]] ]] ]]]]]]] ]]]] ]] ]]]]
]]]]] ] ]]]] ]]]]] ]]]]]]]] ]]]] ]] ]]]] ]]]]]]] ]]]]
]]]]]] ]]]]] ]]]]]] ] ]]]]] ]]]] ]] ]]]] ]]]]]]]] ]]]]
]]]]]]] ]]]]] ] ]]]]]] ] ]]] ]]]] ]] ]]]] ]]]] ]]]] ]]]]
]]]]]]]] ]]]]] ]]] ]]]]]]] ] ]]]]]]] ]]]] ]]]] ]]]] ]]]]]
]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
]]]]]]]]]]]]]]]]]]]]]]]]]]]]] Development System
]]]]]]]]]]]]]]]]]]]]]]]]]]]]
]]]]]]]]]]]]]]]]]]]]]]]]]]] VxWorks version 5.5.2
]]]]]]]]]]]]]]]]]]]]]]]]]] KERNEL: WIND version 2.6
]]]]]]]]]]]]]]]]]]]]]]]]] Copyright Wind River Systems, Inc., 1984-2006

CPU: Motorola M5275AB. Processor #0.
Memory Size: 0x2008000. BSP version 1.2/0.
WDB Comm Type: WDB_COMM_END
WDB: Ready.


共2条 1/1 1 跳转至

回复

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