OpenWrt support for Linksys MX4200

new equipment


IPQ807x#
IPQ807x# set mtdparts 'mtdparts=nand0:0x1db00000@0x4a00000(rootfs),0x1db00000@0x22500000(rootfs_1)'
IPQ807x# ubi part rootfs
mtdids not defined, no default present
Error initializing mtdparts!
IPQ807x# ubi part rootfs
mtdids not defined, no default present
Error initializing mtdparts!
IPQ807x# ubi info 1
Unknown command 'ubi' - try 'help'
IPQ807x# ubi part rootfs_1
Unknown command 'ubi' - try 'help'
IPQ807x#

old brick equipment


IPQ807x# set mtdparts 'mtdparts=nand0:0x1db00000@0x4a00000(rootfs),0x1db00000@0x22500000(rootfs_1)'
IPQ807x# ubi part rootfs
ubi0: attaching mtd1
UBI init error 22
IPQ807x# ubi info 1
Error, no UBI device/partition selected!
IPQ807x# ubi part rootfs_1
ubi0: attaching mtd1
ubi0: scanning is finished
ubi0: attached mtd1 (name "mtd=1", size 475 MiB)
ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes
ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 4096
ubi0: VID header offset: 4096 (aligned 4096), data offset: 8192
ubi0: good PEBs: 1900, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 14141731
ubi0: available PEBs: 0, total reserved PEBs: 1900, PEBs reserved for bad PEB handling: 80
IPQ807x# ubi info 1
UBI: MTD device name:            "mtd=1"
UBI: MTD device size:            475 MiB
UBI: physical eraseblock size:   262144 bytes (256 KiB)
UBI: logical eraseblock size:    253952 bytes
UBI: number of good PEBs:        1900
UBI: number of bad PEBs:         0
UBI: smallest flash I/O unit:    4096
UBI: VID header offset:          4096 (aligned 4096)
UBI: data offset:                8192
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     2
UBI: available PEBs:             0
UBI: total number of reserved PEBs: 1900
UBI: number of PEBs reserved for bad PEB handling: 80
UBI: max/mean erase counter: 1/0

So try:

set mtdids 'nand0=nand0'
set mtdparts 'mtdparts=nand0:0x1db00000@0x4a00000(rootfs),0x1db00000@0x22500000(rootfs_1)'
ubi part rootfs
ubi info l
ubi part rootfs_1
ubi info l

And at the end is letter l not number 1.

new one

IPQ807x# ubi part rootfs
ubi0: attaching mtd1
ubi0: scanning is finished
ubi0: attached mtd1 (name "mtd=0", size 475 MiB)
ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes
ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 4096
ubi0: VID header offset: 4096 (aligned 4096), data offset: 8192
ubi0: good PEBs: 1900, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1047401851
ubi0: available PEBs: 0, total reserved PEBs: 1900, PEBs reserved for bad PEB handling: 80
IPQ807x# ubi info l
Volume information dump:
        vol_id          0
        reserved_pebs   42
        alignment       1
        data_pad        0
        vol_type        3
        name_len        6
        usable_leb_size 253952
        used_ebs        42
        used_bytes      10665984
        last_eb_bytes   253952
        corrupted       0
        upd_marker      0
        name            kernel
Volume information dump:
        vol_id          1
        reserved_pebs   1774
        alignment       1
        data_pad        0
        vol_type        3
        name_len        10
        usable_leb_size 253952
        used_ebs        1774
        used_bytes      450510848
        last_eb_bytes   253952
        corrupted       0
        upd_marker      0
        name            ubi_rootfs
Volume information dump:
        vol_id          2147479551
        reserved_pebs   2
        alignment       1
        data_pad        0
        vol_type        3
        name_len        13
        usable_leb_size 253952
        used_ebs        2
        used_bytes      507904
        last_eb_bytes   2
        corrupted       0
        upd_marker      0
        name            layout volume
IPQ807x# ubi part rootfs_1
ubi0: detaching mtd1
ubi0: mtd1 is detached
ubi0: attaching mtd1
ubi0: scanning is finished
ubi0: volume 1 ("ubi_rootfs") re-sized from 225 to 1774 LEBs
ubi0: attached mtd1 (name "mtd=1", size 475 MiB)
ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes
ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 4096
ubi0: VID header offset: 4096 (aligned 4096), data offset: 8192
ubi0: good PEBs: 1900, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1047401851
ubi0: available PEBs: 0, total reserved PEBs: 1900, PEBs reserved for bad PEB handling: 80
IPQ807x# ubi info l
Volume information dump:
        vol_id          0
        reserved_pebs   42
        alignment       1
        data_pad        0
        vol_type        3
        name_len        6
        usable_leb_size 253952
        used_ebs        42
        used_bytes      10665984
        last_eb_bytes   253952
        corrupted       0
        upd_marker      0
        name            kernel
Volume information dump:
        vol_id          1
        reserved_pebs   1774
        alignment       1
        data_pad        0
        vol_type        3
        name_len        10
        usable_leb_size 253952
        used_ebs        1774
        used_bytes      450510848
        last_eb_bytes   253952
        corrupted       0
        upd_marker      0
        name            ubi_rootfs
Volume information dump:
        vol_id          2147479551
        reserved_pebs   2
        alignment       1
        data_pad        0
        vol_type        3
        name_len        13
        usable_leb_size 253952
        used_ebs        2
        used_bytes      507904
        last_eb_bytes   2
        corrupted       0
        upd_marker      0
        name            layout volume

Brick one

