* bootstrap for MicroVAX II
@ 1994-01-21 1:58 Bertram Barth
1994-01-21 18:15 ` Stephen Hoffman
1994-01-22 22:09 ` Peter Sherwood
0 siblings, 2 replies; 3+ messages in thread
From: Bertram Barth @ 1994-01-21 1:58 UTC (permalink / raw)
Hi,
i'm trying to create a boot-block for a MicroVAX II, but i'm missing
a few informations.
The 'MicroVax II System - Digital Technical Journal' says:
" [...]
2. If an ODS-II file structure is not present,
VMB looks for a valid boot-block image
in the first block on the disk. This block
contains a table that specifies the size
and location of the secondary boot
image. If the table is valid, VMB reads the
asecondary boot image into the memory and
transfers control to the image. (If the
table is invalid, ...
[...] "
My questions are:
- what is the exact location of this table in LBN 0 ?
- what and where are the fields in this table ?
- are there any other restrictions in the boot-block (magic bytes at certain
locations, special instructions, etc.) ?
- where is the entry-point of the secondary boot image ? (first byte ?)
- in which books/documentation should i look to get more information ?
Ciao,
bertram
--
-----
Bertram Barth, bertram@ifib1.ifib.uni-karlsruhe.de, (++49 721) 608-2168
Universitaet Karlsruhe, Institut fuer Industrielle Bauproduktion
Englerstr. 7, D-76128 Karlsruhe
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: bootstrap for MicroVAX II
1994-01-21 1:58 bootstrap for MicroVAX II Bertram Barth
@ 1994-01-21 18:15 ` Stephen Hoffman
1994-01-22 22:09 ` Peter Sherwood
1 sibling, 0 replies; 3+ messages in thread
From: Stephen Hoffman @ 1994-01-21 18:15 UTC (permalink / raw)
In article <2hnct2$ejl@nz12.rz.uni-karlsruhe.de>, bertram@ifib1.ifib.uni-karlsruhe.de (Bertram Barth) writes:
|>i'm trying to create a boot-block for a MicroVAX II, but i'm missing
|>a few informations.
|>The 'MicroVax II System - Digital Technical Journal' says:
|>" [...]
|> 2. If an ODS-II file structure is not present,
|> VMB looks for a valid boot-block image
|> in the first block on the disk. This block
|> contains a table that specifies the size
|> and location of the secondary boot
|> image. If the table is valid, VMB reads the
|> asecondary boot image into the memory and
|> transfers control to the image. (If the
|> table is invalid, ...
|> [...] "
|>
|>My questions are:
|>- what is the exact location of this table in LBN 0 ?
|>- what and where are the fields in this table ?
|>- are there any other restrictions in the boot-block (magic bytes at certain
|> locations, special instructions, etc.) ?
|>- where is the entry-point of the secondary boot image ? (first byte ?)
|>- in which books/documentation should i look to get more information ?
It is not clear from the above if you have a problem bootstrapping
a MicroVAX II system under a supported operating system and from
a supported device, or if you are just directly interested in the
details of the bootstrapping sequence for some other purpose(s).
The boot block documentation and the necessary memory layout should
be included in the KA630 CPU Module User's guide: EK-KA630-UG. (I
do not have a copy of this document handy to check on this, though.)
Under typical circumstances, the MicroVAX II copies the primary
bootstrap program (VMB) from console ROM into main memory. VMB
then goes looking for the secondary bootstrap (SYSBOOT) image on
tapes, and on removable and fixed disks. If the secondary bootstrap
image is not found, the console goes looking for bootblocks on disks,
tapes and at predesignated locations in (usually PROM) memory, and
it eventually gets `deperate' enough to go begging on the LAN for a
downline-load bootstrap via an NI controller.
If you are attempting to create a boot block on an ODS-II file
system under the OpenVMS operating system, you can use the OpenVMS
WRITEBOOT utility. However, as the MicroVAX II already has a copy
of the VMB primary bootstrap in the console ROM, it does not normally
need to utilize the bootblock.
Further information on the MicroVAX II bootstraping sequence, on VMB,
and on SYSBOOT, is included in the VMS Internals and Data Structures
manual.
Steve Hoffman
--
-----------------------------------------------------------------------
<<disclaimer: these are personal opinions, not corporate commitments.>>
Steve Hoffman Internet1: hoffman@xdelta.enet.dec.com
Digital Equipment Corporation Internet2: shoffman@star.enet.dec.com
Nashua NH, 03062-2698 USA Trauma: NR EMT-Intermediate, Defib
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: bootstrap for MicroVAX II
1994-01-21 1:58 bootstrap for MicroVAX II Bertram Barth
1994-01-21 18:15 ` Stephen Hoffman
@ 1994-01-22 22:09 ` Peter Sherwood
1 sibling, 0 replies; 3+ messages in thread
From: Peter Sherwood @ 1994-01-22 22:09 UTC (permalink / raw)
In article <2hnct2$ejl@nz12.rz.uni-karlsruhe.de> bertram@ifib1.ifib.uni-karlsruhe.de (Bertram Barth) writes:
>i'm trying to create a boot-block for a MicroVAX II, but i'm missing
>a few informations.
>- what is the exact location of this table in LBN 0 ?
>- what and where are the fields in this table ?
>- are there any other restrictions in the boot-block (magic bytes at certain
> locations, special instructions, etc.) ?
>- where is the entry-point of the secondary boot image ? (first byte ?)
OFFSET CONTENTS
0 anything
2 n=offset in words to identification area
3 1
4 logical block number (word swapped) of the secondary image
[Identification area]
2n 18 hex
2n+1 0
2n+2 anything
2n+3 1s' complement of sum of previous 3 bytes
2n+4 0
2n+5 1=single-sided 81=double-sided volumes
2n+6 anything
2n+8 longword; size in blocks of secondary image
2n+12 longword; load offset (usually 0) from the default load addr of
secondary bootstrap
2n+16 longword; byte offset into secondary image to start execution
2n+20 longword; sum of previous 3 longwords
>- in which books/documentation should i look to get more information ?
All the CPU User's Guides have this info; above is from KA620-A CPU Module
User's Guide, DEC p/n EK-KA520-UG-001 (1986).
-----------------------------------------------------------------------------
Peter Sherwood
(617) 332-8880 (voice)
(617) 332-1675 (fax)
gbcacm@ccs.neu.edu
-----------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1994-01-22 22:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-01-21 1:58 bootstrap for MicroVAX II Bertram Barth
1994-01-21 18:15 ` Stephen Hoffman
1994-01-22 22:09 ` Peter Sherwood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox