Ath79 port of DGL-5500

Hello All,

I've acquired the DGL-5500 but saw it's still stuck on the legacy ar71xx target. If there's any way to get this re-ported over to ath79? I'd love to help, just need some guidance on how.

The first step is to open the case (and remove metal shield covers if there are any) and record the model of every chip on the board and start researching them.

You should have a UART serial cable, and look for the 4 pins (or 4 solder holes) on the board that are used for UART

Telling us the FCC ID will help because you can look up internal photos here, the rest of us (and you) can have a general idea of what the board looks like

Then look at DTS files for other boards with the same SOC chip so you can become familiar with how the kernel is configured in ath79

https://github.com/openwrt/openwrt/tree/master/target/linux/ath79/dts

Thanks for the guidance. Here's the information I found while digging:

D-Link Wireless AC1300 Gaming Router DGL-5500

FCC ID - KA2GL5500A1
Internal Photos FCC PDF

16 MB NAND, 128 MB RAM
2.4 ghz - QCA9558 (3T3R)
5.0 ghz - QCA9882 (2T2R)
RAM modules - Nanya NT5TU32M16DG-AC × 2
ETH - QCA9558
Switch - AR8327

Here's some pics when I took apart the DGL-5500. UART pins have been removed, per the image below. Below the heatsink is the 5 ghz module, where the module is exposed in pg 6 of the FCC PDF:

Imgur

Bottom is the 2.4 ghz module, exposed on pg 5 of the FCC PDF:

Imgur

Based on the above research, I found the TP-Link RE350K to be the most similar (the QCA9558 on RE350K is 2T2R), where its DTS is qca9558_tplink_re350k-v1.dts and references the qca955x.dtsi.

Will the UART be required to pull more definitive info to fill into the remaining fields for the DGL-5500? I have a UART, just not sure how to get header pins and where i'd solder it to. My guess is the 4 copper rings from the bottom.

Additionally, if I could get that info from a working instance of OpenWRT to make it easier, the device is already running 19.07.4.

I would say UART is required here, otherwise it will be a struggle. Here is a soldering guide with a similar situation. You just need a standard straight pin header and you pinch off 4 pins from the row. If you are not able to solder it is possible to bend small paperclips to make a pin with a friction fit.

So i'm just waiting for my soldering kit. Once I get the UART pins soldered in, what would I begin to do?

If you have a multimeter, measure voltage between each pin and something on the board you know is ground, in order to find the 3.3V and Ground pins.

Don't use the 3.3V pin at all, I like to bend it so I always know which one not to use.

That leaves Ground which is known, and TX and RX which is not known. Connect ground to ground, and you can guess the data lines, if you have them flipped then theres simply nothing in the console when you power the router.

When you have a console up and running, probably when you turn on the board it is u-boot as the bootloader

you should be able to interrupt the boot by pressing any key, print the uboot environment with the command firstboot, copy that somewhere, and then reset to reboot the board.

Let it fully boot and copy the entire bootlog / kernel log somewhere. If you need to print the kernel log again the command is dmesg

figure out which mtd device is the ART partition
cat /proc/mtd

dump the contents of ART and copy that somewhere (replace x with number)
hexdump -C /dev/mtdX

start taking a look at the DTS for similar products. This file represents the unique way that the kernel is configured for each device. In ath79 every device actually gets the same kernel, and the DTS is what tells the kernel what each device has.

Here is some similar DTS files

1

2

3

4

3 is a DTSI which is a common part of the DTS for multiple devices, they are split into a separate file to save space in the code and the relevant devices have an include line in their DTS for the DTSI.

So I have soldered the UART and was able to connect in putty to receive the bootlog, but for some reason I couldn't interrupt uboot.

UART Layout:
Baud rate - 115200
Ground - nearest to heatsink
RX
TX
3.3v

I'm going to try resoldering the third pin again to see if perhaps i just goofed on it. Any other ideas I could try to help bypass uboot? I've attempted to change serial settings, different usb ports, updated the USB to UART cable's drivers, rebooted, nada.

Bootlog:

U-Boot 1.1.4-g5f7eb81e-dirty (May  8 2013 - 14:40:59)

ap136 - Scorpion 1.0DRAM:
sri
Scorpion 1.0
ath_ddr_initial_config(178): (32bit) ddr2 init
tap = 0x00000003
Tap (low, high) = (0x4, 0x1e)
Tap values = (0x11, 0x11, 0x11, 0x11)
128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 226k for U-Boot at: 87fc4000
Reserving 192k for malloc() at: 87f94000
Reserving 44 Bytes for Board Info at: 87f93fd4
Reserving 36 Bytes for Global Data at: 87f93fb0
Reserving 128k for boot params() at: 87f73fb0
Stack Pointer at: 87f73f98
Now running in RAM - U-Boot at: 87fc4000
Flash Manuf Id 0xc2, DeviceId0 0x20, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
*** Warning - bad CRC, using default environment

