Timothy Pearson (tpearson(a)raptorengineeringinc.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14073
-gerrit
commit 6cbe4bc128a5a595f566e1b540d8188ec22f25f5
Author: Timothy Pearson <tpearson(a)raptorengineeringinc.com>
Date: Sat Mar 12 17:17:23 2016 -0600
nb/amd/mct_ddr3: Use correct initial UI setting dor DRAM training
Rebasing change I3be808db5d15ceec4c36d17582756b01425df09a
did not take into account the default UI setting introduced in
change I6ae88c891e92b21dc0ca3c47b8f3d269f83b3204 , causing DRAM
instability and occassional failure to boot.
Use the correct 1UI value for the modified function semantics.
Change-Id: I9fd24cf83e4c4083c6e467d49021c98e5f5f2c53
Signed-off-by: Timothy Pearson <tpearson(a)raptorengineeringinc.com>
---
src/northbridge/amd/amdmct/mct_ddr3/mctdqs_d.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mctdqs_d.c b/src/northbridge/amd/amdmct/mct_ddr3/mctdqs_d.c
index 182fab0..15b5ea4 100644
--- a/src/northbridge/amd/amdmct/mct_ddr3/mctdqs_d.c
+++ b/src/northbridge/amd/amdmct/mct_ddr3/mctdqs_d.c
@@ -1703,7 +1703,7 @@ static void TrainDQSReceiverEnCyc_D_Fam15(struct MCTStatStruc *pMCTstat,
/* Reset the read data timing registers to 1UI before calculating MaxRdLatency */
for (internal_lane = 0; internal_lane < MAX_BYTE_LANES; internal_lane++)
- current_read_dqs_delay[internal_lane] = 0x20 << 1;
+ current_read_dqs_delay[internal_lane] = 0x20;
write_dqs_read_data_timing_registers(current_read_dqs_delay, dev, dct, dimm, index_reg);
/* Calculate and program MaxRdLatency */
Timothy Pearson (tpearson(a)raptorengineeringinc.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14073
-gerrit
commit 2e96023e38934e125ed3c542fd78c46d8d6c3a2d
Author: Timothy Pearson <tpearson(a)raptorengineeringinc.com>
Date: Sat Mar 12 17:17:23 2016 -0600
nb/amd/mct_ddr3: Use correct initial UI setting dor DRAM training
Rebasing change I3be808db5d15ceec4c36d17582756b01425df09a
did not take into account the default UI setting introduced in
change Change-Id: I6ae88c891e92b21dc0ca3c47b8f3d269f83b3204 ,
causing DRAM instability and failure to boot.
Use the correct 1UI value for the modified function semantics.
Change-Id: I9fd24cf83e4c4083c6e467d49021c98e5f5f2c53
Signed-off-by: Timothy Pearson <tpearson(a)raptorengineeringinc.com>
---
src/northbridge/amd/amdmct/mct_ddr3/mctdqs_d.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mctdqs_d.c b/src/northbridge/amd/amdmct/mct_ddr3/mctdqs_d.c
index 182fab0..15b5ea4 100644
--- a/src/northbridge/amd/amdmct/mct_ddr3/mctdqs_d.c
+++ b/src/northbridge/amd/amdmct/mct_ddr3/mctdqs_d.c
@@ -1703,7 +1703,7 @@ static void TrainDQSReceiverEnCyc_D_Fam15(struct MCTStatStruc *pMCTstat,
/* Reset the read data timing registers to 1UI before calculating MaxRdLatency */
for (internal_lane = 0; internal_lane < MAX_BYTE_LANES; internal_lane++)
- current_read_dqs_delay[internal_lane] = 0x20 << 1;
+ current_read_dqs_delay[internal_lane] = 0x20;
write_dqs_read_data_timing_registers(current_read_dqs_delay, dev, dct, dimm, index_reg);
/* Calculate and program MaxRdLatency */
the following patch was just integrated into master:
commit 63db6142b6198fc3d6660e58228eeedd2eac59bd
Author: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Date: Wed Feb 24 13:25:42 2016 -0800
northbridge/intel/i82830: Unify UDELAY selection
Instead of manually including udelay_io.c in each romstage,
select UDELAY_IO for all i830 boards in the chipset.
Change-Id: I0a63ddd3c5e43ea65f776385f54eceb6569751ac
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Reviewed-on: https://review.coreboot.org/13783
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth(a)google.com>
See https://review.coreboot.org/13783 for details.
-gerrit
Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14072
-gerrit
commit 9fe5e9e2e28ab81b36997a6bab5b16900ddbddce
Author: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Date: Sat Mar 12 12:17:48 2016 -0800
coreinfo: Pretty print RAM addresses
Instead of 500, print 0x00000500 in the ram dump module.
Change-Id: Id250bd99f36dad4088ab88953fb371c400b4231b
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
---
payloads/coreinfo/ramdump_module.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/payloads/coreinfo/ramdump_module.c b/payloads/coreinfo/ramdump_module.c
index a0ccc4f..8401a61 100644
--- a/payloads/coreinfo/ramdump_module.c
+++ b/payloads/coreinfo/ramdump_module.c
@@ -30,7 +30,7 @@ static void dump_ram(WINDOW *win, uint32_t addr, int row, int col)
int i, x = 0, y = 0, count = 0;
volatile uint8_t *ptr = (void *)(addr);
- mvwprintw(win, 0, col + 54, "RAM address: %10x", addr);
+ mvwprintw(win, 0, col + 54, "RAM address: 0x%08x", addr);
/* Dump 256 bytes of RAM. */
for (i = 1; i < 257; i++) {
Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14071
-gerrit
commit 79f2a78cd88b2b691c73b276328965ccae2f9595
Author: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Date: Sat Mar 12 12:14:46 2016 -0800
libpayload: Move MEMMAP_RAM_ONLY to generic options
MEMMAP_RAM_ONLY is not an architecture specific option,
hence move it out of the architecture specific menu.
Change-Id: Iaeef03ed8cbff930a580ad03b1e712087b48714e
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
---
payloads/libpayload/Kconfig | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/payloads/libpayload/Kconfig b/payloads/libpayload/Kconfig
index ef452ac..3c579e6 100644
--- a/payloads/libpayload/Kconfig
+++ b/payloads/libpayload/Kconfig
@@ -80,6 +80,10 @@ config REMOTEGDB
help
Enable Remote GDB debugging support.
+config MEMMAP_RAM_ONLY
+ bool "Only consider RAM entries in memory map for further processing"
+ default n
+
endmenu
menu "Architecture Options"
@@ -110,10 +114,6 @@ config ARCH_MIPS
endchoice
-config MEMMAP_RAM_ONLY
- bool "Only consider RAM entries in memory map for further processing"
- default n
-
config MULTIBOOT
bool "Multiboot header support"
depends on ARCH_X86
Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14069
-gerrit
commit 4f60d666f0d92000bd70ab7213d7c9a5f9a20732
Author: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Date: Sat Mar 12 11:51:18 2016 -0800
libpayload: Unify defconfigs
Bring defconfig and defconfig-tinycurses in sync, so that
defconfig and defconfig-tinycurses only differ in the selection
of the curses implementation.
Change-Id: I739c5122b5aaaa2681055c845905721a0b2a11c1
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
---
payloads/libpayload/configs/defconfig | 1 +
payloads/libpayload/configs/defconfig-tinycurses | 18 ++++++++++++++----
2 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/payloads/libpayload/configs/defconfig b/payloads/libpayload/configs/defconfig
index 37bf50d..1d516f7 100644
--- a/payloads/libpayload/configs/defconfig
+++ b/payloads/libpayload/configs/defconfig
@@ -32,6 +32,7 @@ CONFIG_LP_CURSES=y
CONFIG_LP_PDCURSES=y
CONFIG_LP_CBFS=y
CONFIG_LP_LZMA=y
+CONFIG_LP_LZ4=y
#
# Console Options
diff --git a/payloads/libpayload/configs/defconfig-tinycurses b/payloads/libpayload/configs/defconfig-tinycurses
index f876903..7e74fb2 100644
--- a/payloads/libpayload/configs/defconfig-tinycurses
+++ b/payloads/libpayload/configs/defconfig-tinycurses
@@ -21,7 +21,7 @@ CONFIG_LP_ARCH_X86=y
# CONFIG_LP_ARCH_ARM64 is not set
# CONFIG_LP_ARCH_MIPS is not set
# CONFIG_LP_MEMMAP_RAM_ONLY is not set
-CONFIG_LP_MULTIBOOT=y
+# CONFIG_LP_MULTIBOOT is not set
#
# Standard Libraries
@@ -52,7 +52,7 @@ CONFIG_LP_SERIAL_IOBASE=0x3f8
CONFIG_LP_VIDEO_CONSOLE=y
CONFIG_LP_VGA_VIDEO_CONSOLE=y
# CONFIG_LP_GEODELX_VIDEO_CONSOLE is not set
-# CONFIG_LP_COREBOOT_VIDEO_CONSOLE is not set
+CONFIG_LP_COREBOOT_VIDEO_CONSOLE=y
CONFIG_LP_PC_KEYBOARD=y
CONFIG_LP_PC_KEYBOARD_LAYOUT_US=y
# CONFIG_LP_PC_KEYBOARD_LAYOUT_DE is not set
@@ -71,8 +71,18 @@ CONFIG_LP_STORAGE_ATAPI=y
CONFIG_LP_STORAGE_AHCI=y
CONFIG_LP_STORAGE_AHCI_ONLY_TESTED=y
CONFIG_LP_TIMER_RDTSC=y
-# CONFIG_LP_USB is not set
-# CONFIG_LP_USB_GEN_HUB is not set
+CONFIG_LP_USB=y
+CONFIG_LP_USB_UHCI=y
+CONFIG_LP_USB_OHCI=y
+CONFIG_LP_USB_EHCI=y
+CONFIG_LP_USB_XHCI=y
+# CONFIG_LP_USB_XHCI_MTK_QUIRK is not set
+CONFIG_LP_USB_HID=y
+CONFIG_LP_USB_HUB=y
+# CONFIG_LP_USB_EHCI_HOSTPC_ROOT_HUB_TT is not set
+CONFIG_LP_USB_MSC=y
+CONFIG_LP_USB_GEN_HUB=y
+CONFIG_LP_USB_PCI=y
# CONFIG_LP_UDC is not set
# CONFIG_LP_BIG_ENDIAN is not set
CONFIG_LP_LITTLE_ENDIAN=y
Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14068
-gerrit
commit 44c89e9f9938b6a82a83967b4bec5960833eab44
Author: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Date: Sat Mar 12 11:48:44 2016 -0800
libpayload: Make comment into help text
Change-Id: I8c8669e73e335e12cb3785cf84b878c305dd5929
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
---
payloads/libpayload/Kconfig | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/payloads/libpayload/Kconfig b/payloads/libpayload/Kconfig
index 95bd045..e95f31b 100644
--- a/payloads/libpayload/Kconfig
+++ b/payloads/libpayload/Kconfig
@@ -629,10 +629,12 @@ config LITTLE_ENDIAN
default n
bool
-# Whether the target system has an IO address space.
config IO_ADDRESS_SPACE
default n
bool
+ help
+ This option is turned on if the target system has a separate
+ IO address space. This is typically only the case on x86.
source "arch/arm/Kconfig"
source "arch/arm64/Kconfig"
Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14067
-gerrit
commit 7b6d8a55c82fd3158a412d532ddc333785eff1e7
Author: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Date: Sat Mar 12 11:47:00 2016 -0800
coreinfo: Use tinycurses
When using PDcurses over a serial line, the background of
coreinfo is not properly cleared. Hence use tinycurses, which
was the only option when coreinfo was developed.
Change-Id: I15bb6eb552cf924de98d09ef63be33ecf336c526
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
---
payloads/coreinfo/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/payloads/coreinfo/Makefile b/payloads/coreinfo/Makefile
index b08424b..c166fc4 100644
--- a/payloads/coreinfo/Makefile
+++ b/payloads/coreinfo/Makefile
@@ -117,7 +117,7 @@ else
libpayload:
printf "Building libpayload @ $(LIBCONFIG_PATH).\n"
$(MAKE) -C $(LIBCONFIG_PATH) distclean
- $(MAKE) -C $(LIBCONFIG_PATH) $(LIB_CONFIG)
+ $(MAKE) -C $(LIBCONFIG_PATH) $(LIB_CONFIG) KBUILD_DEFCONFIG=configs/defconfig-tinycurses
$(MAKE) -C $(LIBCONFIG_PATH) DESTDIR=$(shell pwd)/$(LIBPAYLOAD_DIR) install
endif