Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Creating Compact Flash Boot Disk

591 views
Skip to first unread message

steve...@grassvalleygroup.com

unread,
Nov 9, 2000, 3:00:00 AM11/9/00
to
I'm trying to create a VxWorks Boot Disk on a Compact Flash Device. The
Compact Flash is plugged into a programmer on host (Windows NT system),
and looks like a removable hard drive. I'm trying to use vxsys from a
dos command window to install the boot loader and I get an error message
"An application has attempted to directly access the hard disk which
cannot be supported." If I ignore this warning and proceed to use vxcopy
to put my bootrom.sys on the compact flash it doesn't end up as a
contiguous file.

I've successfully created a VxWorks boot disk on a high density floppy
using these same steps and I thought it would be the same for a Compact
Flash.

Can anybody give me some pointers on this?

Thanks, Steve Ross
Grass Valley Group Inc.


Sent via Deja.com http://www.deja.com/
Before you buy.

James Marshall

unread,
Nov 10, 2000, 3:00:00 AM11/10/00
to
You have to open a windows command line and type LOCK <drivename>.

James.

steve...@my-deja.com

unread,
Nov 13, 2000, 3:00:00 AM11/13/00
to
Below is one method to do this. As a note I'm using a TME 5811 platform
as my target. This is basically a Pentium based PC platform.

1) Modify BIOS settings to see the CompactFlash as an IDE drive.
Apply power to the TME board and hit the delete key to get to the BIOS
Setup Utility. Select the IDE HDD Auto Detection, and with the
CompactFlash connected to the Primary IDE connector, the BIOS should
auto detect the CompactFlash and configure it properly. With the
CompactFlash connected to the primary IDE it will be boot device IDE-0.

2) Boot DOS from a floppy disk.

3) At the DOS prompt, run WindRiver's VXSYS.COM utility to write VxWorks
bootstrap code onto the CompactFlash. To do this copy vxsys.com from the
Tornado 2 directory \host\x86-win32\bin\vxsys.com and copy it to a
floppy disk. Then with DOS booted on the target insert this disk and
run:

VXSYS C:

A warning will appear about performing this on a hard drive, just
ignore it.

4) Copy your BOOTROM.SYS to the root directory of the CompactFlash.

BOOTROM.sys is created within Tornado 2 and placed on a floppy disk
with the command bootrom_uncmp (see previous section for details).

At this point the CompactFlash is ready to boot the BOOTROM.SYS and can
then load the VxWorks system image from the host if that is what you
wish to do If you are going to load VxWorks from a host you can change
the BIOS settings To boot first from the IDE drive instead of the floppy
(to save some boot time), hit the Delete key as the system is booting to
modify the BIOS settings. Note that the CompactFlash is called a IDE
device in the BIOS.


In article <8uesf9$945$1...@nnrp1.deja.com>,

0 new messages