Dave Frodin (dave.frodin(a)se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1984
-gerrit
commit dc863d95f5e2e35cefbab1cbc340762fffab102d
Author: Dave Frodin <dave.frodin(a)se-eng.com>
Date: Wed Dec 5 17:26:03 2012 -0700
coreinfo: change the foreground/background colors
The default curses library changed from tinycurses to
PDCurses. PDCurses fails to fill the entire active screen with
the assigned background colors when it writes 'blank' chars.
This will allow the menues to look better until I resolve that.
Change-Id: I70b5331d16dd0abaa1f0b02b725571844b7ac15e
Signed-off-by: Dave Frodin <dave.frodin(a)se-eng.com>
---
payloads/coreinfo/coreinfo.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/payloads/coreinfo/coreinfo.c b/payloads/coreinfo/coreinfo.c
index 846cf77..7e8b201 100644
--- a/payloads/coreinfo/coreinfo.c
+++ b/payloads/coreinfo/coreinfo.c
@@ -273,9 +273,10 @@ int main(void)
initscr();
+ start_color();
init_pair(1, COLOR_WHITE, COLOR_GREEN);
- init_pair(2, COLOR_BLACK, COLOR_WHITE);
- init_pair(3, COLOR_WHITE, COLOR_WHITE);
+ init_pair(2, COLOR_WHITE, COLOR_BLACK);
+ init_pair(3, COLOR_BLACK, COLOR_WHITE);
modwin = newwin(SCREEN_Y - 3, SCREEN_X, 1, 0);
menuwin = newwin(2, SCREEN_X, SCREEN_Y - 2, 0);
Dave Frodin (dave.frodin(a)se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1983
-gerrit
commit 6a9191f12c6ad50b7aebe535d1216f08fb7d491a
Author: Dave Frodin <dave.frodin(a)se-eng.com>
Date: Wed Dec 5 17:22:47 2012 -0700
coreinfo: changes to get the usb keyboard working
Change-Id: I495b42055a54603e4efb92b2845051434d88432d
Signed-off-by: Dave Frodin <dave.frodin(a)se-eng.com>
---
payloads/coreinfo/coreinfo.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/payloads/coreinfo/coreinfo.c b/payloads/coreinfo/coreinfo.c
index 846cf77..62224e7 100644
--- a/payloads/coreinfo/coreinfo.c
+++ b/payloads/coreinfo/coreinfo.c
@@ -271,6 +271,13 @@ int main(void)
{
int i, j;
+#if defined(CONFIG_USB)
+ usb_initialize();
+ /* the 1st call to havekey prints out info */
+ /* lets do one here before the screen init */
+ havekey();
+#endif
+
initscr();
init_pair(1, COLOR_WHITE, COLOR_GREEN);
@@ -291,6 +298,9 @@ int main(void)
categories[i].modules[j]->init();
}
+ noecho();
+ keypad(stdscr, TRUE); /* there may be a Fn key */
+
loop();
return 0;