Module Name: src Committed By: rin Date: Wed Apr 15 13:33:13 UTC 2020
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 XXX pullup to netbsd-9 and -8 To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sys/arch/macppc/stand/ofwboot/Locore.c cvs rdiff -u -r1.17 -r1.18 src/sys/arch/powerpc/oea/ofw_consinit.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.