gdbraveheart
驱动牛犊
驱动牛犊
  • 注册日期2003-07-09
  • 最后登录2003-07-15
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:2745回复:2

为什么在tornado2.2制作软盘启动盘会出现启动不成功

楼主#
更多 发布于:2003-07-15 16:46
我用的CPU是pentiumII350,用的网卡是3COM的3C509B。我cpu 类型选PCPENTIUMII ,我在tornado2.2for x86下制作了软盘启动盘,但是在软盘启动时出现问题:  
NTLDR missing
press any key to restart

请问有没有人在tornado2.2下制作过软盘启动盘,可否给予小弟帮助。谢谢
xiaowu
驱动牛犊
驱动牛犊
  • 注册日期2003-11-02
  • 最后登录2004-12-08
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2003-11-08 15:00
We assume that Tornado 2.0 together with VxWorks 5.4 have been successfully installed on you Host PC. (Use Windows98 / Windows Me / Windows NT 4.0 / Windows 2000) And appropriate BSPs have been installed. (Ns486, pc386, pc486, pcPentium, pcPentiumPro, zt5541, zt5550, etc.)
Normally, we use Pentium BSP for our Pentium-Compatible PC targets.

Cautions: All BootDisk operations are use for Network Boot.

1. Make a BootDisk
1.1
BSP Directory:
Pentium BSP: $Tornado Root Dir$\\target\\config\\pcPentium
Zt-5541/5550 BSP: $Tornado Root Dir$\\target\\config\\ztBsp
Zt-5550 HA BSP: $Tornado Root Dir$\\target\\config\\ztBspHA

1.2
User custom define
We may do some custom defines for BSP, in most times we should custom our Network Card into
BSP for boot use network.
(Ne2000_ISA, Ne2000_PCI, Relteak_ ISA, Relteak_PCI, Accton_ISA, Accton_PCI) support for Chipsets En5025, Relteak8019, and Relteak8029 and NE Compatible Chipsets. Use VxWorks driver ENE.
(Intel Pro 100M PCI, Zt-5541) support for Chipsets Intel 82557. Use VxWorks driver FEI.
(Zt-5550) Use VxWorks driver DC.
In your BSP Directory, modify file “config.h”

For example:

1.2.1 ENE driver  (PC target mostly use ENE driver)
Boot Line modify:
#if (CPU == I80386)
#define DEFAULT_BOOT_LINE \\
\"fd=0,0(0,0)host:/fd0/vxWorks.st h=90.0.0.3 e=90.0.0.50 u=target\"
#elif (CPU == I80486)
#define DEFAULT_BOOT_LINE \\
\"fd=0,0(0,0)host:/fd0/vxWorks.st h=90.0.0.3 e=90.0.0.50 u=target\"
#elif (CPU_VARIANT == PENTIUM)
#define DEFAULT_BOOT_LINE \\
\"ene(0,0)host:vxworks h=172.16.168.175 e=172.16.168.169 u=user pw=user tn=MyDboard \"
#elif (CPU_VARIANT == PENTIUMPRO)
#define DEFAULT_BOOT_LINE \\
\"fd=0,0(0,0)host:/fd0/vxWorks.st h=90.0.0.3 e=90.0.0.50 u=target\"
#endif /* (CPU == I80386) */
Driver modify:
Undefine all other drivers, #undef INCLUDE_FEI  #undef INCLUDE_DC etc.
After /*Network driver options*/  &  /*verify network choices and dependencies*/. Add user Custom definition:
#define INCLUDE_END
#define INCLUDE_ENE_END
/* Misc. options */

1.2.2  FEI driver  (Some PC target use FEI driver)
Boot Line modify:
#if (CPU == I80386)
#define DEFAULT_BOOT_LINE \\
\"fd=0,0(0,0)host:/fd0/vxWorks.st h=90.0.0.3 e=90.0.0.50 u=target\"
#elif (CPU == I80486)
#define DEFAULT_BOOT_LINE \\
\"fd=0,0(0,0)host:/fd0/vxWorks.st h=90.0.0.3 e=90.0.0.50 u=target\"
#elif (CPU_VARIANT == PENTIUM)
#define DEFAULT_BOOT_LINE \\
\"fei (0,0)host:vxworks h=172.16.168.175 e=172.16.168.169 u=user pw=user tn=MyDboard \"
#elif (CPU_VARIANT == PENTIUMPRO)
#define DEFAULT_BOOT_LINE \\
\"fd=0,0(0,0)host:/fd0/vxWorks.st h=90.0.0.3 e=90.0.0.50 u=target\"
#endif /* (CPU == I80386) */

Driver modify:
Undefine all other drivers, #undef INCLUDE_ENE #undef INCLUDE_DC etc.
After /*Network driver options*/  &  /*verify network choices and dependencies*/. Add user Custom definition:
#define INCLUDE_FEI
#define INCLUDE_FEI_END
/* Misc. options */

1.2.3 Interrupt and I/O
Although most ISA card use int 5 and I/O port 0x300, some PCI cards and some ISA PNP cards use different interrupt and I/O port. You should first check the Network Cards’ interrupt and I/O port under Dos/Windows, and then modify them in config file “config.h”.
For Example:
Find and redefine follow clause:
#define IO_ADRS_ENE 0xe400
#define INT_LVL_ENE 0x0b
/* Hardware jumper is used to set */
/* RJ45(Twisted Pair) AUI(Thick) BNC(Thin) */
This example is only used for ENE driver.

After Modify the BSP configure file, now we can Build a Boot Rom for boot disk.

1.3 Build Boot ROM
Tornado IDE menu---->Build---->Build Boot Rom
 

1.4 Make Boot Disk
After build, we get a file bootrom_uncmp in BSP directory.
Copy this file to Host Bin directory. $Tornado Root Dir$\\host\\x86-win32\\bin,
Command : mkboot a: bootrom_uncmp
Thus a boot disk is made, it has VxWorks boot sector and bootrom.sys for boot.
人人都认为我很求上进,但没人知道我其实是因为孤独;。。。 在这喧嚣的成是
winter_mao
驱动牛犊
驱动牛犊
  • 注册日期2002-05-25
  • 最后登录2007-04-17
  • 粉丝0
  • 关注0
  • 积分20分
  • 威望2点
  • 贡献值0点
  • 好评度2点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2003-11-14 08:39
我也遇到类似的问题,2.2制作的启动盘,只显示了几行+,就再也不动了,这是为什么?请高手指点
游客

返回顶部