the following patch was just integrated into master:
commit 4a53db06ecd7a39a1839adc9fe5ad72a62a4dc1e
Author: Martin Roth <martinroth(a)google.com>
Date: Tue Mar 1 15:21:07 2016 -0700
buildgcc: Add 'nocolor' option to remove color codes from output
When writing to a logfile, the color codes just make things confusing.
The --nocolor option will allow these to not be printed.
Change-Id: I67645aac20b420ac83b828e77e0e50aab88d3d47
Signed-off-by: Martin Roth <martinroth(a)google.com>
Reviewed-on: https://review.coreboot.org/13866
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
See https://review.coreboot.org/13866 for details.
-gerrit
the following patch was just integrated into master:
commit 9b1936dc829ef1c0fd32368ecbce432f1b05cffb
Author: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Date: Tue Mar 1 12:55:47 2016 -0800
buildgcc: Use $(CURDIR) instead of $(PWD)
coreboot's top level Makefile does the same, so let's stay consistent.
Change-Id: I9e995f3ecadd05d6fbfda64b45dee3a9900d9189
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Reviewed-on: https://review.coreboot.org/13869
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth(a)google.com>
See https://review.coreboot.org/13869 for details.
-gerrit
the following patch was just integrated into master:
commit ed5642234ada914d057c31e77c322932e2e0e641
Author: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Date: Mon Dec 14 16:36:45 2015 -0800
abuild: Use 12 lines of context for errors
The current default of 6 lines leaves us with no context
about the actual error:
*** ERROR: 3 warnings encountered, and warnings are errors.
coreboot-gerrit/util/kconfig/Makefile:38: recipe for target 'oldconfig' failed
make[1]: *** [oldconfig] Error 1
make[1]: Leaving directory 'coreboot-gerrit'
Change-Id: I67e7d740e7b3b1c66005dc1bf50557a20bc15428
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Reviewed-on: https://review.coreboot.org/12720
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth(a)google.com>
See https://review.coreboot.org/12720 for details.
-gerrit
the following patch was just integrated into master:
commit c77e0419098f3ce241922d60181727ee676c2594
Author: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Date: Tue Mar 1 22:28:20 2016 -0800
buildgcc: Disable RISC-V GDB
Our GDB doesn't support RISC-V yet, so let's disable it for now
to keep the build from breaking.
Change-Id: Iecc6d97fb16d16410c56965abeea55c67800f220
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Reviewed-on: https://review.coreboot.org/13872
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich(a)gmail.com>
See https://review.coreboot.org/13872 for details.
-gerrit
Werner Zeh (werner.zeh(a)siemens.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13875
-gerrit
commit 4f3ecaefc45d562b5de881c6d63778915d706954
Author: Werner Zeh <werner.zeh(a)siemens.com>
Date: Wed Mar 2 17:55:31 2016 +0100
cbfstool: Use fixed width data types for e820entry struct.
In e820entry struct, the members are defined using
standard types. This can lead to different structure size
when compiling on 32 bit vs. 64 bit environment. This in turn
will affect the size of the struct linux_params.
Using the fixed width types resolves this issue and ensures
that the size of the structures will have the same length
on both 32 and 64 bit systems.
Change-Id: I1869ff2090365731e79b34950446f1791a083d0f
Signed-off-by: Werner Zeh <werner.zeh(a)siemens.com>
---
util/cbfstool/linux.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/util/cbfstool/linux.h b/util/cbfstool/linux.h
index 529d239..b96f447 100644
--- a/util/cbfstool/linux.h
+++ b/util/cbfstool/linux.h
@@ -31,9 +31,9 @@ typedef uint64_t u64;
#define E820MAX 32 /* number of entries in E820MAP */
struct e820entry {
- unsigned long long addr; /* start of memory segment */
- unsigned long long size; /* size of memory segment */
- unsigned long type; /* type of memory segment */
+ u64 addr; /* start of memory segment */
+ u64 size; /* size of memory segment */
+ u32 type; /* type of memory segment */
#define E820_RAM 1
#define E820_RESERVED 2
#define E820_ACPI 3 /* usable as RAM once ACPI tables have been read */
Werner Zeh (werner.zeh(a)siemens.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13874
-gerrit
commit a84c8a7ef8d4f66b652015e5919d36f60783fec4
Author: Werner Zeh <werner.zeh(a)siemens.com>
Date: Wed Mar 2 17:45:53 2016 +0100
cbfstool: Initialize contents of linux_params to 0
When linux is used as payload, the parameters to the kernel are build
when cbfstool includes bzImage into the image. Since not all
parameters are used, the unused will stay uninitialized.
There is a chance, that the uninitialized parameters contain
random values. That in turn can lead to early kernel panic.
To avoid it, initialize all parameters with 0 at the beginning.
The ones that are used will be set up as needed and the rest
will contain 0 for sure. This way, kernel can deal with the
provided parameter list the right way.
Change-Id: Id081c24351ec80375255508378b5e1eba2a92e48
Signed-off-by: Werner Zeh <werner.zeh(a)siemens.com>
---
util/cbfstool/cbfs-payload-linux.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/util/cbfstool/cbfs-payload-linux.c b/util/cbfstool/cbfs-payload-linux.c
index 34b21e9..79ee7ea 100644
--- a/util/cbfstool/cbfs-payload-linux.c
+++ b/util/cbfstool/cbfs-payload-linux.c
@@ -224,6 +224,8 @@ int parse_bzImage_to_payload(const struct buffer *input,
/* Setup parameter block. Imitate FILO. */
struct linux_params params;
+
+ memset(¶ms, 0, sizeof(struct linux_params));
params.mount_root_rdonly = hdr->root_flags;
params.orig_root_dev = hdr->root_dev;
/* Sensible video defaults. Might be overridden on runtime by coreboot tables. */
Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13873
-gerrit
commit 52ba958bd8dbf55edee2379e088ef37fc6b95a1b
Author: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Date: Tue Mar 1 22:34:34 2016 -0800
buildgcc: Bump version to 1.36
Numerous changes have gone in since the last bump, let's increase
the version.
Change-Id: Ie3ae8c24b26bd22b70bc5ddf5c1125b5b1d3a021
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
---
util/crossgcc/buildgcc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index 679c0ef..df9ac4a 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -18,8 +18,8 @@
cd $(dirname $0)
-CROSSGCC_DATE="January 29th, 2016"
-CROSSGCC_VERSION="1.35"
+CROSSGCC_DATE="March 1st, 2016"
+CROSSGCC_VERSION="1.36"
# default settings
PACKAGE=GCC
Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13872
-gerrit
commit 522b87f2d0d3fc8a03488a732b5de73297832783
Author: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Date: Tue Mar 1 22:28:20 2016 -0800
buildgcc: Disable RISC-V GDB
Our GDB doesn't support RISC-V yet, so let's disable it for now
to keep the build from breaking.
Change-Id: Iecc6d97fb16d16410c56965abeea55c67800f220
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
---
util/crossgcc/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/util/crossgcc/Makefile b/util/crossgcc/Makefile
index aadf316..62adb7f 100644
--- a/util/crossgcc/Makefile
+++ b/util/crossgcc/Makefile
@@ -57,7 +57,8 @@ build-mips:
@$(MAKE) build_tools BUILD_PLATFORM=mipsel-elf
build-riscv:
- @$(MAKE) build_tools BUILD_PLATFORM=riscv-elf
+ # GDB is currently not supported on RISC-V
+ @$(MAKE) build_gcc BUILD_PLATFORM=riscv-elf
build-power8:
@$(MAKE) build_tools BUILD_PLATFORM=powerpc64le-linux-gnu