home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / vxworks / 1041 < prev    next >
Encoding:
Internet Message Format  |  1992-11-20  |  2.2 KB

  1. 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
  2. From: trest@visicom.com (Mike Trest)
  3. Newsgroups: comp.os.vxworks
  4. Subject: re: Disk Boot
  5. Message-ID: <9211201547.AA11410@linda.VisiCom.COM>
  6. Date: 20 Nov 92 15:47:58 GMT
  7. Sender: vxwexplo@lbl.gov
  8. Organization: Lawrence Berkeley Laboratory, Berkeley CA
  9. Lines: 45
  10. NNTP-Posting-Host: 128.3.112.16
  11. Originator: daemon@vxw.ee.lbl.gov
  12.  
  13. George Eger asks:
  14. > Is there any attempt in 5.1 to allow a local disk boot?  I have heard that
  15. > bootp is going to be used for booting, but I haven't heard anything about 
  16. > allowing booting from a local disk?
  17.  
  18. Sure is!  I have been booting from local disk since 4.x and currently
  19. in 5.0.x.
  20.  
  21. We added a function called scsiLoad() to bootConfig.c
  22.  
  23.         if (scsiLoad(bootDevId,bootDevLUN,params.bootFile,pEntry) != OK)
  24.         {
  25.             printErr("\nError Loading file: errno = 0x%x\n",errno);
  26.             return(ERROR);
  27.         }
  28.  
  29. Which is invoked if the boot device is something like "scsi(0,0)"
  30. This function follows the general approach of netLoad().  It
  31. setus up the SCSI controler and Devices, waits for the disk to
  32. become ready, and loads the file.  The entry point of the file
  33. is called and the VxWorks image is running - - usually within
  34. a few seconds.  When using high performance disks, it seems
  35. almost as fast as booting a stand-alone rom version.
  36.  
  37. In the configuration paramters, the SCSI ID and LUN so we can boot
  38. from *ANY* SCSI device.  We reference the params.bootFile name
  39. which looks something like sd0:/boot68k/vxWorks which causes it
  40. the disk rather than the net. The Startup script is usually
  41. referenced sd0:/boot68k/target.cmd.
  42.  
  43. This code is included with most of the BSP's VisiCom writes if
  44. there is a SCSI chip on the board.  We intend to continue this
  45. in VxWorks 5.1 and following releases.
  46.  
  47. ..mike..
  48.  
  49.  
  50. ====================================================
  51. Mike Trest                      trest@visicom.com
  52. Senior Engineer                 Voice: 619 457 2111
  53. Technology Group                Fax:   619 457 0888
  54. VisiCom Laboratories            San Diego, CA 
  55. ====================================================
  56.