From: Nikita Schmidt <cetus@snowball.ucd.ie>
To: axp-list@redhat.com
Subject: Re: how to get at SRM flash ROM?
Date: Wed, 28 Apr 1999 22:43:16 +0100 [thread overview]
Message-ID: <19990428224316.A5738@snowball.ucd.ie> (raw)
In-Reply-To: <199904281759.KAA20767@helmholtz.salk.edu>; from Jack Wathey on Wed, Apr 28, 1999 at 10:59:58AM -0700
On Wednesday, 28 Apr, Jack Wathey wrote:
>
> My question: Is there any way to read and write the values in
> these SRM environment variables from a C program running under
> Linux (i.e., after the kernel has booted and the system is up
> and running)? If so, how?
>
If you boot straight from SRM (not via MILO), the answer seems to be
yes, although the procedure is not very simple. You need to write a
kernel module that would call srm_dispatch(CCB_..._ENV, ...) for you.
See <asm/console.h> for details and arch/alpha/boot/main.c for examples.
I don't know if srm_fixup is needed or not; hopefully not.
Nikita
next prev parent reply other threads:[~1999-04-28 22:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-04-28 17:59 how to get at SRM flash ROM? Jack Wathey
1999-04-28 21:43 ` Nikita Schmidt [this message]
1999-04-29 8:08 ` Quant-X Alpha Linux Support
1999-05-02 20:10 ` Richard Henderson
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