Add support for qemu standard VGA
PATCH 1/1 Add support for qemu standard VGA
Signed-off-by Benjamin Herrenschmidt <[email protected]>
--- board-qemu/slof/Makefile | 3 +- board-qemu/slof/OF.fs | 47 +++++ board-qemu/slof/pci-device_1234_1111.fs | 288 +++++++++++++++++++++++++++++++ board-qemu/slof/tree.fs | 17 +-- 4 files changed, 341 insertions(+), 14 deletions(-) create mode 100644 board-qemu/slof/pci-device_1234_1111.fs
board-qemu/slof/Makefile +2 -1
@@ -76,7 +76,8 @@ OF_FFS_FILES = \ $(SLOFCMNDIR)/fs/xmodem.fs \ $(SLOFBRDDIR)/default-font.bin \ $(SLOFBRDDIR)/pci-phb.fs \ - $(SLOFBRDDIR)/rtas.fs + $(SLOFBRDDIR)/rtas.fs \ + $(SLOFBRDDIR)/pci-device_1234_1111.fs # Uncomment the following line to enable the USB code: OF_FFS_FILES += $(USB_FFS_FILES)
board-qemu/slof/OF.fs +47 -0
59 lines not on this page · raw message
board-qemu/slof/pci-device_1234_1111.fs new file +287 -0
287 lines not on this page · raw message
board-qemu/slof/tree.fs +4 -13
@@ -53,6 +53,10 @@ device-end ; fixup-tbfreq +4d0 cp + +include fbuffer.fs + 500 cp : populate-vios ( -- )
@@ -179,16 +183,3 @@ s" /mmu" open-dev encode-int s" mmu" set-chosen #include <term-io.fs> -: set-default-console - s" linux,stdout-path" get-chosen IF - decode-string - ." Using default console: " 2dup type cr - io - 2drop - ELSE - " hvterm" find-alias IF drop - " hvterm" io - THEN - THEN -; -set-default-console