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