IPQ807x# ubi part rootfs
ubi0: attaching mtd1
UBI init error 22
IPQ807x# ubi info l
Error, no UBI device/partition selected!
IPQ807x# ubi part rootfs_1
ubi0: attaching mtd1
ubi0: scanning is finished
ubi0: attached mtd1 (name "mtd=1", size 475 MiB)
ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes
ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 4096
ubi0: VID header offset: 4096 (aligned 4096), data offset: 8192
ubi0: good PEBs: 1900, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 14141731
ubi0: available PEBs: 0, total reserved PEBs: 1900, PEBs reserved for bad PEB handling: 80
IPQ807x# ubi info l
Volume information dump:
        vol_id          0
        reserved_pebs   42
        alignment       1
        data_pad        0
        vol_type        3
        name_len        6
        usable_leb_size 253952
        used_ebs        42
        used_bytes      10665984
        last_eb_bytes   253952
        corrupted       0
        upd_marker      0
        name            kernel
Volume information dump:
        vol_id          1
        reserved_pebs   1774
        alignment       1
        data_pad        0
        vol_type        3
        name_len        10
        usable_leb_size 253952
        used_ebs        1774
        used_bytes      450510848
        last_eb_bytes   253952
        corrupted       0
        upd_marker      0
        name            ubi_rootfs
Volume information dump:
        vol_id          2147479551
        reserved_pebs   2
        alignment       1
        data_pad        0
        vol_type        3
        name_len        13
        usable_leb_size 253952
        used_ebs        2
        used_bytes      507904
        last_eb_bytes   2
        corrupted       0
        upd_marker      0
        name            layout volume
IPQ807x#

Thanks. Can you try to boot from second partition on bricked one:

set bootargs 'console=ttyMSM0,115200n8 ubi.mtd=rootfs_1 root=mtd:ubi_rootfs rootfstype=squashfs rootwait'
set mtdparts 'mtdparts=nand0:0x9600000@0x1080000(rootfs),0x9600000@0xa680000(rootfs_1)'
ubi part rootfs_1
ubi read 0x44000000 kernel
bootm 0x44000000

?

IPQ807x# set bootargs 'console=ttyMSM0,115200n8 ubi.mtd=rootfs_1 root=mtd:ubi_rootfs rootfstype=squashfs rootwait'
IPQ807x# set mtdparts 'mtdparts=nand0:0x9600000@0x1080000(rootfs),0x9600000@0xa680000(rootfs_1)'
IPQ807x# ubi part rootfs_1
ubi0: attaching mtd1
ubi0: scanning is finished
ubi0: volume 1 ("rootfs_data") re-sized from 5 to 487 LEBs
ubi0: attached mtd1 (name "mtd=1", size 150 MiB)
ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes
ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 4096
ubi0: VID header offset: 4096 (aligned 4096), data offset: 8192
ubi0: good PEBs: 600, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1722802805
ubi0: available PEBs: 0, total reserved PEBs: 600, PEBs reserved for bad PEB handling: 80
IPQ807x# ubi read 0x44000000 kernel
Read 0 bytes from volume kernel to 44000000
Volume kernel not found!
ubi0: detaching mtd1
ubi0: mtd1 is detached
IPQ807x# bootm 0x44000000
Wrong Image Format for bootm command
ERROR: can't get kernel image!

Strange, previously you had:

IPQ807x# ubi part rootfs_1
ubi0: attaching mtd1
ubi0: scanning is finished
ubi0: attached mtd1 (name "mtd=1", size 475 MiB)
ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes
ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 4096
ubi0: VID header offset: 4096 (aligned 4096), data offset: 8192
ubi0: good PEBs: 1900, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 14141731
ubi0: available PEBs: 0, total reserved PEBs: 1900, PEBs reserved for bad PEB handling: 80

and now:

IPQ807x# ubi part rootfs_1
ubi0: attaching mtd1
ubi0: scanning is finished
ubi0: volume 1 ("rootfs_data") re-sized from 5 to 487 LEBs
ubi0: attached mtd1 (name "mtd=1", size 150 MiB)
ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes
ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 4096
ubi0: VID header offset: 4096 (aligned 4096), data offset: 8192
ubi0: good PEBs: 600, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1722802805
ubi0: available PEBs: 0, total reserved PEBs: 600, PEBs reserved for bad PEB handling: 80

It looks like the wrong volume was loaded.

yes, tried again and it is different.

Can you try:

set bootargs 'console=ttyMSM0,115200n8 ubi.mtd=rootfs_1 root=mtd:ubi_rootfs rootfstype=squashfs rootwait'
set mtdparts 'mtdparts=nand0:0x9600000@0xa680000(fs)'
ubi part fs
ubi read 0x44000000 kernel
bootm 0x44000000

?

IPQ807x# set bootargs 'console=ttyMSM0,115200n8 ubi.mtd=rootfs_1 root=mtd:ubi_rootfs rootfstype=squashfs rootwait'
IPQ807x# set mtdparts 'mtdparts=nand0:0x9600000@0xa680000(fs)'
IPQ807x# ubi part fs
ubi0: attaching mtd1
ubi0: scanning is finished
ubi0: attached mtd1 (name "mtd=0", size 150 MiB)
ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes
ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 4096
ubi0: VID header offset: 4096 (aligned 4096), data offset: 8192
ubi0: good PEBs: 600, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1722802805
ubi0: available PEBs: 0, total reserved PEBs: 600, PEBs reserved for bad PEB handling: 80
IPQ807x# ubi read 0x44000000 kernel
Read 0 bytes from volume kernel to 44000000
Volume kernel not found!
ubi0: detaching mtd1
ubi0: mtd1 is detached
IPQ807x# bootm 0x44000000
Wrong Image Format for bootm command
ERROR: can't get kernel image!
IPQ807x#

Can you post printenv output after that commands?
Or try this:

