the following patch was just integrated into master:
commit 561223fbd9401700f1e0a1c85358e74da993a6bf
Author: Patrick Georgi <patrick.georgi(a)secunet.com>
Date: Fri Nov 11 11:05:42 2011 +0100
libpayload: Enable colors in PDcurses
PDcurses wants set_blink to determine color count. Not exactly
obvious.
Change-Id: I8b2a32f0095d5900fa7e01f04f3f1d565dc2bedf
Signed-off-by: Patrick Georgi <patrick.georgi(a)secunet.com>
Build-Tested: build bot (Jenkins) at Fri Nov 11 11:17:04 2011, giving +1
Reviewed-By: Stefan Reinauer <stefan.reinauer(a)coreboot.org> at Fri Nov 11 18:24:47 2011, giving +2
See http://review.coreboot.org/432 for details.
-gerrit
Patrick Georgi (patrick(a)georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/432
-gerrit
commit 561223fbd9401700f1e0a1c85358e74da993a6bf
Author: Patrick Georgi <patrick.georgi(a)secunet.com>
Date: Fri Nov 11 11:05:42 2011 +0100
libpayload: Enable colors in PDcurses
PDcurses wants set_blink to determine color count. Not exactly
obvious.
Change-Id: I8b2a32f0095d5900fa7e01f04f3f1d565dc2bedf
Signed-off-by: Patrick Georgi <patrick.georgi(a)secunet.com>
---
.../libpayload/curses/pdcurses-backend/pdcsetsc.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/payloads/libpayload/curses/pdcurses-backend/pdcsetsc.c b/payloads/libpayload/curses/pdcurses-backend/pdcsetsc.c
index 49d66ab..f0e83cf 100644
--- a/payloads/libpayload/curses/pdcurses-backend/pdcsetsc.c
+++ b/payloads/libpayload/curses/pdcurses-backend/pdcsetsc.c
@@ -28,5 +28,8 @@ int PDC_curs_set(int visibility)
int PDC_set_blink(bool blinkon)
{
+ if (pdc_color_started)
+ COLORS = 16;
+
return ERR;
}
Patrick Georgi (patrick(a)georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/431
-gerrit
commit 4ad8a2254d6b014079cc7129b196d9a574c5d0e7
Author: Patrick Georgi <patrick.georgi(a)secunet.com>
Date: Fri Nov 11 10:20:42 2011 +0100
Fix FILO colors
FILO relied on tinycurses auto-initialization of colors, while
PDcurses is more strict and requires start_color() before use.
Change-Id: Icf185a2c593a96a6a132c8a32ead9da98644e982
Signed-off-by: Patrick Georgi <patrick.georgi(a)secunet.com>
---
main/grub/grub.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/main/grub/grub.c b/main/grub/grub.c
index 0e8970c..b4bee04 100644
--- a/main/grub/grub.c
+++ b/main/grub/grub.c
@@ -1029,6 +1029,7 @@ void grub_main(void)
/* Initialize TinyCurses */
initscr();
+ start_color();
cbreak();
noecho();
nonl();
the following patch was just integrated into master:
commit 8509f2694fd0b03a15eadcbfe10e3c07e0d63cb3
Author: Florian Zumbiehl <florz(a)florz.de>
Date: Tue Nov 1 20:17:41 2011 +0100
compile code for CONFIG_SOUTHBRIDGE_VIA_K8T800_OLD
make code dependent on CONFIG_SOUTHBRIDGE_VIA_K8T800 also be included
for CONFIG_SOUTHBRIDGE_VIA_K8T800_OLD
Change-Id: I9f4624d08de2790fb513a88ed6207e28e7fbc733
Signed-off-by: Florian Zumbiehl <florz(a)florz.de>
Build-Tested: build bot (Jenkins) at Fri Nov 4 23:50:01 2011, giving +1
Reviewed-By: Stefan Reinauer <stefan.reinauer(a)coreboot.org> at Thu Nov 10 23:55:11 2011, giving +2
See http://review.coreboot.org/374 for details.
-gerrit
the following patch was just integrated into master:
commit c5293fc080bcb311e1277b2034051f4d22382745
Author: Florian Zumbiehl <florz(a)florz.de>
Date: Tue Nov 1 20:17:14 2011 +0100
support for different location of HT registers in old version of K8T800
Change-Id: I2ad82b8059efb09f0593933cb6f53b51b653d494
Signed-off-by: Florian Zumbiehl <florz(a)florz.de>
Build-Tested: build bot (Jenkins) at Fri Nov 4 23:38:26 2011, giving +1
Reviewed-By: Stefan Reinauer <stefan.reinauer(a)coreboot.org> at Thu Nov 10 23:54:35 2011, giving +2
See http://review.coreboot.org/373 for details.
-gerrit
the following patch was just integrated into master:
commit 20f62dac1e7c8f6eb6116a88fc729794d05742d6
Author: Patrick Georgi <patrick.georgi(a)secunet.com>
Date: Thu Nov 10 15:48:37 2011 +0100
libpayload: Fix handling of CAPS LOCK key on PS/2 keyboards
The PS/2 keyboard driver set and reset the caps LED to show the
keyboard status. Unfortunately, that configuration happens over
the same path used to transmit keypresses.
In face of certain error conditions, the keyboard stopped working.
This change makes keyboard handling more robust.
Change-Id: I0489a9983ea7dab00357220e09398dd1a8538839
Signed-off-by: Patrick Georgi <patrick.georgi(a)secunet.com>
Build-Tested: build bot (Jenkins) at Thu Nov 10 16:09:31 2011, giving +1
Reviewed-By: Stefan Reinauer <stefan.reinauer(a)coreboot.org> at Thu Nov 10 17:51:53 2011, giving +2
See http://review.coreboot.org/430 for details.
-gerrit
Patrick Georgi (patrick(a)georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/430
-gerrit
commit 20f62dac1e7c8f6eb6116a88fc729794d05742d6
Author: Patrick Georgi <patrick.georgi(a)secunet.com>
Date: Thu Nov 10 15:48:37 2011 +0100
libpayload: Fix handling of CAPS LOCK key on PS/2 keyboards
The PS/2 keyboard driver set and reset the caps LED to show the
keyboard status. Unfortunately, that configuration happens over
the same path used to transmit keypresses.
In face of certain error conditions, the keyboard stopped working.
This change makes keyboard handling more robust.
Change-Id: I0489a9983ea7dab00357220e09398dd1a8538839
Signed-off-by: Patrick Georgi <patrick.georgi(a)secunet.com>
---
payloads/libpayload/drivers/keyboard.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/payloads/libpayload/drivers/keyboard.c b/payloads/libpayload/drivers/keyboard.c
index 0663f47..717ee55 100644
--- a/payloads/libpayload/drivers/keyboard.c
+++ b/payloads/libpayload/drivers/keyboard.c
@@ -166,11 +166,13 @@ static struct layout_maps keyboard_layouts[] = {
static void keyboard_cmd(unsigned char cmd, unsigned char val)
{
+ while (inb(0x64) & 2);
outb(cmd, 0x60);
- /* wait until keyboard controller accepts cmds: */
+ mdelay(20);
+
while (inb(0x64) & 2);
outb(val, 0x60);
- while (inb(0x64) & 2);
+ mdelay(20);
}
int keyboard_havechar(void)
the following patch was just integrated into master:
commit 3575fdffeab51f4a8140067b82605beaca81e502
Author: Oskar Enoksson <enok(a)lysator.liu.se>
Date: Mon Nov 7 18:31:33 2011 +0100
Fixed whitespace and indentation
Code style fixes for the hp/dl145_g1 system board code.
Change-Id: I3c1a175d954e2d340e82c03c9f984699dcff865e
Signed-off-by: Oskar Enoksson <enok(a)lysator.liu.se>
Build-Tested: build bot (Jenkins) at Tue Nov 8 21:28:37 2011, giving +1
Reviewed-By: Stefan Reinauer <stefan.reinauer(a)coreboot.org> at Wed Nov 9 00:26:22 2011, giving +2
See http://review.coreboot.org/428 for details.
-gerrit
the following patch was just integrated into master:
commit d3ad5d902bfb17b085a1d229e8fc0e87c1ccba0e
Author: Patrick Georgi <patrick(a)georgi-clan.de>
Date: Fri Nov 4 21:37:14 2011 +0100
buildgcc: Add option to use ccache
This mimicks abuild: -y enables ccache.
Change-Id: I3ac1f809729af816efbc64f5789ab430e1a6a6b2
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
Build-Tested: build bot (Jenkins) at Tue Nov 8 22:51:16 2011, giving +1
Reviewed-By: Stefan Reinauer <stefan.reinauer(a)coreboot.org> at Wed Nov 9 00:25:44 2011, giving +2
See http://review.coreboot.org/400 for details.
-gerrit