OF access after kernel boot

Simon Piette spiette at generation.net
Wed Jul 5 00:51:05 EST 2000


Hi,

* Vladimir Simonov (sv at 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 at 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/





More information about the Linuxppc-dev mailing list