set mtdids 'nand0=nand0'
set mtdparts 'mtdparts=nand0:0x1db00000@0x4a00000(rootfs),0x1db00000@0x22500000(rootfs_1)'
set bootargs 'console=ttyMSM0,115200n8 ubi.mtd=rootfs_1 root=mtd:ubi_rootfs rootfstype=squashfs rootwait'
ubi part rootfs
ubi part rootfs_1
ubi read 0x44000000 kernel
bootm 0x44000000

it WORKS and booting now

IPQ807x# set mtdids 'nand0=nand0'
IPQ807x# set mtdparts 'mtdparts=nand0:0x1db00000@0x4a00000(rootfs),0x1db00000@0x22500000(rootfs_1)'
IPQ807x# set bootargs 'console=ttyMSM0,115200n8 ubi.mtd=rootfs_1 root=mtd:ubi_rootfs rootfstype=squashfs rootwait'
IPQ807x# ubi part rootfs
ubi0: attaching mtd1
UBI init error 22
IPQ807x# ubi part roofts_1
incorrect device type in roofts_1
Partition roofts_1 not found!
IPQ807x# ubi part rootfs_1
Unknown command 'ubi' - try 'help'
IPQ807x# ubi part rootfs_1
ubi0: attaching mtd1
ubi0: scanning is finished
ubi0: attached mtd1 (name "mtd=1", size 475 MiB)
ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes
ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 4096
ubi0: VID header offset: 4096 (aligned 4096), data offset: 8192
ubi0: good PEBs: 1900, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 14141731
ubi0: available PEBs: 0, total reserved PEBs: 1900, PEBs reserved for bad PEB handling: 80
IPQ807x# ubi read 0x44000000 kernel
Read 0 bytes from volume kernel to 44000000
No size specified -> Using max size (10665984)
IPQ807x# bootm 0x44000000
## Loading kernel from FIT Image at 44000000 ...
   Using 'config@oak03' configuration
   Trying 'kernel-1' kernel subimage
     Description:  Linux kernel
     Type:         Kernel Image
     Compression:  gzip compressed
     Data Start:   0x440000c4
     Data Size:    3744479 Bytes = 3.6 MiB
     Architecture: ARM
     OS:           Linux
     Load Address: 0x41208000
     Entry Point:  0x41208000
     Hash algo:    crc32
     Hash value:   bdef5fc6
   Verifying Hash Integrity ... crc32+ OK
## Loading fdt from FIT Image at 44000000 ...
   Using 'config@oak03' configuration
   Trying 'fdt-1' fdt subimage
     Description:  FDT MX4300 V1
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x4439247c
     Data Size:    66355 Bytes = 64.8 KiB
     Architecture: ARM
     Hash algo:    crc32
     Hash value:   315e877d
   Verifying Hash Integrity ... crc32+ OK
   Booting using the fdt blob at 0x4439247c
   Uncompressing Kernel Image ... OK
   Loading Device Tree to 4a3ec000, end 4a3ff332 ... OK
