[Solved] Archer C7 Serial Console -- Removing Binary "Bleed"

For the first time since the early days of OpenWRT, I've cracked open a device (Archer C7 v2) and connected a serial console in the hopes of determining why certain builds are non-responsive to the point that the network doesn't come up.

(Not for the faint hearted or those inexperienced with soldering, BTW)

My serial connection at 115200, 8, 1, none works fine with TX, RX, and ground connected and a 3.3-V level serial-to-USB connector. No "garbage" in the boot loader.

I'm puzzled though, as it looks like all kinds of "binary" data is getting sent to the console (ttys0, from logread output), and only when OpenWRT/LEDE is running.

How can I get rid of this?

As an example

[   36.873244] mount_root: overlay filesystem has not been fully initialized yet
[   36.883749] mount_root: switching to jffs2 overlay
- config restore -
[   37.850296] urandom-seed: Seed file not found (/etc/urandom.seed)
[   37.976449] eth1: link down
[   37.989638] procd: - early -
[   37.992709] procd: - watchdog -
[   38.571663] procd: - watchdog -
[   38.575109] procd: - ubus -
[   38.633647] procd: - init -
Please press Ent^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^H^@^@^@^@^@^@!^B^@^@^@^@^@^@^@^@^@^@^@^@^@!@^@^@^@^@^@^@^@^B^@^@^@^@^@^@^@^@^P!B?^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^P^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^A^H^@^@^@^@^@^@^@^@^@^@^@^@^B^P^@^@^@^@^@^@^@^@^@^@^@^@^@?^H^@^@^@^@^@^@^@^@^@^@^@^P^@^@^@^@^@^@^@^@^@^@^@^@^@^@^P B^@^@^@^@^@^@?^H^@^@^@^@^@^@^@^@^@@^@^@^@^@^@^@^@^@^@^@^@^@^@^@@^H^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^P^@@^@@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@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^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@@^@^A^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@!B^@^@^@^@B^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^B^@^@^@^@^@^@^@^@^@^@^@^@^B^P^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^P^@^@^@^@^@^@^@^@^@^@^@^@^@^@^P^AB^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^P^A@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^A^@^@!B^@^@^@^@^@^@^@ ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^P!B^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^A^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@[   39.082114] kmodloader: loading kernel modules from /etc/modules.d/*
[   39.102507] gre: GRE over IPv4 demultiplexor driver
[   39.116185] ip_gre: GRE over IPv4 tunneling driver
[   39.135264] ip6_gre: GRE over IPv6 tunneling driver
[   39.166184] ip6_tables: (C) 2000-2006 Netfilter Core Team
^@^@^@^@^P^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^B^P^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^A^H^@^@^@^@^@^@^@^@^@^@^@^B^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^B^P^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@!^@^@^@^@^@^@^@^@^@^@^@^B^P^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^B^P^@^@^@^@^@^@^@^@^@^@^@^@^B^P^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^P!B^@^@^@^@^P!B^@^@B^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@@?^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@?^H^@^@^@^@^P!B^@^@^@^@^P^AB^@^@^@ B^@^@^@^@^@^@^@^@^@^@^@^@^@[   39.240503] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
^@^@^@^@^@^@^@^@[   39.250051] Backport generated by backports.git backports-20160324-13-g24da7d3c

Usually a sign of a bad GND connection.

Ground continuity is good, back to the USB serial adapter. The console output is "clean" after it gets through the "initialization" phases. It's almost as though data that is being written to various devices is "spilling over" into the console output.

^H?^B??^H^PA?^H^@^@^@^@^@ ^@^@^@^@^@^H(B?^@^@^@^H^A^PH !C?^P? 0^B??^@^@@^H^@^@^@(^@^H^@^P^@^@^E^@^@^B^@^@^@??^B^@^@@?^H^@@D? ^L^P^A^@^@!B^@^@^P^@@^L> !B@  ?H !C?? ??0?A(B?@@D? ??!BD?@??1
> @@!??!@?  ?H !C?? ??0?A(B?@@D? ??!BD?1!    48.641671] ath10k_pci 0000:01:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
39@!B!B?@? B @!?@!?@@`?@!??!@?  ?H !C?? ??0?A(B?@@D? ??!BD?1! 
> @@? 8? ??"? B? ?P ?B?@PP@? [   48.947887] ip_tables: (C) 2000-2006 Netfilter Core Team
[   48.963042] nf_conntrack version 0.5.0 (1959 buckets, 7836 max)?P????
[   49.126366] xt_time: kernel timezone is -0000
[   49.180064] ieee80211 phy1: Atheros AR9550 Rev:0 mem=0xb8100000, irq=47
[   49.265621] kmodloader: done loading kernel modules from /etc/modules.d/*
[   59.721097] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   59.744496] device eth0.1010 entered promiscuous mode
[   59.749694] device eth0 entered promiscuous mode

and later is "fine".

You will generally get wacked out out hieroglyph looking output from a bad Gnd or Rx connection, not legible output like the above (akin to CTRL+<key>)

1k pull-up on the TP-Link's RX pin to +3.3 V -- even with a serial number prior to the "B" revision indicated in the wiki. Will probably drop it to ~800Ω as the found by the mailing list source as keyboard input is still dicey.

Wiki updated.