Re: The first reboot to hard drive after the CD-rom install failed
Michael <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.macppc |
|---|---|
| Organization | The NetBSD Foundation |
| Message-ID | <20200402164822.0c8a338b@blackbush> |
On Thu, 2 Apr 2020 09:37:55 +0200 Martin Husemann <[email protected]> wrote: > On Thu, Apr 02, 2020 at 03:35:23AM -0400, Michael wrote: > > Hmm, all my new world macs have a 'model' property on the /openprom > > node that says 'OpenFirmware 3' or - on G5s - 'OpenFirmware 4'. > > Older machines have something like 'OpenFirmware, 1.0.5' or > > 'OpenFirmware, 2.0'. > > We need this in the hw sysctl tree, accessing OF properties from install > media (with current tools) is a real pain (tried that on evbarm to tell > a RPi* from others - failed miserably). > > Can you make it available, please? Absolutely. What would you like - just an integer for the major version, the whole thing as a string or just the version number(s)? Parsing it in userland is probably less annoying, but I'll do whatever is most convenient to you. In hw.openfirmware ? have fun Michael