Date: Mon, 4 Mar 2013 12:56:56 +0100
When Kconfig was introduced in SeaBIOS with
commit a4c5daf0e2545361fadcad3015e10f8b23e53926
Author: Kevin O'Connor <kevin(a)koconnor.net>
Date: Mon Jan 24 22:13:58 2011 -0500
Initial commit of Kconfig build tool.
this typo was copied from Kconfig in Linux v2.6.38-rc2. In the meantime
Linux commit »kconfig: nconf: rewrite help texts« (0b616500) [1] rewrote
the texts for `nconf.c` – which might be ported too to SeaBIOS – and the
typo was fixed there. But it is still present in `mconf.c` as of Linux
3.8.
[1] http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=0…
---
tools/kconfig/mconf.c | 2 +-
tools/kconfig/nconf.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/kconfig/mconf.c b/tools/kconfig/mconf.c
index d433c7a..2a24c42 100644
--- a/tools/kconfig/mconf.c
+++ b/tools/kconfig/mconf.c
@@ -25,7 +25,7 @@
static const char mconf_readme[] = N_(
"Overview\n"
"--------\n"
-"This interface let you select features and parameters for the build.\n"
+"This interface lets you select features and parameters for the build.\n"
"Features can either be built-in, modularized, or ignored. Parameters\n"
"must be entered in as decimal or hexadecimal numbers or text.\n"
"\n"
diff --git a/tools/kconfig/nconf.c b/tools/kconfig/nconf.c
index db56377..bb797c9 100644
--- a/tools/kconfig/nconf.c
+++ b/tools/kconfig/nconf.c
@@ -15,7 +15,7 @@
static const char nconf_readme[] = N_(
"Overview\n"
"--------\n"
-"This interface let you select features and parameters for the build.\n"
+"This interface lets you select features and parameters for the build.\n"
"Features can either be built-in, modularized, or ignored. Parameters\n"
"must be entered in as decimal or hexadecimal numbers or text.\n"
"\n"
--
1.7.10.4
This is the seabios code that adds support for loading
acpi tables from QEMU.
Changes from v5:
- address Kevin's comments:
move code to find rsdp to biostables.c
scan for RSDP at 0x10 intervals
Changes from v4:
- address Kevin's comments:
move loader to src/fw/
simplify some code
drop some unused code chunks
load from ROM even if !ACPI
rename option to make it non ACPI specific
Changes from v3:
- updated to latest bits
- add option to disable loading from QEMU
Changes from v2:
- addressed comments from Kevin: fixed coding style,
minimized changes to existing code
Changes from v1:
- simplified linker interfaces along the lines suggested
by Kevin
- fixed lots of bugs
Michael S. Tsirkin (3):
biostables: support looking up RSDP
romfile_loader: utility to patch in-memory ROM files
acpi: load and link tables through romfile loader
Makefile | 2 +-
src/fw/romfile_loader.h | 72 ++++++++++++++++++++
src/util.h | 1 +
src/fw/acpi.c | 21 ++++++
src/fw/biostables.c | 40 +++++++++--
src/fw/romfile_loader.c | 177 ++++++++++++++++++++++++++++++++++++++++++++++++
src/Kconfig | 11 +++
7 files changed, 316 insertions(+), 8 deletions(-)
create mode 100644 src/fw/romfile_loader.h
create mode 100644 src/fw/romfile_loader.c
--
MST
Dear SeaBIOS folks,
both coreboot and GRUB 2 (from Bazaar) currently allow to record time
stamps, for example for benchmarking.
SeaBIOS seems to have a clock implementation in `src/clock.c` already,
which is also used for threading, I guess. Could that be used for time
stamps too or is there something in SeaBIOS, that would cause problems?
I would like to know how much time, SeaBIOS takes to execute, how long
it takes for block devices to be discovered and how long the VGA option
ROM takes to be executed for example.
Thanks,
Paul
This adds an option to generate a small bios,
so that it's easy for people who want to
generate binary compatible with QEMU 1.6
and earlier (which used a 128K buffer).
Default is 256K (for future QEMU).
Michael S. Tsirkin (3):
Kconfig: add explicit QEMU 128/QEMU 256 targets
xhci: disable for QEMU_128K
acpi rom file loading: disable for QEMU 128K
src/Kconfig | 28 +++++++++++++++++++++++-----
1 file changed, 23 insertions(+), 5 deletions(-)
--
MST
This is the seabios code that adds support for loading
acpi tables from QEMU.
Changes from v4:
- address Kevin's comments:
move loader to src/fw/
simplify some code
drop some unused code chunks
load from ROM even if !ACPI
rename option to make it non ACPI specific
Changes from v3:
- updated to latest bits
- add option to disable loading from QEMU
Changes from v2:
- addressed comments from Kevin: fixed coding style,
minimized changes to existing code
Changes from v1:
- simplified linker interfaces along the lines suggested
by Kevin
- fixed lots of bugs
Michael S. Tsirkin (4):
romfile_loader: utility to patch in-memory ROM files
malloc: support looking up a given pattern in FSEG
acpi: pack rsdp
acpi: load and link tables through romfile loader
Makefile | 2 +-
src/fw/romfile_loader.h | 72 ++++++++++++++++++++
src/malloc.h | 1 +
src/std/acpi.h | 2 +-
src/fw/acpi.c | 30 ++++++++
src/fw/romfile_loader.c | 177 ++++++++++++++++++++++++++++++++++++++++++++++++
src/malloc.c | 19 +++++-
src/Kconfig | 11 +++
8 files changed, 311 insertions(+), 3 deletions(-)
create mode 100644 src/fw/romfile_loader.h
create mode 100644 src/fw/romfile_loader.c
--
MST
On Sat, Sep 28, 2013 at 02:49:20AM +0200, Idwer Vollering wrote:
> 2013/9/27 Idwer Vollering <vidwer(a)gmail.com>:
> > Linux takes somewhere between 30 to 60 seconds from the grub menu to
> > show early bootup console output, FreeBSD takes over 10 minutes to
> > just load boot0, boot2 and kernel (and every module from
> > /boot/loader.conf), then shows its boot menu [1].
>
> So, after digging into this deeper I came to the conclusion that
> setting CONFIG_DEBUG_SERIAL=n in SeaBIOS' .config was the culprit.
>
> Could setting CONFIG_DEBUG_SERIAL=y be blocking?
SeaBIOS will try to wait for space in the serial buffer when it
reports that it is full. If you don't actually have a serial port, or
if the serial port thinks it is blocked, then it could cause a delay.
-Kevin