[U-Boot] Problem with usbtty and loads

Juha Kuikka juha.kuikka at gmail.com
Tue Jan 12 23:02:16 CET 2010


Hi,

When using console over usb tty the "loads" command does not behave
well. It seems to eat every other character from the stream.

I traced the problem to read_record() function to these lines:

            /* Check for the console hangup (if any different from serial) */
            if (gd->jt[XF_getc] != getc) {
                if (ctrlc()) {
                    return (-1);
                }
            }

These end up eating every other character. Not being familiar with the
u-boot console system what would be a proper fix for this?

CONFIG_CONSOLE_MUX is enabled.

 - Juha


More information about the U-Boot mailing list