yes, certainly. I've uploaded them to:
Filebin | t35qsr9khqoo6bte
Hi All
Have a mx5500 on its way to me and just wanted to understand a few bits as I am familiar with the mx4200 progress in the sister thread.
mx5500 looks to use the ipq50xx and @georgem83 looks to have a repo with a solid build running https://github.com/georgemoussalem/openwrt
looking at the previous screenshots, you have NSS working on that as part of the build ?
I also wanted to ask the differences between the main branch and kernel6.6 and which the recent images posted about are ?
NSS is not enabled in my builds.
on the branches, main is just a mirror of openwrt, dev work is on main-ipq50xx-kernel6.6, and I'm using main-ipq50xx-pr to prepare the pull request into openwrt, hope that clarifies.
thank-you for filling in there!
Makes sense and look to be getting some pretty good transfer speeds without NSS then!
one other daft q is can I ask what config options are being used / specific for this fork ? Still quite new to building images and the NSS 4200 fork Qosmio has cheats and uses a prebuilt .config file hence why I am not up to speed with the menuconfig route (yet)
I'm maxing out my ISP's connection at 500 mbps (~700 mbps at night), but don't expect we'll see multigig throughput even though the wifi chipsets support it. It is limited by a 1 gbps uplink (due to the switch) and lack of NSS support.
The config is nothing special, it bases it off of the config-default file and I've added luci, wpad-mesh-mbedtls for mesh support, and batman IV
Hello Ici
The last factory image provided to me by georgem83 at Filebin can be found here:
https://drive.google.com/drive/folders/1921Tyutgq18ayi0Y4AkGhoqfobxWcUBk
Thank you for the files gents,
I have successfully upgraded my MX200s to OpenWRT, yet noticed the WiFi performance is 100MB/s slower than the stock one. Getting 600Mb/s on Stock and 480-90 on OpenWRT.
Wondering if there is any tweak I can do to speed it up.
have you tried other channels? do a channel analysis and pick the right one (one that is least or not used).
Set channel BW to 160Mhz, don't forget to set the country too, else it won't work.
I'm getting 500-700 Mbps on both the MX2000 and MX5500, maxing out my ISP connection, so yours should be able to obtain that BW too given the right conditions.
Don't expect any multi-gig throughput, It won't be as speedy as the stock FW as it's not NSS enabled
ok so my MX5500 turned out to be an AX5400 (or SPNMX56 to be precise) which is CF branded.
Have ripped it to bits and have serial output and looks virtually identical to yours at the top.
Format: Log Type - Time(microsec) - Message - Optional Info
Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic
S - QC_IMAGE_VERSION_STRING=BOOT.BF.3.3.1.1-00075
S - IMAGE_VARIANT_STRING=MAACANAZA
S - OEM_IMAGE_VERSION_STRING=CRM
S - Boot Config, 0x000002c5
B - 126 - PBL, Start
B - 1557 - bootable_media_detect_entry, Start
B - 3835 - bootable_media_detect_success, Start
B - 3838 - elf_loader_entry, Start
B - 9253 - auth_hash_seg_entry, Start
B - 9613 - auth_hash_seg_exit, Start
B - 106205 - elf_segs_hash_verify_entry, Start
B - 175861 - PBL, End
B - 144448 - SBL1, Start
B - 205814 - GCC [RstStat:0x10, RstDbg:0x600000] WDog Stat : 0x4
B - 214110 - clock_init, Start
D - 7533 - clock_init, Delta
B - 221796 - boot_flash_init, Start
D - 13786 - boot_flash_init, Delta
B - 235643 - boot_config_data_table_init, Start
D - 5307 - boot_config_data_table_init, Delta - (575 Bytes)
B - 244030 - Boot Setting : 0x00000618
B - 250222 - CDT version:2,Platform ID:8,Major ID:4,Minor ID:0,Subtype:1
B - 257115 - sbl1_ddr_set_params, Start
B - 258731 - Pre_DDR_clock_init, Start
B - 264404 - Pre_DDR_clock_init, End
B - 906978 - do ddr sanity test, Start
D - 30 - do ddr sanity test, Delta
B - 911645 - Image Load, Start
D - 256718 - QSEE Image Loaded, Delta - (580996 Bytes)
B - 1169217 - Image Load, Start
D - 15036 - DEVCFG Image Loaded, Delta - (13592 Bytes)
B - 1184254 - Image Load, Start
D - 187026 - APPSBL Image Loaded, Delta - (425612 Bytes)
B - 1371341 - QSEE Execution, Start
D - 61 - QSEE Execution, Delta
B - 1377807 - SBL1, End
D - 1236043 - SBL1, Delta
S - Flash Throughput, 2328 KB/s (1020775 Bytes, 438464 us)
S - DDR Frequency, 800 MHz
S - Core 0 Frequency, 800 MHz
U-Boot 2016.01 (Feb 05 2024 - 04:09:12 +0000)
CBT U-Boot ver: 7.2.21 ([IPQ5018].[SPF12.1].[CS1])
DRAM: smem ram ptable found: ver: 1 len: 4
512 MiB
USB: Node Not found, skipping initi▒NAND: QPIC controller support serial NAND
ID = 3a6c2
Vendor = c2
Device = a6
Serial Nand Device Found With ID : 0xc2 0xa6
Serial NAND device Manufacturer:MX35UF2GE4AD
Device Size:256 MiB, Page size:2048, Spare Size:128, ECC:8-bit
qpic_nand: changing oobsize to 80 from 128 bytes
SF: Unsupported flash IDs: manuf 00, jedec 0000, ext_jedec 0000
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
256 MiB
MMC: sdhci: Node Not found, skipping initialization
PCI Link Intialized
PCI1 is not defined in the device tree
In: serial@78AF000
Out: serial@78AF000
Err: serial@78AF000
machid: 8040001
eth0 MAC Address from ART is not valid
eth1 MAC Address from ART is not valid
Updating boot_count ... done
Hit any key to stop autoboot: 0
NAND read: device 0 offset 0x58c0000, size 0x800000
8388608 bytes read: OK
## Loading kernel from FIT Image at 44000000 ...
Using 'config@1' configuration
Trying 'kernel@1' kernel subimage
Description: ARM OpenWrt Linux-5.4.164
Type: Kernel Image
Compression: gzip compressed
Data Start: 0x440000e4
Data Size: 4770519 Bytes = 4.5 MiB
Architecture: ARM
OS: Linux
Load Address: 0x41208000
Entry Point: 0x41208000
Hash algo: crc32
Hash value: 9d877d1c
Hash algo: sha1
Hash value: 608ff95fcaa3716bf986a42f6b8be7d89da9ce7d
Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 44000000 ...
Using 'config@1' configuration
Trying 'fdt@1' fdt subimage
Description: ARM OpenWrt Palm device tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x4448ccec
Data Size: 43801 Bytes = 42.8 KiB
Architecture: ARM
Hash algo: crc32
Hash value: c40cb2ed
Hash algo: sha1
Hash value: 050b3a4521abe21181d7a272d040352888f87c07
Verifying Hash Integrity ... crc32+ sha1+ OK
Booting using the fdt blob at 0x4448ccec
Uncompressing Kernel Image ... OK
Loading Device Tree to 4a3f2000, end 4a3ffb18 ... OK
Could not find PCI in device tree
Using machid 0x8040001 from environment
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.4.164 (root@ip-10-0-0-198) (gcc version 7.5.0 (Op enWrt GCC 7.5.0 r0+12639-06c3e847c3)) #1 SMP PREEMPT Mon Oct 30 08:40:29 PDT 202 3
[ 0.000000] CPU: ARMv7 Processor [51af8014] revision 4 (ARMv7), cr=10c0383d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio n cache
[ 0.000000] OF: fdt: Machine model: Qualcomm Technologies, Inc. IPQ5018/AP-MP 03.1
[ 0.000000] OF: fdt: Ignoring memory range 0x40000000 - 0x41000000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Reserved memory: created DMA memory pool at 0x4e500000, size 5 Mi B
[ 0.000000] OF: reserved mem: initialized node dma_pool1@4E500000, compatible id shared-dma-pool
[ 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] psci: OSI mode supported.
[ 0.000000] percpu: Embedded 15 pages/cpu s32140 r8192 d21108 u61440
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 108964
[ 0.000000] Kernel command line: init=/sbin/init rootfstype=squashfs ubi.mtd= alt_rootfs root=mtd:squashfs rootwait swiotlb=1 coherent_pool=2M
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, l inear)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, li near)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 424692K/440320K available (6714K kernel code, 342K rwdata , 2136K rodata, 1024K init, 367K bss, 15628K reserved, 0K cma-reserved, 0K highm em)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, 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 jif fies.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] GICv2m: range[mem 0x0b00a000-0x0b00affc], SPI[448:479]
[ 0.000000] GICv2m: range[mem 0x0b00b000-0x0b00bffc], SPI[480:511]
[ 0.000000] random: get_random_bytes called from start_kernel+0x2e0/0x508 wit h crng_init=0
[ 0.000000] arch_timer: cp15 and mmio timer(s) running at 24.00MHz (virt/virt ).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 43980 46511097ns
[ 0.000020] Switching to timer-based delay loop, resolution 41ns
[ 0.000394] Calibrating delay loop (skipped), value calculated using timer fr equency.. 48.00 BogoMIPS (lpj=240000)
[ 0.000412] pid_max: default: 32768 minimum: 301
[ 0.000588] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linea r)
[ 0.000603] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.001604] CPU: Testing write buffer coherency: ok
[ 0.002055] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.002958] Setting up static identity map for 0x41300000 - 0x41300060
[ 0.003146] rcu: Hierarchical SRCU implementation.
[ 0.006073] smp: Bringing up secondary CPUs ...
[ 0.007184] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.007363] smp: Brought up 1 node, 2 CPUs
[ 0.007382] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[ 0.007388] CPU: All CPU(s) started in SVC mode.
[ 0.017453] VFP support v0.3: implementor 51 architecture 3 part 40 variant 3 rev 4
[ 0.017896] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma x_idle_ns: 19112604462750000 ns
[ 0.017924] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 0.018090] pinctrl core: initialized pinctrl subsystem
[ 0.019330] NET: Registered protocol family 16
[ 0.020819] DMA: preallocated 2048 KiB pool for atomic coherent allocations
[ 0.022072] cpuidle: using governor ladder
[ 0.022134] cpuidle: using governor menu
[ 0.022393] NET: Registered protocol family 42
[ 0.022813] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.022828] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.072041] qcom,gcc-ipq5018 1800000.gcc: Registered ipq5018 GCC clocks provi der
[ 0.089924] msm_sps_probe: sps:sps is ready
[ 3.092407] pps_core: LinuxPPS API ver. 1 registered
[ 3.092420] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome tti <giometti@linux.it>
[ 3.092443] PTP clock support registered
[ 3.093540] workqueue: max_active 576 requested for napi_workq is out of rang e, clamping between 1 and 512
[ 3.094840] clocksource: Switched to clocksource arch_sys_counter
[ 3.095915] thermal_sys: Registered thermal governor 'step_wise'
[ 3.095921] thermal_sys: Registered thermal governor 'user_space'
[ 3.097054] NET: Registered protocol family 2
[ 3.097217] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear )
[ 3.098206] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 3.098251] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 3.098302] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 3.098377] TCP: Hash tables configured (established 4096 bind 4096)
[ 3.098501] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 3.098532] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 3.098788] NET: Registered protocol family 1
[ 3.098843] PCI: CLS 0 bytes, default 64
[ 3.099768] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counter s available
[ 3.101296] Initialise system trusted keyrings
[ 3.101623] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 3.107795] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 3.107808] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT Y) (c) 2001-2006 Red Hat, Inc.
[ 3.135218] Key type asymmetric registered
[ 3.135238] Asymmetric key parser 'x509' registered
[ 3.136754] ipq5018-pinctrl 1000000.pinctrl: invalid function NA in map table
[ 3.137971] qcom-pcie a0000000.pci: IRQ mdm2ap_e911 not found
[ 3.138001] qcom-pcie a0000000.pci: host bridge /soc/pci@a0000000 ranges:
[ 3.138049] qcom-pcie a0000000.pci: IO 0xa0200000..0xa02fffff -> 0xa020000 0
[ 3.138079] qcom-pcie a0000000.pci: MEM 0xa0300000..0xb02fffff -> 0xa030000 0
[ 3.366420] qcom-pcie a0000000.pci: Link up
[ 3.366654] qcom-pcie a0000000.pci: PCI host bridge to bus 0001:00
[ 3.366674] pci_bus 0001:00: root bus resource [bus 00-ff]
[ 3.366689] pci_bus 0001:00: root bus resource [io 0x0000-0xfffff] (bus addr ess [0xa0200000-0xa02fffff])
[ 3.366700] pci_bus 0001:00: root bus resource [mem 0xa0300000-0xb02fffff]
[ 3.366743] pci 0001:00:00.0: [17cb:1004] type 01 class 0x060400
[ 3.366778] pci 0001:00:00.0: reg 0x10: [mem 0x00000000-0x00000fff]
[ 3.366863] pci 0001:00:00.0: PME# supported from D0 D3hot D3cold
[ 3.371054] PCI: bus0: Fast back to back transfers disabled
[ 3.371350] pci 0001:01:00.0: [17cb:1104] type 00 class 0x028000
[ 3.371544] pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[ 3.372180] pci 0001:01:00.0: PME# supported from D0 D3hot D3cold
[ 3.372290] pci 0001:01:00.0: 8.000 Gb/s available PCIe bandwidth, limited by 5 GT/s x2 link at 0001:00:00.0 (capable of 15.752 Gb/s with 8 GT/s x2 link)
[ 3.376591] PCI: bus1: Fast back to back transfers disabled
[ 3.376659] pci 0001:00:00.0: BAR 8: assigned [mem 0xa0400000-0xa05fffff]
[ 3.376676] pci 0001:00:00.0: BAR 9: assigned [mem 0xa0600000-0xa07fffff 64bi t pref]
[ 3.376692] pci 0001:00:00.0: BAR 0: assigned [mem 0xa0300000-0xa0300fff]
[ 3.376708] pci 0001:00:00.0: BAR 7: assigned [io 0x1000-0x1fff]
[ 3.376725] pci 0001:01:00.0: BAR 0: assigned [mem 0xa0400000-0xa05fffff 64bi t]
[ 3.376791] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[ 3.376803] pci 0001:00:00.0: bridge window [io 0x1000-0x1fff]
[ 3.376817] pci 0001:00:00.0: bridge window [mem 0xa0400000-0xa05fffff]
[ 3.376829] pci 0001:00:00.0: bridge window [mem 0xa0600000-0xa07fffff 64bi t pref]
[ 3.376917] PCIe: RC enabled during bootup
[ 3.376998] qcom-pcie a0000000.pci: Received Link up event for RC 0
[ 3.378394] bam-dma-engine 704000.dma: num-channels unspecified in dt
[ 3.378411] bam-dma-engine 704000.dma: num-ees unspecified in dt
[ 3.379323] bam-dma-engine 7884000.dma: qcom,controlled-remotely unspecified
[ 3.380402] bam-dma-engine 7984000.dma: qcom,controlled-remotely unspecified
[ 3.382682] CPU: IPQ5018, SoC Version: 1.1
[ 3.382694] OEM_ID: 0, PROD_ID: 0
[ 3.383482] TZ Log : Will warn on Access Violation, as paniconaccessviolation is not set
[ 3.384788] 58000.qcom,msm-eud: ttyEUD0 at MMIO 0x0 (irq = 31, base_baud = 0) is a EUD UART
[ 3.385495] msm_serial 78af000.serial: msm_serial: detected port #0
[ 3.385543] msm_serial 78af000.serial: uartclk = 1843199
[ 3.385614] 78af000.serial: ttyMSM0 at MMIO 0x78af000 (irq = 30, base_baud = 115199) is a MSM
[ 3.385644] msm_serial: console setup on port #0
[ 4.205131] printk: console [ttyMSM0] enabled
[ 4.210147] msm_serial: driver initialized
[ 4.214644] random: fast init done
[ 4.218483] random: crng init done
[ 4.226543] brd: module loaded
[ 4.231413] loop: module loaded
[ 4.232806] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xa6
[ 4.233353] nand: Macronix MX35UF2GE4AD-Z4I SPI NAND 2G 1.8V
[ 4.240015] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB siz e: 128
[ 4.245847] qcom-nandc 79b0000.qpic-nand: x4 mode enabled already remotely
[ 4.253016] qcom-nandc 79b0000.qpic-nand: Serial training partition not found
[ 4.259977] qcom-nandc 79b0000.qpic-nand: failed to enable serial training
[ 4.267267] 18 fixed-partitions partitions found on MTD device qcom_nand.0
[ 4.273891] Creating 18 MTD partitions on "qcom_nand.0":
[ 4.280785] 0x000000000000-0x000000080000 : "0:SBL1"
[ 4.287860] 0x000000080000-0x000000100000 : "0:MIBIB"
[ 4.292711] 0x000000100000-0x000000200000 : "0:QSEE"
[ 4.298368] 0x000000200000-0x000000240000 : "0:DEVCFG"
[ 4.302396] 0x000000240000-0x000000280000 : "0:CDT"
[ 4.307467] 0x000000280000-0x000000300000 : "0:APPSBLENV"
[ 4.312474] 0x000000300000-0x000000440000 : "0:APPSBL"
[ 4.319000] 0x000000440000-0x000000540000 : "0:ART"
[ 4.323661] 0x000000540000-0x0000005c0000 : "0:TRAINING"
[ 4.327875] 0x0000005c0000-0x000000640000 : "u_env"
[ 4.333386] 0x000000640000-0x000000680000 : "s_env"
[ 4.337816] 0x000000680000-0x0000006c0000 : "devinfo"
[ 4.342587] 0x0000006c0000-0x0000058c0000 : "kernel"
[ 4.446883] 0x000000ec0000-0x0000058c0000 : "rootfs"
[ 4.536600] mtd: device 13 (rootfs) set to be root filesystem
[ 4.536960] mtdsplit: no squashfs found in "rootfs"
[ 4.541360] 0x0000058c0000-0x00000aac0000 : "alt_kernel"
[ 4.645504] 0x0000060c0000-0x00000aac0000 : "alt_rootfs"
[ 4.736273] 0x00000aac0000-0x00000acc0000 : "sysdiag"
[ 4.739742] 0x00000acc0000-0x00000f0c0000 : "syscfg"
[ 4.823972] spi_qup 78b5000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
[ 4.826158] libphy: Fixed MDIO Bus: probed
[ 5.050417] qca-mdio 88000.mdio: Could not find phy-reset-gpio
[ 5.050694] libphy: qca_mdio: probed
[ 5.055921] qca-mdio 88000.mdio: qca-mdio driver was registered
[ 5.719546] qca-mdio 90000.mdio: Could not find phy-reset-gpio
[ 5.719803] libphy: qca_mdio: probed
[ 5.727703] qca-mdio 90000.mdio: qca-mdio driver was registered
[ 5.835130] tun: Universal TUN/TAP device driver, 1.6
[ 5.835255] PPP generic driver version 2.4.2
[ 5.839308] PPP MPPE Compression module registered
[ 5.843491] NET: Registered protocol family 24
[ 5.848187] PPTP driver version 0.8.5
[ 5.852814] i2c /dev entries driver
[ 5.857364] qcom-tsens 4a9000.thermal-sensor: tsens device is not enabled
[ 5.861695] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 799999 K Hz
[ 5.866671] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 800000 KHz
[ 5.898035] >>> Register 3 PWM-LEDs
[ 5.899017] sdhci: Secure Digital Host Controller Interface driver
[ 5.900319] sdhci: Copyright(c) Pierre Ossman
[ 5.906615] sdhci-pltfm: SDHCI platform and OF driver helper
[ 5.911465]
[ 5.911465] Version Rollback Feature Disabled
[ 5.918873] remoteproc remoteproc0: cd00000.remoteproc is available
[ 5.923354] coresight-tmc 6047000.tmc: failed to get flush cti, defer probe
[ 5.928822] coresight-dynamic-funnel 6041000.funnel: Uses obsolete Coresight DT bindings
[ 5.938455] coresight coresight-etm0: CPU0: ETM v4.0 initialized
[ 5.943815] coresight-etm4x 619c000.etm: CPU0: (null) initialized
[ 5.950451] coresight coresight-etm1: CPU1: ETM v4.0 initialized
[ 5.955843] coresight-etm4x 619d000.etm: CPU1: (null) initialized
[ 5.962169] coresight-stm 6002000.stm: coresight-stm : stm_register_device fa iled, probing deferred
[ 5.968134] OF: graph: no port node found in /soc/cti@6010000
[ 5.982462] OF: graph: no port node found in /soc/cti@6011000
[ 5.982860] OF: graph: no port node found in /soc/cti@6012000
[ 5.988765] OF: graph: no port node found in /soc/cti@6013000
[ 5.994374] OF: graph: no port node found in /soc/cti@6014000
[ 6.000191] OF: graph: no port node found in /soc/cti@6015000
[ 6.011230] OF: graph: no port node found in /soc/cti@6016000
[ 6.011490] OF: graph: no port node found in /soc/cti@6017000
[ 6.017402] OF: graph: no port node found in /soc/cti@6018000
[ 6.023022] OF: graph: no port node found in /soc/cti@6019000
[ 6.028809] OF: graph: no port node found in /soc/cti@601a000
[ 6.034452] OF: graph: no port node found in /soc/cti@601b000
[ 6.045227] OF: graph: no port node found in /soc/cti@601c000
[ 6.045944] OF: graph: no port node found in /soc/cti@601d000
[ 6.051636] OF: graph: no port node found in /soc/cti@601e000
[ 6.057460] OF: graph: no port node found in /soc/cti@601f000
[ 6.063122] OF: graph: no port node found in /soc/cti@6198000
[ 6.068913] OF: graph: no port node found in /soc/cti@6199000
[ 6.074603] OF: graph: no port node found in /soc/cti@610c000
[ 6.081566] OF: graph: no port node found in /soc/hwevent@6101000
[ 6.085806] coresight-hwevent 6101000.hwevent: No csr data
[ 6.092232] OF: graph: no port node found in /soc/csr@6001000
[ 6.097375] coresight-csr 6001000.csr: CSR initialized: coresight-csr
[ 6.104341] nf_conntrack_rtsp v0.7 loading
[ 6.109865] ipip: IPv4 and MPLS over IPv4 tunneling driver
[ 6.113975] gre: GRE over IPv4 demultiplexor driver
[ 6.119038] ip_gre: GRE over IPv4 tunneling driver
[ 6.125267] nf_nat_rtsp v0.7 loading
[ 6.129456] NET: Registered protocol family 10
[ 6.134000] Segment Routing with IPv6
[ 6.137051] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 6.141634] ip6_gre: GRE over IPv6 tunneling driver
[ 6.146743] NET: Registered protocol family 17
[ 6.150957] Bridge firewalling registered
[ 6.155960] l2tp_core: L2TP core driver, V2.0
[ 6.159451] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[ 6.163770] l2tp_netlink: L2TP netlink interface
[ 6.168587] 8021q: 802.1Q VLAN Support v1.8
[ 6.173510] Registering SWP/SWPB emulation handler
[ 6.177435] Loading compiled-in X.509 certificates
[ 6.197083] sps_register_bam_device: sps:BAM 0x06064000 is registered
[ 6.198388] coresight coresight-stm: STM32 initialized
[ 6.202859] ubi0: attaching mtd15
[ 6.583126] ubi0: scanning is finished
[ 6.590203] ubi0: attached mtd15 (name "alt_rootfs", size 74 MiB)
[ 6.590229] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 6.595329] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 6.602037] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 6.608917] ubi0: good PEBs: 592, bad PEBs: 0, corrupted PEBs: 0
[ 6.615688] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 12 8
[ 6.621918] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequ ence number: 497419307
[ 6.628972] ubi0: available PEBs: 0, total reserved PEBs: 592, PEBs reserved for bad PEB handling: 40
[ 6.637936] ubi0: background thread "ubi_bgt0d" started, PID 83
[ 6.647831] input: soc:gpio_keys as /devices/platform/soc/soc:gpio_keys/input /input0
[ 6.653161] hctosys: unable to open rtc device (rtc0)
[ 6.670793] VFS: Mounted root (squashfs filesystem) readonly on device 31:18.
[ 6.671987] Freeing unused kernel memory: 1024K
[ 6.700442] Run /sbin/init as init process
******************************************************************************** *
_ _ __ _ __ _____ __ __ _____
| | | || \ | | / // ____]\ \ / // ____]TM
| | | || \ | | / /| (___ \ V /| (____
| | | || |\ \| |\ \ \____ \ \ / \____ \
| |_____ | || | \ | \ \ ____) | | | ____) |
|_______||_||_| \__| \_\[____ / |_| [_____/
(c) 2013 Belkin International, Inc. and/or its affiliates. All rights reserved.
Booting palm (firmware version 1.0.0.214317)
******************************************************************************** *
[utopia][init] System Initialization
[utopia][init] Creating /proc
[utopia][init] Creating /sys
[utopia][init] Creating /dev
[utopia][init] Creating /tmp
[utopia][init] Allocating 100M for /tmp
[utopia][init] Prepairing /dev/pts
[utopia][init] Setting /tmp and /var permissions
[utopia][init] Starting udev..
Attempting mount of ubifs syscfg partition
UBI device number 1, total 544 LEBs (69074944 bytes, 65.9 MiB), available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB)
[utopia][init] Using persistent syscfg data from /var/config/syscfg
[utopia][init] Starting system logging
[utopia][init] Starting sysevent subsystem
/dev/mem opened.
Memory mapped at address 0x76efd000.
Value at address 0x10CC4 (0x1001000): 0x0
Written 0xC9; readback 0xC9
[utopia][init] Starting blue ...
[utopia][init] Enabling DesignWare USB3 DRD Core drivers
[utopia][init] Loading QCA Ethernet, NSS and GMAC drivers
net.netfilter.nf_conntrack_acct = 1
net.netfilter.nf_conntrack_helper = 1
[utopia][init] Late loading usb drivers
[utopia][init] Setting any unset system values to default
[utopia][init] PRODUCT.TYPE (production)
[utopia][init] no persistence config file (/var/config/pstcfg) found
setting up MAC addresses for all interface based on 80:69:1A:CD:90:B8
NTP Servers do not need to be updated
[utopia][init] syscfg loaded removing tmp file
While they look identical, the one difference I’m aware of is that the SPNMX56 has a 2.5 Gbps wan port, which means the switch is different.
Both the MX2000 and MX5500 have an external qca8337 switch connected to GMAC1 of the SOC. Not sure what is used in yours, do you have any details?
Can you dump the dts from using the console or check what’s under?
/sys/firmware/devicetree/base/soc
@0/mdio@90000/
/sys/firmware/devicetree/base/soc # ls -l
-r--r--r-- 1 root root 4 Jun 2 01:01 #address-cells
-r--r--r-- 1 root root 4 Jun 2 01:01 #size-cells
drwxr-xr-x 3 root root 0 Jun 2 01:01 bt@7000000
drwxr-xr-x 2 root root 0 Jun 2 01:01 clock-controller@b188000
drwxr-xr-x 2 root root 0 Jun 2 01:01 clock-controller@b198000
-r--r--r-- 1 root root 11 Jun 2 01:01 compatible
drwxr-xr-x 2 root root 0 Jun 2 01:01 crypto@73a000
drwxr-xr-x 2 root root 0 Jun 2 01:01 csr@6001000
drwxr-xr-x 2 root root 0 Jun 2 01:01 cti@6010000
drwxr-xr-x 2 root root 0 Jun 2 01:01 cti@6011000
drwxr-xr-x 2 root root 0 Jun 2 01:01 cti@6012000
drwxr-xr-x 2 root root 0 Jun 2 01:01 cti@6013000
drwxr-xr-x 2 root root 0 Jun 2 01:01 cti@6014000
drwxr-xr-x 2 root root 0 Jun 2 01:01 cti@6015000
drwxr-xr-x 2 root root 0 Jun 2 01:01 cti@6016000
drwxr-xr-x 2 root root 0 Jun 2 01:01 cti@6017000
drwxr-xr-x 2 root root 0 Jun 2 01:01 cti@6018000
drwxr-xr-x 2 root root 0 Jun 2 01:01 cti@6019000
drwxr-xr-x 2 root root 0 Jun 2 01:01 cti@601a000
drwxr-xr-x 2 root root 0 Jun 2 01:01 cti@601b000
drwxr-xr-x 2 root root 0 Jun 2 01:01 cti@601c000
drwxr-xr-x 2 root root 0 Jun 2 01:01 cti@601d000
drwxr-xr-x 2 root root 0 Jun 2 01:01 cti@601e000
drwxr-xr-x 2 root root 0 Jun 2 01:01 cti@601f000
drwxr-xr-x 2 root root 0 Jun 2 01:01 cti@610c000
drwxr-xr-x 2 root root 0 Jun 2 01:01 cti@6198000
drwxr-xr-x 2 root root 0 Jun 2 01:01 cti@6199000
drwxr-xr-x 3 root root 0 Jun 2 01:01 dbgui@6108000
-r--r--r-- 1 root root 0 Jun 2 01:01 dma-ranges
drwxr-xr-x 2 root root 0 Jun 2 01:01 dma@704000
drwxr-xr-x 2 root root 0 Jun 2 01:01 dma@7884000
drwxr-xr-x 2 root root 0 Jun 2 01:01 dma@7984000
drwxr-xr-x 2 root root 0 Jun 2 01:01 dp1
drwxr-xr-x 2 root root 0 Jun 2 01:01 dp2
drwxr-xr-x 4 root root 0 Jun 2 01:01 ess-instance
drwxr-xr-x 2 root root 0 Jun 2 01:01 ess-uniphy@98000
drwxr-xr-x 3 root root 0 Jun 2 01:01 etm@619c000
drwxr-xr-x 3 root root 0 Jun 2 01:01 etm@619d000
drwxr-xr-x 3 root root 0 Jun 2 01:01 funnel@6041000
drwxr-xr-x 3 root root 0 Jun 2 01:01 funnel@6100000
drwxr-xr-x 3 root root 0 Jun 2 01:01 funnel@6120000
drwxr-xr-x 3 root root 0 Jun 2 01:01 funnel@6130000
drwxr-xr-x 3 root root 0 Jun 2 01:01 funnel@61a1000
drwxr-xr-x 2 root root 0 Jun 2 01:01 gcc@1800000
drwxr-xr-x 4 root root 0 Jun 2 01:01 gpio_keys
drwxr-xr-x 2 root root 0 Jun 2 01:01 hs_m31phy@5b000
drwxr-xr-x 2 root root 0 Jun 2 01:01 hwevent@6101000
drwxr-xr-x 2 root root 0 Jun 2 01:01 i2c@78b7000
drwxr-xr-x 4 root root 0 Jun 2 01:01 interrupt-controller@b000000
drwxr-xr-x 2 root root 0 Jun 2 01:01 lpass@0xA000000
drwxr-xr-x 2 root root 0 Jun 2 01:01 mailbox@b111000
drwxr-xr-x 3 root root 0 Jun 2 01:01 mdio@88000
drwxr-xr-x 7 root root 0 Jun 2 01:01 mdio@90000
-r--r--r-- 1 root root 4 Jun 2 01:01 name
drwxr-xr-x 2 root root 0 Jun 2 01:01 nss-common
drwxr-xr-x 2 root root 0 Jun 2 01:01 nss-dp-common
drwxr-xr-x 2 root root 0 Jun 2 01:01 nss-macsec1
drwxr-xr-x 2 root root 0 Jun 2 01:01 nss@40000000
drwxr-xr-x 3 root root 0 Jun 2 01:01 pci@80000000
drwxr-xr-x 3 root root 0 Jun 2 01:01 pci@a0000000
drwxr-xr-x 2 root root 0 Jun 2 01:01 pcm@0xA3C0000
drwxr-xr-x 2 root root 0 Jun 2 01:01 pcm_lb@0
drwxr-xr-x 2 root root 0 Jun 2 01:01 phy@7e000
drwxr-xr-x 2 root root 0 Jun 2 01:01 phy@86000
drwxr-xr-x 11 root root 0 Jun 2 01:01 pinctrl@1000000
drwxr-xr-x 2 root root 0 Jun 2 01:01 pwm@0x1941010
drwxr-xr-x 5 root root 0 Jun 2 01:01 pwmleds
drwxr-xr-x 2 root root 0 Jun 2 01:01 qcom,apss_clk@b111000
drwxr-xr-x 2 root root 0 Jun 2 01:01 qcom,msm-eud@58000
drwxr-xr-x 3 root root 0 Jun 2 01:01 qcom,nss_crypto
drwxr-xr-x 3 root root 0 Jun 2 01:01 qfprom_nvmem@a0000
drwxr-xr-x 3 root root 0 Jun 2 01:01 qpic-nand@79b0000
drwxr-xr-x 2 root root 0 Jun 2 01:01 qrng@e3000
-r--r--r-- 1 root root 16 Jun 2 01:01 ranges
drwxr-xr-x 3 root root 0 Jun 2 01:01 remoteproc@cd00000
drwxr-xr-x 3 root root 0 Jun 2 01:01 replicator@6046000
drwxr-xr-x 3 root root 0 Jun 2 01:01 rpm_etm0
drwxr-xr-x 2 root root 0 Jun 2 01:01 sdhci@7804000
drwxr-xr-x 2 root root 0 Jun 2 01:01 serial@78af000
drwxr-xr-x 2 root root 0 Jun 2 01:01 serial@78b0000
drwxr-xr-x 3 root root 0 Jun 2 01:01 spi@78b5000
drwxr-xr-x 2 root root 0 Jun 2 01:01 ssuniphy@5d000
drwxr-xr-x 3 root root 0 Jun 2 01:01 stm@6002000
drwxr-xr-x 2 root root 0 Jun 2 01:01 syscon@1905000
drwxr-xr-x 2 root root 0 Jun 2 01:01 syscon@1945000
drwxr-xr-x 2 root root 0 Jun 2 01:01 syscon@b111000
drwxr-xr-x 2 root root 0 Jun 2 01:01 thermal-sensor@4a9000
drwxr-xr-x 2 root root 0 Jun 2 01:01 timer
drwxr-xr-x 9 root root 0 Jun 2 01:01 timer@b120000
drwxr-xr-x 3 root root 0 Jun 2 01:01 tmc@6047000
drwxr-xr-x 3 root root 0 Jun 2 01:01 tmc@6048000
drwxr-xr-x 3 root root 0 Jun 2 01:01 tpda@6004000
drwxr-xr-x 3 root root 0 Jun 2 01:01 tpdm@6110000
drwxr-xr-x 3 root root 0 Jun 2 01:01 usb3@8A00000
drwxr-xr-x 2 root root 0 Jun 2 01:01 watchdog@b017000
drwxr-xr-x 4 root root 0 Jun 2 01:01 wcss-smp2p
drwxr-xr-x 2 root root 0 Jun 2 01:01 wifi1@c000000
drwxr-xr-x 2 root root 0 Jun 2 01:01 wifi2@c000000
drwxr-xr-x 2 root root 0 Jun 2 01:01 wifi3@f00000
drwxr-xr-x 2 root root 0 Jun 2 01:01 wifi4@f00000
drwxr-xr-x 2 root root 0 Jun 2 01:01 wifi5@f00000
drwxr-xr-x 2 root root 0 Jun 2 01:01 wifi@c000000
/sys/firmware/devicetree/base/soc/mdio@90000 # ls -l
-r--r--r-- 1 root root 4 Jun 2 01:32 #address-cells
-r--r--r-- 1 root root 4 Jun 2 01:32 #size-cells
-r--r--r-- 1 root root 14 Jun 2 01:32 compatible
drwxr-xr-x 2 root root 0 Jun 2 01:32 ethernet-phy@0
drwxr-xr-x 2 root root 0 Jun 2 01:32 ethernet-phy@1
drwxr-xr-x 2 root root 0 Jun 2 01:32 ethernet-phy@2
drwxr-xr-x 2 root root 0 Jun 2 01:32 ethernet-phy@3
drwxr-xr-x 2 root root 0 Jun 2 01:32 ethernet-phy@4
-r--r--r-- 1 root root 5 Jun 2 01:32 name
-r--r--r-- 1 root root 4 Jun 2 01:32 phandle
-r--r--r-- 1 root root 24 Jun 2 01:32 phy-reset-gpio
-r--r--r-- 1 root root 4 Jun 2 01:32 pinctrl-0
-r--r--r-- 1 root root 8 Jun 2 01:32 pinctrl-names
-r--r--r-- 1 root root 8 Jun 2 01:32 reg
-r--r--r-- 1 root root 3 Jun 2 01:32 status
(post deleted by author)
Should just be able to flash it already: https://forum.openwrt.org/t/ipq5018-support-for-linksys-mx2000-atlas-6-mx5500-atlas-6-pro
Would you please send the PR for MX5500 support for luci-app-advanced-reboot to stangri so he can include MX5500 into the lastest build of luci-app-advanced-reboot?
Thanks.
Can you cat all compatible strings under /sys/firmware/devicetree/base/soc @0/ess-instance
.
Since your device contains a 2.5gbps wan port, I expect a different switch under the second ess-switch directory (i.e. not a qca8337 switch)
Will do once the PR for adding the entire ipq50xx platform is ready.
In the meantime, this is the required config for advanced-reboot for both MX2000 and MX5500:
cat /usr/share/advanced-reboot/device
s/linksys-mx2000.json
{
"vendorName": "Linksys",
"deviceName": "MX2000",
"boardNames": [ "linksys-mx2000", "linksys,mx2000" ],
"partition1MTD": "mtd12",
"partition2MTD": "mtd14",
"labelOffset": 192,
"bootEnv1": "boot_part",
"bootEnv1Partition1Value": 1,
"bootEnv1Partition2Value": 2,
"bootEnv2": null,
"bootEnv2Partition1Value": null,
"bootEnv2Partition2Value": null
}
2 device files need to be added to the devices directory
/sys/firmware/devicetree/base/soc/ess-instance # ls -l
drwxr-xr-x 3 root root 0 Jun 2 01:02 ess-switch1@1
drwxr-xr-x 3 root root 0 Jun 2 01:02 ess-switch@0x39c00000
-r--r--r-- 1 root root 13 Jun 2 01:02 name
-r--r--r-- 1 root root 4 Jun 2 01:02 num_devices
/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000 # ls -l
-r--r--r-- 1 root root 396 Jun 2 01:03 clock-names
-r--r--r-- 1 root root 176 Jun 2 01:03 clocks
-r--r--r-- 1 root root 15 Jun 2 01:03 cmnblk_clk
-r--r--r-- 1 root root 24 Jun 2 01:03 compatible
-r--r--r-- 1 root root 4 Jun 2 01:03 device_id
-r--r--r-- 1 root root 11 Jun 2 01:03 name
drwxr-xr-x 4 root root 0 Jun 2 01:03 qcom,port_phyinfo
-r--r--r-- 1 root root 8 Jun 2 01:03 reg
-r--r--r-- 1 root root 89 Jun 2 01:03 reset-names
-r--r--r-- 1 root root 48 Jun 2 01:03 resets
-r--r--r-- 1 root root 10 Jun 2 01:03 switch_access_mode
-r--r--r-- 1 root root 4 Jun 2 01:03 switch_mac_mode
/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000 # cat clock
-names
cmn_ahb_clkcmn_sys_clkuniphy_ahb_clkuniphy_sys_clkgcc_mdio0_ahb_clkgcc_mdio1_ahb_clkgcc_gmac0_cfg_clkgcc_gmac0_sys_clkgcc_gmac1_cfg_clkgcc_gmac1_sys_clkuniphy0_port1_rx_clkuniphy0_port1_tx_clkuniphy1_port5_rx_clkuniphy1_port5_tx_clknss_port1_rx_clknss_port1_tx_clknss_port2_rx_clknss_port2_tx_clkgcc_snoc_gmac0_ahb_clkgcc_snoc_gmac1_ahb_clkgcc_gmac0_ptp_clkgcc_gmac1_ptp_clk/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000 #
/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000 # cat clock
s
(
)
▒
▒
G
H
7
:
<
?
5
6
▒
▒
9
;
>
@
n
p
8
/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000 # cat cmnbl
k_clk
internal_96MHz/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000
/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000 # cat compa
tible
qcom,ess-switch-ipq50xx/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000
/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000 # cat devic
e_id
/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000
/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000 # cat name
ess-switch/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000 #
/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000 # cat reg
9▒ /sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000 #
/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000 # cat reset
-names
gephy_bcr_rstuniphy_bcr_rstgmac0_bcr_rstgmac1_bcr_rstuniphy1_soft_rstgephy_misc_rst/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000
/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000 # cat reset
s
]
n
o/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000
/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000 # cat switc
h_access_mode
local bus/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000
/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000 # cat switc
h_mac_mode
/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000
/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000/qcom,port_phyinfo # ls -l
-r--r--r-- 1 root root 18 Jun 2 01:12 name
drwxr-xr-x 2 root root 0 Jun 2 01:12 port@0
drwxr-xr-x 2 root root 0 Jun 2 01:12 port@1
/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000/qcom,port_phyinfo # cat name
qcom,port_phyinfo/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000/qcom,port_phyinfo
/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000/qcom,port_phyinfo/port@0 # ls -l
-r--r--r-- 1 root root 4 Jun 2 01:13 mdiobus
-r--r--r-- 1 root root 5 Jun 2 01:13 name
-r--r--r-- 1 root root 4 Jun 2 01:13 phy_address
-r--r--r-- 1 root root 8 Jun 2 01:13 phy_dac
-r--r--r-- 1 root root 4 Jun 2 01:13 port_id
/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000/qcom,port_phyinfo/port@0 # cat mdiobus
/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000/qcom,port_phyinfo/port@0
/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000/qcom,port_phyinfo/port@0 # cat name
port/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000/qcom,port_phyinfo/port@0 #
/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000/qcom,port_phyinfo/port@0 # cat phy_address
/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000/qcom,port_phyinfo/port@0 #
/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000/qcom,port_phyinfo/port@0 # cat phy_dac
/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000/qcom,port_phyinfo/port@0 #
/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000/qcom,port_phyinfo/port@0 # cat port_id
/sys/firmware/devicetree/base/soc/ess-instance/ess-switch@0x39c00000/qcom,port_phyinfo/port@0 #
I have observed some very strange behaviour from the SPNMX56 though (possibly from my own doing)!!.
Being impatient / naïve / foolish, I flashed it with the mx5500 image (what could go wrong right..) (note kids - dont make life decisions late at night when you have had a beer)
Result is that it boots (ish) albeit without network which is what @georgem83 expects with it showing a different switch.
NAND read: device 0 offset 0x6c0000, size 0x800000
8388608 bytes read: OK
## Loading kernel from FIT Image at 44000000 ...
Using 'config@mp03.1' configuration
Trying 'kernel-1' kernel subimage
Description: ARM64 OpenWrt Linux-6.6.54
Type: Kernel Image
Compression: lzma compressed
Data Start: 0x440000e8
Data Size: 3923222 Bytes = 3.7 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x41000000
Entry Point: 0x41000000
Hash algo: crc32
Hash value: 3fb1ceaf
Hash algo: sha1
Hash value: a4c434db2f1026719b4d24e955c244d8d40ab8eb
Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 44000000 ...
Using 'config@mp03.1' configuration
Trying 'fdt-1' fdt subimage
Description: ARM64 OpenWrt linksys_mx5500 device tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x443bdf40
Data Size: 25670 Bytes = 25.1 KiB
Architecture: AArch64
Hash algo: crc32
Hash value: bd6f18e6
Hash algo: sha1
Hash value: 30b39492fdf94e83e876e8c59f6d663df5a4023a
Verifying Hash Integrity ... crc32+ sha1+ OK
Booting using the fdt blob at 0x443bdf40
Uncompressing Kernel Image ... OK
Loading Device Tree to 4a3f6000, end 4a3ff445 ... OK
Could not find PCI in device tree
Using machid 0x8040001 from environment
Starting kernel ...
Jumping to AARCH64 kernel via monitor
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x51af8014]
[ 0.000000] Linux version 6.6.54 (builder@buildhost) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r27229-ebe7c5f1a3) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 SMP Tue Oct 8 05:12:20 2024
[ 0.000000] Machine model: Linksys MX5500
[ 0.000000] OF: reserved mem: 0x000000004a400000..0x000000004a7fffff (4096 KiB) nomap non-reusable tz_appps@4a400000
[ 0.000000] OF: reserved mem: 0x000000004a800000..0x000000004a9fffff (2048 KiB) nomap non-reusable bootloader@4a800000
[ 0.000000] OF: reserved mem: 0x000000004ab00000..0x000000004abfffff (1024 KiB) nomap non-reusable smem@4ab00000
[ 0.000000] OF: reserved mem: 0x000000004ac00000..0x000000004adfffff (2048 KiB) nomap non-reusable tz@4ac00000
[ 0.000000] OF: reserved mem: 0x000000004b000000..0x000000004dffffff (49152 KiB) nomap non-reusable q6_mem_regions@4b000000
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-0x000000005fffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040000000-0x000000004a3fffff]
[ 0.000000] node 0: [mem 0x000000004a400000-0x000000004a9fffff]
[ 0.000000] node 0: [mem 0x000000004aa00000-0x000000004aafffff]
[ 0.000000] node 0: [mem 0x000000004ab00000-0x000000004adfffff]
[ 0.000000] node 0: [mem 0x000000004ae00000-0x000000004affffff]
[ 0.000000] node 0: [mem 0x000000004b000000-0x000000004dffffff]
[ 0.000000] node 0: [mem 0x000000004e000000-0x000000005fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000005fffffff]
[ 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] psci: OSI mode supported.
[ 0.000000] psci: [Firmware Bug]: failed to set PC mode: -1
[ 0.000000] percpu: Embedded 18 pages/cpu s35240 r8192 d30296 u73728
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: Spectre-v4
[ 0.000000] alternatives: applying boot alternatives
[ 0.000000] Kernel command line: init=/sbin/init rootfstype=squashfs ubi.mtd=rootfs root=mtd:squashfs rootwait root=/dev/ubiblock0_0 coherent_pool=2M
[ 0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129024
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 0MB
[ 0.000000] software IO TLB: area num 2.
[ 0.000000] software IO TLB: mapped [mem 0x000000005f540000-0x000000005f5c0000] (0MB)
[ 0.000000] Memory: 441752K/524288K available (8128K kernel code, 880K rwdata, 2408K rodata, 1536K init, 276K bss, 82536K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GICv2m: range[mem 0x0b00a000-0x0b00aff7], SPI[448:479]
[ 0.000000] GICv2m: range[mem 0x0b00b000-0x0b00bff7], SPI[480:511]
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] arch_timer: cp15 and mmio timer(s) running at 24.00MHz (virt/virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000117] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.000134] pid_max: default: 32768 minimum: 301
[ 0.005025] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.005051] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.010809] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
[ 0.011294] rcu: Hierarchical SRCU implementation.
[ 0.011305] rcu: Max phase no-delay instances is 1000.
[ 0.012482] smp: Bringing up secondary CPUs ...
[ 0.013702] Detected VIPT I-cache on CPU1
[ 0.013845] CPU1: Booted secondary processor 0x0000000001 [0x51af8014]
[ 0.014045] smp: Brought up 1 node, 2 CPUs
[ 0.014067] SMP: Total of 2 processors activated.
[ 0.014074] CPU features: detected: 32-bit EL0 Support
[ 0.014081] CPU features: detected: CRC32 instructions
[ 0.014182] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[ 0.014193] CPU: All CPU(s) started at EL1
[ 0.014196] alternatives: applying system-wide alternatives
[ 0.022697] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.022737] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 0.024537] pinctrl core: initialized pinctrl subsystem
[ 0.026668] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.028462] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[ 0.028799] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.029111] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.029753] thermal_sys: Registered thermal governor 'step_wise'
[ 0.029875] cpuidle: using governor menu
[ 0.030283] ASID allocator initialised with 65536 entries
[ 0.052978] Modules: 29408 pages in range for non-PLT usage
[ 0.052993] Modules: 520928 pages in range for PLT usage
[ 0.059873] SCSI subsystem initialized
[ 0.060351] usbcore: registered new interface driver usbfs
[ 0.060411] usbcore: registered new interface driver hub
[ 0.060476] usbcore: registered new device driver usb
[ 0.060870] qcom_scm: convention: smc arm 64
[ 0.063535] clocksource: Switched to clocksource arch_sys_counter
[ 0.067768] NET: Registered PF_INET protocol family
[ 0.068003] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.070528] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.070565] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.070596] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.070652] TCP bind hash table entries: 4096 (order: 5, 131072 bytes, linear)
[ 0.070837] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.071011] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.071054] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.071643] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.071714] PCI: CLS 0 bytes, default 64
[ 0.075948] workingset: timestamp_bits=46 max_order=17 bucket_order=0
[ 0.076803] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.076820] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.091499] qcom-pcie a0000000.pcie: host bridge /soc@0/pcie@a0000000 ranges:
[ 0.091592] qcom-pcie a0000000.pcie: IO 0x00a0200000..0x00a02fffff -> 0x00a0200000
[ 0.091640] qcom-pcie a0000000.pcie: MEM 0x00a0300000..0x00b02fffff -> 0x00a0300000
[ 0.225110] qcom-pcie a0000000.pcie: iATU: unroll T, 8 ob, 8 ib, align 4K, limit 1024G
[ 0.323575] qcom-pcie a0000000.pcie: PCIe Gen.2 x2 link up
[ 0.324168] qcom-pcie a0000000.pcie: PCI host bridge to bus 0001:00
[ 0.324193] pci_bus 0001:00: root bus resource [bus 00-ff]
[ 0.324211] pci_bus 0001:00: root bus resource [io 0x0000-0xfffff] (bus address [0xa0200000-0xa02fffff])
[ 0.324221] pci_bus 0001:00: root bus resource [mem 0xa0300000-0xb02fffff]
[ 0.324275] pci 0001:00:00.0: [17cb:1004] type 01 class 0x060400
[ 0.324299] pci 0001:00:00.0: reg 0x10: [mem 0x00000000-0x00000fff]
[ 0.324387] pci 0001:00:00.0: PME# supported from D0 D3hot D3cold
[ 0.327872] pci 0001:01:00.0: [17cb:1104] type 00 class 0x028000
[ 0.328006] pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[ 0.328638] pci 0001:01:00.0: PME# supported from D0 D3hot D3cold
[ 0.328870] pci 0001:01:00.0: 8.000 Gb/s available PCIe bandwidth, limited by 5.0 GT/s PCIe x2 link at 0001:00:00.0 (capable of 15.752 Gb/s with 8.0 GT/s PCIe x2 link)
[ 0.329629] pci 0001:00:00.0: BAR 8: assigned [mem 0xa0400000-0xa05fffff]
[ 0.329655] pci 0001:00:00.0: BAR 0: assigned [mem 0xa0300000-0xa0300fff]
[ 0.329679] pci 0001:01:00.0: BAR 0: assigned [mem 0xa0400000-0xa05fffff 64bit]
[ 0.329744] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[ 0.329759] pci 0001:00:00.0: bridge window [mem 0xa0400000-0xa05fffff]
[ 0.342544] pcieport 0001:00:00.0: PME: Signaling with IRQ 19
[ 0.344535] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.346727] msm_serial 78af000.serial: msm_serial: detected port #0
[ 0.346816] pcieport 0001:00:00.0: AER: enabled with IRQ 19
[ 0.346849] msm_serial 78af000.serial: uartclk = 1843199
[ 0.354959] 78af000.serial: ttyMSM0 at MMIO 0x78af000 (irq = 21, base_baud = 115199) is a MSM
[ 0.355028] msm_serial: console setup on port #0
[ 0.355149] printk: console [ttyMSM0] enabled
[ 1.217792] msm_serial: driver initialized
[ 1.232278] loop: module loaded
[ 1.239887] spi-nand spi0.0: Macronix SPI NAND was found.
[ 1.239936] spi-nand spi0.0: 256 MiB, block size: 128 KiB, page size: 2048, OOB size: 128
[ 1.245761] 18 fixed-partitions partitions found on MTD device spi0.0
[ 1.252458] Creating 18 MTD partitions on "spi0.0":
[ 1.258999] 0x000000000000-0x000000080000 : "0:SBL1"
[ 1.265981] 0x000000080000-0x0000000a0000 : "0:MIBIB"
[ 1.270246] 0x000000100000-0x000000200000 : "0:QSEE"
[ 1.277070] 0x000000200000-0x000000240000 : "0:DEVCFG"
[ 1.280530] 0x000000240000-0x000000280000 : "0:CDT"
[ 1.285815] 0x000000280000-0x0000002a0000 : "0:APPSBLENV"
[ 1.290022] 0x000000300000-0x000000440000 : "0:APPSBL"
[ 1.298050] 0x000000440000-0x000000540000 : "0:ART"
[ 1.302494] 0x000000540000-0x0000005c0000 : "0:TRAINING"
[ 1.306284] 0x0000005c0000-0x000000640000 : "u_env"
[ 1.311781] 0x000000640000-0x000000680000 : "s_env"
[ 1.315890] 0x000000680000-0x0000006c0000 : "devinfo"
[ 1.320663] 0x0000006c0000-0x0000058c0000 : "kernel"
[ 1.504239] 0x000000ec0000-0x0000058c0000 : "rootfs"
[ 1.505829] mtd: setting mtd13 (rootfs) as root device
[ 1.509124] mtdsplit: no squashfs found in "rootfs"
[ 1.513284] 0x0000058c0000-0x00000aac0000 : "alt_kernel"
[ 1.697567] 0x0000060c0000-0x00000aac0000 : "alt_rootfs"
[ 1.699431] 0x00000aac0000-0x00000acc0000 : "sysdiag"
[ 1.707912] 0x00000acc0000-0x00000f0c0000 : "syscfg"
[ 1.911877] i2c_dev: i2c /dev entries driver
[ 1.916171] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 799999 KHz, changing to: 1008000 KHz
[ 1.918454] sdhci: Secure Digital Host Controller Interface driver
[ 1.925883] sdhci: Copyright(c) Pierre Ossman
[ 1.931947] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.943182] remoteproc remoteproc0: releasing cd00000.remoteproc
[ 1.946872] NET: Registered PF_INET6 protocol family
[ 1.950347] Segment Routing with IPv6
[ 1.953273] In-situ OAM (IOAM) with IPv6
[ 1.956967] NET: Registered PF_PACKET protocol family
[ 1.961306] 8021q: 802.1Q VLAN Support v1.8
[ 2.035697] remoteproc remoteproc0: cd00000.remoteproc is available
[ 2.035964] qcom-q6-mpd cd00000.remoteproc: pd-1 node found
[ 2.042688] remoteproc remoteproc1: pd-1 is available
[ 2.053082] ubi0: attaching mtd13
[ 2.783401] ubi0: scanning is finished
[ 2.799398] ubi0: attached mtd13 (name "rootfs", size 74 MiB)
[ 2.799468] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 2.804217] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 2.810929] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 2.817805] ubi0: good PEBs: 592, bad PEBs: 0, corrupted PEBs: 0
[ 2.824572] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[ 2.830808] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 1728364340
[ 2.837852] ubi0: available PEBs: 0, total reserved PEBs: 592, PEBs reserved for bad PEB handling: 40
[ 2.847175] ubi0: background thread "ubi_bgt0d" started, PID 542
[ 2.848824] block ubiblock0_0: created from ubi0:0(rootf▒[ 2.878887] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[ 2.879960] Freeing unused kernel memory: 1536K
[ 2.885156] Run /sbin/init as init process
[ 3.163607] random: crng init done
[ 3.225472] init: Console is alive
[ 3.225897] init: - watchdog -
[ 4.341770] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 4.397603] gpio_button_hotplug: loading out-of-tree module taints kernel.
[ 4.413458] ssdk_dt_parse_mac_mode[299]:INFO:mac mode1 doesn't exit!
[ 4.413613] ssdk_dt_parse_mac_mode[307]:INFO:mac mode2 doesn't exit!
[ 4.419290] ssdk_dt_parse_port_bmp[1063]:INFO:port_bmp doesn't exist!
[ 4.425302] ssdk_dt_parse_interrupt[941]:INFO:intr-gpio does not exist
[ 6.023554] ssdk_mp_reset_init[1297]:INFO:MP reset successfully!
[ 6.384570] _adpt_mp_uniphy_clk_output_ctrl_set[255]:INFO:uniphy will output clock as 25000000Hz
[ 6.384752] regi_init[2548]:INFO:Initializing SCOMPHY Done!!
[ 6.392614] regi_init[2574]:INFO:qca-ssdk module init succeeded!
[ 6.401046] dp1: ppe offload disabled: 0 for macid 1
[ 6.404136] dp1: Switch attached to macid 1 status: 0
[ 6.409110] nss-dp 39c00000.dp1 (unnamed net_device) (uninitialized): nss_dp_gmac: Registering netdev eth%d(qcom-id:1) with GMAC, mac_base: 0xffffffc0818c0000
[ 6.484045] Qualcomm IPQ5018 internal PHY 88000.mdio-1:07: attached PHY driver (mii_bus:phy_addr=88000.mdio-1:07, irq=POLL)
[ 6.574881] GMAC2(ffffff8002a28900) Invalid MAC@ - using e2:dd:61:9c:84:17
[ 6.574952] dp2: ppe offload disabled: 0 for macid 2
[ 6.580673] dp2: Switch attached to macid 2 status: 0
[ 6.585973] nss-dp 39d00000.dp2 (unnamed net_device) (uninitialized): nss_dp_gmac: Registering netdev eth%d(qcom-id:2) with GMAC, mac_base: 0xffffffc0818f0000
[ 6.591736] Generic PHY fixed-0:00: attached PHY driver (mii_bus:phy_addr=fixed-0:00, irq=POLL)
[ 6.607399] **********************************************************
[ 6.613484] * NSS Data Plane driver
[ 6.620002] **********************************************************
[ 6.655117] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 6.666158] init: - preinit -
[ 6.765270] qca8k 90000.mdio-1:11: configuring for fixed/sgmii link mode
[ 6.773052] qca8k 90000.mdio-1:11: Link is Up - 1Gbps/Full - flow control off
[ 6.864878] qca8k 90000.mdio-1:11 wan (uninitialized): PHY [90000.mdio-1:01] driver [Qualcomm Atheros 8337 internal PHY] (irq=POLL)
[ 6.958063] qca8k 90000.mdio-1:11 lan1 (uninitialized): PHY [90000.mdio-1:02] driver [Qualcomm Atheros 8337 internal PHY] (irq=POLL)
[ 7.034908] qca8k 90000.mdio-1:11 lan2 (uninitialized): PHY [90000.mdio-1:03] driver [Qualcomm Atheros 8337 internal PHY] (irq=POLL)
[ 7.115663] qca8k 90000.mdio-1:11 lan3 (uninitialized): PHY [90000.mdio-1:04] driver [Qualcomm Atheros 8337 internal PHY] (irq=POLL)
[ 7.119370] nss-dp 39d00000.dp2 eth1: entered promiscuous mode
[ 7.126945] DSA: tree 0 setup
[ 7.372968] mtdblock: MTD device 'devinfo' is NAND, please consider using UBI block devices instead.
Cannot parse config file '/etc/fw_env.config': No such file or directory
Failed to find NVMEM device
[ 8.071991] nss-dp 39d00000.dp2 eth1: PHY Link up speed: 1000
[ 8.075288] qca8k 90000.mdio-1:11 lan1: configuring for phy/gmii link mode
[ 8.077302] adpt_mp_port_netdev_change_notify[1186]:ERROR:netdev change notify with incorrect port 0
[ 8.083608] ssdk_dev_event[2313]:ERROR:netdev change notify failed
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
[ 10.356393] UBIFS (ubi0:1): Mounting in unauthenticated mode
[ 10.356686] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 712
[ 10.432754] UBIFS (ubi0:1): recovery needed
[ 10.666290] UBIFS (ubi0:1): recovery completed
[ 10.666462] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[ 10.669654] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 10.677615] UBIFS (ubi0:1): FS size: 57393152 bytes (54 MiB, 452 LEBs), max 462 LEBs, journal size 2920448 bytes (2 MiB, 23 LEBs)
[ 10.687472] UBIFS (ubi0:1): reserved for root: 2710819 bytes (2647 KiB)
[ 10.699093] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID 27804B98-198F-44F0-844A-9A40FA435793, small LPT model
[ 10.716866] mount_root: switching to ubifs overlay
[ 10.726028] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[ 10.739803] urandom-seed: Seeding with /etc/urandom.seed
[ 10.856460] procd: - early -
[ 10.856721] procd: - watchdog -
[ 11.534323] procd: - watchdog -
[ 11.535351] procd: - ubus -
[ 11.692001] procd: - init -
Please press Enter to activate this console.
[ 12.297027] kmodloader: loading kernel modules from /etc/modules.d/*
[ 12.536771] urngd: v1.0.2 started.
[ 12.559765] hid: raw HID events driver (C) Jiri Kosina
[ 12.575494] Loading modules backported from Linux version v6.11.2-0-g7aa21fec187b
[ 12.575540] Backport generated by backports.git v6.1.110-1-32-gc61f71fe0942
[ 12.613697] NET: Registered PF_QIPCRTR protocol family
[ 12.872955] PPP generic driver version 2.4.2
[ 12.885444] NET: Registered PF_PPPOX protocol family
[ 12.925860] ath11k c000000.wifi: Not multipd architecture
[ 12.933898] ath11k c000000.wifi: ipq5018 hw1.0
[ 12.933950] ath11k c000000.wifi: FW memory mode: 2
[ 13.026225] remoteproc remoteproc1: powering up pd-1
[ 13.044131] remoteproc remoteproc1: Booting fw image ath11k/IPQ5018/hw1.0/q6_fw.mdt, size 1820
[ 13.044204] remoteproc remoteproc0: powering up cd00000.remoteproc
[ 13.051673] remoteproc remoteproc0: Booting fw image ath11k/IPQ5018/hw1.0/q6_fw.mdt, size 1820
[ 15.381258] remoteproc remoteproc0: remote processor cd00000.remoteproc is now up
[ 15.400232] remoteproc remoteproc1: remote processor pd-1 is now up
[ 15.407364] ath11k_pci 0001:01:00.0: BAR 0: assigned [mem 0xa0400000-0xa05fffff 64bit]
[ 15.407483] ath11k_pci 0001:01:00.0: enabling device (0000 -> 0002)
[ 15.415305] ath11k_pci 0001:01:00.0: MSI vectors: 16
[ 15.420381] ath11k_pci 0001:01:00.0: qcn9074 hw1.0
[ 15.425620] ath11k_pci 0001:01:00.0: FW memory mode: 2
[ 15.425981] ath11k c000000.wifi: qmi fail to get qcom,m3-dump-addr, ignore m3 dump mem req
[ 15.442228] ath11k c000000.wifi: chip_id 0x0 chip_family 0x4 board_id 0xff soc_id 0xffffffff
[ 15.443671] ath11k c000000.wifi: fw_version 0x270206d0 fw_build_timestamp 2022-08-04 13:28 fw_build_id WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1
[ 15.678721] mhi mhi0: Requested to power ON
[ 15.678807] mhi mhi0: Power on setup success
[ 16.973577] mhi mhi0: Wait for device to enter SBL or Mission mode
[ 17.052976] batman_adv: B.A.T.M.A.N. advanced 2024.2-openwrt-1 (compatibility version 15) loaded
[ 17.061621] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 17.072768] ath11k_pci 0001:01:00.0: chip_id 0x0 chip_family 0x0 board_id 0xff soc_id 0xffffffff
[ 17.072824] ath11k_pci 0001:01:00.0: fw_version 0x290607b9 fw_build_timestamp 2023-10-12 01:21 fw_build_id
[ 17.779696] ath11k_pci 0001:01:00.0: htt event 48 not handled
[ 24.536852] nss-dp 39d00000.dp2 eth1: PHY Link is down
[ 24.563802] nss-dp 39d00000.dp2 eth1: PHY Link up speed: 1000
[ 24.587962] qca8k 90000.mdio-1:11 lan1: configuring for phy/gmii link mode
[ 24.638511] br-lan: port 1(lan1) entered blocking state
[ 24.638580] br-lan: port 1(lan1) entered disabled state
[ 24.643234] qca8k 90000.mdio-1:11 lan1: entered allmulticast mode
[ 24.647895] nss-dp 39d00000.dp2 eth1: entered allmulticast mode
[ 24.658363] qca8k 90000.mdio-1:11 lan1: entered promiscuous mode
[ 24.711763] qca8k 90000.mdio-1:11 lan2: configuring for phy/gmii link mode
[ 24.723919] br-lan: port 2(lan2) entered blocking state
[ 24.723984] br-lan: port 2(lan2) entered disabled state
[ 24.728286] qca8k 90000.mdio-1:11 lan2: entered allmulticast mode
[ 24.747368] qca8k 90000.mdio-1:11 lan2: entered promiscuous mode
[ 24.780581] qca8k 90000.mdio-1:11 lan3: configuring for phy/gmii link mode
[ 24.782248] br-lan: port 3(lan3) entered blocking state
[ 24.786603] br-lan: port 3(lan3) entered disabled state
[ 24.797271] qca8k 90000.mdio-1:11 lan3: entered allmulticast mode
[ 24.805994] qca8k 90000.mdio-1:11 lan3: entered promiscuous mode
[ 24.859107] qca8k 90000.mdio-1:11 wan: configuring for phy/gmii link mode
[ 25.594059] adpt_mp_port_netdev_change_notify[1186]:ERROR:netdev change notify with incorrect port 0
[ 25.594128] ssdk_dev_event[2313]:ERROR:netdev change notify failed
root@OpenWrt:~# ifconfig
br-lan Link encap:Ethernet HWaddr 80:69:1A:CD:90:B8
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fd1b:e021:47ec::1/60 Scope:Global
inet6 addr: fe80::8269:1aff:fecd:90b8/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:2876 (2.8 KiB)
eth1 Link encap:Ethernet HWaddr 80:69:1A:CD:90:B8
inet6 addr: fe80::8269:1aff:fecd:90b8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1502 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:183 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:45668 (44.5 KiB)
Interrupt:36
lan1 Link encap:Ethernet HWaddr 80:69:1A:CD:90:B8
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:1420 (1.3 KiB)
lan2 Link encap:Ethernet HWaddr 80:69:1A:CD:90:B8
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:1456 (1.4 KiB)
lan3 Link encap:Ethernet HWaddr 80:69:1A:CD:90:B8
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:400 errors:0 dropped:0 overruns:0 frame:0
TX packets:400 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:31360 (30.6 KiB) TX bytes:31360 (30.6 KiB)
wan Link encap:Ethernet HWaddr 80:69:1A:CD:90:B8
inet6 addr: fe80::8269:1aff:fecd:90b8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:148 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:39786 (38.8 KiB)
root@OpenWrt:~# [ 599.994088] adpt_mp_port_netdev_change_notify[1186]:ERROR:netdev change notify with incorrect port 0
[ 599.994093] qca8k 90000.mdio-1:11 wan: Link is Down
[ 600.002304] ssdk_dev_event[2313]:ERROR:netdev change notify failed
it detects a conenction ont he 4 ports but doesnt link them (on ipv4 at least) and it thinks wan is the lan port next to WAN
this isnt the wierd behavior though!
With the power switch to the right the system boots and fails consistently
Format: Log Type - Time(microsec) - Message - Optional Info
Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic
S - QC_IMAGE_VERSION_STRING=BOOT.BF.3.3.1.1-00075
S - IMAGE_VARIANT_STRING=MAACANAZA
S - OEM_IMAGE_VERSION_STRING=CRM
S - Boot Config, 0x000002c5
B - 127 - PBL, Start
B - 1559 - bootable_media_detect_entry, Start
B - 3841 - bootable_media_detect_success, Start
B - 3845 - elf_loader_entry, Start
B - 9258 - auth_hash_seg_entry, Start
B - 9619 - auth_hash_seg_exit, Start
B - 106222 - elf_segs_hash_verify_entry, Start
B - 175879 - PBL, End
B - 144478 - SBL1, Start
B - 205844 - GCC [RstStat:0x0, RstDbg:0x600000] WDog Stat : 0x4
B - 213957 - clock_init, Start
D - 7564 - clock_init, Delta
B - 221704 - boot_flash_init, Start
D - 13755 - boot_flash_init, Delta
B - 235521 - boot_config_data_table_init, Start
D - 5307 - boot_config_data_table_init, Delta - (575 Bytes)
B - 243908 - Boot Setting : 0x00000618
B - 250100 - CDT version:2,Platform ID:8,Major ID:4,Minor ID:0,Subtype:1
B - 257023 - sbl1_ddr_set_params, Start
B - 258640 - Pre_DDR_clock_init, Start
B - 264282 - Pre_DDR_clock_init, End
B - 906887 - do ddr sanity test, Start
D - 30 - do ddr sanity test, Delta
B - 911492 - Error code 4 at boot_error_handler.c Line 495
with the power switch to the left (towards the wps / reset buttons), the system boots (and succeeds) to either partition. This can be toggled by power cycling 3 times after uboot has been triggered.
are you planning on adding nss support ? I am working on adding it for the b3000, I have just compiled with the 12.5 dvr with little trouble. Everything seems to have built correctly. I am just curious as to why you decided not to pursue nss support , I am sure you've got good reason, care to elaborate ?