Host-side EC UART logging is a useful feature, but we typically need 4096 bytes in our Tx buffer in order to completely log power-on / sysjump until first log retrieval without wrapping around.
Goal: Reduce UART Tx volume so that everything can fit in 2048 bytes on a typical boot, so that we can cut our Tx buffer size in half.
We can achieve this by shortening certain strings that are super-verbose ("clearing MKBP common fifo", "(re)initializing buttons and interrupts", "Base Accel ODR: 10000 - roundup 1 from config 1 [AP 0]]", etc), not printing all of our sha256, and reducing the "%T" / current time print precision to 3 digits right of the decimal / msec (we can leave usec precision as a CONFIG option).
Comment 1 by sha...@chromium.org
, Feb 4 2017Labels: -Pri-3 OS-Chrome Pri-1