serialice lets you get very far in the debug process. At some point,
one needs to take the plunge and try "the real thing".
But, on a board with soldered-on flash, this is a one-way trip.
Or maybe not.
What if we could do this: put serialice in the boot block, i.e. as the
"fallback", and put a test bios in as the "normal". Serialice could
have the capability to flash the "normal". Serialice could also be
directed to start the "normal" bios for testing purposes.
Then, I could on my 1580s do …
[View More]test bios images, secure in knowing that
I can always fall back to serialice and recover. Possibly we could
have serialice be an "external programmer" for flashrom!
Comments?
ron
[View Less]
Author: stepan
Date: 2009-11-26 16:51:48 +0100 (Thu, 26 Nov 2009)
New Revision: 71
Modified:
trunk/qemu-0.11.0/serialice.c
Log:
fix "Readback error" on first command (harmless) introduced by v1.5
Signed-off-by: Stefan Reinauer <stepan(a)coresystems.de>
Modified: trunk/qemu-0.11.0/serialice.c
===================================================================
--- trunk/qemu-0.11.0/serialice.c 2009-11-26 14:36:39 UTC (rev 70)
+++ trunk/qemu-0.11.0/serialice.c 2009-11-26 15:51:48 UTC …
[View More](rev 71)
@@ -892,7 +892,7 @@
printf("SerialICE: Waiting for handshake with target... ");
/* Trigger a prompt */
- serialice_write(s, "\n", 1);
+ serialice_write(s, "@", 1);
/* ... and wait for it to appear */
if (serialice_wait_prompt() == 0) {
@@ -905,7 +905,7 @@
/* Each serialice_command() waits for a prompt, so trigger one for the
* first command, as we consumed the last one for the handshake
*/
- serialice_write(s, "\n", 1);
+ serialice_write(s, "@", 1);
printf("SerialICE: LUA init...\n");
serialice_lua_init();
[View Less]