I decided to install the latest release to my R3 and opted for a fresh install. The serial console via the uART pins and USB adapter has worked well since purchase. Today it simply stopped. I am lost for a solution, or even a troubleshooting method.
I use a CP2102 USB 2.0 to TTL Module Serial Converter.
(one of these https://www.aliexpress.us/item/3256805964804901.html?gatewayAdapt=glo2usa4itemAdapt)
Connecting the 3 wires as usual (GND ↔ GND, TXD ↔ RXD, RXD ↔ TXD) Two LEDS on the adapter that seem to correspond to GND and RXD illuminate.
Weirdly and I haven’t previously noticed, when I power on the R3 the RXD light immediately goes out and only GND remains. This seems very odd. As soon as I power off the RXD light illuminates. The TXD light does not light up. I don’t know if this is new and indicative of failure or its always been like that.
I have checked the serial cabling, testing the condition of the three cables for conductivity. Removed and replugged them many times.
When I connect to the USB adapter port I get no response and it hangs my session and cannot quit it within the terminal. I use this command on a Raspberry Pi where the adapter is connected. screen -L /dev/ttyUSB0 115200 This has always worked without issue.
Has something failed on the R3 in the uART circuitry? Is the USB adapter now faulty?
But mainly how can I troubleshoot this?
The R3 install seems a bit broken right now. I was midway through putting the 24.10.0 version onto eMMC via the boot menu but it seems that fails as if I boot from eMMC it seems to be falling back to an old version or some recovery boot, as if I connect via a local 192.168.1.1 network I can see this evidence.
From dmesg I see:
6.025730] Run /init as init process
[ 6.029374] with arguments:
[ 6.032331] /init
[ 6.034588] with environment:
[ 6.037712] HOME=/
[ 6.040056] TERM=linux
[ 6.167090] init: Console is alive
[ 6.170613] init: - watchdog -
[ 6.176529] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 6.185523] mt7986a-pinctrl 1001f000.pinctrl: pin GPIO_4 already requested by 11280000.pcie; cannot claim for pinctrl_moore:420
[ 6.197000] mt7986a-pinctrl 1001f000.pinctrl: pin-9 (pinctrl_moore:420) status -22
[ 6.204552] gpio-keys: probe of gpio-keys failed with error -22
So says console is alive.
Also I see this output:
root@OpenWrt:~# cat /etc/openwrt_release
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='23.05.5'
DISTRIB_REVISION='r24106-10cc5fcd00'
DISTRIB_TARGET='mediatek/filogic'
DISTRIB_ARCH='aarch64_cortex-a53'
DISTRIB_DESCRIPTION='OpenWrt 23.05.5 r24106-10cc5fcd00'
DISTRIB_TAINTS=''
root@OpenWrt:~# cat /etc/openwrt_version
r24106-10cc5fcd00
root@OpenWrt:~# df -hP
Filesystem Size Used Available Capacity Mounted on
tmpfs 996.8M 18.7M 978.1M 2% /
tmpfs 996.8M 60.0K 996.7M 0% /tmp
tmpfs 512.0K 0 512.0K 0% /dev
root@OpenWrt:~# mount
tmpfs on / type tmpfs (rw,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /dev type tmpfs (rw,nosuid,noexec,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,noatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
bpffs on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,noatime,mode=700)
pstore on /sys/fs/pstore type pstore (rw,noatime)
But my question now is getting the console and USB Serial connection to work as it previously did. Really appreciate aany assistance from you.
Many thanks
LvR.