OFW stdout (Was: CVS commit: src/sys/arch)
Valery Ushakov <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.macppc |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Apr 15, 2020 at 13:33:13 +0000, Rin Okuyama wrote: > Modified Files: > src/sys/arch/macppc/stand/ofwboot: Locore.c > src/sys/arch/powerpc/oea: ofw_consinit.c > > Log Message: > When boot up with auto-boot? == true, some systems do not provide stdout > if the normal output is screen. > > Open screen explicitly as stdout in this case, both for ofwboot and kernel, > which fixes problems with auto-boot? == true for Mac mini G4: > > - messages from ofwboot do not appear > - kernel freeze during early boot stage > > Taken from OpenBSD: > http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/arch/macppc/macppc/ofw_machdep.c#rev1.3 > http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/arch/macppc/stand/Locore.c#rev1.3 Yay, thanks for overcoming the power of inertia! I guess everyone is so used to the OFW workaround that nobody bothered to fix this. Thanks. -uwe