* OF access after kernel boot
@ 2000-07-04 7:39 Vladimir Simonov
2000-07-04 14:51 ` Simon Piette
2000-07-04 14:52 ` Simon Piette
0 siblings, 2 replies; 4+ messages in thread
From: Vladimir Simonov @ 2000-07-04 7:39 UTC (permalink / raw)
To: linuxppc-dev
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.
Thanks in advance
Vladimir Simonov
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: OF access after kernel boot
2000-07-04 7:39 OF access after kernel boot Vladimir Simonov
@ 2000-07-04 14:51 ` Simon Piette
2000-07-04 16:39 ` Vladimir Simonov
2000-07-04 14:52 ` Simon Piette
1 sibling, 1 reply; 4+ messages in thread
From: Simon Piette @ 2000-07-04 14:51 UTC (permalink / raw)
To: linuxppc-dev
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: OF access after kernel boot
2000-07-04 7:39 OF access after kernel boot Vladimir Simonov
2000-07-04 14:51 ` Simon Piette
@ 2000-07-04 14:52 ` Simon Piette
1 sibling, 0 replies; 4+ messages in thread
From: Simon Piette @ 2000-07-04 14:52 UTC (permalink / raw)
To: linuxppc-dev
* Vladimir Simonov (sv@asplinux.ru) [000704 03:40]:
>
I am not sure if your machine is supported by this utility, though.
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: OF access after kernel boot
2000-07-04 14:51 ` Simon Piette
@ 2000-07-04 16:39 ` Vladimir Simonov
0 siblings, 0 replies; 4+ messages in thread
From: Vladimir Simonov @ 2000-07-04 16:39 UTC (permalink / raw)
To: linuxppc-dev
Thanks,
> man nvsetenv
> Without parameters, nvsetenv will give you the values of nvram
> registers.
I'm using linux-pmac-stable - 2.2.15pre19 on G4. And found that nvram.c
is not linked in spite of CONFIG_NVRAM=y.
Makefile in drivers/char contains
....
ifeq($(CONFIG_NVRAM),y)
ifeq($(CONFIG_PPC),)
....
Is an absence of "y" a typo or has sence?
Any way nvram.c can't be compiled "for this machine configuration".
Does anybody know which versions of kernel permit
nvram using on G4, iBook?
Thanks again
Vladimir Simonov
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-07-04 16:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-04 7:39 OF access after kernel boot Vladimir Simonov
2000-07-04 14:51 ` Simon Piette
2000-07-04 16:39 ` Vladimir Simonov
2000-07-04 14:52 ` Simon Piette
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).