Patch 1 and 2 remains the same with V5, only patch 3 is new, it need
the patch
"Add "romfile" code to assist with extract integer config settings."
applied.
sorry for that previous patches got a bit mess about the versions,
please have a look about this one.
short description about patch 3:
when it boot up, try discover the qemu' configuration about whether
to show a brand picture, with out a menu followed.
--
Best Regards
Wayne Xia
mail:xiawenc@linux.vnet.ibm.com
tel:86-010-82450803
This patch series enables SeaBIOS to pull common config settings from
CBFS (on coreboot) or fw_cfg (on QEmu). The series also converts
several compile-time settings to this new dynamic system.
I choose to place the file names in the "etc/" directory so that it is
clear they are configuration settings.
On coreboot, a user would do the following to enable a setting:
/path/to/seabios/tools/encodeint.py boot-menu-wait 5500
./build/cbfstool coreboot.rom add boot-menu-wait etc/boot-menu-wait raw
./build/cbfstool coreboot.rom print
See the patch descriptions below for the six compile-time settings
that are converted.
-Kevin
Kevin O'Connor (8):
Add "romfile" code to assist with extract integer config settings.
Replace CONFIG_BOOTMENU_WAIT with dynamic "etc/boot-menu-wait" file.
Replace CONFIG_EXTRA_PCI_ROOTS with dynamic "etc/extra-pci-roots"
file.
Replace CONFIG_PS2_KEYBOARD_SPINUP with "etc/ps2-keyboard-spinup"
file.
Replace "CONFIG_OPTIONROMS_CHECKSUM" with "etc/optionroms-checksum"
file.
Replace CONFIG_S3_RESUME_VGA_INIT with "etc/s3-resume-vga-init" file.
Replace CONFIG_SCREEN_AND_DEBUG with "etc/screen-and-debug" file.
Add utility "tools/encodeint.py" for CBFS config file creation.
src/Kconfig | 50 --------------------------------------------------
src/boot.c | 5 ++++-
src/optionroms.c | 14 ++++++++++++--
src/output.c | 4 ++--
src/paravirt.c | 19 +++++++++++++++++++
src/paravirt.h | 2 ++
src/pci.c | 8 ++++----
src/ps2port.c | 6 ++++--
src/util.h | 1 +
tools/encodeint.py | 21 +++++++++++++++++++++
10 files changed, 69 insertions(+), 61 deletions(-)
create mode 100755 tools/encodeint.py
--
1.7.4.4