*** Warning *** : PCIe WLAN Module not found !!!
In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
athrs_sgmii_res_cal: cal value = 0xe
default_mac_from_artblock: D8:FE:E3:23:C9:79 from 0xBFFE0004
No valid address in Flash. Using fixed address
default_mac_from_artblock: D8:FE:E3:23:C9:79 from 0xBFFE0004
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
Scorpion  ----> S17 PHY *
Vlan config...
s17 phy0 register value 0x00004140
TEST: FINAL REG VAL after TX Calibration - 0x46000000
TEST: FINAL XMII VAL after RX Calibration - 0x56000000
TEST: FINAL ETH_CFG VAL after RX Calibration - 0x00028001
not is_drqfn
new change S17_P0PAD_MODE_REG  4= [0x80] athrs17_reg_init: complete
: cfg1 0x80000000 cfg2 0x7335
eth0: 00:03:7f:09:0b:ad
eth0 up
athrs17_reg_init_wan done
athrs17_reg_init_wan S17_P6PAD_MODE_REG c= [0x7600000] done
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x800c0000 cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
eth1 up
eth0, eth1
Setting 0x18116290 to 0x4488214f
main_loop 434> gpio 17: 2 , delay:1
Hit any key to stop autoboot 0:  0
## Booting image at 9f040000 ...
   Image Name:   MIPS OpenWrt Linux-4.14.195
   Created:      2020-09-06  16:19:39 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1587298 Bytes =  1.5 MB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum at 0x9f040040 ...OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## bootargs 0: console=ttyS0,115200 root=31:02 rootfstype=jffs2 init=/sbin/init                                                                                         mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),6336k(rootfs),1408k(uImage),8256k                                                                                        (mib0),64k(ART)...
## bootargs @A7F73FB0: console=ttyS0,115200 mem=128M root=31:03 rootfstype=squas                                                                                        hfs,jffs2 init=/sbin/init mtdparts=ath-nor0:192k(u-boot),64k(nvram),15296k(linux                                                                                        ),13696k@0x001d0000(rootfs),192k(LANG),512k(My-Dlink),64k(MAC),64k(ART)...
## Giving linux memsize in bytes, 134217728

Starting kernel ...

