Linksys EA8300

Moving slowly with some "challenges" with the wireless, the QCA9888 in particular.

After much head scratching, just booted off a tftp-flashed image in NAND, thanks to

In this specific case, the first magic incantation was

set bootargs ubi.mtd=rootfs root=/dev/ubiblock0_0
nand read $loadaddr $prikern $kernsize && bootm $loadaddr

I've still got to look at how to deal with the dual-firmware, and have dug up

CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_MANGLE=y

and, to enable it

ipq806x/patches-4.14/0067-generic-Mangle-bootloader-s-kernel-arguments.patch

(which isn't yet on the ipq40xx platform)

set bootargs ubi.mtd=11 root=/dev/ubiblock0_0

works as well, so that looks like a path forward.


This will should let me more quickly collect diagnostic information across more combinations that hopefully either reveals that I've made a mistake in my DTS, or get more assistance from the ath10k experts.


sysupgrade isn't working yet, but hey, I'll take this accomplishment for the day!

#
# OpenWrt-2019-02-20_1653-0800-ipq40xx-generic
#
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/# mount
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/ubi0_1 on /overlay type ubifs (rw,noatime,ubi=0,vol=1)
overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)