<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>It can be fixed by this change.<br><br>diff --git a/payloads/nvramcui/nvramcui.c b/payloads/nvramcui/nvramcui.c<br>index a4d28c1..27fcb0d6 100644<br>--- a/payloads/nvramcui/nvramcui.c<br>+++ b/payloads/nvramcui/nvramcui.c<br>@@ -190,16 +190,19 @@ int main()<br>     post_form(form);<br> <br>     done = 0;<br>+    render_form(form);<br>     while(!done) {<br>-        render_form(form);<br>+        //render_form(form);<br>         ch=getch();<br>         if (ch == ERR) continue;<br>         switch (ch) {<br>         case KEY_DOWN:<br>             form_driver(form, REQ_NEXT_FIELD);<br>+            render_form(form);<br>             break;<br>         case KEY_UP:<br>             form_driver(form, REQ_PREV_FIELD);<br>+            render_form(form);<br>             break;<br>         case KEY_LEFT:<br>             if (field_type(current_field(form)) == TYPE_ENUM) {<br>@@ -207,6 +210,7 @@ int main()<br>             } else {<br>                 form_driver(form, REQ_LEFT_CHAR);<br>             }<br>+            render_form(form);<br>             break;<br>         case KEY_RIGHT:<br>             if (field_type(current_field(form)) == TYPE_ENUM) {<br>@@ -214,13 +218,16 @@ int main()<br>             } else {<br>                 form_driver(form, REQ_RIGHT_CHAR);<br>             }<br>+            render_form(form);<br>             break;<br>         case KEY_BACKSPACE:<br>         case '\b':<br>             form_driver(form, REQ_DEL_PREV);<br>+            render_form(form);<br>             break;<br>         case KEY_DC:<br>             form_driver(form, REQ_DEL_CHAR);<br>+            render_form(form);<br>             break;<br>         case KEY_F(1):<br>             done=1;<br><br><br><div><hr id="stopSpelling">From: fishbaoz@hotmail.com<br>To: coreboot@coreboot.org<br>Date: Mon, 21 Mar 2016 16:55:29 +0000<br>Subject: [coreboot] nvramcui: VGA console flashes if no serial console<br><br>

<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
<div dir="ltr">Hi, all,<br>I am trying to use the nvramcui.<br><br>If the serial cable is plugged in, both the serial console and VGA console are stable.<br>but if the serial cable is unplugged, the VGA console are flashing.  The flashing part is the text inside the frame "Press F1 when done", i.e., the CMOS entries.<br><br>Zheng<br>                                          </div>
<br>-- 
coreboot mailing list: coreboot@coreboot.org
https://www.coreboot.org/mailman/listinfo/coreboot</div>                                    </div></body>
</html>