Additions to powerpc Beta2 errata & notes on a fix
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Would it be possible to add a note to the beta2 errata for
oldworld powerpc that the quik-install/openfirmware setups fails, and
that one needs to manually set the OpenFirmware boot-device.
It should also be noted that in many cases, ouput-device and
input-device before rebooting, otherwise completing the install is
impossible due to being unable to read messages that are sent to the
console (which defaults to openfirmware's input/output devices, which on
many old world machines is the serial port)
If /proc/device-tree can be included in the miBoot floppies (the
hd-media and cd installs already include this support) I think I have
the beginnings of a solution:
If /proc/dev-tree/alias/screen exists
nvsetenv output-device screen
else
Search /sys for a device of type 'display'
If there's more than one, ask which to use
Set output-device to the OF firmware name (this information is
supplied in same directory as the 'display' device)
endif
I
if /proc/dev-tree/alias/kbd exists
nvsetenv output-device kbd
else
not sure, will have to check if there is a way to do this
fi
The boot-device fix:
First you determine what device under /sys is the boot device's
controller, then you figure out what that corresponds to
under /proc/device-tree. Then you figure out the boot disk's
OF name, based on it's /sys name.
This last bit is trickiest, and I'll have to see if I can figure it out
after I test the latest daily build.
- --
And that's my crabbing done for the day. Got it out of the way early,
now I have the rest of the afternoon to sniff fragrant tea-roses or
strangle cute bunnies or something. -- Michael Devore
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFEegc1hvWBpdQuHxwRAggYAKCcdK7jKmE4Aha/o2HOSTI14p2LNACfVcX8
Jip2oE+MKMbzz2Uw9iXbsEE=
=p7Zw
-----END PGP SIGNATURE-----
Reply to: