OK, making some progress here:
ath> tftpboot
Trying eth0
dup 1 speed 1000
*** Warning: no boot file name; using '0101A8C0.img'
Using eth0 device
TFTP from server 192.168.1.10; our IP address is 192.168.1.1
Filename '0101A8C0.img'.
Load address: 0x81000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
##############################################
done
Bytes transferred = 6553907 (640133 hex)
ath> erase 0x9f0c0000 +$filesize
Erasing flash...
First 0xc last 0x70 sector size 0x10000 112
Erased 101 sectors
ath> cp.b $fileaddr 0x9f0c0000 $filesize
Copy to Flash... write addr: 9f0c0000
done
ath> bootelf 0x9f0c0000
Loading .text @ 0x80060000 (2254150 bytes)
## Starting application at 0x80060000 ...
OpenWrt kernel loader for AR7XXX/AR9XXX
Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
Decompressing kernel... done!
Starting kernel at 80060000...
[ 0.000000] Linux version 5.10.161 (builder@buildhost) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 11.2.0 r20028-43d71ad93e) 11.2.0, GNU ld (GNU Binutils) 2.37) #0 Tue Jan 3 00:24:21 2023
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[ 0.000000] MIPS: machine is TP-Link EAP245 v3
[ 0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0
[ 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] Built 1 zonelists, mobility grouping on. Total pages: 32480
[ 0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 121092K/131072K available (5862K kernel code, 611K rwdata, 748K rodata, 1216K init, 210K bss, 9980K 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] CPU clock: 775.000 MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4932285024 ns
[ 0.000007] sched_clock: 32 bits at 387MHz, resolution 2ns, wraps every 5541893118ns
[ 0.008276] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[ 0.074802] pid_max: default: 32768 minimum: 301
[ 0.079803] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.087512] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.097686] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[ 0.108191] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.118600] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.125869] pinctrl core: initialized pinctrl subsystem
[ 0.135463] NET: Registered protocol family 16
[ 0.140881] thermal_sys: Registered thermal governor 'step_wise'
[ 0.188943] clocksource: Switched to clocksource MIPS
[ 0.201763] NET: Registered protocol family 2
[ 0.206563] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.214967] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.223890] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.231991] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.239435] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.246259] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.253206] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.260851] NET: Registered protocol family 1
[ 0.265469] PCI: CLS 0 bytes, default 32
[ 0.275459] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 0.285886] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.292092] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.304128] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 0.314519] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[ 0.321612] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.330441] printk: console [ttyS0] disabled
[ 0.335007] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A
[ 0.344152] printk: console [ttyS0] enabled
[ 0.344152] printk: console [ttyS0] enabled
[ 0.353215] printk: bootconsole [early0] disabled
[ 0.353215] printk: bootconsole [early0] disabled
[ 0.379180] spi-nor spi0.0: en25qh128 (16384 Kbytes)
[ 0.384391] 10 fixed-partitions partitions found on MTD device spi0.0
[ 0.391118] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[ 0.397968] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[ 0.405452] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[ 0.412371] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[ 0.419436] Creating 10 MTD partitions on "spi0.0":
[ 0.424488] 0x000000000000-0x000000040000 : "factory-boot"
[ 0.434819] 0x000000040000-0x000000080000 : "u-boot"
[ 0.440951] 0x000000080000-0x000000090000 : "partition-table"
[ 0.449340] 0x000000090000-0x0000000a0000 : "info"
[ 0.455259] 0x0000000a0000-0x0000000b0000 : "art"
[ 0.462542] 0x0000000b0000-0x0000000c0000 : "extra-para"
[ 0.469024] 0x0000000c0000-0x000000f00000 : "firmware"
[ 0.476744] 2 elf-loader-fw partitions found on MTD device firmware
[ 0.483283] Creating 2 MTD partitions on "firmware":
[ 0.488418] 0x000000000000-0x0000002276e4 : "kernel"
[ 0.493556] mtd: partition "kernel" doesn't end on an erase/write block -- force read-only
[ 0.503764] 0x0000002276e4-0x000000e40000 : "rootfs"
[ 0.508902] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only
[ 0.519419] mtd: setting mtd8 (rootfs) as root device
[ 0.525485] 1 squashfs-split partitions found on MTD device rootfs
[ 0.531930] 0x000000640000-0x000000e40000 : "rootfs_data"
[ 0.538409] 0x000000f00000-0x000000f30000 : "config"
[ 0.546000] 0x000000f30000-0x000000fb0000 : "mutil-log"
[ 0.552432] 0x000000fb0000-0x000000ff0000 : "oops"
[ 1.281584] switch0: Atheros AR8337 rev. 2 switch registered on mdio.0
[ 1.933434] ag71xx 19000000.eth: connected to PHY at mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
[ 1.944711] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: sgmii
[ 1.951566] i2c /dev entries driver
[ 1.956838] NET: Registered protocol family 10
[ 1.969080] Segment Routing with IPv6
[ 1.972969] NET: Registered protocol family 17
[ 1.977658] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 1.991079] 8021q: 802.1Q VLAN Support v1.8
[ 1.996209] PCI host bridge /ahb/pcie-controller@18250000 ranges:
[ 2.002584] MEM 0x0000000012000000..0x0000000013ffffff
[ 2.007985] IO 0x0000000000000000..0x0000000000000000
[ 2.013568] PCI host bridge to bus 0000:00
[ 2.017812] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
[ 2.024942] pci_bus 0000:00: root bus resource [io 0x0000]
[ 2.030709] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 2.037720] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 2.045956] pci 0000:00:00.0: [168c:0040] type 00 class 0x028000
[ 2.052203] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[ 2.059351] pci 0000:00:00.0: PME# supported from D0 D3hot D3cold
[ 2.065670] pci 0000:00:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[ 2.081877] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 2.088729] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[ 2.107077] VFS: Mounted root (squashfs filesystem) readonly on device 31:8.
[ 2.121216] Freeing unused kernel memory: 1216K
[ 2.125892] This architecture does not have kernel memory protection.
[ 2.132578] Run /sbin/init as init process
[ 2.877871] init: Console is alive
[ 2.881911] init: - watchdog -
[ 4.282459] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 4.328093] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 4.346045] init: - preinit -
[ 5.623135] random: jshn: uninitialized urandom read (4 bytes read)
[ 5.767089] random: jshn: uninitialized urandom read (4 bytes read)
[ 5.858176] random: jshn: uninitialized urandom read (4 bytes read)
[ 7.238332] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 2 is up
[ 7.252085] eth0: link up (1000Mbps/Full duplex)
[ 7.256899] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 7.278376] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[ 7.306517] 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
[ 11.489441] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[ 11.500217] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 11.634422] eth0: link down
[ 11.656584] procd: - early -
[ 11.660541] procd: - watchdog -
[ 12.318680] procd: - watchdog -
[ 12.354361] procd: - ubus -
[ 12.464020] random: ubusd: uninitialized urandom read (4 bytes read)
[ 12.473237] random: ubusd: uninitialized urandom read (4 bytes read)
[ 12.480391] random: ubusd: uninitialized urandom read (4 bytes read)
[ 12.494690] procd: - init -
Please press Enter to activate this console.
[ 13.556480] random: ubusd: uninitialized urandom read (4 bytes read)
[ 13.577923] random: ubus: uninitialized urandom read (4 bytes read)
[ 13.641310] kmodloader: loading kernel modules from /etc/modules.d/*
[ 13.703388] random: jsonfilter: uninitialized urandom read (4 bytes read)
[ 14.045864] urngd: v1.0.2 started.
[ 14.171106] Loading modules backported from Linux version v5.15.81-0-ge4a7232c917c
[ 14.178984] Backport generated by backports.git v5.15.81-1-0-ge1867d55
[ 14.231433] random: crng init done
[ 14.234958] random: 24 urandom warning(s) missed due to ratelimiting
[ 14.383928] PPP generic driver version 2.4.2
[ 14.391653] NET: Registered protocol family 24
[ 14.424968] ath10k 5.15 driver, optimized for CT firmware, probing pci device: 0x40.
[ 14.434768] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[ 14.441569] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[ 17.252032] ath10k_pci 0000:00:00.0: qca99x0 hw2.0 target 0x01000000 chip_id 0x003b01ff sub 168c:0002
[ 17.261597] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[ 17.279696] ath10k_pci 0000:00:00.0: firmware ver 10.4b-ct-9980-fW-13-5ae337bb1 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 b36a12bf
[ 17.367031] ath10k_pci 0000:00:00.0: Loading BDF type 0
[ 17.380649] ath10k_pci 0000:00:00.0: board_file api 2 bmi_id 1:1 crc32 e4a0f655
[ 18.539169] ath10k_pci 0000:00:00.0: 10.4 wmi init: vdevs: 16 peers: 48 tid: 96
[ 18.546910] ath10k_pci 0000:00:00.0: msdu-desc: 2500 skid: 32
[ 18.622606] ath10k_pci 0000:00:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186 msdu-desc: 2500 sw-crypt: 0 ct-sta: 0'
[ 18.633919] ath10k_pci 0000:00:00.0: wmi print 'free: 31080 iram: 23028 sram: 9596'
[ 18.894725] ath10k_pci 0000:00:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 32 raw 0 hwcrypto 1
[ 19.119518] ieee80211 phy1: Atheros AR9561 Rev:0 mem=0xb8100000, irq=2
[ 19.239972] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 74.099216] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[ 74.106359] jffs2_build_filesystem(): unlocking the mtd device...
[ 74.106363] done.
[ 74.114751] jffs2_build_filesystem(): erasing all blocks after the end marker...
[ 75.875036] eth0: link up (1000Mbps/Full duplex)
[ 75.904040] br-lan: port 1(eth0.1) entered blocking state
[ 75.909700] br-lan: port 1(eth0.1) entered disabled state
[ 75.915551] device eth0.1 entered promiscuous mode
[ 75.920551] device eth0 entered promiscuous mode
[ 75.947500] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 75.989145] br-lan: port 1(eth0.1) entered blocking state
[ 75.994736] br-lan: port 1(eth0.1) entered forwarding state
[ 76.899555] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 110.515731] done.
[ 110.517755] jffs2: notice: (2189) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 110.984909] overlayfs: upper fs does not support tmpfile.
[ 111.617508] br-lan: port 1(eth0.1) entered disabled state
[ 111.768734] device eth0.1 left promiscuous mode
[ 111.773473] device eth0 left promiscuous mode
[ 111.778085] br-lan: port 1(eth0.1) entered disabled state
[ 111.828520] eth0: link down
[ 111.878912] eth0: link up (1000Mbps/Full duplex)
[ 111.894151] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 111.902419] br-lan: port 1(eth0.1) entered blocking state
[ 111.908007] br-lan: port 1(eth0.1) entered disabled state
[ 111.913895] device eth0.1 entered promiscuous mode
[ 111.918855] device eth0 entered promiscuous mode
[ 111.999157] br-lan: port 1(eth0.1) entered blocking state
[ 112.004758] br-lan: port 1(eth0.1) entered forwarding state
OpenWRT with LuCI starts and seems to work.
But after switchting the device off and on again it get the same error as before 