* write into OF tree like nvsetenv
@ 2000-01-08 16:15 Olaf Hering
2000-01-08 16:31 ` BenH
[not found] ` <v04220818b49df84590b1@[192.168.0.1]>
0 siblings, 2 replies; 6+ messages in thread
From: Olaf Hering @ 2000-01-08 16:15 UTC (permalink / raw)
To: linuxppc-dev
Hi,
it is possible to write into the OF settings to adjust the boot
variables? nvsetenv do not work anymore on newer machines.
Is there any way to change variables like "boot-device"?
The idea is to automate the generation of yaboot.conf and booting via
the os-chooser script.
Gruss Olaf
--
$ man 1 current_release
BUGS
Users never read manuals...
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: write into OF tree like nvsetenv 2000-01-08 16:15 write into OF tree like nvsetenv Olaf Hering @ 2000-01-08 16:31 ` BenH [not found] ` <v04220818b49df84590b1@[192.168.0.1]> 1 sibling, 0 replies; 6+ messages in thread From: BenH @ 2000-01-08 16:31 UTC (permalink / raw) To: linuxppc-dev On Sat, Jan 8, 2000, Olaf Hering <olh@suse.de> wrote: >it is possible to write into the OF settings to adjust the boot >variables? nvsetenv do not work anymore on newer machines. > >Is there any way to change variables like "boot-device"? >The idea is to automate the generation of yaboot.conf and booting via >the os-chooser script. nvsetenv needs fixing. There's a tool that comes with poof that should work until I fix nvsetenv. Also, mvram is not accessible at all yet on UMA machines (I'm working on that but it will only work when booting from OF, not with BootX). ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/ ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <v04220818b49df84590b1@[192.168.0.1]>]
[parent not found: <38785B2C.7807E8FD@wanadoo.fr>]
* Re: write into OF tree like nvsetenv [not found] ` <38785B2C.7807E8FD@wanadoo.fr> @ 2000-01-09 13:29 ` Olaf Hering 2000-01-10 14:58 ` Ethan Benson 0 siblings, 1 reply; 6+ messages in thread From: Olaf Hering @ 2000-01-09 13:29 UTC (permalink / raw) To: Martin Costabel; +Cc: linuxppc-dev On Sun, Jan 09, Martin Costabel wrote: > > I am somewhat surprised that nobody mentions the "Christmas Present" > boot script by BenH > (http://lists.linuxppc.org/listarcs/linuxppc-dev/199912/msg00191.html). > I installed this on several iMac DVs, and it works great. Now you don't > have to fiddle with OF any more, and if you put a timeout into > yaboot.conf, booting into Linux is completely automatic. Yes, this script is just great. > You only have to enter OF once, type > setenv boot-device hd:10,yabootloader.script I want exactly this automatic. This works fine on the current IDE Macs, but with a B&W Scsi Mac a "typical" User has lost. The path on my Mac is something like /pci/pci-bridge/ADPT,2940U2B/@6:7,blah Too complex. Gruss Olaf -- $ man 1 current_release BUGS Users never read manuals... ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: write into OF tree like nvsetenv 2000-01-09 13:29 ` Olaf Hering @ 2000-01-10 14:58 ` Ethan Benson 2000-01-11 8:08 ` Olaf Hering 0 siblings, 1 reply; 6+ messages in thread From: Ethan Benson @ 2000-01-10 14:58 UTC (permalink / raw) To: linuxppc-dev, Martin Costabel; +Cc: linuxppc-dev On 9/1/2000 Olaf Hering wrote: > >I want exactly this automatic. This works fine on the current IDE Macs, >but with a B&W Scsi Mac a "typical" User has lost. >The path on my Mac is something like > >/pci/pci-bridge/ADPT,2940U2B/@6:7,blah > >Too complex. agreed, OF device paths are gross ;) I have two comments on this, one this can be automatic if you make the bootstrap partition look like a MacOS bootdisk (as my ybin scripts will do) and the mac-boot function `should' find it and see it as bootable and load the bootfile(*) automatically, however this is quite slow, it can take up to 2 to 5 MINUTES for this to occur (at least on my B&W with a adaptec 2930). (*) bootfile as in the file in the blessed directory with a HFS file type of tbxi, my scripts will set the OF script to this if a OF script is used and if not the yaboot file gets it. the other problem, is there is currently no way to determine the OF device path of a Linux device file, we cannot tell what /dev/sdb3's OF path is, BenH tells me to add this would require modification of every block device driver (which opens a big can of worms). in short we have 2 problems right now: 1) we cannot write to OF nvram from linux at the moment and 2) we cannot figure out WHAT to write to it... -- Ethan Benson To obtain my PGP key: http://www.alaska.net/~erbenson/pgp/ ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: write into OF tree like nvsetenv 2000-01-10 14:58 ` Ethan Benson @ 2000-01-11 8:08 ` Olaf Hering 2000-01-11 8:14 ` Ethan Benson 0 siblings, 1 reply; 6+ messages in thread From: Olaf Hering @ 2000-01-11 8:08 UTC (permalink / raw) To: Ethan Benson; +Cc: linuxppc-dev On Mon, Jan 10, Ethan Benson wrote: > > On 9/1/2000 Olaf Hering wrote: > > > > >I want exactly this automatic. This works fine on the current IDE Macs, > >but with a B&W Scsi Mac a "typical" User has lost. > >The path on my Mac is something like > > > >/pci/pci-bridge/ADPT,2940U2B/@6:7,blah > > > >Too complex. > > agreed, OF device paths are gross ;) ... > in short we have 2 problems right now: 1) we cannot write to OF nvram > from linux at the moment and 2) we cannot figure out WHAT to write to > it... We will change this, at least the last. Who solve the first problem? :) Gruss Olaf -- $ man 1 current_release BUGS Users never read manuals... ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: write into OF tree like nvsetenv 2000-01-11 8:08 ` Olaf Hering @ 2000-01-11 8:14 ` Ethan Benson 0 siblings, 0 replies; 6+ messages in thread From: Ethan Benson @ 2000-01-11 8:14 UTC (permalink / raw) To: Olaf Hering; +Cc: linuxppc-dev On 11/1/2000 Olaf Hering wrote: > > in short we have 2 problems right now: 1) we cannot write to OF nvram > > from linux at the moment and 2) we cannot figure out WHAT to write to > > it... > >We will change this, at least the last. Who solve the first problem? :) I think BenH said he was going to work on fixing nvsetenv so it will actually write the changes back (need to document the new nvram format). how will you fix the latter problem? from what Ben has told me its quite non trivial. -- Ethan Benson To obtain my PGP key: http://www.alaska.net/~erbenson/pgp/ ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/ ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2000-01-11 8:14 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-08 16:15 write into OF tree like nvsetenv Olaf Hering
2000-01-08 16:31 ` BenH
[not found] ` <v04220818b49df84590b1@[192.168.0.1]>
[not found] ` <38785B2C.7807E8FD@wanadoo.fr>
2000-01-09 13:29 ` Olaf Hering
2000-01-10 14:58 ` Ethan Benson
2000-01-11 8:08 ` Olaf Hering
2000-01-11 8:14 ` Ethan Benson
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).