Askey RAC2V1K / RT4230W REV6 Support

for those interested, i tested backup and restore of UBI partitions and volumes and wrote a how-to:

Correct.

After quite some time passing before I got back to this, I opened up the case of my soft brick today. The PCB board is marked "RT4230W-DB187(RoHS)A Rev:9.3".

No serial pin header, so I made one out of some short copper telephone wires with stripped ends and a strip of electrical tape for "solder," then connected it up to my USB to TTL dongle. I was able to interrupt the boot sequence (it was reported as a 256MB flash) in a PuTTY serial terminal and issue commands, so no resistor cutting required. The SAC2V1K variant of Method 2 for 256MB flash worked like a charm.

Thank you for guiding me through recovery!

I've just tested the 22.03 snapshot on RAC2V1K, and it works quite smoothly. I have just used for several days, and I'm not sure its long-term stability.

Hey, so i have a RAC2V1K rev9 with 256MB of flash. it doesn't boot even to the original firmware and the router freezes.

U-Boot 1.0.6 [spf.5.0.2_csu1.1] (Nov 15 2018 - 03:26:55)

smem ram ptable found: ver: 0 len: 5
DRAM:  1003 MiB
setting 0x177e as machine type from smem
NAND:  SF: Unsupported manufacturer 00
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
256 MiB
MMC:
PCI0 Link Intialized
PCI1 Link Intialized
In:    serial
Out:   serial
Err:   serial
MMC Device 0 not found
cdp: get part failed for 0:HLOS
Net:   MAC0 addr:c8:b4:22:3b:7e:28
athrs17_reg_init: complete
athrs17_vlan_config ...done
S17c init  done
MAC1 addr:c8:b4:22:3b:7e:29
eth0, eth1
Hit space key to stop autoboot:  0
Creating 1 MTD partitions on "nand0":
0x000002400000-0x000010000000 : "mtd=0"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    126976 bytes
UBI: smallest flash I/O unit:    2048
UBI: VID header offset:          2048 (aligned 2048)
UBI: data offset:                4096
UBI error: compare_lebs: PEB 2 and PEB 794 have the same version 0
UBI error: ubi_init: cannot attach mtd1
UBI error: ubi_init: UBI error: cannot initialize UBI, error -22
UBI init error 22

tried flashing the OpenWRT firmware

(IPQ) # tftpboot initramfs.bin && bootm
Mac0 unit failed
Using eth1 device
TFTP from server 10.42.0.1; our IP address is 10.42.0.10
Filename 'initramfs.bin'.
Load address: 0x44000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###
done
Bytes transferred = 6716963 (667e23 hex)

i get NOTHING after the Bytes Transferred line.. the router just freezes and i get no command prompt back... i think the Bootloader is corrupt ? any help is appreciated ( will buy you a coffee for real )

tried RAM test. also FREEZES at pattern 0000000.
image_2022-04-17_201413

Hey ya'll long time wrt user and first time posting in this neck of the woods.

Im helping a cousin who's having wifi issues. He doesn't feel comfortable flashing firmware since he's renting.

can someone give me some steps to simply access the full GUI with the advanced settings on the stock firmware? just an FYI, Im very comfortable with SSH and have used telnet before. I'm very nooby with using linux commands.

Thanks!

What's the model number on the back of his router? If there's a QR code or any mention of SAC anywhere then there's no advanced settings or anything. Those routers are locked completely down and only spectrum can change advanced settings on their end.

It's askey rac2v1k and yea there's a QR code. so no way to telnet in > change root password > access advanced settings

Unfortunately not. Only way to get terminal access is opening the thing up and connecting to the serial console. Even if you did that, the settings will just reset the next time the router syncs with spectrum and there's no gui or anything.

oh wait, so the model rac2v1k is a different revision and doesn't support anything in here?

