* Can NVRAM be written from a booted system?
@ 1998-06-19 15:30 Christian Worley
0 siblings, 0 replies; only message in thread
From: Christian Worley @ 1998-06-19 15:30 UTC (permalink / raw)
To: axp-list
(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!
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-06-19 15:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-19 15:30 Can NVRAM be written from a booted system? Christian Worley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox