Вы находитесь на странице: 1из 4

Creating a Vxworks bootrom without

using a floppy drive


Things you need before starting

¾ Vmware Workstation
¾ WinImage{virtual floppy software}
¾ Vxworks workbench installed inside Vmware.

Vmware recognizes floppy image with extension “.flp”,so we are going t create a dummy image
with a text file in it .Lets take x.txt file with file size of 0kb and inject it into a floppy image.

Select 1.44 MB as your floppy drive size and inject that file , then choose file>save as and then
save it as some “test.flp” . Now your floppy image is ready!

Visit us at www.hypernuclide.com
Start Vmware and configure your floppy drive in vmware .

Do not forget to choose “Connect at power on”. Now start the virtual machine , I am using
windows xp here.

Before to proceed add the following to PATHS to environment variables , make sure that u add
semicolon after each path.

My workbench is installed in C:\WindRiver-GPPVE-3.6-IA-Eval\ , so replace the path


underlined with red color with your path.

Visit us at www.hypernuclide.com
Now open the command promt and type in the following command

format a:

When asked for volume label just hit enter and the format should be over with few seconds , so
now you have your floppy drive formatted .

Now type in

cd “C:\WindRiver-GPPVE-3.6-IA-Eval\vxworks-6.6\target\config\pcPentium”

Once your in the target /config the rest is routine just type

mkboot a: bootrom.bin

and hit enter if everything goes fine you will be getting bootrom.sys file in your floppy drive.If
its non contiguous you can follow the below procedure.
C:\WR\VxWorks\host\x86-win32\bin> vxsys a:
VxSys 1.6 (c) Wind River 1993-2002
Boot sector installed OK.

Now copy the boot image to the floppy. For .bin images use copy

C:\WR\VxWorks\target\config\pcPentium> copy bootrom.bin a:bootrom.sys

For all other images use objcopypentium

C:\WR\VxWorks\host\x86-win32\bin\objcopypentium -O binary --gap-fill=0

Visit us at www.hypernuclide.com
bootrom a:bootrom.sys

Now verify that the file is contiguous. Non contiguous images will not boot.

C:\WR\VxWorks\target\config\pcPentium> chkdsk a:bootrom.sys

Similarly you can do it for other files also .

Visit us at www.hypernuclide.com

Вам также может понравиться