On Tue, Feb 07, 2012 at 07:59:04PM +0100, Fred . wrote:
> Please put this file in the repository. I don't know, but somewhere.
> So it outputs a bootsplash.jpg file to wherever SeaBIOS is looking for
> that file.
>
> #!/bin/sh
> convert -background black \
> -font /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-R.ttf \
This file is hardly available on all machines where this script might
run.
> -pointsize 96 -size 320x480 \
> -gravity East -fill '#2078cb' label:'Sea' \
> -gravity West -fill white label:'BIOS' \
> +append bootsplash.jpg
> _______________________________________________
> SeaBIOS mailing list
> SeaBIOS(a)seabios.org
> http://www.seabios.org/mailman/listinfo/seabios
--
Gleb.
Please put this file in the repository. I don't know, but somewhere.
So it outputs a bootsplash.jpg file to wherever SeaBIOS is looking for
that file.
#!/bin/sh
convert -background black \
-font /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-R.ttf \
-pointsize 96 -size 320x480 \
-gravity East -fill '#2078cb' label:'Sea' \
-gravity West -fill white label:'BIOS' \
+append bootsplash.jpg
On Sun, Feb 05, 2012 at 12:46:58AM +0000, Julian Pidancet wrote:
> As per Ian comment on previous commit 7123d9834d58287d43514d7799ed1a7b34eea243
>
> Signed-off-by: Julian Pidancet <julian.pidancet(a)gmail.com>
> ---
> src/Kconfig | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/src/Kconfig b/src/Kconfig
> index cf0bff0..cee0005 100644
> --- a/src/Kconfig
> +++ b/src/Kconfig
> @@ -361,6 +361,7 @@ menu "Debugging"
> config DEBUG_IO_PORT
> depends on DEBUG_IO
> hex "Debug IO port address"
> + default 0x00e9 if XEN
> default 0x0402
> help
> Bochs uses the 0x0402 address by default, whereas Xen
Setting of default values doesn't work well when done this way. To
test, run "make menuconfig" select a build without xen, and run make.
You'll see out/autoconf.h has DEBUG_IO_PORT=0x402. Then run "make
menuconfig" select xen, and run make. You'll still see
DEBUG_IO_PORT=0x402.
You can look at VGA_VID in vgasrc/Kconfig for one possible solution to
the above.
-Kevin
On Sun, Feb 05, 2012 at 04:51:06AM +0000, Julian Pidancet wrote:
> The Intel gfx VGA option ROM on certain platforms requires the 155f50 BIOS
> function to be implemented (even if it does nothing), to work properly.
>
> v2: Ignore the case where Option ROMs are pre-deployed.
> Make vgahook_setup independent of wether the CB* variables are set.
> VGA hooks can be enabled on non-coreboot and non-Xen configurations.
>
> Signed-off-by: Julian Pidancet <julian.pidancet(a)gmail.com>
Thanks - I've applied this patch.
-Kevin
More vgabios work. At the end of this series, the remaining bochsvga
capabilities are now ported from the LGPL bios (with the exception of
the 32bit interface which seems like it isn't worth porting). This
basically completes the porting effort.
-Kevin
Kevin O'Connor (6):
vgabios: Simplify cga/packed character screen writing.
vgabios: Fix screen attrs on cga scroll.
vgabios: Handle VGA option rom being re-run.
vgabios: Add support for VBE get/set dac palette format (func 08).
vgabios: Move save/restore state code from vgabios.c to stdvga.c.
vgabios: Implement VBE save/restore state function (func 04).
vgasrc/bochsvga.c | 89 +++++++++++++++++++++++++++++++++++++
vgasrc/bochsvga.h | 5 ++
vgasrc/clext.c | 43 +++++++++++++++---
vgasrc/clext.h | 3 +
vgasrc/stdvga.c | 126 +++++++++++++++++++++++++++++++++++++++++++----------
vgasrc/stdvga.h | 32 ++-----------
vgasrc/vbe.c | 57 ++++++++++++++++++++++--
vgasrc/vgabios.c | 111 ++++++++++++++++++-----------------------------
vgasrc/vgabios.h | 5 ++-
vgasrc/vgafb.c | 58 +++++++++---------------
vgasrc/vgahw.h | 36 +++++++++++++++
11 files changed, 396 insertions(+), 169 deletions(-)
--
1.7.6.4
On Thu, Feb 02, 2012 at 01:37:28PM +0000, Julian Pidancet wrote:
> On Wed, Feb 1, 2012 at 4:13 AM, Kevin O'Connor <kevin(a)koconnor.net> wrote:
> > Is Xen passthrough special, or will the same thing occur on KVM
> > passthrough? If the 155f hooks are needed on Intel VGA cards, I
> > wouldn't tie it to Xen - we can just turn it on by default and enable
> > it if the VGA card is recognized as Intel based.
> >
>
> I can't answer you about KVM as I never used it, but I suppose it
> might have the same problem if it has VGA passthrough support.
>
> The problem I had was that the CBvendor and the CBpart variables were
> only set in the coreboot.c file which is specific to coreboot. How can
> we make the vgahooks part more generic and independent ?
Something like (untested):
--- a/src/coreboot.c
+++ b/src/coreboot.c
@@ -117,7 +117,7 @@ find_cb_subtable(struct cb_header *cbh, u32 tag)
}
static struct cb_memory *CBMemTable;
-const char *CBvendor, *CBpart;
+const char *CBvendor = "", *CBpart = "";
// Populate max ram and e820 map info by scanning for a coreboot table.
static void
diff --git a/src/vgahooks.c b/src/vgahooks.c
index a8f667c..520044c 100644
--- a/src/vgahooks.c
+++ b/src/vgahooks.c
@@ -254,7 +254,7 @@ handle_155f(struct bregs *regs)
void
vgahook_setup(struct pci_device *pci)
{
- if (!CONFIG_VGAHOOKS || !CBvendor || !CBpart)
+ if (!CONFIG_VGAHOOKS)
return;
if (strcmp(CBvendor, "KONTRON") == 0 && strcmp(CBpart, "986LCD-M") == 0)
@@ -265,4 +265,6 @@ vgahook_setup(struct pci_device *pci)
roda_setup(pci);
else if (pci->vendor == PCI_VENDOR_ID_VIA)
via_setup(pci);
+ else if (pci->vendor == PCI_VENDOR_ID_INTEL)
+ /* ... */;
}
-Kevin
On Mon, 2012-01-30 at 17:23 +0000, julian.pidancet(a)gmail.com wrote:
> From: Julian Pidancet <julian.pidancet(a)citrix.com>
>
> Introduce CONFIG_DEBUG_IO_PORT config option which allow user
> to choose on which port to send debug on at configure time.
>
> Bochs users are likely to use 0x402 (default) for debugging purposes,
> whereas Xen uses 0xe9, as IO port address.
>
> Signed-off-by: Julian Pidancet <julian.pidancet(a)citrix.com>
> ---
> src/Kconfig | 18 ++++++++++++++++++
> src/output.c | 4 ++--
> 2 files changed, 20 insertions(+), 2 deletions(-)
>
> diff --git a/src/Kconfig b/src/Kconfig
> index 9ea48bb..f57899b 100644
> --- a/src/Kconfig
> +++ b/src/Kconfig
> @@ -348,4 +348,22 @@ menu "Debugging"
> default 0x3f8
> help
> Base port for serial - generally 0x3f8, 0x2f8, 0x3e8, or 0x2e8.
> +
> + config DEBUG_IO
> + depends on !COREBOOT && DEBUG_LEVEL != 0
> + bool "Special IO port debugging"
> + default y
> + help
> + Some emulators or hypervisors provide with a way to output debug
> + information by outputing strings in a special port present in the
> + IO space.
> +
> + config DEBUG_IO_PORT
> + depends on DEBUG_IO
> + hex "Debug IO port address"
> + default 0x0402
> + help
> + Bochs uses the 0x0402 address by default, whereas Xen
> + makes the 0xe9 IO address available for guests use.
Can we do
default 0xe9 if XEN
default 0x0402
so this just comes out correctly depending on the other options
selected?
Ian.