Using machid 0x801000d from environment

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.89 (builder@github-runner-5) (gcc version 7.4.0 (Buildroot 2019.02-gcf84f7e0e40a)) #1 SMP PREEMPT Fri Oct 29 12:53:15 UTC 2021
[    0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c0383d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Linksys MX4300 v1
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 15 pages/cpu s28940 r8192 d24308 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 488256
[    0.000000] Kernel command line: console=ttyMSM0,115200n8 ubi.mtd=rootfs_1 root=mtd:ubi_rootfs rootfstype=squashfs rootwait
[    0.000000] Dentry cache hash table entries: 262144 (order: 8, 1048576 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1949588K/1969152K available (6144K kernel code, 255K rwdata, 1392K rodata, 1024K init, 254K bss, 19564K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000]  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] GICv2m: range[mem 0x0b00a000-0x0b00affc], SPI[448:479]
[    0.000000] random: get_random_bytes called from start_kernel+0x290/0x41c with crng_init=0
[    0.000000] arch_timer: cp15 and mmio timer(s) running at 19.20MHz (virt/virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000005] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000017] Switching to timer-based delay loop, resolution 52ns
[    0.000675] Console: colour dummy device 80x30
[    0.000709] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.000722] pid_max: default: 32768 minimum: 301
[    0.000901] Mount-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000919] Mountpoint-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.001663] CPU: Testing write buffer coherency: ok
[    0.001950] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002419] Setting up static identity map for 0x40300000 - 0x40300060
[    0.002522] rcu: Hierarchical SRCU implementation.
[    0.002759] MSM Memory Dump base table set up
[    0.002781] MSM Memory Dump apps data table set up
[    0.002950] smp: Bringing up secondary CPUs ...
[    0.003660] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.004436] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.005171] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.005277] smp: Brought up 1 node, 4 CPUs
[    0.005296] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[    0.005303] CPU: All CPU(s) started in SVC mode.
[    0.005723] devtmpfs: initialized
[    0.019476] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[    0.019772] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.019791] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.019940] pinctrl core: initialized pinctrl subsystem
[    0.020721] NET: Registered protocol family 16
[    0.020997] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.022023] cpuidle: using governor ladder
[    0.022123] NET: Registered protocol family 42
[    0.060445] spmi spmi-0: PMIC arbiter version v2 (0x20010000)
[    0.081536] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 2
[    0.081856] qcom,cpr3-npu-regulator a4000.npu-cpr: NPU CPR valid fuse count: 2
[    0.083856] msm_sps_probe: sps:sps is ready
[    0.092055] vgaarb: loaded
[    0.093009] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.093753] clocksource: Switched to clocksource arch_sys_counter
[    0.101149] thermal_sys: Registered thermal governor 'step_wise'
[    0.103435] NET: Registered protocol family 2
[    0.103942] tcp_listen_portaddr_hash hash table entries: 1024 (order: 1, 12288 bytes, linear)
[    0.103996] TCP established hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.104154] TCP bind hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.104430] TCP: Hash tables configured (established 16384 bind 16384)
[    0.104520] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.104584] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.104774] NET: Registered protocol family 1
[    0.105232] PCI: CLS 0 bytes, default 64
[    0.106108] Initialise system trusted keyrings
[    0.106235] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    0.112626] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.112934] Key type asymmetric registered
[    0.112991] bounce: pool size: 64 pages
[    0.113009] io scheduler mq-deadline registered
[    0.113017] io scheduler kyber registered
[    0.113985] qcom-qmp-phy 78000.ssphy: 78000.ssphy supply vdda-phy not found, using dummy regulator
[    0.114065] qcom-qmp-phy 78000.ssphy: 78000.ssphy supply vdda-pll not found, using dummy regulator
[    0.114938] qcom-qmp-phy 78000.ssphy: Registered Qcom-QMP phy
[    0.115105] qcom-qmp-phy 58000.ssphy: 58000.ssphy supply vdda-phy not found, using dummy regulator
[    0.115183] qcom-qmp-phy 58000.ssphy: 58000.ssphy supply vdda-pll not found, using dummy regulator
[    0.115939] qcom-qmp-phy 58000.ssphy: Registered Qcom-QMP phy
[    0.116773] qcom-qmp-phy 84000.phy: Registered Qcom-QMP phy
[    0.116870] qcom-qmp-phy: probe of 86000.phy failed with error -13
[    0.117656] qcom-qmp-phy 8e000.phy: Registered Qcom-QMP phy
[    0.133778] qcom-pcie 20000000.pci: host bridge /soc/pci@20000000 ranges:
[    0.133821] qcom-pcie 20000000.pci:    IO 0x20200000..0x2020ffff -> 0x20200000
[    0.133848] qcom-pcie 20000000.pci:   MEM 0x20220000..0x2fffffff -> 0x20220000
[    1.293763] qcom-pcie 20000000.pci: Phy link never came up
[    1.303787] qcom-pcie 20000000.pci: cannot initialize host
[    1.303871] qcom-pcie: probe of 20000000.pci failed with error -110
[    1.323773] qcom-pcie 10000000.pci: host bridge /soc/pci@10000000 ranges:
[    1.323813] qcom-pcie 10000000.pci:    IO 0x10200000..0x1020ffff -> 0x10200000
[    1.323839] qcom-pcie 10000000.pci:   MEM 0x10220000..0x1fffffff -> 0x10220000
[    2.483762] qcom-pcie 10000000.pci: Phy link never came up
[    2.493779] qcom-pcie 10000000.pci: cannot initialize host
[    2.493836] qcom-pcie: probe of 10000000.pci failed with error -110
[    2.494817] bam-dma-engine 704000.dma: num-channels unspecified in dt
[    2.494829] bam-dma-engine 704000.dma: num-ees unspecified in dt
[    2.497973] msm-dcc b3000.dcc: DCC XPU is not specified
[    2.498261] msm-dcc b3000.dcc: jiffies_64: 0xffff8bc9, cntvct_64: 0x347f125d9
[    2.498276] msm-dcc b3000.dcc: gcnt_hi: 0x00000003(0x(ptrval))
[    2.498287] msm-dcc b3000.dcc: gcnt_lo: 0x47f127f1(0x(ptrval))
[    2.498954] CPU: IPQ8174, SoC Version: 2.0
[    2.499477] msm_rpm_log_probe: OK
[    2.499721] TZ SMMU State: SMMU Stage2 Enabled
[    2.499784] TZ Log : Will warn on Access Violation, as paniconaccessviolation is not set
[    2.500702] pmd9655_s3: supplied by e-smps1-reg
[    2.501030] pmd9655_s4: supplied by e-smps1-reg
[    2.501330] pmd9655_ldo11: supplied by e-smps1-reg
[    2.502011] msm_serial 78b3000.serial: msm_serial: detected port #0
[    2.502046] msm_serial 78b3000.serial: uartclk = 3686400
[    2.502094] 78b3000.serial: ttyMSM0 at MMIO 0x78b3000 (irq = 27, base_baud = 230400) is a MSM
[    2.502118] msm_serial: console setup on port #0
[    3.233944] printk: console [ttyMSM0] enabled
[    3.238952] msm_serial: driver initialized
[    3.243404] Loaded tzapp successfully!
[    3.246900] Init. AES sec key feature successful!
[    3.250613] Init. RSA sec key feature successful!
[    3.257242] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xa3
[    3.260045] nand: AMD/Spansion S34MS08G2
[    3.266486] nand: 1024 MiB, SLC, erase size: 256 KiB, page size: 4096, OOB size: 256
[    3.270829] 24 fixed-partitions partitions found on MTD device qcom_nand.0
[    3.278129] Creating 24 MTD partitions on "qcom_nand.0":
[    3.284820] 0x000000000000-0x000000100000 : "0:SBL1"
[    3.294658] 0x000000100000-0x000000200000 : "0:MIBIB"
[    3.297064] 0x000000200000-0x000000280000 : "0:BOOTCONFIG"
[    3.304649] 0x000000280000-0x000000300000 : "0:BOOTCONFIG1"
[    3.314613] 0x000000300000-0x000000600000 : "0:QSEE"
[    3.324585] 0x000000600000-0x000000900000 : "0:QSEE_1"
[    3.327392] 0x000000900000-0x000000980000 : "0:DEVCFG"
[    3.334603] 0x000000980000-0x000000a00000 : "0:DEVCFG_1"
[    3.336090] 0x000000a00000-0x000000a80000 : "0:APDP"
[    3.344589] 0x000000a80000-0x000000b00000 : "0:APDP_1"
[    3.346069] 0x000000b00000-0x000000b80000 : "0:RPM"
[    3.354612] 0x000000b80000-0x000000c00000 : "0:RPM_1"
[    3.374577] 0x000000c00000-0x000000c80000 : "0:CDT"
[    3.376048] 0x000000c80000-0x000000d00000 : "0:CDT_1"
[    3.384612] 0x000000d00000-0x000000d80000 : "0:APPSBLENV"
[    3.404576] 0x000000d80000-0x000000e80000 : "0:APPSBL"
[    3.406346] 0x000000e80000-0x000000f80000 : "0:APPSBL_1"
[    3.410338] 0x000000f80000-0x000001000000 : "0:ART"
[    3.415551] 0x000001000000-0x000001080000 : "0:ETHPHYFW"
[    3.434562] 0x000001080000-0x000002980000 : "0:WIFIFW"
[    3.442049] random: fast init done
[    3.448541] 0x000002980000-0x000002a00000 : "devinfo"
[    3.450012] 0x000002a00000-0x000004a00000 : "tzcfg"
[    3.470036] 0x000004a00000-0x000022500000 : "rootfs"
[    3.724561] 0x000022500000-0x000040000000 : "rootfs_1"
[    3.985172] libphy: Fixed MDIO Bus: probed
[    4.203779] qca-mdio 90000.mdio: Could not find phy-reset-gpio
[    4.203924] libphy: qca_mdio: probed
[    4.209455] mdio_bus 90000.mdio: MDIO device at address 30 is missing.
[    4.212235] qca-mdio 90000.mdio: qca-mdio driver was registered
[    4.218729] Unable to create IPC log context!
[    4.224735] Skip QCA8074V1 in V2 platform
[    4.229288] cnss[2]: INFO: Platform driver probed successfully. plat (ptrval) tgt 0xfffe
[    4.233097] i2c /dev entries driver
[    4.275951]
[    4.275951] Version Rollback Feature Disabled
[    4.278434] remoteproc remoteproc0: cd00000.q6v5_wcss is available
[    4.282155] NET: Registered protocol family 10
[    4.287615] Segment Routing with IPv6
[    4.291442] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    4.295598] NET: Registered protocol family 17
[    4.300778] Bridge firewalling registered
[    4.305252] 8021q: 802.1Q VLAN Support v1.8
[    4.309622] Registering SWP/SWPB emulation handler
[    4.313451] Loading compiled-in X.509 certificates
[    4.342342] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 2
[    4.342594] cpr4_ipq807x_apss_read_fuse_data: apc_corner: speed bin = 0
[    4.348481] cpr4_ipq807x_apss_read_fuse_data: apc_corner: CPR fusing revision = 1
[    4.355069] cpr4_ipq807x_apss_read_fuse_data: apc_corner: CPR misc fuse value = 0
[    4.362709] cpr4_ipq807x_apss_read_fuse_data: apc_corner: Voltage boost fuse config = 0 boost = disable
[    4.370235] cpr3_mem_acc_init: apc: not using memory accelerator regulator
[    4.379383] cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_corner: fused      SVS: open-loop= 704000 uV
[    4.386323] cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_corner: fused      NOM: open-loop= 808000 uV
[    4.396361] cpr4_ipq807x_apss_calculate_target_quotients: apc_corner: fused      SVS: quot[ 7]= 714, quot_offset[ 7]=   0
[    4.406118] cpr4_ipq807x_apss_calculate_target_quotients: apc_corner: fused      NOM: quot[ 7]= 907, quot_offset[ 7]= 190
[    4.417077] cpr3_regulator_init_ctrl: apc: Default CPR mode = closed-loop
[    4.417952] qcom,cpr3-npu-regulator a4000.npu-cpr: NPU CPR valid fuse count: 2
[    4.434876] cpr3_mem_acc_init: npu: not using memory accelerator regulator
[    4.441776] npu_corner: fused      NOM: open-loop= 792000 uV
[    4.448646] npu_corner: fused    TURBO: open-loop= 856000 uV
[    4.454514] npu_corner: fused      NOM: open-loop= 792000 uV
[    4.460087] npu_corner: fused    TURBO: open-loop= 856000 uV
[    4.465771] npu_corner: Normal and Cold condition init done. Default to normal.
[    4.472265] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 800000 KHz
[    4.478610] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 1017600 KHz
[    4.486035] ubi0: attaching mtd23
[    4.811342] random: crng init done
[    5.824450] ubi0: scanning is finished
[    5.833151] ubi0: attached mtd23 (name "rootfs_1", size 475 MiB)
[    5.833176] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes
[    5.838225] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 4096
[    5.844909] ubi0: VID header offset: 4096 (aligned 4096), data offset: 8192
[    5.851758] ubi0: good PEBs: 1900, bad PEBs: 0, corrupted PEBs: 0
[    5.858534] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    5.864786] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 14141731
[    5.871901] ubi0: available PEBs: 0, total reserved PEBs: 1900, PEBs reserved for bad PEB handling: 80
[    5.880858] ubi0: background thread "ubi_bgt0d" started, PID 66
[    5.894588] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    5.895960] cfg80211: failed to load regulatory.db
[    5.918105] VFS: Mounted root (squashfs filesystem) readonly on device 31:25.
[    5.935912] devtmpfs: mounted
[    5.937318] Freeing unused kernel memory: 1024K
[    5.944599] Run /sbin/init as init process
[   10.453550] libphy: PHY 90000.mdio:00 not found
[   10.457661] libphy: PHY 90000.mdio:04 not found
[   10.457834] libphy: PHY 90000.mdio:07 not found
[   10.814979] 7f2c9040: request_firmware failed with err code: -2
[   10.814991] 7f2c9040: firmware load from driver failed
[   10.833906] 7f2cd7c0: request_firmware failed with err code: -2
[   10.833908] 7f2cd7c0: firmware load from driver failed
[   11.631790] wlan: [1:I:RPTR] qca_multi_link_init_module:
[   11.631790] ******QCA Repeater Initialization Done***********
[   11.631790]
[   12.288252] wlan: [1:I:ANY] init_ath_pci_3_0: Driver Mode: 0
[   12.288282] wlan: [1:I:ANY] =======ol_if_register_wifi3_0==========
[   12.288282]
[   12.292985] wlan: [1:I:ANY] osif_nss_register_module: NSS wifi ops registered for target_type:1 with soc_ops:a2866ae6
[   12.301031] wlan: [1:I:ANY] ol_ath_wifi_ssr: ol_ath_wifi_ssr: SSR event 2 bus_type 1
[   13.531756] cnss[2]: INFO: QMI WLFW service connected, state: 0x1
[   13.531975] cnss[2]: INFO: device_id : 65534 mem mode : [0]
[   13.536886] cnss[2]: INFO: platform name: Linksys MX4300 v1
[   13.537656] cnss[2]: INFO: Target capability: chip_id: 0x0, chip_family: 0x0, board_id: 0xff, soc_id: 0xffffffff, fw_version: 0x250184a5, fw_build_timestamp: 2021-05-03 09:38, otp_version: 0x0 eeprom_caldata_read_timeout 0s
[   13.547841] cnss[2]: INFO: No board_id entry in device tree
[   13.573150] cnss[2]: INFO: BDF location : 0x4b0c0000
[   13.573176] cnss[2]: INFO: BDF IPQ8074/bdwlan.bin size 131072
[   13.578879] cnss[2]: INFO: per device BDF location : 0x4b0e0000
[   13.584074] cnss[2]: INFO: CALDATA IPQ8074/caldata.bin size 131072 offset 0x20000
[   13.643773] wlan: [1:I:ANY] ol_ath_wifi_ssr: ol_ath_wifi_ssr: SSR event 3 bus_type 1
[   13.643811] cnss[2]: INFO: Waiting for FW ready. Device: 0xfffe, FW ready timeout: 15 seconds
[   13.650576] cnss[2]: INFO: FW ready received for device 0xfffe
[   13.659392] wlan: [1:I:ANY] pld_ahb_wlan_enable: cnss_mode: Mission mode
[   13.664984] cnss[2]: INFO: Sending mode message, mode: MISSION(0), state: 0x7
[   13.681547] wlan: [1:I:ANY] qca_napi_create: qca_napi_create: napi instance 0 created on pipe 4
[   13.681707] wlan: [1:I:ANY] __ol_ath_attach: Allocated soc 61de946f
[   13.689210] wlan: [1:D:dfs] WLAN_DEBUG_DFS1 : dfs_psoc_obj_create_notification: DFS obj attach to psoc successfully
[   13.695573] wlan: [1:E:CONFIG] cfg_ini_parse_to_store: Failed to parse *.ini file @ QCA8074.ini; status:4
[   13.706320] wlan: [1:I:ANY] osif_nss_wifi_soc_setup: nss register id -1 nss config 0 Target Type 18
[   13.715501] wlan: [1:I:ANY] __ol_ath_attach: dev name soc0
[   13.725018] wlan: [1:I:ANY] ol_ath_soc_attach: WMI attached. wmi_handle d0e1c230
[   13.762780] wlan: [1:I:MBSSIE] ol_ath_sanitize_ema_vendor_ie_config: vendor_ie_size: 0 ven_ie_size_nibble: 1
[   13.762821] wlan: [1:I:MBSSIE] ol_ath_sanitize_ema_vendor_ie_config: vendor_ie_size: 0 ven_ie_size_nibble: 1
[   13.771708] wlan: [1:I:MBSSIE] ol_ath_sanitize_ema_vendor_ie_config: vendor_ie_size: 0 ven_ie_size_nibble: 1
[   13.781516] wlan: [1:I:MBSSIE] ol_ath_sanitize_ema_vendor_ie_config: vendor_ie_size: 0 ven_ie_size_nibble: 1
[   13.791305] wlan: [1:I:MBSSIE] ol_ath_sanitize_ema_vendor_ie_config: vendor_ie_size: 0 ven_ie_size_nibble: 1
[   13.801113] wlan: [1:I:MBSSIE] ol_ath_sanitize_ema_vendor_ie_config: vendor_ie_size: 0 ven_ie_size_nibble: 1
[   13.810924] wlan: [1:I:MBSSIE] ol_ath_sanitize_ema_vendor_ie_config: vendor_ie_size: 0 ven_ie_size_nibble: 7
[   13.820732] wlan: [1:I:MBSSIE] ol_ath_sanitize_ema_vendor_ie_config: vendor_ie_size: 0 ven_ie_size_nibble: 7
[   13.830543] wlan: [1:I:MBSSIE] ol_ath_sanitize_ema_vendor_ie_config: vendor_ie_size: 0 ven_ie_size_nibble: 7
[   13.840348] wlan: [1:I:MBSSIE] ol_ath_sanitize_ema_vendor_ie_config: vendor_ie_size: 0 ven_ie_size_nibble: 7
[   13.850157] wlan: [1:I:MBSSIE] ol_ath_sanitize_ema_vendor_ie_config: vendor_ie_size: 0 ven_ie_size_nibble: 1
[   13.859966] wlan: [1:I:MBSSIE] ol_ath_sanitize_ema_vendor_ie_config: vendor_ie_size: 0 ven_ie_size_nibble: 1
[   13.869778] wlan: [1:I:MBSSIE] ol_ath_sanitize_ema_vendor_ie_config: vendor_ie_size: 0 ven_ie_size_nibble: 1
[   13.879585] wlan: [1:I:MBSSIE] ol_ath_sanitize_ema_vendor_ie_config: vendor_ie_size: 0 ven_ie_size_nibble: 7
[   13.889399] wlan: [1:I:MBSSIE] ol_ath_sanitize_ema_vendor_ie_config: vendor_ie_size: 0 ven_ie_size_nibble: 7
[   13.899287] wlan: [1:I:ANY] htc_wmi_init: HT Create . c3e4187b
[   13.909007] wlan: [1:I:ANY] htc_wmi_init: Skipping BMI Done
[   13.914646] wlan: [1:I:ANY] htc_wmi_init: host_enable 0
[   13.940816] wlan: [1:I:ANY] ol_target_init_complete: CDP soc attach success
[   13.940847] wlan: [1:I:ANY] ol_target_init_complete: Soc attach success NSS config 0
[   13.946708] wlan: [1:I:ANY] htc_set_async_ep: htc_set_async_ep: htc_handle c3e4187b, ep 2, value 1
[   13.954636] wlan: [1:I:ANY] htc_set_async_ep: htc_set_async_ep: htc_handle c3e4187b, ep 3, value 1
[   13.963473] wlan: [1:I:ANY] htc_set_async_ep: htc_set_async_ep: htc_handle c3e4187b, ep 4, value 1
[   13.973391] wlan: [7:I:TIF] init_deinit_populate_hw_mode_capability: Preferred mode is not set, use mode id 4
[   13.973391]
[   13.981334] wlan: [7:I:TIF] HE_CAP Info = 9a18010d
[   13.992685] wlan: [7:I:TIF] Num HW modes = 2
[   13.997456] wlan: [7:I:TIF] Num PHY = 3
[   14.001872] wlan: [7:I:TIF] FW Build Version (Ext.) = 0
[   14.005446] wlan: [7:I:TIF] HDL Version: MajorVersion.MinorVersion = 0.0
[   14.010651] wlan: [7:I:TIF] Preferred HW Mode = 4 Num Radios = 3
[   14.017642] wlan: [7:I:TIF] init_deinit_add_11ax_modes: hw_mode_id = 1 phy_id = 0 wireless modes = f97f9001
[   14.023587] wlan: [7:I:TIF] init_deinit_add_11ax_modes: hw_mode_id = 1 phy_id = 1 wireless modes = 680688c
[   14.033063] wlan: [7:I:TIF] init_deinit_add_11ax_modes: hw_mode_id = 4 phy_id = 0 wireless modes = f91f9001
[   14.042782] wlan: [7:I:TIF] init_deinit_add_11ax_modes: hw_mode_id = 4 phy_id = 1 wireless modes = 680688c
[   14.052422] wlan: [7:I:TIF] init_deinit_add_11ax_modes: hw_mode_id = 4 phy_id = 2 wireless modes = 391f9001
[   14.063326] wlan: [7:I:TIF] init_deinit_alloc_pdevs: CDP PDEV ATTACH success
[   14.072912] wlan: [7:I:TIF] init_deinit_alloc_pdevs: CDP PDEV ATTACH success
[   14.080267] wlan: [7:I:TIF] init_deinit_alloc_pdevs: CDP PDEV ATTACH success
[   14.086158] wlan: [7:I:TIF] init_deinit_get_total_num_ema_vaps: num_radios: 3
[   14.093118] wlan: [7:I:TIF] init_deinit_get_total_num_ema_vaps: ema_max_vap_cnt: 0
[   14.100165] wlan: [7:I:TIF] init_deinit_get_total_num_vdevs_for_soc: num_vdevs: 51
[   14.107631] wlan: [7:I:TIF] init_deinit_get_total_num_ema_vaps: num_radios: 3
[   14.115174] wlan: [7:I:TIF] init_deinit_get_total_num_ema_vaps: ema_max_vap_cnt: 0
[   14.122370] wlan: [7:I:TIF] init_deinit_get_total_num_vdevs_for_soc: num_vdevs: 51
[   14.129846] wlan: [7:I:TIF] init_deinit_get_total_num_ema_vaps: num_radios: 3
[   14.137394] wlan: [7:I:TIF] init_deinit_get_total_num_ema_vaps: ema_max_vap_cnt: 0
[   14.144602] wlan: [7:I:TIF] init_deinit_get_total_num_vdevs_for_soc: num_vdevs: 51
[   14.152056] wlan: [7:I:TIF] init_deinit_get_total_num_ema_vaps: num_radios: 1
[   14.159618] wlan: [7:I:TIF] init_deinit_get_total_num_ema_vaps: ema_max_vap_cnt: 0
[   14.166822] wlan: [7:I:TIF] init_deinit_get_total_num_vdevs_for_soc: num_vdevs: 17
[   14.174298] wlan: [7:I:ANY] init_deinit_update_pdev_tgt_info: pdev id:0 wmi_handle:d0e1c230
[   14.205739] wlan: [7:I:ANY] init_deinit_update_pdev_tgt_info: Pdev = 0 Number of peers = 529 vdevs = 17
[   14.205778] wlan: [7:I:TIF] init_deinit_update_pdev_tgt_info: CDP PDEV INIT success
[   14.214284] wlan: [7:I:ANY] init_deinit_update_pdev_tgt_info: pdev id:1 wmi_handle:ed3a94a2
[   14.252053] wlan: [7:I:ANY] init_deinit_update_pdev_tgt_info: Pdev = 1 Number of peers = 529 vdevs = 17
[   14.252092] wlan: [7:I:TIF] init_deinit_update_pdev_tgt_info: CDP PDEV INIT success
[   14.260622] wlan: [7:I:ANY] init_deinit_update_pdev_tgt_info: pdev id:2 wmi_handle:18ff8322
[   14.305230] wlan: [7:I:ANY] init_deinit_update_pdev_tgt_info: Pdev = 2 Number of peers = 529 vdevs = 17
[   14.305268] wlan: [7:I:TIF] init_deinit_update_pdev_tgt_info: CDP PDEV INIT success
[   14.414585] wlan: [7:I:ANY] copy_fw_abi_version_tlv: copy_fw_abi_version_tlv: INIT_CMD version: 1, 0, 0x5f414351, 0x4c4d, 0x0, 0x0
[   14.694908] wlan: [7:I:ANY] ready_extract_init_status_tlv: ready_extract_init_status_tlv:0
[   14.694940] wlan: [7:E:TIF] init_deinit_ready_event_handler: Host Requested 1587 peers. FW Supports 1568 peers
[   14.702067] wlan: [7:I:ANY] dp_peer_map_attach_wifi3: dp_peer_map_attach_wifi3 max_peers 1636, max_ast_index: 4112
[   14.702067]
[   14.712363] wlan: [1:I:ANY] ol_ath_connect_htc: WMI is ready
[   14.724025] wlan: [1:I:ANY] ol_ath_soc_attach: connect HTC
[   14.729658] wlan: [1:I:ANY] ol_ath_soc_attach: bypasswmi : 0
[   14.734998] wlan: [1:I:MSCS] qca_mscs_module_init:
[   14.734998] ****QCA MSCS Initialization Done**** SoC 61de946f
[   14.740779] wlan: [1:I:ANY] ol_ath_soc_attach: UMAC attach
[   14.751329] wlan: [1:I:ANY] __ol_ath_attach: pdev_netdev name wifi0
[   14.756677] wlan: [1:I:ANY] __ol_ath_attach: Skip txrx_pdev_attach_target
[   14.764035] wlan: [1:I:ANY] __ol_ath_attach: BURSTING enabled by default
[   14.769872] wlan: [1:I:ANY] ol_ath_pdev_attach: interface_id 0
[   14.776552] wlan: [1:I:TIF] ol_ath_pdev_regdmn_init:  phy id = 0 Modes supported
[   14.782180] wlan: [1:I:TIF] ol_ath_pdev_regdmn_init:  11b = 0 11g = 0 11a = 1 11n = 1 11ac = 1 11ax = 1
[   14.789746] wlan: [1:I:TIF] ol_ath_pdev_regdmn_init:  Reg cap - phy_id = 0 supp_bnd = 2, modes = 391f9001, lo_2g = 0, hi_2g = 0 lo_g5 = 4910, hi_5g = 5330
[   14.798867] wlan: [1:I:ANY] ol_ath_update_wireless_modes: wireless_modes = 391f9001 before update