The ones with a QR code have like a second model number (SAC2V1K). They're physically completely identical to the RAC routers but have different software. The RAC has a web interface and you can enable ssh and telnet on them by uploading a modified config file. The SAC doesn't have one since all the settings are changed through the spectrum app and they're stored on spectrums servers. You can install openwrt on both of them but the SAC requires opening the router to get terminal access to run the necessary commands.

TL;DR: they're the same router but the SAC has no local settings and the only way to flash openwrt is by opening it and connecting to the serial console to run the flashing commands.

1 Like

Thanks for the explanation! appreciate all your work regardless

Greetings. Thanks for all the work getting OpenWRT to run on these devices. I have been able to load and run the latest 22.03 snapshot without any issues and good success. I have been trying to run ACwifidude's NSS builds but those have been less successful. I posted there but have not had any responses, so I'm trying here. The device will boot with those builds but with some errors and there is no network, wired or wireless. I can send commands via serial console. Here is the boot log. I spaced out the sections which seem to have issues when compared to the 22.03 log.

U-Boot 1.0.6 [spf.5.0.2_csu1.1] (Nov 15 2018 - 03:26:55)

smem ram ptable found: ver: 0 len: 5
DRAM:  1003 MiB
setting 0x177d as machine type from smem
NAND:  SF: Unsupported manufacturer 00
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
512 MiB
MMC:
PCI0 Link Intialized
PCI1 Link Intialized
In:    serial
Out:   serial
Err:   serial
MMC Device 0 not found
cdp: get part failed for 0:HLOS
Net:   MAC0 addr:7c:db:98:f0:b1:33
athrs17_reg_init: complete
athrs17_vlan_config ...done
S17c init  done
MAC1 addr:7c:db:98:f0:b1:34
eth0, eth1
Hit space key to stop autoboot:  0
(IPQ) # tftpboot AC-bleed.bin
Mac0 unit failed
Using eth1 device
TFTP from server 192.168.1.10; our IP address is 192.168.1.1
Filename 'AC-bleed.bin'.
Load address: 0x44000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###############################################
done
Bytes transferred = 12131651 (b91d43 hex)
(IPQ) # bootm
   Loading Kernel Image ... OK