[    0.000000] Linux version 4.14.195 (builder@buildhost) (gcc version 7.5.0 (Op                                                                                        enWrt GCC 7.5.0 r11208-ce6496d796)) #0 Sun Sep 6 16:19:39 2020
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] SoC: Qualcomm Atheros QCA9558 ver 1 rev 0
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32                                                                                         bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] random: get_random_bytes called from 0x804f0740 with crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line:  board=DGL-5500-A1 console=ttyS0,115200 mtdp                                                                                        arts=spi0.0:192k(u-boot)ro,64k(nvram)ro,15296k(firmware),192k(lang)ro,512k(my-dl                                                                                        ink)ro,64k(mac)ro,64k(art)ro rootfstype=squashfs noinitrd
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 124292K/131072K available (3950K kernel code, 197K rwdata                                                                                        , 516K rodata, 320K init, 212K bss, 6780K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] Clocks: CPU:720.000MHz, DDR:600.000MHz, AHB:200.000MHz, Ref:40.00                                                                                        0MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_i                                                                                        dle_ns: 5309056796 ns
[    0.000007] sched_clock: 32 bits at 360MHz, resolution 2ns, wraps every 59652                                                                                        32126ns
[    0.008303] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
[    0.074992] pid_max: default: 32768 minimum: 301
[    0.080086] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.087123] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.096421] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma                                                                                        x_idle_ns: 19112604462750000 ns
[    0.106919] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.114345] NET: Registered protocol family 16
[    0.120215] MIPS: machine is D-Link DGL-5500 rev. A1
[    0.359561] registering PCI controller with io_map_base unset
[    0.365802] ar724x-pci ar724x-pci.1: PCIe link is down
[    0.371296] registering PCI controller with io_map_base unset
[    0.387270] PCI host bridge to bus 0000:00
[    0.391672] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff]
[    0.398984] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.404920] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.412139] pci_bus 0000:00: No busn resource found for root bus, will use [b                                                                                        us 00-ff]
[    0.420989] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x101fffff 64bi                                                                                        t]
[    0.428781] pci 0000:00:00.0: BAR 6: assigned [mem 0x10200000-0x1020ffff pref                                                                                        ]
[    0.436581] PCI host bridge to bus 0000:01
[    0.440937] pci_bus 0000:01: root bus resource [mem 0x12000000-0x13ffffff]
[    0.448278] pci_bus 0000:01: root bus resource [io  0x0001]
[    0.454206] pci_bus 0000:01: root bus resource [??? 0x00000000 flags 0x0]
[    0.461435] pci_bus 0000:01: No busn resource found for root bus, will use [b                                                                                        us 01-ff]
[    0.472735] clocksource: Switched to clocksource MIPS
[    0.478972] NET: Registered protocol family 2
[    0.484357] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.491773] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.498579] TCP: Hash tables configured (established 1024 bind 1024)
[    0.505460] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.511682] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.518590] NET: Registered protocol family 1
[    0.525560] Crashlog allocated RAM at address 0x3f00000
[    0.532153] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.543128] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.549332] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT                                                                                        Y) (c) 2001-2006 Red Hat, Inc.
[    0.567246] io scheduler noop registered
[    0.571416] io scheduler deadline registered (default)
[    0.577272] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.585765] console [ttyS0] disabled
[    0.609651] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 250                                                                                        0000) is a 16550A
[    0.618835] console [ttyS0] enabled
[    0.618835] console [ttyS0] enabled
[    0.626259] bootconsole [early0] disabled
[    0.626259] bootconsole [early0] disabled
[    0.640158] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.646601] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.651748] 7 cmdlinepart partitions found on MTD device spi0.0
[    0.657788] Creating 7 MTD partitions on "spi0.0":
[    0.662652] 0x000000000000-0x000000030000 : "u-boot"
[    0.668823] 0x000000030000-0x000000040000 : "nvram"
[    0.675432] 0x000000040000-0x000000f30000 : "firmware"
[    0.713107] 2 uimage-fw partitions found on MTD device firmware
[    0.719123] 0x000000040000-0x0000001c38a2 : "kernel"
[    0.724777] 0x0000001c38a2-0x000000f30000 : "rootfs"
[    0.730380] mtd: device 4 (rootfs) set to be root filesystem
[    0.736200] 1 squashfs-split partitions found on MTD device rootfs
[    0.742469] 0x000000480000-0x000000f30000 : "rootfs_data"
[    0.750124] 0x000000f30000-0x000000f60000 : "lang"
[    0.756081] 0x000000f60000-0x000000fe0000 : "my-dlink"
[    0.762921] 0x000000fe0000-0x000000ff0000 : "mac"
[    0.768784] 0x000000ff0000-0x000001000000 : "art"
[    0.775932] libphy: Fixed MDIO Bus: probed
[    0.790261] switch0: Atheros AR8327 rev. 4 switch registered on ag71xx-mdio.0
[    1.483456] libphy: ag71xx_mdio: probed
[    2.114262] ag71xx ag71xx.1: connected to PHY at ag71xx-mdio.0:00 [uid=004dd0                                                                                        34, driver=Atheros AR8216/AR8236/AR8316]
[    2.125516] eth0: Atheros AG71xx at 0xba000000, irq 5, mode: sgmii
[    2.133414] NET: Registered protocol family 10
[    2.141594] Segment Routing with IPv6
[    2.145434] NET: Registered protocol family 17
[    2.149982] bridge: filtering via arp/ip/ip6tables is no longer available by                                                                                         default. Update your scripts to load br_netfilter if you need this.
[    2.163548] 8021q: 802.1Q VLAN Support v1.8
[    2.169105] hctosys: unable to open rtc device (rtc0)
[    2.180995] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    2.189358] Freeing unused kernel memory: 320K
[    2.193891] This architecture does not have kernel memory protection.
[    2.582756] random: fast init done
[    2.880475] init: Console is alive
[    2.884163] init: - watchdog -
[    4.053086] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.114213] usbcore: registered new interface driver usbfs
[    4.119861] usbcore: registered new interface driver hub
[    4.125360] usbcore: registered new device driver usb
[    4.134732] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.142653] ehci-platform: EHCI generic platform driver
[    4.148067] ehci-platform ehci-platform.0: EHCI Host Controller
[    4.154133] ehci-platform ehci-platform.0: new USB bus registered, assigned b                                                                                        us number 1
[    4.164408] ehci-platform ehci-platform.0: TX-TX IDP fix enabled
[    4.170515] ehci-platform ehci-platform.0: irq 48, io mem 0x1b000000
[    4.202774] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
[    4.209956] hub 1-0:1.0: USB hub found
[    4.214069] hub 1-0:1.0: 1 port detected
[    4.218427] ehci-platform ehci-platform.1: EHCI Host Controller
[    4.224503] ehci-platform ehci-platform.1: new USB bus registered, assigned b                                                                                        us number 2
[    4.234808] ehci-platform ehci-platform.1: TX-TX IDP fix enabled
[    4.240914] ehci-platform ehci-platform.1: irq 49, io mem 0x1b400000
[    4.272784] ehci-platform ehci-platform.1: USB 2.0 started, EHCI 1.00
[    4.279981] hub 2-0:1.0: USB hub found
[    4.284103] hub 2-0:1.0: 1 port detected
[    4.288966] kmodloader: done loading kernel modules from /etc/modules-boot.d/                                                                                        *
[    4.306691] init: - preinit -
[    5.446810] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    5.472571] random: procd: uninitialized urandom read (4 bytes read)
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    6.514189] eth0: link up (1000Mbps/Full duplex)
[    6.519011] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    8.799850] jffs2: notice: (462) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 8 orphan) and 12 of xref (8 dead, 0 orphan) found.
[    8.817094] mount_root: switching to jffs2 overlay
[    8.884913] overlayfs: upper fs does not support tmpfile.
[    8.897161] urandom-seed: Seeding with /etc/urandom.seed
[    9.024289] eth0: link down
[    9.037207] procd: - early -
[    9.040214] procd: - watchdog -
[    9.661687] procd: - watchdog -
[    9.665196] procd: - ubus -
[    9.781955] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.790179] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.797047] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.804792] procd: - init -
Please press Enter to activate this console.
[   10.582964] kmodloader: loading kernel modules from /etc/modules.d/*
[   10.646401] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   10.668380] Loading modules backported from Linux version v4.19.137-0-gc076c79e03c6
[   10.676186] Backport generated by backports.git v4.19.137-1-0-g60c3a249
[   10.704668] ip_tables: (C) 2000-2006 Netfilter Core Team
[   10.717041] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[   10.816206] xt_time: kernel timezone is -0000
[   11.017114] PPP generic driver version 2.4.2
[   11.022795] urngd: v1.0.2 started.
[   11.033775] NET: Registered protocol family 24
[   11.085011] pci 0000:00:00.0: using irq 40 for pin 1
[   11.090060] ath10k 4.19 driver, optimized for CT firmware, probing pci device: 0x3c.
[   11.113470] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[   11.119386] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   11.226366] random: crng init done
[   11.229825] random: 6 urandom warning(s) missed due to ratelimiting
[   11.432854] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/fwcfg-pci-0000:00:00.0.txt failed with error -2
[   11.443553] ath10k_pci 0000:00:00.0: Falling back to user helper
[   11.791918] firmware ath10k!fwcfg-pci-0000:00:00.0.txt: firmware_loading_store: map pages failed
[   11.801122] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
[   11.812009] ath10k_pci 0000:00:00.0: Falling back to user helper
[   12.101960] firmware ath10k!pre-cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[   12.111305] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/cal-pci-0000:00:00.0.bin failed with error -2
[   12.121837] ath10k_pci 0000:00:00.0: Falling back to user helper
[   12.410937] firmware ath10k!cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[   12.419936] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/ct-firmware-5.bin failed with error -2
[   12.431086] ath10k_pci 0000:00:00.0: Falling back to user helper
[   12.720922] firmware ath10k!QCA988X!hw2.0!ct-firmware-5.bin: firmware_loading_store: map pages failed
[   12.730548] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/ct-firmware-2.bin failed with error -2
[   12.741691] ath10k_pci 0000:00:00.0: Falling back to user helper
[   12.920487] firmware ath10k!QCA988X!hw2.0!ct-firmware-2.bin: firmware_loading_store: map pages failed
[   12.930131] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
[   12.941013] ath10k_pci 0000:00:00.0: Falling back to user helper
[   13.083227] firmware ath10k!QCA988X!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
[   13.092505] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-5.bin failed with error -2
[   13.103388] ath10k_pci 0000:00:00.0: Falling back to user helper
[   13.245559] firmware ath10k!QCA988X!hw2.0!firmware-5.bin: firmware_loading_store: map pages failed
[   13.254940] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-4.bin failed with error -2
[   13.265819] ath10k_pci 0000:00:00.0: Falling back to user helper
[   13.408730] firmware ath10k!QCA988X!hw2.0!firmware-4.bin: firmware_loading_store: map pages failed
[   13.418084] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-3.bin failed with error -2
[   13.428962] ath10k_pci 0000:00:00.0: Falling back to user helper
[   13.571131] firmware ath10k!QCA988X!hw2.0!firmware-3.bin: firmware_loading_store: map pages failed
[   13.584533] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043222ff sub 168c:3223
[   13.593929] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   13.606364] ath10k_pci 0000:00:00.0: firmware ver 10.1-ct-8x-__fW-022-538f0906 api 2 features wmi-10.x,has-wmi-mgmt-tx,mfp,txstatus-noack,wmi-10.x-CT,ratemask-CT,txrate-CT,get-temp-CT,tx-rc-CT,cust-stats-CT,retry-gt2-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT crc32 e1c91a74
[   13.714744] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[   13.725364] ath10k_pci 0000:00:00.0: Falling back to user helper
[   13.805207] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[   13.836449] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   14.804977] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16  peers: 127  tid: 256
[   14.822917] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[   14.829204] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424  sw-crypt: 0 ct-sta: 0'
[   14.837346] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 20984 iram: 25656'
[   14.909327] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 2 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1
[   14.922035] ath10k_pci 0000:00:00.0: NOTE:  Firmware DBGLOG output disabled in debug_mask: 0x10000000
[   15.132980] ieee80211 phy1: Atheros AR9550 Rev:0 mem=0xb8100000, irq=47
[   15.188311] kmodloader: done loading kernel modules from /etc/modules.d/*
[   23.777403] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   23.795636] br-lan: port 1(eth0.1) entered blocking state
[   23.801122] br-lan: port 1(eth0.1) entered disabled state
[   23.806878] device eth0.1 entered promiscuous mode
[   23.811738] device eth0 entered promiscuous mode
[   23.840086] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   23.884308] br-lan: port 2(eth0.2) entered blocking state
[   23.889792] br-lan: port 2(eth0.2) entered disabled state
[   23.895543] device eth0.2 entered promiscuous mode
[   24.843034] eth0: link up (1000Mbps/Full duplex)
[   24.865191] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   24.877034] br-lan: port 1(eth0.1) entered blocking state
[   24.882519] br-lan: port 1(eth0.1) entered forwarding state
[   24.888469] br-lan: port 2(eth0.2) entered blocking state
[   24.893980] br-lan: port 2(eth0.2) entered forwarding state
[   24.998328] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   26.595975] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[   26.669968] br-lan: port 3(wlan1) entered blocking state
[   26.675413] br-lan: port 3(wlan1) entered disabled state
[   26.681044] device wlan1 entered promiscuous mode
[   26.685946] br-lan: port 3(wlan1) entered blocking state
[   26.691341] br-lan: port 3(wlan1) entered forwarding state
[   26.783781] br-lan: port 3(wlan1) entered disabled state
[   27.883988] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16  peers: 127  tid: 256
[   27.901905] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[   27.908252] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424  sw-crypt: 0 ct-sta: 0'
[   27.916411] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 20984 iram: 25656'
[   27.988746] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware
[   28.004665] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   28.014982] br-lan: port 4(wlan0) entered blocking state
[   28.020379] br-lan: port 4(wlan0) entered disabled state
[   28.026060] device wlan0 entered promiscuous mode
[   30.718036] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   30.724665] br-lan: port 4(wlan0) entered blocking state
[   30.730057] br-lan: port 4(wlan0) entered forwarding state
[   33.846377] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   33.852994] br-lan: port 3(wlan1) entered blocking state
[   33.858387] br-lan: port 3(wlan1) entered forwarding state

Look for small solder pads next to that third pin, try to verify if one of them is continuous with the pin. Then try to verify that the other side traces on the board to the SOC to make sure. If the SOC has pins exposed you can also do continuity/resistance test between that and the solder pad (with the board off).

Sometimes on a development board they have a very low resistor making the trace connection on the board, and then for the production version they simply don't put it on the board. Usually a resistor is not needed and you can just put solder to bridge them.

Unfortunately i'm not sure what I'm looking for..is the picture I sent of the front and back sufficient to hopefully help me look for what we're trying to find?

nevermind just try to verify which pins are 3V and GND, after you solder a pin header

Sorry I think I misunderstood the situation, also let me be more clear

theres 2 possibilities

  1. the bootdelay is so small that you cannot be fast enough to interrupt boot. holding a key while powering the board may help

  2. like I said, the RX line of the UART is not connected to the chip, there is a resistor that is either missing or needs to be removed or replaced with a short (some solder)

1 Like