Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Christian Worley <cworley@altatech.com>
To: axp-list@redhat.com
Subject: Can NVRAM be written from a booted system?
Date: Fri, 19 Jun 1998 09:30:36 -0600	[thread overview]
Message-ID: <358A841C.C72F23EA@altatech.com> (raw)

(Hopefully this is falling on the ears of Jay, Jim, or Maddog).

As I fall deeper and deeper into my NVRAM hole...

Many have complained that they can't do a similar function such as
"rdev" or "lilo -R" on AXP/Linux.

If you look into the Milo source (and old RedHat AXP docs) there is a
provision (conditional compile) for searching NVRAM for a block other
than the one setup by the ARC console.  I got this to work, although
it was a little tricky: you can't embed this section into your NVRAM
blow, or the SROM will die on the checksum and fail into the failsafe
booter the first time after you change your boot argumants... So, I
hacked a way to put the data one block after the magic string (in the
blow) it's keying off of.

This works great for milo booting directly out of NVRAM (which I need,
but heed Jay's warnings about doing this: you'll never use any SCSI
devices).

For the general case, this "milo boot arguments" block would work for
rebooting to a different kernel or root, if we could re-write this
section of NVRAM from the live OS.  In fact, if we new the magic
strings being used by the ARC and other consoles to setup the boot
arguments, we could do it for any of these consoles.

Is this possible?  It seems if milo can re-write NVRAM, then the
appropriate drivers are in milo, and they need to be ported to Linux. 
Is this the case, or is there an easier way?

Chris
-- 
  When I die, please cast my ashes upon Bill Gates
   --for once, let him clean up after me!


                 reply	other threads:[~1998-06-19 15:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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