Vladimir Serbinenko (phcoder(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4083
-gerrit
commit 5dfa0d3357c023726754bf27910509e313a1338e
Author: Vladimir Serbinenko <phcoder(a)gmail.com>
Date: Thu Nov 14 19:23:30 2013 +0100
Don't wait on 2065x
The mdelay is not necessarry on 2065x.
Tested on X201 that it works without delay.
Change-Id: Ida9e85be7c214f3ba4c9476b5d8a0351e7980e5e
Signed-off-by: Vladimir Serbinenko <phcoder(a)gmail.com>
---
src/cpu/x86/lapic/lapic_cpu_init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/cpu/x86/lapic/lapic_cpu_init.c b/src/cpu/x86/lapic/lapic_cpu_init.c
index cd09280..555187f 100644
--- a/src/cpu/x86/lapic/lapic_cpu_init.c
+++ b/src/cpu/x86/lapic/lapic_cpu_init.c
@@ -141,7 +141,7 @@ static int lapic_start_cpu(unsigned long apicid)
}
return 0;
}
-#if !CONFIG_CPU_AMD_MODEL_10XXX && !CONFIG_CPU_INTEL_MODEL_206AX
+#if !CONFIG_CPU_AMD_MODEL_10XXX && !CONFIG_CPU_INTEL_MODEL_206AX && !CONFIG_CPU_INTEL_MODEL_2065X
mdelay(10);
#endif
Ronald G. Minnich (rminnich(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4258
-gerrit
commit 76cf45cff1e040dabc497773335a0bd59c97915a
Author: Ronald G. Minnich <rminnich(a)google.com>
Date: Tue Nov 19 17:42:41 2013 -0800
bochs: add support for native graphics
This is an attempt to make native graphics work in the x86 qemu mainboards.
It's basically right code-wise, and it builds, and we get no graphics in qemu.
Change-Id: I66188f61e1bac7ad93c989cc10f3e0b55140e148
Signed-off-by: Ronald G. Minnich <rminnich(a)google.com>
---
src/drivers/emulation/qemu/bochs.c | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/src/drivers/emulation/qemu/bochs.c b/src/drivers/emulation/qemu/bochs.c
index 1fd7e28..45f8dd9 100644
--- a/src/drivers/emulation/qemu/bochs.c
+++ b/src/drivers/emulation/qemu/bochs.c
@@ -1,4 +1,6 @@
+#include <stdint.h>
#include <delay.h>
+#include <edid.h>
#include <stdlib.h>
#include <string.h>
#include <arch/io.h>
@@ -95,8 +97,18 @@ static void bochs_init(device_t dev)
VBE_DISPI_ENABLED | VBE_DISPI_LFB_ENABLED);
outb(0x20, 0x3c0); /* disable blanking */
+#if CONFIG_MAINBOARD_DO_NATIVE_VGA_INIT
+ if (addr){
+ struct edid edid;
+ edid.ha = width;
+ edid.va = height;
+ edid.bpp = 32;
+ set_vbe_mode_info_valid(&edid, addr);
+ }
+#endif
}
+#if !CONFIG_MAINBOARD_DO_NATIVE_VGA_INIT
int vbe_mode_info_valid(void);
int vbe_mode_info_valid(void)
{
@@ -123,6 +135,7 @@ void fill_lb_framebuffer(struct lb_framebuffer *framebuffer)
framebuffer->reserved_mask_pos = 24;
framebuffer->reserved_mask_size = 8;
}
+#endif
static struct device_operations qemu_graph_ops = {
.read_resources = pci_dev_read_resources,
Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4257
-gerrit
commit 461284ea39cad2cb1c9de00895c626ec0349a19c
Author: Stefan Reinauer <reinauer(a)chromium.org>
Date: Wed Jun 12 17:18:03 2013 -0700
qemu-armv7: Drop additional console_init()
It's done in bootblock_simple.c just after returning from
the mainboard specific bootblock function.
Signed-off-by: Stefan Reinauer <reinauer(a)google.com>
Change-Id: I96cab5e406132a9f7dc30d48ff99f524773a1a14
Reviewed-on: https://gerrit.chromium.org/gerrit/58473
Reviewed-by: Stefan Reinauer <reinauer(a)chromium.org>
Tested-by: Stefan Reinauer <reinauer(a)chromium.org>
Commit-Queue: Stefan Reinauer <reinauer(a)chromium.org>
---
src/mainboard/emulation/qemu-armv7/Kconfig | 4 ----
src/mainboard/emulation/qemu-armv7/bootblock.c | 23 -----------------------
2 files changed, 27 deletions(-)
diff --git a/src/mainboard/emulation/qemu-armv7/Kconfig b/src/mainboard/emulation/qemu-armv7/Kconfig
index 9bee946..e4327d6 100644
--- a/src/mainboard/emulation/qemu-armv7/Kconfig
+++ b/src/mainboard/emulation/qemu-armv7/Kconfig
@@ -45,10 +45,6 @@ config MAINBOARD_VENDOR
string
default "ARM Ltd."
-config BOOTBLOCK_MAINBOARD_INIT
- string
- default "mainboard/emulation/qemu-armv7/bootblock.c"
-
config DRAM_SIZE_MB
int
default 1024
diff --git a/src/mainboard/emulation/qemu-armv7/bootblock.c b/src/mainboard/emulation/qemu-armv7/bootblock.c
deleted file mode 100644
index 5654667..0000000
--- a/src/mainboard/emulation/qemu-armv7/bootblock.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * This file is part of the coreboot project.
- *
- * Copyright (C) 2013 Google, Inc.
- *
- * This software is licensed under the terms of the GNU General Public
- * License version 2, as published by the Free Software Foundation, and
- * may be copied, distributed, and modified under those terms.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- */
-
-#include <console/console.h>
-
-void bootblock_mainboard_init(void);
-void bootblock_mainboard_init(void)
-{
- console_init();
- printk(BIOS_INFO, "\n\n\n%s: ARMv7 Emulation Started.\n", __func__);
-}