Cool, so you have working system on second partition :slight_smile:

1 Like

ty and we are move on next one now

ok, I've got OpenWrt on the MX4300 router! I've installed luci and I'm playing with it.
After enabling WiFi, I see that 2.4Ghz works well, but the 5Ghz SSID doesn't show up.
I haven't tried 6Ghz.

1 Like

Would it be possible to re-upload this or is there a newer version to install? Prompts me to sign up for a premium account to download the build.

Also I tried installing the one here but my device was not able to boot

Not too sure what models are HomeWRK or not, I have the LN1301 from the recent woot sales, if the one I requested for re-upload is not the latest, which version would be the best to install?

HomeWRK and MX4300 (LN1301) are the same devices with different firmware. If you have this start page on your OEM firmware, then you have HomeWRK: OpenWrt support for Linksys MX4200 - #1190 by Tour

1 Like

Thanks for clarifying, in that case I don't have a HomeWRK version and I flashed the wrong image.

I was able to boot back to the stock Linksys partition after 3 reboots, would the other partition now be "tainted" due to a bad flash? If so would a hardware reset by pressing the reset button restore the bad partition?

I'm hoping to avoid ending up where both partitions won't boot

Hello,
Is it possible to control USB power with GPIO on ln1301 ?

I measured current with stock firmware. It show 0.82A 12V when it's up and running, no clients connected. It's very high IMO.
Is there any way to reduce power consumption ? Lower CPU freq ?

Yes, if you run initramfs image first with other partition layout then this partitions may be overwritten:

  1. For install on rootfs (0x4a00000-0x22500000)
0x1a40000-0xc180000		rootfs
0xc180000-0x170c0000	alt_kernel
0xc980000-0x170c0000	alt_rootfs
0x170c0000-0x174c0000	sysdiag
0x174c0000-0x17540000	0:ETHPHYFW
0x17540000-0x1ef00000	syscfg
0x1ef00000-0x1f300000	secured_store
0x1f300000-0x20c00000	0:WIFIFW
0x20c00000-0x36d80000	app2_data
  1. For install on rootfs_1 (0x22500000-0x40000000):
0x20c00000-0x36d80000	app2_data
0x36d80000-0x40000000	app2

So what's the link for the file? I tried the one that is suggested in the documentation which was given and it does not work.

"...1. Manually upgrade firmware using openwrt-qualcommax-ipq807x-linksys_mx4300-squashfs-factory.bin image...."