Alexandru Gagniuc (mr.nuke.me(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4481
-gerrit
commit 46c33f58d9f52ea6c40635dcff51a3473c15577f
Author: Alexandru Gagniuc <mr.nuke.me(a)gmail.com>
Date: Wed Dec 4 22:05:15 2013 -0600
cpu: Only ask for length and address of ucode when included in CBFS
The original intention was to only run prompt for CPU_MICROCODE_CBFS_LOC
and CPU_MICROCODE_CBFS_LEN when a microcode file was included in CBFS.
This happens when either CPU_MICROCODE_CBFS_GENERATE or
CPU_MICROCODE_CBFS_EXTERNAL is selected, however, Kconfig checked that
against CPU_MICROCODE_IN_CBFS. The end result was that length and
location were always prompted, even when the user elected not to include
any microcode.
Instead, check if microcode is added to CBFS during the build.
Change-Id: I9b61d022bcc879549e844bdfd5d5109554cc1a16
Signed-off-by: Alexandru Gagniuc <mr.nuke.me(a)gmail.com>
---
src/cpu/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/cpu/Kconfig b/src/cpu/Kconfig
index f3883d3..a300549 100644
--- a/src/cpu/Kconfig
+++ b/src/cpu/Kconfig
@@ -173,12 +173,12 @@ config CPU_MICROCODE_FILE
config CPU_MICROCODE_CBFS_LOC
hex "Microcode address in CBFS"
- depends on CPU_MICROCODE_IN_CBFS
+ depends on CPU_MICROCODE_ADDED_DURING_BUILD
default 0
config CPU_MICROCODE_CBFS_LEN
hex "Microcode length in CBFS"
- depends on CPU_MICROCODE_IN_CBFS
+ depends on CPU_MICROCODE_ADDED_DURING_BUILD
default 0xC000
help
The microcode needs a specific length to get correctly
Alexandru Gagniuc (mr.nuke.me(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4586
-gerrit
commit c2a3fe053a411cbc5851488bff474ef1cffeb8c7
Author: Alexandru Gagniuc <mr.nuke.me(a)gmail.com>
Date: Sun Dec 29 18:27:56 2013 -0500
uart8250_mem_console.c: Remove inclusion of mc146818rtc.h
The RTC functionality ptovided by the include is specific to x86, but
is not used for this type of console.
Change-Id: I82d0dfdb6e8b67bc81291a7a5d63ced91e095772
Signed-off-by: Alexandru Gagniuc <mr.nuke.me(a)gmail.com>
---
src/console/uart8250mem_console.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/console/uart8250mem_console.c b/src/console/uart8250mem_console.c
index ed77237..3833e47 100644
--- a/src/console/uart8250mem_console.c
+++ b/src/console/uart8250mem_console.c
@@ -19,7 +19,6 @@
#include <console/console.h>
#include <uart8250.h>
-#include <pc80/mc146818rtc.h>
static u32 uart_bar = 0;
Alexandru Gagniuc (mr.nuke.me(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4585
-gerrit
commit 0b46e8d9e6e3816081057bba17ebb5cbe46ad223
Author: Alexandru Gagniuc <mr.nuke.me(a)gmail.com>
Date: Sun Dec 29 18:13:58 2013 -0500
uart8250.h: Do not guard entire include file by config options
Do not guard the file by CONFIG_CONSOLE_SERIAL8250 or
CONFIG_CONSOLE_SERIAL8250MEM. The config-specific options are already
properly guarded, and there is no need to guard the register and bit
definitions.
Change-Id: I7528b18cdc62bc5c22486f037e14002838a2176e
Signed-off-by: Alexandru Gagniuc <mr.nuke.me(a)gmail.com>
---
src/include/uart8250.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/include/uart8250.h b/src/include/uart8250.h
index bec3637..a3868c5 100644
--- a/src/include/uart8250.h
+++ b/src/include/uart8250.h
@@ -20,8 +20,6 @@
#ifndef UART8250_H
#define UART8250_H
-#if CONFIG_CONSOLE_SERIAL8250 || CONFIG_CONSOLE_SERIAL8250MEM
-
/* Data */
#define UART_RBR 0x00
#define UART_TBR 0x00
@@ -141,6 +139,4 @@ void oxford_init(void);
#endif
#endif
-#endif /* CONFIG_CONSOLE_SERIAL8250 || CONFIG_CONSOLE_SERIAL8250MEM */
-
#endif /* UART8250_H */
the following patch was just integrated into master:
commit de15d39d6936669b2f0b1c77fde29c8475845571
Author: Oskar Enoksson <enok(a)lysator.liu.se>
Date: Sat Feb 8 00:17:21 2014 +0100
hp/dl145_g1: Adding ACPI support
Basic ACPI support for this old platform. Created by copying and
tweaking similar motherboard ACPI implementations in coreboot.
Works reasonably well under Linux, providing HPET-timers
and more under linux (tested under OpenSUSE 12.2 kernel 3.4.63-2.44).
Not tested under Windows.
Change-Id: I69431be962a0d272db398ecf4ac9f0249de8ebab
Signed-off-by: Oskar Enoksson <enok(a)lysator.liu.se>
See http://review.coreboot.org/5185 for details.
-gerrit
David Hendricks (dhendrix(a)chromium.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5191
-gerrit
commit 9ba6867e97b6ec7a0ad8dd0c019c928bd2950a6b
Author: David Hendricks <dhendrix(a)chromium.org>
Date: Mon Feb 10 14:40:34 2014 -0800
board_status.sh: allow user to supply console log
This adds an option to allow the user to supply a console log, for
example if serial console logs provide additional pre-RAM messages
that are useful.
Change-Id: I3c8e496c90e56868196e95f5326c76cd524ad775
Signed-off-by: David Hendricks <dhendrix(a)chromium.org>
---
util/board_status/board_status.sh | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh
index 735932b..8e9ec16 100644
--- a/util/board_status/board_status.sh
+++ b/util/board_status/board_status.sh
@@ -10,6 +10,7 @@ EXIT_FAILURE=1
# Stuff from command-line switches
REMOTE_HOST=""
+CONSOLE_LOG=""
CLOBBER_OUTPUT=0
UPLOAD_RESULTS=0
@@ -103,6 +104,9 @@ show_help() {
Options
-h
Show this message.
+ -c <filename>
+ Use <filename> as console log instead of content from cbmem. Useful if
+ target does not support CBMEM or if serial log captures more messages.
-C
Clobber temporary output when finished. Useful for debugging.
-r <host>
@@ -118,6 +122,9 @@ while getopts "Chr:u" opt; do
show_help
exit $EXIT_SUCCESS
;;
+ c)
+ CONSOLE_LOG="$OPTARG"
+ ;;
C)
CLOBBER_OUTPUT=1
;;
@@ -169,7 +176,12 @@ printf "Upstream URL: %s\n" $($getrevision -U)>> ${tmpdir}/${results}/revision.t
printf "Timestamp: %s\n" "$timestamp" >> ${tmpdir}/${results}/revision.txt
test_cmd $REMOTE "cbmem"
-cmd $REMOTE "cbmem -c" "${tmpdir}/${results}/coreboot_console.txt"
+if [ -f "$CONSOLE_LOG" ]; then
+ cp "$CONSOLE_LOG" "${tmpdir}/${results}/coreboot_console.txt"
+ chmod 644 "${tmpdir}/${results}/coreboot_console.txt"
+else
+ cmd $REMOTE "cbmem -c" "${tmpdir}/${results}/coreboot_console.txt"
+fi
cmd_nonfatal $REMOTE "cbmem -t" "${tmpdir}/${results}/coreboot_timestamps.txt"
cmd $REMOTE dmesg "${tmpdir}/${results}/kernel_log.txt"
David Hendricks (dhendrix(a)chromium.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5191
-gerrit
commit e64fa8ae461283a9ab0b182b3ff9a876bfb0ac6f
Author: David Hendricks <dhendrix(a)chromium.org>
Date: Mon Feb 10 14:40:34 2014 -0800
board_status.sh: allow user to supply console log
This adds an option to allow the user to supply a console log, for
example if serial console logs provide additional pre-RAM messages
that are useful.
Change-Id: I3c8e496c90e56868196e95f5326c76cd524ad775
Signed-off-by: David Hendricks <dhendrix(a)chromium.org>
---
util/board_status/board_status.sh | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh
index 735932b..d649e11 100644
--- a/util/board_status/board_status.sh
+++ b/util/board_status/board_status.sh
@@ -10,6 +10,7 @@ EXIT_FAILURE=1
# Stuff from command-line switches
REMOTE_HOST=""
+CONSOLE_LOG=""
CLOBBER_OUTPUT=0
UPLOAD_RESULTS=0
@@ -103,6 +104,9 @@ show_help() {
Options
-h
Show this message.
+ -c <filename>
+ Use <filename> as console log instead of content from cbmem. Useful if
+ target does not support CBMEM.
-C
Clobber temporary output when finished. Useful for debugging.
-r <host>
@@ -118,6 +122,9 @@ while getopts "Chr:u" opt; do
show_help
exit $EXIT_SUCCESS
;;
+ c)
+ CONSOLE_LOG="$OPTARG"
+ ;;
C)
CLOBBER_OUTPUT=1
;;
@@ -169,7 +176,11 @@ printf "Upstream URL: %s\n" $($getrevision -U)>> ${tmpdir}/${results}/revision.t
printf "Timestamp: %s\n" "$timestamp" >> ${tmpdir}/${results}/revision.txt
test_cmd $REMOTE "cbmem"
-cmd $REMOTE "cbmem -c" "${tmpdir}/${results}/coreboot_console.txt"
+if [ -f "$CONSOLE_LOG" ]; then
+ cp "$CONSOLE_LOG" "${tmpdir}/${results}/coreboot_console.txt"
+else
+ cmd $REMOTE "cbmem -c" "${tmpdir}/${results}/coreboot_console.txt"
+fi
cmd_nonfatal $REMOTE "cbmem -t" "${tmpdir}/${results}/coreboot_timestamps.txt"
cmd $REMOTE dmesg "${tmpdir}/${results}/kernel_log.txt"
Ronald G. Minnich (rminnich(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5106
-gerrit
commit 482d2bbb38dc7529ac6c7f255c5ca83a95d552cd
Author: Paul Menzel <paulepanter(a)users.sourceforge.net>
Date: Mon Feb 3 08:36:51 2014 +0100
arch/x86/boot/tables.c: Remove unused variable assignment to `rom_table_end`
Change-Id: I098d1238cda16060c3566f242443007cdaf9bd82
Signed-off-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
---
src/arch/x86/boot/tables.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/arch/x86/boot/tables.c b/src/arch/x86/boot/tables.c
index e980ed8..23b17f9 100644
--- a/src/arch/x86/boot/tables.c
+++ b/src/arch/x86/boot/tables.c
@@ -237,8 +237,7 @@ struct lb_memory *write_tables(void)
new_high_table_pointer - high_table_pointer);
} else {
/* The coreboot table must be in 0-4K or 960K-1M */
- rom_table_end = write_coreboot_table(
- low_table_start, low_table_end,
+ write_coreboot_table(low_table_start, low_table_end,
rom_table_start, rom_table_end);
}
Paul Menzel (paulepanter(a)users.sourceforge.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5172
-gerrit
commit a9b488d49b4c1ca8fdb25aed287bded8f9160037
Author: Paul Menzel <paulepanter(a)users.sourceforge.net>
Date: Sun Feb 9 10:24:22 2014 +0100
util/board_status: Only pass switch `-a` once to `git commit`
Change-Id: Iabcb26229401b03ad4ba2df0f78eee08f379aa03
Signed-off-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
---
util/board_status/board_status.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh
index 735932b..3cff231 100755
--- a/util/board_status/board_status.sh
+++ b/util/board_status/board_status.sh
@@ -202,7 +202,7 @@ if [ $UPLOAD_RESULTS -eq 1 ]; then
echo "Uploading results"
git add "${vendor}"
- git commit -a -am "${mainboard_dir}/${tagged_version}/${timestamp}"
+ git commit -a -m "${mainboard_dir}/${tagged_version}/${timestamp}"
git push origin
# Results have been uploaded so it's pointless to keep the