the following patch was just integrated into master:
commit 99b024db885833ebe46be0917f9c2283e3778fac
Author: Nico Huber <nico.huber(a)secunet.com>
Date: Mon Jun 24 12:39:53 2013 +0200
bd82x6x: Fix early USB BAR programming (finally?)
The xHCI controller's MMIO space has a length of 64KiB not 4KiB.
Therefore, setting the xHCI BAR to 0xe8001000 worked the same like
setting it to 0xe8000000, as bit12 is reserved and ignored. This again
interfered with the MMIO space of the first EHCI controller and broke
S3 resume on Ivy Bridge.
AFAIK, the MRC ignores the setting of the xHCI BAR, anyway. So just drop
these lines.
Change-Id: I8af9c2ba34133f15636a9056fc8880b3b6ab95e0
Signed-off-by: Nico Huber <nico.huber(a)secunet.com>
Reviewed-on: http://review.coreboot.org/3521
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
Reviewed-by: Marc Jones <marc.jones(a)se-eng.com>
See http://review.coreboot.org/3521 for details.
-gerrit
Stefan Tauner (stefan.tauner(a)gmx.at) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3534
-gerrit
commit 584024898f1815d3b9a80bef7a3037e101008d6f
Author: Stefan Tauner <stefan.tauner(a)gmx.at>
Date: Tue Jun 25 17:50:14 2013 +0200
libpayload: use xgcc if available
Use xgcc if the user did not set CC explicitly.
Fall back to the host's gcc if finding xgcc fails (like before).
Change-Id: I5252dd3cfd0430aa65f093458ef07cfe253e1cbd
Signed-off-by: Stefan Tauner <stefan.tauner(a)gmx.at>
---
payloads/libpayload/bin/lpgcc | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/payloads/libpayload/bin/lpgcc b/payloads/libpayload/bin/lpgcc
index f0b2417..49cde7f 100755
--- a/payloads/libpayload/bin/lpgcc
+++ b/payloads/libpayload/bin/lpgcc
@@ -47,14 +47,20 @@ CC=""
fi
fi
+BASE=`dirname "$0"`
+BASE=`eval "cd \"${BASE}\" && pwd"`
+
+# this will find xgcc when we are executed in-tree
+crossgcc="${BASE}/../../../util/crossgcc/xgcc/bin/i386-elf-gcc"
+
if [ "$CC" != "" ]; then
DEFAULT_CC=$CC
+elif [ -x ${crossgcc} ]; then
+DEFAULT_CC=${crossgcc}
else
DEFAULT_CC=gcc
fi
-BASE=`dirname $0`
-
# This will set the _LIBDIR and _INCDIR variables used below
. $BASE/lp.functions
Nico Huber (nico.huber(a)secunet.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3533
-gerrit
commit 7e52e68df9e990127f4e01453a2dfb56035b5496
Author: Nico Huber <nico.huber(a)secunet.com>
Date: Tue Jun 25 15:19:48 2013 +0200
libpayload: Use longer delay in tinycurses' wgetch()
The counted delay of 1ms was shorter than the time usb_poll() took
(~30ms observed). So with a given timeout of 100ms it actually took 3s.
We can lower the problem if we delay 10ms per loop iteration.
Change-Id: I6e084bdd05332111cc8adcd13493a5dfb4bc8b28
Signed-off-by: Nico Huber <nico.huber(a)secunet.com>
---
payloads/libpayload/curses/keyboard.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/payloads/libpayload/curses/keyboard.c b/payloads/libpayload/curses/keyboard.c
index 7ebb04f..9648dde 100644
--- a/payloads/libpayload/curses/keyboard.c
+++ b/payloads/libpayload/curses/keyboard.c
@@ -175,15 +175,15 @@ static int curses_getchar(int _delay)
}
#endif
- if (_delay == 0)
+ if (_delay == 0) {
break;
-
- if (_delay > 0) {
- mdelay(1);
- _delay--;
+ } else if (_delay >= 10) {
+ mdelay(10);
+ _delay -= 10;
+ } else if (_delay > 0) {
+ mdelay(_delay);
+ _delay = 0;
}
-
-
} while (1);
return ERR;
the following patch was just integrated into master:
commit c000352d5cd3419586107fc93f978fdd94492d5f
Author: Patrick Georgi <patrick.georgi(a)secunet.com>
Date: Tue Jun 25 11:14:03 2013 +0200
ktqm77: redesign cmos.layout slightly
BIOS write protects 8 bytes of CMOS, which nvramtool can't cope with.
This makes initial installation harder, so just mark those as reserved
to work around the issue.
Change-Id: I210861dff8572e226a0f250556a3b811671ea8f2
Signed-off-by: Patrick Georgi <patrick.georgi(a)secunet.com>
Reviewed-on: http://review.coreboot.org/3531
Reviewed-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich(a)gmail.com>
See http://review.coreboot.org/3531 for details.
-gerrit
the following patch was just integrated into master:
commit cb76136420c73eb4f3122137b441835eee147c61
Author: Patrick Georgi <patrick.georgi(a)secunet.com>
Date: Thu Feb 21 14:33:25 2013 +0100
libpayload: Make lpgcc wrapper usable for in-tree builds
Teach lpgcc to look in the in-coreboot tree directory structure, too.
Change-Id: I3809456d072ce2f91542b0edb3fd39f536298cc2
Signed-off-by: Patrick Georgi <patrick.georgi(a)secunet.com>
Reviewed-on: http://review.coreboot.org/3530
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich(a)gmail.com>
See http://review.coreboot.org/3530 for details.
-gerrit
the following patch was just integrated into master:
commit 8b9d4f3296ce5b6804963bfcc56cd741bb66e7ab
Author: Andrew Wu <arw(a)dmp.com.tw>
Date: Tue Jun 25 15:16:03 2013 +0800
Vortex86EX northbridge.c : Remove Vortex86DX PCI N/B related code.
6021 is Vortex86DX northbridge PCI device ID, not for Vortex86EX.
Change-Id: I9bea799c9033adbcfacc8ad47052280a32f9ee59
Signed-off-by: Andrew Wu <arw(a)dmp.com.tw>
Reviewed-on: http://review.coreboot.org/3529
Reviewed-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich(a)gmail.com>
See http://review.coreboot.org/3529 for details.
-gerrit
Nico Huber (nico.huber(a)secunet.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3533
-gerrit
commit 6da952553dad9b9c591bd23b6e9c6c4720ca40b5
Author: Nico Huber <nico.huber(a)secunet.com>
Date: Tue Jun 25 15:19:48 2013 +0200
libpayload: Use longer delay in tinycurses' wgetch()
The counted delay of 1ms was shorter than the time usb_poll() took
(~30ms observed). So with a given timeout of 100ms it actually took 3s.
We can lower the problem if we delay 10ms per loop iteration.
Change-Id: I6e084bdd05332111cc8adcd13493a5dfb4bc8b28
Signed-off-by: Nico Huber <nico.huber(a)secunet.com>
---
3rdparty | 2 +-
payloads/libpayload/curses/keyboard.c | 14 +++++++-------
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/3rdparty b/3rdparty
index ba8caa3..e934f70 160000
--- a/3rdparty
+++ b/3rdparty
@@ -1 +1 @@
-Subproject commit ba8caa30bd5ed6d89dbfd40e17c75c94d43804c6
+Subproject commit e934f70a1a1b06a11ee061c7988c405b1ea5f1ef
diff --git a/payloads/libpayload/curses/keyboard.c b/payloads/libpayload/curses/keyboard.c
index 7ebb04f..9648dde 100644
--- a/payloads/libpayload/curses/keyboard.c
+++ b/payloads/libpayload/curses/keyboard.c
@@ -175,15 +175,15 @@ static int curses_getchar(int _delay)
}
#endif
- if (_delay == 0)
+ if (_delay == 0) {
break;
-
- if (_delay > 0) {
- mdelay(1);
- _delay--;
+ } else if (_delay >= 10) {
+ mdelay(10);
+ _delay -= 10;
+ } else if (_delay > 0) {
+ mdelay(_delay);
+ _delay = 0;
}
-
-
} while (1);
return ERR;