Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/754
-gerrit
commit 426e9a32189f52b8abf03400a0a7872ef58797af
Author: Stefan Reinauer <reinauer(a)chromium.org>
Date: Thu Nov 17 12:52:30 2011 -0800
labels should start at the beginning of the line
cosmetical fix
Change-Id: I60d0fa90656f85ecb8acc357fe6518baa773505b
Signed-off-by: Stefan Reinauer <reinauer(a)google.com>
---
src/cpu/x86/lapic/secondary.S | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/cpu/x86/lapic/secondary.S b/src/cpu/x86/lapic/secondary.S
index 5c1e760..dc00b08 100644
--- a/src/cpu/x86/lapic/secondary.S
+++ b/src/cpu/x86/lapic/secondary.S
@@ -47,7 +47,7 @@ _secondary_start:
1: hlt
jmp 1b
- gdtaddr:
+gdtaddr:
.word gdt_limit /* the table limit */
.long gdt /* we know the offset */
Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/753
-gerrit
commit 1fd9ee46c839bd1db159335297bfad96b894d865
Author: Stefan Reinauer <reinauer(a)chromium.org>
Date: Thu Nov 17 11:13:36 2011 -0800
vga_io.c is not needed unless CONFIG_VGA is set
hence disable it.
Change-Id: I7b406251a2f3830748140a111f76f2792fe923ed
Signed-off-by: Stefan Reinauer <reinauer(a)google.com>
---
src/pc80/vga/Makefile.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/pc80/vga/Makefile.inc b/src/pc80/vga/Makefile.inc
index 0ca7896..d4b726a 100644
--- a/src/pc80/vga/Makefile.inc
+++ b/src/pc80/vga/Makefile.inc
@@ -1,4 +1,4 @@
-ramstage-y += vga_io.c
+ramstage-$(CONFIG_VGA) += vga_io.c
ramstage-$(CONFIG_VGA) += vga_palette.c
ramstage-$(CONFIG_VGA) += vga_font_8x16.c
ramstage-$(CONFIG_VGA) += vga.c
Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/751
-gerrit
commit 2e72f8ad4e057c8fc932902f70bc266358561020
Author: Vadim Bendebury <vbendeb(a)chromium.org>
Date: Wed Nov 9 14:11:26 2011 -0800
Allow components smaller than declared size.
idftool was failing to add the ME blobs into the output image in case
the blob size does not exactly match the size allocated for it in the
flashrom structure.
It is difficult to set the field in the structure to exactly match the
size (for some reason Intel flash tool fails to insert the correct
size even when given the exact ME blob). On the other hand there is no
harm in using am ME blob smaller than the allocated size, this change
modifies the tool building the image to allow for smaller components.
Change-Id: I1b04f90051b91157391943c9bad0eb06dd297431
Signed-off-by: Vadim Bendebury <vbendeb(a)chromium.org>
---
util/ifdtool/ifdtool.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/util/ifdtool/ifdtool.c b/util/ifdtool/ifdtool.c
index eb91b2c..8c1077c 100644
--- a/util/ifdtool/ifdtool.c
+++ b/util/ifdtool/ifdtool.c
@@ -334,7 +334,7 @@ void inject_region(char *filename, char *image, int size, int region_type,
printf("File %s is %d bytes\n", region_fname, region_size);
if ( (region_size > region.size) || ((region_type != 1) &&
- (region_size != region.size))) {
+ (region_size > region.size))) {
fprintf(stderr, "Region %s is %d(0x%x) bytes. File is %d(0x%x)"
" bytes. Not injecting.\n",
region_name(region_type), region.size,
Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/750
-gerrit
commit 1e798a5792e9838f282128561ef6824785d831a7
Author: Vadim Bendebury <vbendeb(a)chromium.org>
Date: Sat Nov 5 02:07:01 2011 +0000
Fix coreboot makefiles not to produce half baked output.
It looks like the cbfstool utility generates the output file even when
it fails to generate it properly. This causes make, if started second
time in a row, after cbfstool failure, to continue beyond the point of
failure (as the corrupted output file is present in the output tree,
the second make invocation presumes that it is valid, as it is newer
than the dependencies).
The output file should be created only when successful, in an atomic
operation. There could be other places in the make system which
require a similar fix, this needs to be investigated further.
Change-Id: I7c17f033ee5937eb712b1a594122430cee5c9146
Signed-off-by: Vadim Bendebury <vbendeb(a)chromium.org>
---
src/arch/x86/Makefile.inc | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/src/arch/x86/Makefile.inc b/src/arch/x86/Makefile.inc
index aeb4875..b2b9143 100755
--- a/src/arch/x86/Makefile.inc
+++ b/src/arch/x86/Makefile.inc
@@ -58,13 +58,15 @@ extract_nth=$(word $(1), $(subst |, ,$(2)))
ifneq ($(CONFIG_UPDATE_IMAGE),y)
prebuild-files = \
$(foreach file,$(cbfs-files), \
- $(CBFSTOOL) $@ add $(call extract_nth,1,$(file)) $(call extract_nth,2,$(file)) $(call extract_nth,3,$(file)) $(call extract_nth,4,$(file)); )
+ $(CBFSTOOL) $@.tmp add $(call extract_nth,1,$(file)) \
+ $(call extract_nth,2,$(file)) $(call extract_nth,3,$(file)) \
+ $(call extract_nth,4,$(file)) &&)
prebuilt-files = $(foreach file,$(cbfs-files), $(call extract_nth,1,$(file)))
$(obj)/coreboot.pre1: $(obj)/coreboot.bootblock $$(prebuilt-files) $(CBFSTOOL)
- rm -f $@
- $(CBFSTOOL) $@ create $(CONFIG_COREBOOT_ROMSIZE_KB)K $(obj)/coreboot.bootblock
- $(prebuild-files)
+ $(CBFSTOOL) $@.tmp create $(CONFIG_COREBOOT_ROMSIZE_KB)K $(obj)/coreboot.bootblock
+ $(prebuild-files) true
+ mv $@.tmp $@
else
.PHONY: $(obj)/coreboot.pre1
$(obj)/coreboot.pre1: $(CBFSTOOL)
@@ -269,10 +271,10 @@ endif
$(obj)/coreboot.pre: $(obj)/coreboot.romstage $(obj)/coreboot.pre1 $(CBFSTOOL)
@printf " CBFS $(subst $(obj)/,,$(@))\n"
- rm -f $@
- cp $(obj)/coreboot.pre1 $@
- $(CBFSTOOL) $@ add-stage $(obj)/romstage.elf \
+ cp $(obj)/coreboot.pre1 $@.tmp
+ $(CBFSTOOL) $@.tmp add-stage $(obj)/romstage.elf \
$(CONFIG_CBFS_PREFIX)/romstage x 0x$(shell cat $(obj)/location.txt)
+ mv $@.tmp $@
#FIXME: location.txt might require an offset of header size
#######################################################################
the following patch was just integrated into master:
commit 7c48e07a261eafda2119354d282bd05eac5a14b6
Author: Patrick Georgi <patrick(a)georgi-clan.de>
Date: Sat Mar 3 10:46:26 2012 +0100
Revert "Use -mno-sse to prevent overzealous gcc optimizations"
AGESA uses SSE intrinsics :-(
This reverts commit 05f4b03fb64999ba373fe61256f358e5371bf8ae
Build-Tested: build bot (Jenkins) at Tue Mar 6 22:24:46 2012, giving +1
Reviewed-By: Stefan Reinauer <stefan.reinauer(a)coreboot.org> at Tue Mar 6 21:50:48 2012, giving +2
See http://review.coreboot.org/706 for details.
-gerrit
Patrick Georgi (patrick(a)georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/748
-gerrit
commit 73392a7c2993a6c4dcf47cb2ae8118e89ef3b5d1
Author: Patrick Georgi <patrick(a)georgi-clan.de>
Date: Tue Mar 6 21:13:47 2012 +0100
xcompile: Tell gcc to use i486-class instructions
Instead of hardcoding "no-sse" (which disables various intrinsics)
xcompile now tests for -march=i486, which tells gcc to restrict
itself to i486 class instructions (but allows the developer to
override it by using intrinsics and asm).
Change-Id: Ief4a6faba236f215e7dc23872cd7e4ee405a33d2
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
---
util/xcompile/xcompile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index f5d43d0..d4eaab0 100644
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -87,7 +87,7 @@ testcc "$CC" "$CFLAGS-Wno-unused-but-set-variable " && \
# Use bfd linker instead of gold if available:
testcc "$CC" "$CFLAGS-fuse-ld=bfd " && CFLAGS="$CFLAGS-fuse-ld=bfd " && LINKER_SUFFIX='.bfd'
# Prevent SSE instructions sneaking in:
-testcc "$CC" "$CFLAGS-mno-sse " && CFLAGS="$CFLAGS-mno-sse "
+testcc "$CC" "$CFLAGS-march=i486 " && CFLAGS="$CFLAGS-march=i486 "
if which gcc 2>/dev/null >/dev/null; then
HOSTCC=gcc
Patrick Georgi (patrick(a)georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/748
-gerrit
commit 3adfa8caa49ad8f072767076725fceb4b4dfa969
Author: Patrick Georgi <patrick(a)georgi-clan.de>
Date: Tue Mar 6 21:13:47 2012 +0100
xcompile: Tell gcc to use pentium-class instructions
Instead of hardcoding "no-sse" (which disables various intrinsics)
xcompile now tests for -march=pentium, which tells gcc to restrict
itself to pentium class instructions (but allows the developer to
override it by using intrinsics and asm).
Change-Id: Ief4a6faba236f215e7dc23872cd7e4ee405a33d2
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
---
util/xcompile/xcompile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index f5d43d0..3c82eea 100644
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -87,7 +87,7 @@ testcc "$CC" "$CFLAGS-Wno-unused-but-set-variable " && \
# Use bfd linker instead of gold if available:
testcc "$CC" "$CFLAGS-fuse-ld=bfd " && CFLAGS="$CFLAGS-fuse-ld=bfd " && LINKER_SUFFIX='.bfd'
# Prevent SSE instructions sneaking in:
-testcc "$CC" "$CFLAGS-mno-sse " && CFLAGS="$CFLAGS-mno-sse "
+testcc "$CC" "$CFLAGS-march=pentium " && CFLAGS="$CFLAGS-march=pentium "
if which gcc 2>/dev/null >/dev/null; then
HOSTCC=gcc