home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!ames!agate!dog.ee.lbl.gov!lbl.gov!vxwexplo
- From: trest@visicom.com (Mike Trest)
- Newsgroups: comp.os.vxworks
- Subject: re: Disk Boot
- Message-ID: <9211201547.AA11410@linda.VisiCom.COM>
- Date: 20 Nov 92 15:47:58 GMT
- Sender: vxwexplo@lbl.gov
- Organization: Lawrence Berkeley Laboratory, Berkeley CA
- Lines: 45
- NNTP-Posting-Host: 128.3.112.16
- Originator: daemon@vxw.ee.lbl.gov
-
- George Eger asks:
- >
- > Is there any attempt in 5.1 to allow a local disk boot? I have heard that
- > bootp is going to be used for booting, but I haven't heard anything about
- > allowing booting from a local disk?
- >
-
- Sure is! I have been booting from local disk since 4.x and currently
- in 5.0.x.
-
- We added a function called scsiLoad() to bootConfig.c
-
- if (scsiLoad(bootDevId,bootDevLUN,params.bootFile,pEntry) != OK)
- {
- printErr("\nError Loading file: errno = 0x%x\n",errno);
- return(ERROR);
- }
-
- Which is invoked if the boot device is something like "scsi(0,0)"
- This function follows the general approach of netLoad(). It
- setus up the SCSI controler and Devices, waits for the disk to
- become ready, and loads the file. The entry point of the file
- is called and the VxWorks image is running - - usually within
- a few seconds. When using high performance disks, it seems
- almost as fast as booting a stand-alone rom version.
-
- In the configuration paramters, the SCSI ID and LUN so we can boot
- from *ANY* SCSI device. We reference the params.bootFile name
- which looks something like sd0:/boot68k/vxWorks which causes it
- the disk rather than the net. The Startup script is usually
- referenced sd0:/boot68k/target.cmd.
-
- This code is included with most of the BSP's VisiCom writes if
- there is a SCSI chip on the board. We intend to continue this
- in VxWorks 5.1 and following releases.
-
- ..mike..
-
-
- ====================================================
- Mike Trest trest@visicom.com
- Senior Engineer Voice: 619 457 2111
- Technology Group Fax: 619 457 0888
- VisiCom Laboratories San Diego, CA
- ====================================================
-