OK
mtdids not defined, no default present
info: "mtdparts" not set
Using machid 0x177d from environment

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.110 (HTPC@localhost.localdomain) (arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 11.2.0 r19160+19-7ea2f3d6e2) 11.2.0, GNU ld (GNU Binutils) 2.37) #0 SMP Fri Apr 15 22:36:40 2022
[    0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5787d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Askey RT4230W REV6
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000042000000-0x0000000071ffffff]
[    0.000000]   HighMem  [mem 0x0000000072000000-0x000000007fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000042000000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000042000000-0x000000007fffffff]
[    0.000000] percpu: Embedded 15 pages/cpu s30860 r8192 d22388 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 252224
[    0.000000] Kernel command line: rootfstype=squashfs noinitrd
[    0.000000] Bootloader command line not present
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 964000K/1015808K available (7000K kernel code, 616K rwdata, 1692K rodata, 31744K init, 245K bss, 51808K reserved, 0K cma-reserved, 229376K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x3a0/0x54c with crng_init=0
[    0.000000] clocksource: dg_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 305801671480 ns
[    0.000009] sched_clock: 32 bits at 6MHz, resolution 160ns, wraps every 343597383600ns
[    0.000027] Switching to timer-based delay loop, resolution 160ns
[    0.000309] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[    0.000339] pid_max: default: 32768 minimum: 301
[    0.000516] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.000544] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.001667] CPU: Testing write buffer coherency: ok
[    0.001957] qcom_scm: convention: smc legacy
[    0.002887] Setting up static identity map for 0x42300000 - 0x42300060
[    0.003062] rcu: Hierarchical SRCU implementation.
[    0.003345] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.003587] smp: Bringing up secondary CPUs ...
[    0.005564] smp: Brought up 1 node, 2 CPUs
[    0.005584] SMP: Total of 2 processors activated (25.00 BogoMIPS).
[    0.005599] CPU: All CPU(s) started in SVC mode.
[    0.016533] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[    0.016704] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.016739] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.016882] pinctrl core: initialized pinctrl subsystem
[    0.018187] NET: Registered protocol family 16
[    0.018552] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.019927] thermal_sys: Registered thermal governor 'step_wise'
[    0.022105] cpuidle: using governor ladder
[    0.022186] cpuidle: using governor menu
[    0.070379] usbcore: registered new interface driver usbfs
[    0.070464] usbcore: registered new interface driver hub
[    0.070542] usbcore: registered new device driver usb
[    0.070610] pps_core: LinuxPPS API ver. 1 registered
[    0.070627] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.070663] PTP clock support registered
[    0.073048] clocksource: Switched to clocksource dg_timer
[    0.074184] NET: Registered protocol family 2
[    0.074379] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.075649] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.075709] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.075776] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.075875] TCP: Hash tables configured (established 8192 bind 8192)
[    0.075991] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.076035] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.076289] NET: Registered protocol family 1
[    0.076347] PCI: CLS 0 bytes, default 64
[    0.591873] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    0.597850] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.597871] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.703434] bounce: pool size: 64 pages
[    0.703505] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.705604] qcom-pcie 1b500000.pci: supply vdda not found, using dummy regulator
[    0.705864] qcom-pcie 1b500000.pci: supply vdda_phy not found, using dummy regulator
[    0.705980] qcom-pcie 1b500000.pci: supply vdda_refclk not found, using dummy regulator
[    0.706268] qcom-pcie 1b500000.pci: host bridge /soc/pci@1b500000 ranges:
[    0.706355] qcom-pcie 1b500000.pci:       IO 0x000fe00000..0x000fe0ffff -> 0x000fe00000
[    0.706403] qcom-pcie 1b500000.pci:      MEM 0x0008000000..0x000fdfffff -> 0x0008000000
[    0.929681] qcom-pcie 1b500000.pci: Link up
[    0.929861] qcom-pcie 1b500000.pci: PCI host bridge to bus 0000:00
[    0.929891] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.929915] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0xfe00000-0xfe0ffff])
[    0.929939] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fdfffff]
[    0.930023] pci 0000:00:00.0: [17cb:0101] type 01 class 0x060400
[    0.930184] pci 0000:00:00.0: supports D1
[    0.930204] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.934171] PCI: bus0: Fast back to back transfers disabled
[    0.934675] pci 0000:01:00.0: [168c:0046] type 00 class 0x028000
[    0.934972] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.936352] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    0.940608] PCI: bus1: Fast back to back transfers disabled
[    0.940709] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x081fffff]
[    0.940739] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x081fffff 64bit]
[    0.940894] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.940919] pci 0000:00:00.0:   bridge window [mem 0x08000000-0x081fffff]
[    0.941909] pcieport 0000:00:00.0: AER: enabled with IRQ 47
[    0.942942] qcom-pcie 1b700000.pci: supply vdda not found, using dummy regulator
[    0.943298] qcom-pcie 1b700000.pci: supply vdda_phy not found, using dummy regulator
[    0.943433] qcom-pcie 1b700000.pci: supply vdda_refclk not found, using dummy regulator
[    0.943715] qcom-pcie 1b700000.pci: host bridge /soc/pci@1b700000 ranges:
[    0.943799] qcom-pcie 1b700000.pci:       IO 0x0031e00000..0x0031e0ffff -> 0x0031e00000
[    0.943842] qcom-pcie 1b700000.pci:      MEM 0x002e000000..0x0031dfffff -> 0x002e000000
[    1.170071] qcom-pcie 1b700000.pci: Link up
[    1.170240] qcom-pcie 1b700000.pci: PCI host bridge to bus 0001:00
[    1.170267] pci_bus 0001:00: root bus resource [bus 00-ff]
[    1.170289] pci_bus 0001:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x31e00000-0x31e0ffff])
[    1.170308] pci_bus 0001:00: root bus resource [mem 0x2e000000-0x31dfffff]
[    1.170392] pci 0001:00:00.0: [17cb:0101] type 01 class 0x060400
[    1.170531] pci 0001:00:00.0: supports D1
[    1.170549] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
[    1.174484] PCI: bus0: Fast back to back transfers disabled
[    1.174992] pci 0001:01:00.0: [168c:0046] type 00 class 0x028000
[    1.175306] pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    1.176781] pci 0001:01:00.0: PME# supported from D0 D3hot D3cold
[    1.177240] pci 0001:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0001:00:00.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    1.181087] PCI: bus1: Fast back to back transfers disabled
[    1.181179] pci 0001:00:00.0: BAR 8: assigned [mem 0x2e000000-0x2e1fffff]
[    1.181206] pci 0001:01:00.0: BAR 0: assigned [mem 0x2e000000-0x2e1fffff 64bit]
[    1.181366] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[    1.181390] pci 0001:00:00.0:   bridge window [mem 0x2e000000-0x2e1fffff]
[    1.182407] pcieport 0001:00:00.0: AER: enabled with IRQ 49
[    1.185860] L2 @ QSB rate. Forcing new rate.
[    1.186097] L2 @ 384000 KHz
[    1.186295] CPU0 @ 800000 KHz
[    1.186312] CPU1 @ QSB rate. Forcing new rate.
[    1.186448] CPU1 @ 384000 KHz
[    1.190832] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0
[    1.193746] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    1.196288] msm_serial 16340000.serial: msm_serial: detected port #0
[    1.196348] msm_serial 16340000.serial: uartclk = 7372800
[    1.196424] 16340000.serial: ttyMSM0 at MMIO 0x16340000 (irq = 50, base_baud = 460800) is a MSM
[    1.196468] msm_serial: console setup on port #0
[    2.047207] printk: console [ttyMSM0] enabled
[    2.052332] msm_serial: driver initialized
[    2.061787] loop: module loaded
[    2.063596] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xac
[    2.063749] nand: Macronix MX30UF4G18AB
[    2.070340] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.074045] Block protection check failed
[    2.081757] 21 fixed-partitions partitions found on MTD device qcom_nand.0
[    2.085706] Creating 21 MTD partitions on "qcom_nand.0":
[    2.092397] 0x000000000000-0x000000040000 : "0:SBL1"
[    2.099064] 0x000000040000-0x000000180000 : "0:MIBIB"
[    2.105821] 0x000000180000-0x0000002c0000 : "0:SBL2"
[    2.111022] 0x0000002c0000-0x000000540000 : "0:SBL3"
[    2.113838] random: fast init done
[    2.122487] 0x000000540000-0x000000660000 : "0:DDRCONFIG"
[    2.125652] 0x000000660000-0x000000780000 : "0:SSD"
[    2.129843] 0x000000780000-0x000000a00000 : "0:TZ"
[    2.137175] 0x000000a00000-0x000000c80000 : "0:RPM"
[    2.142815] 0x000000c80000-0x000001180000 : "0:APPSBL"
[    2.153233] 0x000001180000-0x000001200000 : "0:APPSBLENV"
[    2.155220] 0x000001200000-0x000001340000 : "0:ART"
[    2.160981] 0x000001340000-0x0000013a0000 : "0:BOOTCONFIG"
[    2.164009] 0x0000013a0000-0x0000014e0000 : "0:SBL2_1"
[    2.171094] 0x0000014e0000-0x000001760000 : "0:SBL3_1"
[    2.178590] 0x000001760000-0x000001880000 : "0:DDRCONFIG_1"
[    2.181589] 0x000001880000-0x0000019a0000 : "0:SSD_1"
[    2.186642] 0x0000019a0000-0x000001c20000 : "0:TZ_1"
[    2.194468] 0x000001c20000-0x000001ea0000 : "0:RPM_1"
[    2.200157] 0x000001ea0000-0x000001f00000 : "0:BOOTCONFIG1"
[    2.201812] 0x000001f00000-0x000002400000 : "0:APPSBL_1"
[    2.214989] 0x000002400000-0x00001c400000 : "ubi"
[    2.499738] random: crng init done

