[prev in list] [next in list] [prev in thread] [next in thread]
List: openbios
Subject: [OpenBIOS] [commit] r762 - trunk/openbios-devel/arch/ppc/qemu
From: repository service <svn () openbios ! org>
Date: 2010-04-30 20:57:28
Message-ID: E1O7xH6-0003zt-2X () ra ! coresystems ! de
[Download RAW message or body]
Author: mcayland
Date: Fri Apr 30 22:57:27 2010
New Revision: 762
URL: http://tracker.coreboot.org/trac/openbios/changeset/762
Log:
Fix for PPC bootloaders that force the output to the "screen" device when -nographic \
is used with qemu. Note that this isn't a complete fix in that the VGA device is \
still present within the device tree, but it at least allows the bootloader and \
kernel to execute far enough to prevent you from wondering why the console has \
apparently frozen.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Modified:
trunk/openbios-devel/arch/ppc/qemu/init.c
Modified: trunk/openbios-devel/arch/ppc/qemu/init.c
==============================================================================
--- trunk/openbios-devel/arch/ppc/qemu/init.c Fri Apr 30 22:54:03 2010 (r761)
+++ trunk/openbios-devel/arch/ppc/qemu/init.c Fri Apr 30 22:57:27 2010 (r762)
@@ -658,6 +658,17 @@
stdin_path = "sccb";
stdout_path = "sccb";
}
+
+ /* Some bootloaders force the output to the screen device, so
+ let's create a screen alias for the serial device too */
+ push_str("/aliases");
+ fword("find-device");
+
+ push_str(stdout_path);
+ fword("pathres-resolve-aliases");
+ fword("encode-string");
+ push_str("screen");
+ fword("property");
} else {
stdin_path = "adb-keyboard";
stdout_path = "screen";
--
OpenBIOS http://openbios.org/
Mailinglist: http://lists.openbios.org/mailman/listinfo
Free your System - May the Forth be with you
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic