Martin Roth (gaumless(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6258
-gerrit
commit 48f9302ec5bab7afdaf77134ef87a582e236d13f
Author: Martin Roth <martin.roth(a)se-eng.com>
Date: Thu Jul 10 14:57:34 2014 -0600
board_status.sh allow cmd() to not save output
- allow for cmd() to be run, but not pipe to a file.
Change-Id: I3e1650e421a49a06218e082ceb5a60b7b4808ce8
Signed-off-by: Martin Roth <martin.roth(a)se-eng.com>
---
util/board_status/board_status.sh | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh
index 7c321b3..20ba48f 100755
--- a/util/board_status/board_status.sh
+++ b/util/board_status/board_status.sh
@@ -60,10 +60,16 @@ _cmd()
return $EXIT_FAILURE
fi
+ if [ -n "$3" ]; then
+ pipe_location="${3}"
+ else
+ pipe_location="/dev/null"
+ fi
+
if [ "$1" -eq "$REMOTE" ] && [ -n "$REMOTE_HOST" ]; then
- ssh root@${REMOTE_HOST} "$2" > "${3}" 2>&1
+ ssh root@${REMOTE_HOST} "$2" > "$pipe_location" 2>&1
else
- $2 > "${3}" 2>&1
+ $2 > "$pipe_location" 2>&1
fi
return $?
Martin Roth (gaumless(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6257
-gerrit
commit af580b43b2a8b5e8d338a50e4af1f7ba351cb649
Author: Martin Roth <martin.roth(a)se-eng.com>
Date: Sun Jun 22 21:46:24 2014 -0600
board_status.sh add non-fatal test_cmd
- add a non-fatal option to test_cmd.
Change-Id: If74693ea7ec8ea24104d5836e4c24bfb135ef0e1
Signed-off-by: Martin Roth <martin.roth(a)se-eng.com>
---
util/board_status/board_status.sh | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh
index 65576f4..7c321b3 100755
--- a/util/board_status/board_status.sh
+++ b/util/board_status/board_status.sh
@@ -17,11 +17,15 @@ UPLOAD_RESULTS=0
# if command should be run remoteley when a remote host is specified.
LOCAL=0
REMOTE=1
+FATAL=0
+NONFATAL=1
# test a command
#
# $1: test command on remote host (0=no, 1=yes)
# $2: command to test
+# $3: 0 ($FATAL) Exit with an error if the command fails
+# 1 ($NONFATAL) Don't exit on command test failure
test_cmd()
{
local rc
@@ -39,7 +43,11 @@ test_cmd()
fi
if [ $rc -eq 0 ]; then
- return
+ return 0
+ fi
+
+ if [ $3 -eq 1 ]; then
+ return 1
fi
echo "$2 not found"
Patrick Georgi (patrick(a)georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6255
-gerrit
commit 76acae8b86a40b9c96ad9a17bbc4269bd3a37012
Author: Patrick Georgi <patrick(a)georgi-clan.de>
Date: Thu Jul 10 21:06:04 2014 +0200
build system: create .xcompile dependency
It's probably safe to say that .xcompile needs an update if
util/xcompile/xcompile changed, so tell make about this
dependency.
Updates are honored immediately due to GNU make's feature of
reinterpreting everything when an included file changes. See "How
Makefiles Are Remade" in the GNU make documentation for details.
Change-Id: Ide2f028eaddcee66028c6403688cc83e1622fa6b
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
---
Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index c8cad4f..9422728 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,9 @@
## SUCH DAMAGE.
##
-$(if $(wildcard .xcompile),,$(eval $(shell bash util/xcompile/xcompile $(XGCCPATH) > .xcompile)))
+.xcompile: util/xcompile/xcompile
+ bash $< $(XGCCPATH) > $@
+
include .xcompile
export top := $(CURDIR)
Patrick Georgi (patrick(a)georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6254
-gerrit
commit f5abfd773d9310b65676a29c71f5673582759482
Author: Patrick Georgi <patrick(a)georgi-clan.de>
Date: Thu Jul 10 20:38:21 2014 +0200
build system: remove duplicate architecture list
Let xcompile pass the list of architectures, given
that it already has it.
This potentially requires removing $(src)/.xcompile
so it gets updated.
Change-Id: I565512d3bef987c9a4e48a39bfd88bacf0b65de9
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
---
toolchain.inc | 2 --
util/xcompile/xcompile | 1 +
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/toolchain.inc b/toolchain.inc
index b5b4fe0..842473b 100644
--- a/toolchain.inc
+++ b/toolchain.inc
@@ -17,8 +17,6 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-ARCH_SUPPORTED := armv7 x86_32
-
# ccache integration
ifeq ($(CONFIG_CCACHE),y)
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index d133bd2..b42da7b 100644
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -147,6 +147,7 @@ detect_special_flags() {
report_arch_toolchain() {
cat <<EOF
# elf${TWIDTH}-${TBFDARCH} toolchain (${GCCPREFIX}gcc)
+ARCH_SUPPORTED+=${TARCH}
CC_${TARCH}:=${GCCPREFIX}gcc
CFLAGS_${TARCH}:=${CFLAGS}
CPP_${TARCH}:=${GCCPREFIX}cpp
Patrick Georgi (patrick(a)georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6254
-gerrit
commit 08cf241880ed6fb911b03040a73b270ff200a3f0
Author: Patrick Georgi <patrick(a)georgi-clan.de>
Date: Thu Jul 10 20:38:21 2014 +0200
build system: remove duplicate architecture list
Let xcompile pass the list of architectures, given
that it already has it.
This potentially requires removing $(src)/.xcompile
so it gets updated.
Change-Id: I565512d3bef987c9a4e48a39bfd88bacf0b65de9
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
---
toolchain.inc | 2 --
util/xcompile/xcompile | 1 +
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/toolchain.inc b/toolchain.inc
index b5b4fe0..842473b 100644
--- a/toolchain.inc
+++ b/toolchain.inc
@@ -17,8 +17,6 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-ARCH_SUPPORTED := armv7 x86_32
-
# ccache integration
ifeq ($(CONFIG_CCACHE),y)
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index d133bd2..b42da7b 100644
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -147,6 +147,7 @@ detect_special_flags() {
report_arch_toolchain() {
cat <<EOF
# elf${TWIDTH}-${TBFDARCH} toolchain (${GCCPREFIX}gcc)
+ARCH_SUPPORTED+=${TARCH}
CC_${TARCH}:=${GCCPREFIX}gcc
CFLAGS_${TARCH}:=${CFLAGS}
CPP_${TARCH}:=${GCCPREFIX}cpp
the following patch was just integrated into master:
commit 533c119f5b4fd7725ab3f09a0f3af7b623cc501d
Author: Patrick Georgi <patrick.georgi(a)secunet.com>
Date: Thu Jul 10 09:42:03 2014 +0200
build system: avoid more race conditions
In an abuild run, cbfstool is built in a shared directory
using "make tools". Unfortunately the build system doesn't
actually use that binary directly but creates a per-board
copy (for convenience purposes when editing the image later)
and uses that.
With this change the build system uses the original file but
still creates the copy for the user, avoiding the race while
ensuring convenience.
Change-Id: I38c603a7eca5ef859875ad3031bf7a850189645f
Signed-off-by: Patrick Georgi <patrick.georgi(a)secunet.com>
Reviewed-on: http://review.coreboot.org/6242
Reviewed-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Reviewed-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
See http://review.coreboot.org/6242 for details.
-gerrit
the following patch was just integrated into master:
commit 5b9e6f175f7778b16ac988e2de4e271751ecc019
Author: Nico Huber <nico.huber(a)secunet.com>
Date: Thu Jul 10 12:56:34 2014 +0200
libpayload: Drop obsolete setting of reg_base in [oex]hci
Setting of `controller->reg_base` is of no use here, as it is never read
(in another function) later. Looks like this pattern originated from uhci.c
where it makes sense.
By removing the indirection through `reg_base` we also fix a possible
truncation to u32.
Change-Id: I5c99c5bf1f5b1d6c04bd84d87fd3e275fd7d0411
Signed-off-by: Nico Huber <nico.huber(a)secunet.com>
Reviewed-on: http://review.coreboot.org/6251
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick(a)georgi-clan.de>
Reviewed-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
Reviewed-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
See http://review.coreboot.org/6251 for details.
-gerrit
the following patch was just integrated into master:
commit f4316f8c101b956af624b0c046c418b4489f6558
Author: Nico Huber <nico.huber(a)secunet.com>
Date: Mon Jul 7 17:11:53 2014 +0200
libpayload: Catch null-pointer dereference in xHCI
Fix a possible null-pointer dereference (hopefully) before anyone runs
into this. Also don't switch ports to xHCI if initialization failed.
Change-Id: I5dbaeb435a98ead0b50d27fde13c9f1433ea3e81
Signed-off-by: Nico Huber <nico.huber(a)secunet.com>
Reviewed-on: http://review.coreboot.org/6245
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Reviewed-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
See http://review.coreboot.org/6245 for details.
-gerrit