Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* how to use milo bootopt command
@ 1997-02-26 11:24 Michael B. Schmitz
  0 siblings, 0 replies; 2+ messages in thread
From: Michael B. Schmitz @ 1997-02-26 11:24 UTC (permalink / raw)


I got milo installed into the flash on a PC164.  The fmu list command shows
blocks used as follows:

0:U 1:U 2:U 3:WNT 4:WNT 5:WNT 6:WNT 7:WNT 8:MILO 
9:MILO 10:MILO 11:MILO 12:MILO 13:U 14:MILO 15:WNT

Many questions:

1) I appear not to have anything in blocks 0, 1, and 2.  My board was
shipped this way.  Shouldn't I have had DBM in those blocks?

2) I can't find any variation of milo's or fmu's bootopt command which
bypasses WNT.  I.e.  setting bootopt to 129, 130, 131, etc. or the 
firmware ID of MILO (which I now forget) simply reboot into WNT.  I tried
inserting the bootopt jumper (CF7) on the system board, but the system
won't boot at all with that jumper in place.  

Here is a comment from srom.s in the Digital Evaluation Board SDK:

# Revision 1.58  1996/04/22  15:20:37  cruz
# Updated code that loads system from ROM to recognize a different
# signature for the image header.  There are now two possible values
# for the first longword in the header.  One is 0x5A5AC3C3 and the other
# a branch instruction: C3E0xxxx where xxxx is dependent on the header size
# and if executed, will jump to the first longword of the image.
#
# Also, removed use of RTC RAM to select which image to load.  For PC164
# only, the boot jumper will specify which image to load, either the
# first (if jumper is in) or the second image (if jumper is out) will
# be loaded.
#

This seems to say that bootopt setting is irrelevant for the PC164.  Further,
it says that if I take out the jumper MILO, being the second image should
be loaded.  So why doesn't it?  I get the beep code 123 which according to
the PC164 Motherboard manual, means I've fallen into the failsafe booter.
Additionally, the manual says this happens because "the primary firmware
image is unavailable".  Well, why is it "unavailable?".

3)  If I were to put DBM into the first 3 sectors, would that make it 
forever impossible to boot the third flash image (since the hardware
jumper can only select the first or second image).

4)  When I run the fmu (from the MILO package) I get about a hundred CIA
machine checks before it finishes initializing.  Then it appears to work
just fine.  Are these machine checks normal?

5) Finally, why is Digital putting in these arbitrary limitations?

						Thanks,
						mbs@veritas.com
						(415) 335 8452

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 2+ messages in thread
* RE: how to use milo bootopt command
@ 1997-02-27 16:52 Franklin.Hooker
  0 siblings, 0 replies; 2+ messages in thread
From: Franklin.Hooker @ 1997-02-27 16:52 UTC (permalink / raw)


>> I got milo installed into the flash on a PC164.  The fmu list command shows
>> blocks used as follows:
>> 
>> 0:U 1:U 2:U 3:WNT 4:WNT 5:WNT 6:WNT 7:WNT 8:MILO 
>> 9:MILO 10:MILO 11:MILO 12:MILO 13:U 14:MILO 15:WNT
>> 
>> 1) I appear not to have anything in blocks 0, 1, and 2.  My board was
>> shipped this way.  Shouldn't I have had DBM in those blocks?

The AlphaPC164 incorporates a 1MB flash.  The standard configuration is
for the first 64KB block to contain the fail-safe booter.  The next 14
64KB blocks (896KB) are allocated to the primary firmware.  The last block
is allocated for storing any environment variables that the firmware needs
to save.

                +-------------------------+
                | Environment Space 64KB  | Block 15
                +-------------------------+
                |                         |
                |                         |
                |                         |
                | Primary Firmware 896KB  |
                |                         |
                |                         |
                |                         |
                +-------------------------+
                | Fail-safe Booter 64KB   | Block 0
                +-------------------------+

The primary firmware shipped with the boards is Windows NT ARC Firmware.
If a user desires to run another firmware they must replace their primary
firmware.  Our standard Firmware Update Utility (fwupdate.exe) and the
Debug Monitor available for these boards both understand this flash
allocation.  The fail-safe booter is provided for emergency flash
recovery when the primary image is corrupted.

>> 2) I can't find any variation of milo's or fmu's bootopt command which
>> bypasses WNT.  I.e.  setting bootopt to 129, 130, 131, etc. or the 
>> firmware ID of MILO (which I now forget) simply reboot into WNT.  I tried
>> inserting the bootopt jumper (CF7) on the system board, but the system
>> won't boot at all with that jumper in place.  

One of the changes necessary to implement this new flash usage strategy was
to discontinue use the the NVRAM in the TOY clock to identify the default
firmware to boot when the system is powered up.  Rather than use a memory
location in the TOY clock to select between any number of different firmware
images, a jumper will be used to select between either the primary firmware
or the fail-safe booter as the first image. 

        - Modified the SROM to ignore the toy setting and boot
          the first or second image based on jumper (CF7).
        - Remove the "bootopt" command from the PC164 Debug Monitor.

As it turns out the SRM console still relies upon the NVRAM setting to
determine how to interpret the time and date read from the TOY clock.
This is because different operating systems store the date differently
in the TOY clock.

>> This seems to say that bootopt setting is irrelevant for the PC164.  Further,
>> it says that if I take out the jumper MILO, being the second image should
>> be loaded.  So why doesn't it?  I get the beep code 123 which according to
>> the PC164 Motherboard manual, means I've fallen into the failsafe booter.
>> Additionally, the manual says this happens because "the primary firmware
>> image is unavailable".  Well, why is it "unavailable?".
>> 
>> 3)  If I were to put DBM into the first 3 sectors, would that make it 
>> forever impossible to boot the third flash image (since the hardware
>> jumper can only select the first or second image).

The PC164 Debug Monitor no longer fits into three segments.  It
requires four.  But the answer is yes.  The SROM will never boot the
third image.

>> 4)  When I run the fmu (from the MILO package) I get about a hundred CIA
>> machine checks before it finishes initializing.  Then it appears to work
>> just fine.  Are these machine checks normal?

I can't honestly speak for MILO but I suspect it is reporting "expected
machine checks" taken while probing the PCI bus to see what is out there.

>> 5) Finally, why is Digital putting in these arbitrary limitations?

It was never intended to be a limitation.  The problem is that the sizes of
our various firmware images (Windows NT Firmware, SRM Console, and Debug
Monitor) has been growing as features are added.  It has reached a point
where we could no longer squeeze them all into the flash simultaneously.
Therefore, it was decided that we modify our strategy beginning with the
AlphaPC 164 to support only the scheme described above.

====================================================================
Franklin Hooker, EBSDK Project Leader, Digital Equipment Corporation

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-02-27 16:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-02-26 11:24 how to use milo bootopt command Michael B. Schmitz
  -- strict thread matches above, loose matches on Subject: below --
1997-02-27 16:52 Franklin.Hooker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox