From: Simon Piette <spiette@generation.net>
To: linuxppc-dev@lists.linuxppc.org
Subject: Re: OF access after kernel boot
Date: Tue, 4 Jul 2000 10:51:05 -0400 [thread overview]
Message-ID: <20000704105105.E18342@xim.bellglobal.com> (raw)
In-Reply-To: <NEBBKFDEKEFCPABJIFOMCEAKCPAA.sv@sw.mipt.ru>; from sv@asplinux.ru on Tue, Jul 04, 2000 at 11:39:52AM +0400
Hi,
* Vladimir Simonov (sv@asplinux.ru) [000704 03:40]:
>
> Hi all,
> I'd like to change some OF (Open Firmware)
> parameters after kernel loading. But arch/ppc/prom.c
> runs "Because OF may have mapped I/O devices into the area
> starting at KENELBASE,....Therefore all OF calls should be
> done within prom_init()...".
> Is it possible to keep safe interface to OF
> after kernel's mapping to KERNELBASE?
> If it is not possible for all PPC, perhaps,
> a list of mashines where it works and
> some hints how to do it will be useful.
>
man nvsetenv
Without parameters, nvsetenv will give you the values of nvram
registers.
Cheers,
Simon
--
PGP key ID: 1024D/99290743 Simon Piette <spiette@generation.net>
PGP Key fingerprint: 9AF9 33F9 A900 E153 9DF3 0625 8928 CB52 9929 0743
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2000-07-04 14:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-07-04 7:39 OF access after kernel boot Vladimir Simonov
2000-07-04 14:51 ` Simon Piette [this message]
2000-07-04 16:39 ` Vladimir Simonov
2000-07-04 14:52 ` Simon Piette
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20000704105105.E18342@xim.bellglobal.com \
--to=spiette@generation.net \
--cc=linuxppc-dev@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).