Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: jestabro@amt.tay1.dec.com <jestabro@amt.tay1.dec.com>
Subject: Re: UDB flash and failsafe loader experiments
Date: Tue, 29 Oct 1996 09:29:11 -0500	[thread overview]
Message-ID: <199610291429.JAA04226@linux03.amt.tay1.dec.com> (raw)
In-Reply-To: <19961029100127.7445.qmail@brouhaha.com>

>>> Eric Smith said:
> 
> And everything was back to normal.

Nice going! :-)

> Now that I am confident that I can reload the flash if I screw it up, I'm
> going to try to get Milo and FMU to use it.

OK, just a short word of caution here, nothing that should stop you, just
prepare you... :-)

You may very well run into problems that we (Dave Rusling and I) sort-of
pushed under the rug, and decided to depend on ARC or SRM setting up
correctly for the particular platform it is running on/was built for. Things
that a FLASHed MILO *will* need to know/do.

I'll give you an example:

The UDB design was based *very* heavily on the NONAME; because of this, it
took us hardly any time to get the UDB support going (most of the work was
TGA-related, both console and X). But its not *exactly* the same, as we came
to find out the hard way. Around 1.3.90 or so, I tried to use a vt100
attached to the serial port of a UDB. *Very* strange behavior: 16 character
bursts separated by 10 second pauses. Totally unusable. Interrupts were
being completely lost, and hardware resets after timeouts were flushing the
(16 character :-) UART FIFO.

Seems that the UDB designers decided that the serial interrupts would be
*level* triggered (like normal PCI interrupts), rather than the more standard
edge triggered (E)ISA. Go figure.

In the PCI bus probe/setup code of the kernel at that time, we'd clear the
edge/level mask to all zeros (edge), then set the appropriate bits when we
found a PCI bus device needing an interrupt. This was fine on NONAME, not
on UDB. So, rather than clear the entire mask, we'd first *read* the mask
and clear only those bits that could only have a PCI interrupt assigned to
them (9, 10, 11, and 15, IIRC), and then set about finding the PCI devices,
etc.

Voila. Same code would then work on UDB and NONAME. *But* we were depending
on the kindness of strangers (ARC and SRM).

So, be prepared... :-)

--Jay++

-------------------------------------------------------------------------------
  American Non Sequitur Society: we don't make sense, but we do like pizza...

Jay A Estabrook                         Alpha Migration Tools - LINUX Project
Digital Equipment Corp.                 (508) 952-4202 or (DTN) 227-4202
151 Taylor Street - TAY1-2              enet: jestabro@amt.tay1.dec.com
Littleton, MA 01460-1407                decnet: tallis::jestabro
-------------------------------------------------------------------------------

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

       reply	other threads:[~1996-10-29 14:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <19961029100127.7445.qmail@brouhaha.com>
1996-10-29 14:29 ` jestabro [this message]
1996-10-29 10:01 UDB flash and failsafe loader experiments Eric Smith
read-only archive

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