Steps to make vxworks bootable USB drive:
Disclaimer:
Please note that this procedure is not officially supported by any company and
assumes that you have understood the implications mentioned in each of the
following steps and further agree that you are following this procedure at your own risk.
This procedure sometimes can damage the usb stick and in such cases it can become
unusable for any other purposes as well.
Step 0: Insert the USB stick in a usb slot on the winXP machine.
Please close windows explorer / dos windows if any of these access the usb drive.
The utilities that we run in the following steps assume " absolute ownership" of the usb drive,
hence close the dos window or CD out of the usb drive's directories.
In sections below, we assume that the USB drive is mapped as drive E: on winXP machine.
Also, connect a serial cable from the Damascus board to your host machine and invoke a serial terminal program ( such as tera term or minicom etc).
Step 1: Format the usb stick with HP's DriveKey utility.
( Included in the zip file, but its also available from HP's web site).
C:\Download\DamascusBoard>HPUSBF E:
HP USB Disk Storage Format Tool, Version 1.00.012 (11/13/2003)
Copyright (c) 2003 Hewlett-Packard Development Company, L.P.
The type of the current file system is FAT.
WARNING! ALL DATA ON THE DRIVE E: (Kingston DataTraveler 2.0 1.00) WILL BE LOST!
Are you really sure that you want to proceed with Format (Y/N)? Y
Verifying 953.25MB...
Format completed successfully.
The type of the new file system is FAT.
Volume Serial Number is 141A-EFD2
999,260,160 bytes total disk space.
999,260,160 bytes available on disk.
16,384 bytes in each allocation unit.
60,990 total allocation units on disk.
60,990 available allocation units on disk.
C:\Download\DamascusBoard>
Step 2: C:\Download\DamascusBoard>vxsysusb E: -ownrisk
vxsysusb Progress: Original Bootloader and Disk Parameters read from E:
vxsysusb Progress: Original Disk parameters checked
vxsysusb Progress: Bootloader created
vxsysusb Progress: Bootloader written to Disk E:
vxsysusb Sucess: Done.
Step 3:
C:\Download\DamascusBoard> copy bootrom.bin E:bootrom.sys
Step 4: Copy vxWorks E:\vxWorks
Step 5: Take out the USB stick from the windows host machine ( following appropriate safe removal
method).
Step 6: Insert this USB stick on the Damascus Board's usb slot.
Step 7: Power Reset or Power recycle to the Damascus Board
Step 8: Enter the appropriate set of keys to enter the BIOS of the board.
Change the bios settings / bios priority to boot from "USB stick".
i.e. after this change, the USB stick should be either the first boot device
or it should be the only boot device ( preferably).
Step 9: Save these changes and reboot the Damascus Board ( allowing it boot from USB stick).
Step 10: Now, observe the Damascus Board's serial port console window ( such as tera term)
for booting activity. When it boots you would see the vxworks boot prompt.
Step 11: Enter the correct boot parameters.
sample session:
If things work the way you asssumed, the Damascus would have boot-loaded the vxworks image stored
on the USB stick.