This seems to be an issue:

[    3.095766] switch0: Atheros AR8337 rev. 2 switch registered on 37000000.mdio-mii
[    3.862670] ipq806x-gmac-dwmac 37000000.ethernet: IRQ eth_wake_irq not found
[    3.862731] ipq806x-gmac-dwmac 37000000.ethernet: IRQ eth_lpi not found
[    3.870099] ipq806x-gmac-dwmac 37000000.ethernet: PTP uses main clock
[    3.875316] ipq806x-gmac-dwmac 37000000.ethernet: missing phy mode property
[    3.881742] ipq806x-gmac-dwmac 37000000.ethernet: device tree parsing error
[    3.889028] ipq806x-gmac-dwmac: probe of 37000000.ethernet failed with error -22


[    3.896048] i2c /dev entries driver
[    3.910144] sdhci: Secure Digital Host Controller Interface driver
[    3.910194] sdhci: Copyright(c) Pierre Ossman
[    3.915365] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.924029] NET: Registered protocol family 10
[    3.927782] Segment Routing with IPv6
[    3.929794] NET: Registered protocol family 17
[    3.933714] Bridge firewalling registered
[    3.938070] 8021q: 802.1Q VLAN Support v1.8
[    3.941911] Registering SWP/SWPB emulation handler
[    3.988382] qcom_rpm 108000.rpm: RPM firmware 3.0.16777377
[    4.008042] s1a: Bringing 0uV into 1050000-1050000uV
[    4.008488] s1a: supplied by regulator-dummy
[    4.012299] s1b: Bringing 0uV into 1050000-1050000uV
[    4.016777] s1b: supplied by regulator-dummy
[    4.021499] s2a: Bringing 0uV into 775000-775000uV
[    4.026018] s2a: supplied by regulator-dummy
[    4.030350] s2b: Bringing 0uV into 775000-775000uV
[    4.034991] s2b: supplied by regulator-dummy
[    4.043402] thermal thermal_zone0: failed to read out thermal zone (-110)
[    4.083415] UBI: auto-attach mtd20
[    4.083438] ubi0: attaching mtd20
[    7.531719] ubi0: scanning is finished
[    7.544396] ubi0: attached mtd20 (name "ubi", size 416 MiB)
[    7.544419] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    7.548766] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    7.555807] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    7.562567] ubi0: good PEBs: 3328, bad PEBs: 0, corrupted PEBs: 0
[    7.569413] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
[    7.575663] ubi0: max/mean erase counter: 12/10, WL threshold: 4096, image sequence number: 1943802617
[    7.582712] ubi0: available PEBs: 0, total reserved PEBs: 3328, PEBs reserved for bad PEB handling: 80
[    7.592690] ubi0: background thread "ubi_bgt0d" started, PID 81
[    7.593290] block ubiblock0_1: created from ubi0:1(rootfs▒[    7.649382] Freeing unused kernel memory: 31744K
[    7.649805] Run /init as init process
[    8.421340] init: Console is alive
[    8.421496] init: - watchdog -
[    8.467262] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    8.560458] Key type encrypted registered
[    8.576833] device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: dm-devel@redhat.com
[    8.626273] genirq: irq_chip msmgpio did not update eff. affinity mask of irq 51
[    8.629974] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.636590] SCSI subsystem initialized
[    8.652185] ehci-fsl: Freescale EHCI Host controller driver
[    8.653289] ehci-platform: EHCI generic platform driver
[    8.665904] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    8.666500] ohci-platform: OHCI generic platform driver
[    8.673140] dwc3-qcom 110f8800.usb3: IRQ hs_phy_irq not found
[    8.676104] dwc3-qcom 110f8800.usb3: IRQ dp_hs_phy_irq not found
[    8.681995] dwc3-qcom 110f8800.usb3: IRQ dm_hs_phy_irq not found
[    8.688202] dwc3-qcom 110f8800.usb3: IRQ ss_phy_irq not found
[    8.696611] dwc3-qcom 100f8800.usb3: IRQ hs_phy_irq not found
[    8.699708] dwc3-qcom 100f8800.usb3: IRQ dp_hs_phy_irq not found
[    8.705604] dwc3-qcom 100f8800.usb3: IRQ dm_hs_phy_irq not found
[    8.711546] dwc3-qcom 100f8800.usb3: IRQ ss_phy_irq not found
[    8.863194] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    8.863256] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    8.867870] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f065 hci version 0x100 quirks 0x0000000002010010
[    8.875291] xhci-hcd xhci-hcd.0.auto: irq 53, io mem 0x11000000
[    8.885690] hub 1-0:1.0: USB hub found
[    8.890482] hub 1-0:1.0: 1 port detected
[    8.894667] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    8.898322] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    8.903721] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    8.929834] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    8.930933] hub 2-0:1.0: USB hub found
[    8.937210] hub 2-0:1.0: 1 port detected
[    8.941575] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    8.944789] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[    8.950219] xhci-hcd xhci-hcd.1.auto: hcc params 0x0228f065 hci version 0x100 quirks 0x0000000002010010
[    8.957708] xhci-hcd xhci-hcd.1.auto: irq 54, io mem 0x10000000
[    8.968625] hub 3-0:1.0: USB hub found
[    8.972906] hub 3-0:1.0: 1 port detected
[    8.977242] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    8.980684] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[    8.986045] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    8.993752] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    9.000848] hub 4-0:1.0: USB hub found
[    9.008605] hub 4-0:1.0: 1 port detected
[    9.017125] usbcore: registered new interface driver usb-storage
[    9.018120] usbcore: registered new interface driver uas
[    9.022322] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    9.036415] init: - preinit -
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
[   20.393517] procd: - early -
[   20.393649] procd: - watchdog -
[   20.943369] procd: - watchdog -
[   20.944042] procd: - ubus -
[   21.004102] procd: - init -
Please press Enter to activate this console.
[   21.237079] urngd: v1.0.2 started.
[   21.337473] kmodloader: loading kernel modules from /etc/modules.d/*
[   21.346109] NET: Registered protocol family 38
[   21.372570] Key type dns_resolver registered
[   21.404968] RPC: Registered named UNIX socket transport module.
[   21.404999] RPC: Registered udp transport module.
[   21.409697] RPC: Registered tcp transport module.
[   21.414706] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   21.429116] NET: Registered protocol family 15
[   21.431352] Initializing XFRM netlink socket
[   21.434936] tun: Universal TUN/TAP device driver, 1.6
[   21.441761] **********************************************************
[   21.441827] * Driver    :NSS GMAC Driver - RTL v(3.72a)
[   21.448323] * Version   :1.0
[   21.453439] * Copyright :Copyright (c) 2013-2018 The Linux Foundation. All rights reserved.
[   21.456500] **********************************************************
[   21.473513] libphy: PHY 37000000.mdio-mii:04 not found
[   21.473577] nss-gmac: probe of 37200000.ethernet failed with error -5
[   21.499031] nss_driver - fw of size 536324  bytes copied to load addr: 40000000, nss_id : 0
[   21.499598] nss_driver - Turbo Support 1
[   21.506331] Supported Frequencies -
[   21.506339] 800Mhz
[   21.510350] 800Mhz
[   21.513984] 800Mhz
[   21.515727]
[   21.520189] f59412a8: meminfo init succeed
[   21.541809] nss_driver - fw of size 218224  bytes copied to load addr: 40800000, nss_id : 1
[   21.542277] 84a3d06f: meminfo init succeed
[   21.549200] debugfs: File 'n2h' in directory 'stats' already present!
[   21.553145] debugfs: File 'qrfs' in directory 'stats' already present!
[   21.558541] node size 1 # items 2
[   21.559721] debugfs: File 'c2c_tx' in directory 'stats' already present!
[   21.566128] memory: 0 0 (avl 1059643392) items 2 active_cores 2
[   21.569456] debugfs: File 'c2c_rx' in directory 'stats' already present!
[   21.576285] f59412a8: nss core 0 booted successfully
[   21.581870] debugfs: File 'unaligned' in directory 'stats' already present!
[   21.595416] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[   21.596707] node size 1 # items 2
[   21.606465] memory: 0 0 (avl 1059643392) items 2 active_cores 2
[   21.609845] 84a3d06f: nss core 1 booted successfully
[   21.629563] NFS: Registering the id_resolver key type
[   21.629604] Key type id_resolver registered
[   21.633667] Key type id_legacy registered
[   21.671165] cryptodev: driver 1.12 loaded.
[   21.674347] PPP generic driver version 2.4.2
[   21.675013] NET: Registered protocol family 24
[   21.682538] GACT probability on
[   21.683503] Mirror/redirect action on
[   21.690074] u32 classifier
[   21.690092]     input device check on
[   21.692286]     Actions configured
[   21.715479] fuse: init (API version 7.32)
[   21.731922] Loading modules backported from Linux version v5.15.33-0-g06f50ca83ace
[   21.731952] Backport generated by backports.git v5.15.33-1-0-g183c4ab2
[   21.781632] xt_time: kernel timezone is -0000
[   21.845853] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[   21.845884] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   21.871810] ath10k 5.15 driver, optimized for CT firmware, probing pci device: 0x46.
[   21.872500] ath10k_pci 0000:01:00.0: enabling device (0140 -> 0142)
[   21.879338] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0

Another issue:

[   30.414724] ath10k_pci 0000:01:00.0: Failed to find firmware-N.bin (N between 2 and 6) from ath10k/QCA9984/hw1.0: -12
[   30.414760] ath10k_pci 0000:01:00.0: could not fetch firmware files (-12)
[   30.424591] ath10k_pci 0000:01:00.0: could not probe fw (-12)
[   30.431363] ath10k 5.15 driver, optimized for CT firmware, probing pci device: 0x46.

[   30.437554] ath10k_pci 0001:01:00.0: enabling device (0140 -> 0142)
[   30.445616] ath10k_pci 0001:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   31.610592] ath10k_pci 0001:01:00.0: Failed to find firmware-N.bin (N between 2 and 6) from ath10k/QCA9984/hw1.0: -12
[   31.610632] ath10k_pci 0001:01:00.0: could not fetch firmware files (-12)
[   31.620308] ath10k_pci 0001:01:00.0: could not probe fw (-12)


[   31.627824] kmodloader: done loading kernel modules from /etc/modules.d/*
[   34.219549] blk_update_request: I/O error, dev mtdblock0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 3 prio class 0
[   34.220620] blk_update_request: I/O error, dev mtdblock0, sector 8 op 0x0:(READ) flags 0x80700 phys_seg 2 prio class 0
[   34.230296] blk_update_request: I/O error, dev mtdblock0, sector 16 op 0x0:(READ) flags 0x80700 phys_seg 2 prio class 0
[   34.241083] blk_update_request: I/O error, dev mtdblock0, sector 24 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[   34.251542] blk_update_request: I/O error, dev mtdblock0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[   34.261393] Buffer I/O error on dev mtdblock0, logical block 0, async page read
[   34.274101] blk_update_request: I/O error, dev mtdblock0, sector 8 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[   34.280146] blk_update_request: I/O error, dev mtdblock0, sector 8 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[   34.289725] Buffer I/O error on dev mtdblock0, logical block 1, async page read
[   34.302394] blk_update_request: I/O error, dev mtdblock1, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[   34.308955] blk_update_request: I/O error, dev mtdblock1, sector 8 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[   34.319001] blk_update_request: I/O error, dev mtdblock1, sector 16 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[   34.373447] Buffer I/O error on dev mtdblock1, logical block 0, async page read
[   34.393836] Buffer I/O error on dev mtdblock1, logical block 1, async page read
[   34.488286] Buffer I/O error on dev mtdblock12, logical block 0, async page read
[   34.491018] Buffer I/O error on dev mtdblock12, logical block 1, async page read
[   34.501015] Buffer I/O error on dev mtdblock13, logical block 0, async page read
[   34.507010] Buffer I/O error on dev mtdblock13, logical block 0, async page read
[   34.514490] Buffer I/O error on dev mtdblock14, logical block 0, async page read
[   34.520197] Buffer I/O error on dev mtdblock14, logical block 0, async page read
[   44.165473] ECM init
[   44.165515] ECM database jhash random seed: 0xa520eb47
[   44.168300] ECM init complete

At the end of this log, if I hit return I get to the OpenWRT prompt. I do not know how to address these issues. Any help would be appreciated. Thanks.

I haven't really tried those builds at all but just glossing over the errors it looks like each router needs changes to it's device tree to get it working with nss. I'll see if I can figure out what needs to be done to get it working. In the meantime, just stock openwrt should work fine with good performance at speeds below ~800mbps

Thanks. If I can help in any way let me know. The wired speeds are fine with the stock build but seems ACwifidude has some tweaks to make the wifi almost as fast as the wired.

Looks like the OpenWrt .dts file has a typo that is causing an issue with my .dts patch. All ipq8065 and ipq8064 devices uses this nomenclature for the gmac sections “&gmac1”, “&gmac2”. For some reason the rt4230w-rev6 .dts file uses the nomenclature “&gmac0”, “&gmac1” for the exact same sections.

If changing the numbering doesn’t change functionality - probably is worth a commit to OpenWrt to fix this typo and make it match the rest of ipq806x nomenclature the same. Always makes troubleshooting, custom patches, and functionality better when everything is named the exact same. If the numbering doesn’t make a difference, I’ll gladly push a commit to OpenWrt to fix the typo and make the Askey match the rest of OpenWrt ipq806x devices for &gmac numbering.

This is the individual file .dts file additions I made months ago:

This is the more recent .dts patch I’ve been using. As you see since the Askey &gmac has different numbering compared to other ipq8065 devices so my patch doesn’t apply appropriately:

What is the best way to do that via the serial interface? I've used uci to change config values but not sure how to edit the dts file that you mentioned. Still learning the deeper workings going on here. Thanks.

Honestly I don't remember exactly why I used 0 and 1 but I'll try changing it and testing to see if it works or not. Might be a little bit before I can get around to it though because I'm using this router as my main home router and the second one I have needs the CPU reflowed (doesn't boot unless I push down on one of the corners of it) but I was going to see if I could get a local computer repair shop to do it tomorrow. Only thing I'm worried about is changing the numbering causing existing configs to break.

1 Like

I'd be willing to test on the one I have. It is not my main router at this time. I have a serial connection so recovery shouldn't be an issue. If you need a certain log, just let me know what to do. Just trying to be of any help , if possible. Thanks.

Alright I'll get a sysupgrade image ready. In the meantime, just get the router running on openwrt and set it up like normal (just make sure internet access and lan works fine)

Can you try flashing this? You can either do it through ssh or luci, just make sure you keep the current config you have now. After it installs, test to make sure you still haveinternet access (I want to see if editing the gmac lines messes with preexisting setups)

1 Like