Open i3roly opened 3 years ago
Intel’s sdk supports two kernels, 3.10 and 4.9, and does not support 4.14. If you want to get more information about the 4.9 kernel, you can see https://gitlab.com/prpl-foundation/intel/linux/-/tree/ugw_8.4.2
What's up paldier.
This is exciting stuff. I'll get back to you on a few things.
I want to mention that when I put the drivers/net dir in my own buldroot, it whined about LOGGER issues.
admittedly, when I cloned your git and tried to build, I got errors that seemed to reflect differences between 4.14 and 4.9.
someone as schooled as you could comment as to whether the existing code can be ported to 4.14?
I'm trying to consolidate mips targets.
From: paldier Sent: Friday, 2 April 2021 6:15 PM To: MerlinRdev/bluecave-merlin Reply To: MerlinRdev/bluecave-merlin Cc: gagan sidhu; Author Subject: Re: [MerlinRdev/bluecave-merlin] GRX350/500 in-kernel support (#21)
Intel’s sdk supports two kernels, 3.10 and 4.9, and does not support 4.14. If you want to get more information about the 4.9 kernel, you can see https://gitlab.com/prpl-foundation/intel/linux/-/tree/intel-4.9.218
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/MerlinRdev/bluecave-merlin/issues/21#issuecomment-812762207, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AITLEG7SXOJ3GK4PJTSICQLTGZMZ7ANCNFSM42JIODIA.
greetings you beautiful man @paldier.
i can confirm i have succesfully loaded mtlkroot using your built root built against my DD-WRT 4.14 :
Apr 2 19:41:37 DD-WRT user.info kernel: Loading modules backported from Linux version v5.1-e93c9c99a629c61837d5a7fc2120cd2b6c70dbdd
Apr 2 19:41:37 DD-WRT user.info kernel: Backport generated by backports.git v3.10.104
Apr 2 19:41:37 DD-WRT user.warn kernel: [MTLKD] Allocated netdev rtlog0 addr 8395c000
Apr 2 19:41:42 DD-WRT user.warn kernel: [MTLKD] Netlink module cleanup done
Apr 2 19:41:42 DD-WRT user.warn kernel: [MTLKD] Unloading rtlog_netdev
what i found interesting is that it would not load against my v5.10.16-1 backports
[92073.497172] Loading modules backported from Linux version wireless-drivers-next-2021-02-12-0-g9d083348e938
[92073.497186] Backport generated by backports.git v5.10.16-1-0-g21d2a1d2
[92073.505179] [MTLKD] Allocated netdev rtlog0 addr 85a5f800
[92073.505253] [MTLKD] Failed to register Netlink family: res=-22
[92073.505282] [MTLKD] Unloading rtlog_netdev
the only concern i have with the porting is the warning:
warning: ignoring attribute ‘packed’ because it conflicts with attribute ‘aligned’
Uwe spoke about it here and i'm not sure if i should be too worried.
does this look promising enough for me to grab this clearance RAX40? my only other reservation is about the actual arch/mips/lantiq code for the GRX500 (which is what i presumably enable for the RAX40) not compiling cleanly.
given this driver compiled relatively cleanly, should i be concerned?
RAX40? prplwrt is the best.
RAX40 is the netgear AX4 (see here https://wikidevi.wi-cat.ru/Netgear_RAX40_(Nighthawk_AX4))
i've never used PRPLWRT but from what i can see that is a different group of users.
i'm trying to bring this platform to the mainstream.
I don't think openwrt will accept patches related to grx500.
i'm not a part of openwrt or dd-wrt. both of their leaders do not like me because i criticise their choices and call them stupid.
i am curious to see if i can patch 4.14 using the prplfoundation 4.9 patches.
i don't know why openwrt abandoned any lantiq support. i was surprised to see they even had patches for 4.9.
their mt76 driver for the mt7615 driver is extremely poor, but they continue to plug their ears whilst making loud noises to drown out any criticisms. it seems this is how things operate with certain groups.
There are some lantiq developers in the prplwrt, so joining the prplwrt is the best choice.
I will be perusing the sources in the next few days. I'm happy I got this driver to build. Now I have to see if the changes to mips CPS/etc between 4.9 and 4.14 are tolerated by the existing grx500 arch/mips/lantiq code
From: paldier Sent: Friday, 2 April 2021 8:39 PM To: MerlinRdev/bluecave-merlin Reply To: MerlinRdev/bluecave-merlin Cc: gagan sidhu; Author Subject: Re: [MerlinRdev/bluecave-merlin] GRX350/500 in-kernel support (#21)
There are some lantiq developers in the prplwrt, so joining the prplwrt is the best choice.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/MerlinRdev/bluecave-merlin/issues/21#issuecomment-812784795, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AITLEGYRO4V6SFUBAXHU5VTTGZ5XXANCNFSM42JIODIA.
what's up @paldier so now that i have full support for popular D-LINK devices, i'm looking at this stuff again.
i have a question for you man, which 4.9 patches are important?
i saw this list of patches: https://github.com/paldier/prplwrt/tree/master/target/linux/lantiq/patches-4.14
but i also remember seeing one directory called "patches-4.9" that had over 100 patches. some of them were hotfixes to the drivers: (edit found it!!): https://github.com/prplfoundation/feed-intel/tree/intel-19.07/intel_mips/patches-4.9
i want to be sure i'm using the latest and up-to-date patches.
hello brother @paldier. i applied all the patches, lol.
my question for you is what a good configuration file would be.
https://github.com/paldier/feed_target_mips/blob/ugw-8.4.2-cleanup/xrx500_4kec/config-default
seems very minimal. i wanna know what ehternet driver, spi , etc i should be configuring.
let's say i want to try this with TP-LINK AX50
4kec is only for bootcore, useless
should i use this as a template? :
https://github.com/paldier/feed_target_mips/blob/ugw-8.4.2-cleanup/xrx500/config-default
also, in terms of kernel configuration, can we consider PXB4385/PXB4395/GRX350 as equivalent?
There are 6 versions of grx350, only one is not discontinued, npu is automatically configured by firmware, so it's no different to you.
so CONFIG_SOC_GRX500 covers all of the existing SoCs (which are "GRX350" i assume)?
grx500 includes all grx350 and grx550(except the first version). In fact, it’s just that their clock speeds are different.
thanks man.
is iwlwav only for WAV654? or will it work for all 6 versions of the grx350?
edit: i'm so fucking excited paldier. COHERENT DMA. like, i know this thing is going to haul fucking ass dude.
i feel bad for you because it seems very difficult to maintain this platform, and it seems the entire open source effort has fallen on your shoulders. you should be lauded for being composed for this long. it's an impossible task.
i've seen all the complaints about this platform and it just amazes me people even have it running on 3.10, let alone manufacturers distributing it.
iwlwav only supports wav600 now, the support for wav500 has not been completed, it looks like it won't be finished. The performance of the 3.x kernel is the best(non hardware nat). The performance of the 4.x kernel is only equivalent to 60%-80% of the 3.x kernel
was wav500 support close to being finished?
maybe your 3.x kernel builds are good, but a lot of the noobs who bought this SoC off the shelf are complaining about multiple reboots etc.
personally i have higher hopes for my build. i know for my RALINK 4.x build it's pretty close to padavan, but i can't fully test since i don't have a 160MHz client.
you say no hardware nat acceleration for 3.x. i assume hardware nat kernel is even more difficult to build?
iwlwav is an open source driver in 4.x kernel, the closed source driver supports wav500 and wav600 in the 3.x kernel.
so you mean i have to sign an NDA to get the closed source driver? no hope of an update to 4.x?
hopefully iwlwav performance on 3.x isn't bad, if you're able to backport it? just curious about its performance.
@paldier i assume HW acceleration is from CONFIG_PPA.
CONFIG_PPA_API_DIRECTPATH=y
# CONFIG_PPA_API_DIRECTCONNECT is not set
CONFIG_PPA_API_SW_FASTPATH=y
CONFIG_PPA_TCP_LITEPATH=y
CONFIG_PPA_TMU_MIB_SUPPORT=y
# CONFIG_PPA_BR_MAC_LEARNING is not set
CONFIG_PPA_RT_SESS_LEARNING=y
# CONFIG_PPA_BR_SESS_LEARNING is not set
# CONFIG_PPA_MPE_IP97 is not set
are these defaults appropriate for all platforms? 4.9 builds no problem with it enabled ^_^ very excited lol
@paldier what DTS do i use? will easywan_350.dts work for the AX50?
i'm so pumped. tomorrow (~16 hours) is testing day.
this thing is going to haul ass brother, i "believe"!!!
@paldier it's so weird flashing this thing. any tips?
the unaffiliated individual who acquired this device noticed that the bootloader menu is not typical, and is perplexed as to how to try a different image.
they're used to the typical operation of creating a uImage from mkimage, then appending the ubinized squashfs, followed by selecting 'write to flash from TFTP' in u-boot.
in comparison, this bootloader seems very different.
they are excited, but confused!
using this as a template: https://github.com/nirmitg/openwrt/blob/5f915c2dc4bea3d682972ce8471599d0ea1a900c/ugw/target/linux/lantiq/image/Makefile.openwrt
i know you don't support AX50 but i thought you'd have some ideas. i didn't know they'd be this different. tp-link's upgrade image seems like a nightmare:
GagansMacPro:router Gagan$ binwalk ~/Downloads/Archer\ AX50\(US\)_V1_200708/ax50v1_intel-up-ver1-0-9-P1\[20200708-rel55037\]_signed.bin
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
4519 0x11A7 uImage header, header size: 64 bytes, header CRC: 0xB7455DE6, created: 2020-07-08 07:18:29, image size: 29654552 bytes, Data Address: 0x0, Entry Point: 0x0, data CRC: 0x506ACDE2, OS: Linux, CPU: MIPS, image type: Multi-File Image, compression type: none, image name: "TP-Link Totalimage"
4591 0x11EF uImage header, header size: 64 bytes, header CRC: 0xF85FFD41, created: 2020-07-08 07:18:28, image size: 150864 bytes, Data Address: 0x0, Entry Point: 0x0, data CRC: 0x888C4C94, OS: Linux, CPU: MIPS, compression type: lzma, image name: "U-Boot Img"
39107 0x98C3 CRC32 polynomial table, little endian
51855 0xCA8F CRC32 polynomial table, little endian
55855 0xDA2F uImage header, header size: 64 bytes, header CRC: 0x908FBBD4, created: 2020-07-08 05:01:29, image size: 99600 bytes, Data Address: 0xA0400000, Entry Point: 0xA0400000, data CRC: 0x38F8E3FA, OS: Linux, CPU: MIPS, image type: Firmware Image, compression type: lzma, image name: "u-boot image"
55919 0xDA6F LZMA compressed data, properties: 0x5D, dictionary size: 8388608 bytes, uncompressed size: 343580 bytes
155519 0x25F7F uImage header, header size: 64 bytes, header CRC: 0xCD4DD048, created: 2020-07-08 07:18:29, image size: 131072 bytes, Data Address: 0x0, Entry Point: 0x0, data CRC: 0x6C65B573, OS: Linux, CPU: MIPS, image type: Firmware Image, compression type: lzma, image name: "gphyfw"
155583 0x25FBF uImage header, header size: 64 bytes, header CRC: 0xE76A1040, created: 2020-07-08 05:01:39, image size: 29176 bytes, Data Address: 0x0, Entry Point: 0x0, data CRC: 0x6D88B827, OS: Linux, CPU: MIPS, image type: Multi-File Image, compression type: lzma, image name: "GPHY Firmware"
155655 0x26007 LZMA compressed data, properties: 0x5D, dictionary size: 8388608 bytes, uncompressed size: 65664 bytes
286655 0x45FBF uImage header, header size: 64 bytes, header CRC: 0x846655C1, created: 2020-07-08 07:17:38, image size: 26226688 bytes, Data Address: 0x0, Entry Point: 0x0, data CRC: 0x78134F7C, OS: Linux, CPU: MIPS, image type: Filesystem Image, compression type: lzma, image name: "LTQCPE RootFS"
286719 0x45FFF Squashfs filesystem, little endian, version 4.0, compression:xz, size: 26223172 bytes, 5462 inodes, blocksize: 131072 bytes, created: 2020-07-08 07:17:37
26513407 0x1948FFF uImage header, header size: 64 bytes, header CRC: 0xC71E56C7, created: 2020-07-08 05:17:29, image size: 3145664 bytes, Data Address: 0xA0020000, Entry Point: 0xA002DF00, data CRC: 0xD79B6C75, OS: Linux, CPU: MIPS, image type: OS Kernel Image, compression type: lzma, image name: "MIPS LTQCPE Linux-3.10.104"
26513471 0x194903F LZMA compressed data, properties: 0x5D, dictionary size: 8388608 bytes, uncompressed size: 9232128 bytes
@paldier hello? lol. it seems i need to figure out where to get u-boot images.
it must be as simple as including firmware and rootfs with u-boot images. could you please point me in the right direction? you have to know.
https://github.com/MerlinRdev/bluecave-merlin/tree/master/release/src-lantiq/proprietary
seems to have the gphy images, but bluecave seems slightly different.
will read this makefile more closely: https://github.com/MerlinRdev/bluecave-merlin/blob/master/release/src-rt/Makefile
@paldier can you tell me anything about the u-boot ddr3 timings file?
i'm using EVA and i need to use a newer version of the intel u-boot. but i don't have tp-link's DDR3 timings file (missing in GPL). but from what i gather, the u-boot configuration files should be there?
It is not a part of SDK
ok.
i assume i can't use xrx500_phy_fw from @blogic/@openwrt, and i must use ethernet driver's gphy-fw loader?
and i assume the firmware in https://github.com/paldier/ltq_fw_phy_ip/xRx5xx should work right?
lol switch_api is fucking HUGE man. 500K lol wtf!
@paldier bro i'm getting so jacked hooking iwlwav-hostap into the DD-WRT build tree. enabling 80211AX and ACS, settings that he has never used for his builds.
this thing better haul ass man!!
@paldier do you know if it's possible to use the iwlwav-dev backports driver with a newer backports? i'm wondering if the iwlwav-dev using backports-3.10 (instead of 4.9, which is what i'm using) may optimise performance.
i know you said intel tested on a 4.9 kernel, but i haven't tried to update the backports since the tree builds with the 4.9 target kernel easily. i didn't realise until now it's using backports 3.10
YOU'RE A FUCKING BEAST @BLOGIC, LIKE WOW!! YOU AND @PAULBURTON EXERT SUCH INFLUENCE IT'S UNBELIEVABLE.
PEACE THE FUCK OUT TO 3.10 AND SWITCH_API FOR LOADING THE FIRMWARE AND PREPPING THE SWITCH.
edit: of course an assist to my chainese friend @paldier for having the latest proprietary blawbs.
CRISPIN' INDEED.
40.473692] tun: Universal TUN/TAP device driver, 1.6
[ 40.478557] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 40.496432] phy-xrx500 1c003c00.phy-xrx500: requesting lantiq/ltq_fw_PHY11G_IP_xRx5xx_A21.bin
[ 40.505808] phy-xrx500 1c003c00.phy-xrx500: booting GPHY0 firmware for GRX500
[ 40.511669] phy-xrx500 1c003c00.phy-xrx500: booting GPHY1 firmware for GRX500
[ 40.518654] phy-xrx500 1c003c00.phy-xrx500: booting GPHY2 firmware for GRX500
[ 40.525757] phy-xrx500 1c003c00.phy-xrx500: booting GPHY3 firmware for GRX500
[ 40.532880] phy-xrx500 1c003c00.phy-xrx500: booting GPHY4 firmware for GRX500
[ 40.646741] lro_sram_membase_res0 from DT: a2013000
[ 40.650561] ltq_toe_membase: e2000000 and lro_sram_membase_res0: e2013000
[ 40.657677] TOE Init Done !!
[ 40.659961] PPP generic driver version 2.4.2
[ 40.664517] PPP BSD Compression module registered
[ 40.668846] PPP Deflate Compression module registered
[ 40.673890] PPP MPPE Compression module registered
[ 40.678643] NET: Registered protocol family 24
[ 41.331247] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[ 41.335367] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1
[ 41.343458] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f664 hci version 0x100 quirks 0x02010010
[ 41.351716] xhci-hcd xhci-hcd.2.auto: irq 283, io mem 0x1a300000
[ 41.358810] hub 1-0:1.0: USB hub found
[ 41.361352] hub 1-0:1.0: 1 port detected
[ 41.365928] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[ 41.370745] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2
[ 41.378496] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 41.387332] hub 2-0:1.0: USB hub found
[ 41.390224] hub 2-0:1.0: 1 port detected
[ 41.394808] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[ 41.399581] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 3
[ 41.407752] xhci-hcd xhci-hcd.3.auto: hcc params 0x0220f664 hci version 0x100 quirks 0x02010010
[ 41.415964] xhci-hcd xhci-hcd.3.auto: irq 284, io mem 0x1a500000
[ 41.422935] hub 3-0:1.0: USB hub found
[ 41.425590] hub 3-0:1.0: 1 port detected
[ 41.430146] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[ 41.434989] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 4
[ 41.442698] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[ 41.451573] hub 4-0:1.0: USB hub found
[ 41.454452] hub 4-0:1.0: 1 port detected
[ 41.459051] usbcore: registered new interface driver usblp
[ 41.463955] usbcore: registered new interface driver usb-storage
[ 41.470135] usbcore: registered new interface driver usbserial
[ 41.494189] i2c-lantiq 16a00000.i2c: timeout waiting for bus ready
[ 41.499073] i2c-lantiq 16a00000.i2c: ltq_i2c_xfer: bus is busy ffffff6f
[ 41.522184] i2c-lantiq 16a00000.i2c: timeout waiting for bus ready
[ 41.526912] i2c-lantiq 16a00000.i2c: ltq_i2c_xfer: bus is busy ffffff6f
[ 41.533786] ina2xx 0-0040: pm: ina219, railname: PWR_12V, Rshunt: 10000 uOhm
[ 41.542353] grx500wdt 12000000.watchdog: [grx500wdt_probe]:[333] cpu_clk=800000000
[ 41.548490] grx500wdt 12000000.watchdog: [grx500wdt_probe]WDT reset is Bit31, RCU_IAP_WDT_RST_STAT=0x73c00c08
[ 41.558373] grx500wdt 12000000.watchdog: [grx500wdt_probe]Not WDT reset.
[ 41.565251] grx500wdt 12000000.watchdog: [grx500wdt_probe]:[415] grx500_wdt = 881e6308
[ 41.573437] grx500wdt 12000000.watchdog: [grx500wdt_probe]:[415] grx500_wdt = 881fe308
[ 41.581040] grx500wdt 12000000.watchdog: H/w Watchdog Timer: (max 5) (nowayout= 0)
[ 41.592669] Device IRQ: 26 line: 101
[ 41.595136] GlobalControl97_Capabilities_Get
[ 41.599077] EIP202: PEs=1 rings=4 64-bit=No, fill level extension=No
[ 41.599077] CF size=4 RF size=3 DMA len = 10 Align=0 HDW=0 HostIfc=3
[ 41.611752] EIP96 options:
[ 41.611752] AES: Yes with CFB/OFB: Yes Fast: Yes
[ 41.611752] DES: Yes with CFB/OFB: Yes Fast: No
[ 41.611752] ARCFOUR level: 3
[ 41.611752] MD5: Yes SHA1: Yes Fast: Yes SHA256: Yes SHA512: Yes
[ 41.611752] (X)CBC-MAC: Yes Fast: Yes All key sizes: No GHASH Yes
[ 41.638502] EIP97 options: PEs=1, In Dbuf size=6 In Tbuf size=5, Out Dbuf size=6, Out Tbuf size=4,
[ 41.638502] Token Generator: No, Transform Record Cache: No
[ 41.653065] EIP206 options: PE type=0 InClassifier=0 OutClassifier=0 MAC chans=0
[ 41.653065] InDBuf=0kB InTBuf=0kB OutDBuf=0kB OutTBuf=0kB
[ 41.666277] Adapter_PECDev_Init: CDR fetch size 0x8, thresh 0x6, HDW=0, CFsize=4
[ 41.673683] Adapter_PECDev_Init: RDR fetch size 0x8, thresh 0x2, RFsize=3
[ 41.680479] Status of CDR/RDR interface 0
[ 41.684058] CDR Status: DMA err: false, err: false: ovf/under err: false
[ 41.684058] Threshold int: false, timeout int: false, FIFO count: 16
[ 41.697079] RDR Status: DMA err: false, err: false: ovf/under err: false
[ 41.697079] Buf ovf: false, Descriptor ovf false
[ 41.697079] Threshold int: false, timeout int: false, FIFO count: 8
[ 41.714807] Adapter_PECDev_Init: CDR fetch size 0x8, thresh 0x6, HDW=0, CFsize=4
[ 41.722400] Adapter_PECDev_Init: RDR fetch size 0x8, thresh 0x2, RFsize=3
[ 41.729171] Status of CDR/RDR interface 1
[ 41.732754] CDR Status: DMA err: false, err: false: ovf/under err: false
[ 41.732754] Threshold int: false, timeout int: false, FIFO count: 16
[ 41.745777] RDR Status: DMA err: false, err: false: ovf/under err: false
[ 41.745777] Buf ovf: false, Descriptor ovf false
[ 41.745777] Threshold int: false, timeout int: false, FIFO count: 8
[ 41.763305] LTQ Crypto Hardware Initialized ..
[ 41.772168] LTQ crypto driver version: 1.4.10
[ 41.775661] usbcore: registered new interface driver usbhid
[ 41.780655] usbhid: USB HID core driver
[ 41.785262] u32 classifier
[ 41.787169] Performance counters on
[ 41.790965] Actions configured
[ 41.794360] Netfilter messages via NETLINK v0.30.
[ 41.799392] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
[ 41.805330] ctnetlink v0.93: registering with nfnetlink.
[ 41.810625] ip_set: protocol 6
[ 41.813549] ipip: IPv4 and MPLS over IPv4 tunneling driver
[ 41.819713] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 41.825363] NET: Registered protocol family 10
[ 41.830456] NET: Registered protocol family 17
[ 41.833506] Bridge firewalling registered
[ 41.837459] NET4: DECnet for Linux: V.2.5.68s (C) 1995-2003 Linux DECnet Project Team
[ 41.845591] DECnet: Routing cache hash table of 1024 buckets, 8Kbytes
[ 41.851718] NET: Registered protocol family 12
[ 41.856147] 8021q: 802.1Q VLAN Support v1.8
[ 41.861503] registered taskstats version 1
[ 41.908757] Key type encrypted registered
[ 41.914581] PMAC_EG_CFG_SET for GSW-L
[ 41.916991] PMAC_IG_CFG_SET for GSW-L
[ 41.920544] PMAC_EG_CFG_SET for GSW-R
[ 41.927880] PMAC_IG_CFG_SET for GSW-R
[ 41.930428]
[ 41.930428] GSW PMAC Init Done!!!
[ 41.935076] registering one of MII bus
[ 41.938949] libphy: lantiq,xrx500-mdio: probed
[ 41.994251] registering PAE MII bus
[ 41.996373] libphy: lantiq,xrx500-mdio-pae: probed
[ 42.013531] Property intel,extra-subif not exist for if eth0_0 0
[ 42.018293] [datapath_proc] { dp_sub_proc_install_30 : 1228 }dp_sub_proc_install ok
[ 42.025803] [cbm] { dp_port_alloc : 2854 }flags 0x2
[ 42.030609] [cbm] { cbm_add_to_list : 250 }2
[ 42.034854] [cbm] { dp_port_alloc : 3002 }disabling q 16 port 6
[ 42.040758] [cbm] { dp_port_alloc : 3008 }first time LOOKUP prgrm
[ 42.047195] [cbm] { dp_port_alloc : 3013 }1024
[ 42.051472] no interface attached to this interface!
[ 42.056233] xrx500_of_iface: rx csum offload is enabled !
[ 42.061643] [cbm] { dp_enable : 3315 }ep=1 tmu_port=6 queue=16 sid=0
[ 42.067944] [cbm] { dp_enable : 3358 }enable queue 16
[ 42.072933] [cbm] { dp_enable : 3359 }flag 1 refcnt 1024
[ 42.079383] Property intel,extra-subif not exist for if eth0_1 0
[ 42.084292] [cbm] { dp_port_alloc : 2854 }flags 0x2
[ 42.089112] [cbm] { cbm_add_to_list : 250 }2
[ 42.093361] [cbm] { dp_port_alloc : 3002 }disabling q 17 port 7
[ 42.099265] [cbm] { dp_port_alloc : 3008 }first time LOOKUP prgrm
[ 42.105699] [cbm] { dp_port_alloc : 3013 }1024
[ 42.110125] xrx500_of_iface: rx csum offload is enabled !
[ 42.115196] trying to connect: eth0_1 to device: 0:02 with irq: 285
[ 42.224463] eth0_1: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:02, irq=285)
[ 42.242058] [cbm] { dp_enable : 3315 }ep=2 tmu_port=7 queue=17 sid=1
[ 42.246975] [cbm] { dp_enable : 3358 }enable queue 17
[ 42.251966] [cbm] { dp_enable : 3359 }flag 1 refcnt 1024
[ 42.258448] Property intel,extra-subif not exist for if eth0_2 0
[ 42.263294] [cbm] { dp_port_alloc : 2854 }flags 0x2
[ 42.268145] [cbm] { cbm_add_to_list : 250 }2
[ 42.272393] [cbm] { dp_port_alloc : 3002 }disabling q 18 port 8
[ 42.278298] [cbm] { dp_port_alloc : 3008 }first time LOOKUP prgrm
[ 42.284732] [cbm] { dp_port_alloc : 3013 }1024
[ 42.289184] xrx500_of_iface: rx csum offload is enabled !
[ 42.294234] trying to connect: eth0_2 to device: 0:03 with irq: 286
[ 42.400857] eth0_2: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:03, irq=286)
[ 42.418454] [cbm] { dp_enable : 3315 }ep=3 tmu_port=8 queue=18 sid=2
[ 42.423369] [cbm] { dp_enable : 3358 }enable queue 18
[ 42.428361] [cbm] { dp_enable : 3359 }flag 1 refcnt 1024
[ 42.434831] Property intel,extra-subif not exist for if eth0_3 0
[ 42.439708] [cbm] { dp_port_alloc : 2854 }flags 0x2
[ 42.444539] [cbm] { cbm_add_to_list : 250 }2
[ 42.448788] [cbm] { dp_port_alloc : 3002 }disabling q 19 port 9
[ 42.454693] [cbm] { dp_port_alloc : 3008 }first time LOOKUP prgrm
[ 42.461130] [cbm] { dp_port_alloc : 3013 }1024
[ 42.465516] xrx500_of_iface: rx csum offload is enabled !
[ 42.470621] trying to connect: eth0_3 to device: 0:04 with irq: 287
[ 42.576577] eth0_3: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:04, irq=287)
[ 42.594189] [cbm] { dp_enable : 3315 }ep=4 tmu_port=9 queue=19 sid=3
[ 42.599101] [cbm] { dp_enable : 3358 }enable queue 19
[ 42.604095] [cbm] { dp_enable : 3359 }flag 1 refcnt 1024
[ 42.610610] Property intel,extra-subif not exist for if eth0_4 0
[ 42.615432] [cbm] { dp_port_alloc : 2854 }flags 0x2
[ 42.620275] [cbm] { cbm_add_to_list : 250 }2
[ 42.624522] [cbm] { dp_port_alloc : 3002 }disabling q 20 port 10
[ 42.630518] [cbm] { dp_port_alloc : 3008 }first time LOOKUP prgrm
[ 42.636952] [cbm] { dp_port_alloc : 3013 }1024
[ 42.641336] xrx500_of_iface: rx csum offload is enabled !
[ 42.646441] trying to connect: eth0_4 to device: 0:05 with irq: 288
[ 42.752972] eth0_4: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:05, irq=288)
[ 42.770568] [cbm] { dp_enable : 3315 }ep=5 tmu_port=10 queue=20 sid=4
[ 42.775573] [cbm] { dp_enable : 3358 }enable queue 20
[ 42.780559] [cbm] { dp_enable : 3359 }flag 1 refcnt 1024
[ 42.787016] Property intel,extra-subif not exist for if eth1 0
[ 42.791732] [cbm] { dp_port_alloc : 2854 }flags 0x4
[ 42.796565] [cbm] { cbm_add_to_list : 250 }1
[ 42.800813] [cbm] { dp_port_alloc : 3002 }disabling q 28 port 19
[ 42.806803] [cbm] { dp_port_alloc : 3008 }first time LOOKUP prgrm
[ 42.813242] [cbm] { dp_port_alloc : 3013 }1024
[ 42.817627] xrx500_of_iface: rx csum offload is enabled !
[ 42.822730] trying to connect: eth1 to device: 1:01 with irq: 289
[ 42.928493] eth1: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=1:01, irq=289)
[ 42.946089] [cbm] { dp_enable : 3315 }ep=15 tmu_port=19 queue=28 sid=12
[ 42.951268] [cbm] { dp_enable : 3358 }enable queue 28
[ 42.956259] [cbm] { dp_enable : 3359 }flag 1 refcnt 1024
[ 42.962741] Lantiq ethernet driver for XRX500 init.
[ 42.966815] searching for nvram
[ 42.969552] nvram size = 524288
[ 43.270900] found nvram at 0
[ 43.570961] clk: Not disabling unused [ 43.581974] Freeing unused kernel: 296k freed
[ 43.585006] This architecture does not have kernel memory protection.
[ 43.591312] Now calling with ramdisk_execute_command...
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
bash-5.1# [ 47.352129] xrx500-eth 1e000000.ssx0:eth@a00000 eth0_4: Link is Up - 1Gbps/Full - flow control rx/tx
bash-5.1# cat /proc/net/dev
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
eth0_0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
lo: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
eth0_4: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
tunl0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
eth0_1: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
eth1: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
teql0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
eth0_2: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
eth0_3: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
now to figure out how to get this switch into a singular interface
then it's on to the bullshit environment stuff that is, for some reason or another, being super annoying.
excited for tomorrow @paldier.
i think i got the hooks for PPA acceleration in 4.9
tomorrow we will test. then hopefully wifi driver. just want ethernet driver working right, and it seems i needed full ppa driver (i only had hook before) for functional switch;
ah6.ko cdc_mbim.ko ebt_arpreply.ko ebt_snat.ko etherip.ko imq.ko ip6t_rpfilter.ko l2tp_netlink.ko modules.alias mpls_iptunnel.ko nf_defrag_ipv6.ko ntfs3.ko sch_cake.ko usbip-host.ko xfrm_ipcomp.ko
asix.ko cdc_ncm.ko ebt_dnat.ko ebt_stp.ko fast-classifier.ko ip6_tables.ko ip6t_rt.ko l2tp_ppp.ko modules.alias.bin mpls_router.ko nf_nat_h323.ko option.ko sch_fq_codel_fast.ko usbnet.ko xt_DSCP.ko
asn1_decoder.ko cfg80211.ko ebt_ip.ko ebt_vlan.ko fou.ko ip6_tunnel.ko ip6table_filter.ko ltq_dp_test.ko modules.builtin mtlk.ko nf_nat_ipv6.ko pl2303.ko sha512_generic.ko vhci-hcd.ko xt_IMQ.ko
authenc.ko cifs.ko ebt_ip6.ko ebtable_broute.ko fou6.ko ip6_udp_tunnel.ko ip6table_mangle.ko ltq_pae_hal.ko modules.builtin.bin mtlkroot.ko nf_nat_masquerade_ipv6.ko ppa_api.ko sierra.ko wireguard.ko xt_addrtype.ko
authencesn.ko cmac.ko ebt_limit.ko ebtable_filter.ko fscache.ko ip6t_MASQUERADE.ko ip6table_nat.ko ltq_voip_timer_driver.ko modules.dep n_hdlc.ko nf_nat_pptp.ko ppa_api_sw_accel_mod.ko sierra_net.ko xfrm6_mode_beet.ko xt_ndpi.ko
ax88179_178a.ko compat.ko ebt_log.ko ebtable_nat.ko ftdi_sio.ko ip6t_NPT.ko ipcomp6.ko lzma_compress.ko modules.dep.bin net1080.ko nf_nat_proto_gre.ko ppa_drv_stack_al.ko sit.ko xfrm6_mode_ro.ko xt_physdev.ko
ccm.ko dns_resolver.ko ebt_mark.ko ebtables.ko fuse.ko ip6t_REJECT.ko ipheth.ko lzma_decompress.ko modules.devname nf_conntrack_h323.ko nf_reject_ipv6.ko pptp.ko tunnel6.ko xfrm6_mode_transport.ko
cdc-acm.ko ebt_802_3.ko ebt_mark_m.ko echainiv.ko gre.ko ip6t_ah.ko jffs2.ko mac80211.ko modules.softdep nf_conntrack_ipv6.ko nls_ascii.ko qcserial.ko udp_tunnel.ko xfrm6_mode_tunnel.ko
cdc-wdm.ko ebt_among.ko ebt_pkttype.ko eoip.ko huawei_cdc_ncm.ko ip6t_frag.ko ksmbd.ko md4.ko modules.symbols nf_conntrack_pptp.ko nls_cp437.ko qmi_wwan.ko usb_wwan.ko xfrm6_tunnel.ko
cdc_ether.ko ebt_arp.ko ebt_redirect.ko esp6.ko ila.ko ip6t_ipv6header.ko l2tp_core.ko mip6.ko modules.symbols.bin nf_conntrack_proto_gre.ko nls_utf8.ko qos_hal_drv.ko usbip-core.ko xfrm_algo.ko
can't test for a few more hours, but did some easy stuff:
bash-5.1# modprobe ppa_api
[ 76.028939] PPA API --- init successfully
[ 76.032000] PPA DRV --- init successfully
bash-5.1# modprobe ltq_pae_hal
bash-5.1# modprobe ppa_api_sw_accel_mod
bash-5.1# modprobe ppa_drv_stack_al
bash-5.1# modprobe ltq_dp_test
[ 281.854848] add_routing_entry Success sip=3232235778 dip=1684300801 sp=5000 dp=80
[ 281.861033] add_routing_entry Success sip=1684300801 dip=1684300802 sp=80 dp=4000
[ 281.868388] ipv4 route added.. !
[ 281.871583] pae hal test loaded.. !
bash-5.1# modprobe qos_hal_drv
[ 288.773080] qos_hal_ll_init:3567 ERROR Failed to Get DP Dequeue Resources
modprobe: ERROR: could not insert 'qos_hal_drv': Operation not permitted
bash-5.1# lsmod
Module Size Used by
ltq_dp_test 11353 0
ppa_api_sw_accel_mod 11126 0
ltq_pae_hal 73922 1 ltq_dp_test
ppa_api 429110 1 ppa_api_sw_accel_mod
ppa_drv_stack_al 52610 4 ppa_api,ltq_pae_hal,ppa_api_sw_accel_mod,ltq_dp_test
have to figure out what's up with ll_init, butthis should mean hardware acceleration right @paldier? looks good??
how do you build ppacmd @paldier? this is annoying :P do i have to use an "in-tree" build? i notice it's also using libsafec, and wonder if that's required as well.
seems i need ppacmd, but it doesn't seem simple to build it ;/ edit: begin sizzling sound
mips64-none-linux-gnu-gcc -mabi=32 -O2 -ffunction-sections -fdata-sections -Wl,--gc-sections -mabi=32 -pipe -mtune=interaptiv -funit-at-a-time -mllsc -fno-caller-saves -mno-branch-likely -fno-plt -fcommon -flto -DCONFIG_PPA_HANDLE_CONNTRACK_SESSIONS -DMIB_MODE_ENABLE -DCONFIG_LTQ_PPA_IPv6_ENABLE -DCONFIG_LTQ_PPA_QOS -DCONFIG_SOC_GRX500 -DCONFIG_LTQ_PPA_QOS_WFQ -DCONFIG_LTQ_PPA_QOS_RATE_SHAPING -DCONFIG_LTQ_PPA_API_SW_FASTPATH -I./ -c -o ppacmd.o ppacmd.c
In file included from ./net/ppa/ppa_stack_al.h:48,
from ./net/ppa_api.h:64,
from ppacmd.h:66,
from ppacmd.c:41:
./net/datapath_api.h:315:9: warning: 'struct sk_buff' declared inside parameter list will not be visible outside of this definition or declaration
315 | struct sk_buff *skb, int32_t len);/*!< @brief Device Receive
| ^~~~~~~
./net/datapath_api.h:340:9: warning: 'struct sk_buff' declared inside parameter list will not be visible outside of this definition or declaration
340 | struct sk_buff *skb, void *subif_data, u_int8_t dst_mac[DP_MAX_ETH_ALEN],
| ^~~~~~~
./net/datapath_api.h:860:30: warning: 'struct module' declared inside parameter list will not be visible outside of this definition or declaration
860 | int32_t dp_alloc_port(struct module *owner, struct net_device *dev,
| ^~~~~~
./net/datapath_api.h:883:44: warning: 'struct module' declared inside parameter list will not be visible outside of this definition or declaration
883 | int32_t dp_alloc_port_ext(int inst, struct module *owner,
| ^~~~~~
./net/datapath_api.h:899:32: warning: 'struct module' declared inside parameter list will not be visible outside of this definition or declaration
899 | int32_t dp_register_dev(struct module *owner, u_int32_t port_id,
| ^~~~~~
./net/datapath_api.h:914:46: warning: 'struct module' declared inside parameter list will not be visible outside of this definition or declaration
914 | int32_t dp_register_dev_ext(int inst, struct module *owner,
| ^~~~~~
./net/datapath_api.h:933:34: warning: 'struct module' declared inside parameter list will not be visible outside of this definition or declaration
933 | int32_t dp_register_subif(struct module *owner, struct net_device *dev,
| ^~~~~~
./net/datapath_api.h:955:9: warning: 'struct module' declared inside parameter list will not be visible outside of this definition or declaration
955 | struct module *owner,
| ^~~~~~
./net/datapath_api.h:972:10: warning: 'struct sk_buff' declared inside parameter list will not be visible outside of this definition or declaration
972 | struct sk_buff *skb, int32_t len, u_int32_t flags);
| ^~~~~~~
./net/datapath_api.h:1014:63: warning: 'struct sk_buff' declared inside parameter list will not be visible outside of this definition or declaration
1014 | int32_t dp_get_netif_subifid(struct net_device *netif, struct sk_buff *skb,
| ^~~~~~~
./net/datapath_api.h:1027:22: warning: 'struct sk_buff' declared inside parameter list will not be visible outside of this definition or declaration
1027 | int32_t dp_rx(struct sk_buff *skb, u_int32_t flags);
| ^~~~~~~
./net/datapath_api.h:1052:17: warning: 'struct rtnl_link_stats64' declared inside parameter list will not be visible outside of this definition or declaration
1052 | struct rtnl_link_stats64 *path_stats, u_int32_t flags);
| ^~~~~~~~~~~~~~~~~
ppacmd.c: In function 'ppa_parse_modify_session_cmd':
ppacmd.c:4362:47: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion]
4362 | pdata->session_extra_info.session = (void *)str_convert(STRING_TYPE_INTEGER, popts->optarg, NULL);
| ^
ppacmd.c: In function 'ppa_parse_set_session_timer_cmd':
ppacmd.c:4459:47: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion]
4459 | pdata->session_timer_info.session = (void *)str_convert(STRING_TYPE_INTEGER, popts->optarg, NULL);
| ^
ppacmd.c: In function 'ppa_set_sw_session_cmd':
ppacmd.c:8089:51: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion]
8089 | pdata->sw_session_enable_info.session = (void *)str_convert(STRING_TYPE_INTEGER, popts->optarg, NULL);
| ^
ppacmd.c: In function 'ppa_get_sw_session_cmd':
ppacmd.c:8147:51: warning: assignment to 'uint32_t' {aka 'unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion]
8147 | pdata->sw_session_enable_info.session = (void *)str_convert(STRING_TYPE_INTEGER, popts->optarg, NULL);;
| ^
ppacmd.c: At top level:
ppacmd.c:10516:9: warning: initialization of 'void (*)(PPA_CMD_DATA *)' from incompatible pointer type 'int (*)(PPA_COMMAND *, PPA_CMD_DATA *)' {aka 'int (*)(struct ppa_cmd_t *, PPA_CMD_DATA *)'} [-Wincompatible-pointer-types]
10516 | ppa_get_session_criteria,
| ^~~~~~~~~~~~~~~~~~~~~~~~
ppacmd.c:10516:9: note: (near initialization for 'ppa_cmd[46].print_data')
mips64-none-linux-gnu-gcc -mabi=32 -O2 -ffunction-sections -fdata-sections -Wl,--gc-sections -mabi=32 -pipe -mtune=interaptiv -funit-at-a-time -mllsc -fno-caller-saves -mno-branch-likely -fno-plt -fcommon -flto -DCONFIG_PPA_HANDLE_CONNTRACK_SESSIONS -DMIB_MODE_ENABLE -DCONFIG_LTQ_PPA_IPv6_ENABLE -DCONFIG_LTQ_PPA_QOS -DCONFIG_SOC_GRX500 -DCONFIG_LTQ_PPA_QOS_WFQ -DCONFIG_LTQ_PPA_QOS_RATE_SHAPING -DCONFIG_LTQ_PPA_API_SW_FASTPATH -I./ -o ppacmd ppacmd_autotest.o ppacmd.o
In function 'pcap_open_live',
inlined from 'ppa_test_automation_main.isra' at ppacmd_autotest.c:1534:52:
ppacmd_autotest.c:1290:20: warning: 'memcpy' writing 23 bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]
1290 | if(errbuf) strcpy(errbuf, "Socket opening error!\n");
| ^
ppacmd_autotest.c:1301:20: warning: 'memcpy' writing 46 bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]
1301 | if(errbuf) strcpy(errbuf, "Error getting Interface index for interface!\n");
| ^
ppacmd_autotest.c:1314:20: warning: 'memcpy' writing 13 bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]
1314 | if(errbuf) strcpy(errbuf, "bind error!\n");
| ^
GagansMacPro:src Gagan$ ls -lh ppacmd
-rwxr-xr-x 1 Gagan staff 179K May 17 16:55 ppacmd
GagansMacPro:src Gagan$ mips64-none-linux-gnu-strip ppacmd
GagansMacPro:src Gagan$ ls -lh ppacmd
-rwxr-xr-x 1 Gagan staff 147K May 17 16:56 ppacmd
end sizzling sound let's hope it works right @paldier. testing in a minute!
MY CHINESE FRIEND, I MUST SAY I COMMEND YOUR HARD WORK MAINTAINING THESE REPOSITORIES. VERY GOOD, MAN
[ 52.709109] fast-classifier: registered
[ 327.180047] add_routing_entry Success sip=3232235778 dip=1684300801 sp=5000 dp=80
[ 327.180174] add_routing_entry Success sip=1684300801 dip=1684300802 sp=80 dp=4000
[ 327.180192] ipv4 route added.. !
[ 327.180196] pae hal test loaded.. !
[ 346.274635] PPA API --- init successfully
[ 346.276274] PPA DRV --- init successfully
[ 384.009085] ppa_netif_add Success for netif=br0
[ 384.009182] Installed the ppa netfilter hooks
[ 384.009205] ppa_init - init succeeded
root@DD-WRT:~# ppacmd getportmib
MIB: ETH0 ETH1 DSL EXT1 EXT2 EXT3
ig_fast_brg_pkts: 0 0 0 0 0 0
ig_fast_brg_bytes: 0 0 0 0 0 0
ig_fast_rt_ipv4_udp_pkts: 0 0 0 0 0 0
ig_fast_rt_ipv4_tcp_pkts: 0 0 0 0 0 0
ig_fast_rt_ipv4_mc_pkts: 0 0 0 0 0 0
ig_fast_rt_ipv4_bytes: 0 0 0 0 0 0
ig_fast_rt_ipv6_udp_pkts: 0 0 0 0 0 0
ig_fast_rt_ipv6_tcp_pkts: 0 0 0 0 0 0
ig_fast_rt_ipv6_mc_pkts: 0 0 0 0 0 0
ig_fast_rt_ipv6_bytes: 0 0 0 0 0 0
ig_cpu_pkts: 0 0 0 0 0 0
ig_cpu_bytes: 0 0 0 0 0 0
ig_drop_pkts: 0 0 0 0 0 0
ig_drop_bytes: 0 0 0 0 0 0
eg_fast_pkts: 0 0 0 0 0 0
root@DD-WRT:~# ppacmd gethooklist
00: ppa_session_add ( hook address 0xc125c030: enabled)
01: ppa_session_delete ( hook address 0xc1269910: enabled)
02: ppa_session_bradd ( hook address 0xc125c030: enabled)
03: ppa_hook_pitem_refcnt_inc ( hook address 0xc1259bfc: enabled)
04: ppa_hook_pitem_refcnt_dec ( hook address 0xc1259c20: enabled)
05: ppa_session_ipsec_add ( hook address 0xc1259db4: enabled)
06: ppa_session_ipsec_delete ( hook address 0xc1259e54: enabled)
07: ppa_inactivity_status ( hook address 0xc125ad04: enabled)
08: ppa_set_session_inactivity ( hook address 0xc125ad0c: enabled)
09: free item
10: free item
11: free item
12: ppa_get_netif_accel_stats ( hook address 0xc125b584: enabled)
13: ppa_disconn_if ( hook address 0xc125bae4: enabled)
14: ppa_register_for_qos_class2prio ( hook address 0xc1254704: enabled)
15: free item
16: free item
17: free item
18: free item
19: free item
20: free item
21: free item
22: free item
23: free item
24: free item
25: free item
26: free item
27: free item
28: free item
29: free item
30: free item
31: free item
32: free item
33: free item
34: free item
35: free item
36: free item
37: free item
38: free item
39: free item
40: ppa_sw_fastpath_enable ( hook address 0xc1278428: enabled)
41: ppa_get_sw_fastpath_status ( hook address 0xc1278448: enabled)
42: ppa_sw_fastpath_send ( hook address 0xc12784a8: enabled)
43: free item
44: free item
45: free item
46: free item
47: free item
48: ppa_phys_port_add ( hook address 0xc124b6d0: enabled)
49: ppa_phys_port_remove ( hook address 0xc124b994: enabled)
50: ppa_get_ct_stats ( hook address 0xc125c624: enabled)
HAHAHAHAHHAHAHA
root@DD-WRT:~# ppacmd status
LAN Acceleration: enabled.
WAN Acceleration: enabled.
LAN max entries:2048(Collision:4419448)
WAN max entries:2048(Collision:-28664)
LAN hash index number:4415534, bucket number per index:2007693760)
WAN hash index number:1, bucket number per index:0)
MC max entries:128
Bridge max entries:512
IPv6 address max entries:512
PPE FW max queue:0
6RD max entries:3
MF Flow max entries:2007717888
Unicast/Multicast Session Mib in Byte
show me the way master @paldier. i still haven't gotten this thing into local dhcp mode ROFFLES
follow asuswrt, you will know how to write part of ddwrt when you know how asuswrt works.
can you point me to which one of your repositories i can copy? you have many and i've used a lot of them lol
root@DD-WRT:~# Connection to 192.168.2.1 closed by remote host.
Connection to 192.168.2.1 closed.
GagansMacPro:xtoolshit Gagan$ ssh root@192.168.2.1
DD-WRT v4.14-r46657M CRISPIN (c) 2021 NewMedia-NET GmbH
Release: 05/18/21
Board: Linksys WRT54G/GL/GS
root@192.168.2.1's password:
==========================================================
___ ___ _ _____ ______ ___ __ ___
/ _ \/ _ \___| | /| / / _ \/_ __/__ __.`, /-` /.`, /
/ // / // /___/ |/ |/ / , _/ / / \ \/ /_``_// //_``_/
/____/____/ |__/|__/_/|_| /_/ \__/ /_/(_)_//_/
DD-WRT v4.14
A Bluer Kind of White
http://www.dd-wrt.com
-----
_______ _______ ___ __ ____ _ _ ___
| ___ \| __ || | |__|| \ | || | / /
| |___| || |__| || |__ __ | \| || |/ /
| _ /| _ || || || |\ || \
|__| \__\|__| |__||______||__||_| \____||_|\___\
=System Architecture Department=
"MediaTek can only swallow what they'll never be."
~Anon
======*insert graffiti expressing 'Ralf r00lz!1!1!'*======
root@DD-WRT:~# cat /proc/cpuinfo
system type : GRX500 rev 1.2
processor : 0
cpu model : MIPS interAptiv (multi) V2.0
BogoMIPS : 531.45
CPUClock : 800000000
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa : mips1 mips2 mips32r1 mips32r2
ASEs implemented : mips16 dsp mt eva
Options implemented : tlb tlbinv segments 4kex 4k_cache prefetch mcheck ejtag llsc pindexed_dcache userlocal vint perf_cntr_intr_bit cdmm nan_legacy nan_2008 ebase_wg perf
shadow register sets : 1
kscratch registers : 0
package : 0
core : 0
VPE : 0
VCED exceptions : not available
VCEI exceptions : not available
processor : 2
cpu model : MIPS interAptiv (multi) V2.0
BogoMIPS : 531.45
CPUClock : 800000000
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa : mips1 mips2 mips32r1 mips32r2
ASEs implemented : mips16 dsp mt eva
Options implemented : tlb tlbinv segments 4kex 4k_cache prefetch mcheck ejtag llsc pindexed_dcache userlocal vint perf_cntr_intr_bit cdmm nan_legacy nan_2008 ebase_wg perf
shadow register sets : 1
kscratch registers : 0
package : 0
core : 1
VPE : 0
VCED exceptions : not available
VCEI exceptions : not available
gonna have to rework my MOTD soon ;)
by the way, getting a weird "BUG" when using SSH. it shows up each time i write a character from the remote terminal:
root@DD-WRT:~# [ 849.685615] BUG: using smp_processor_id() in preemptible [00000000] code: dropbear/995
[ 849.853487] BUG: using smp_processor_id() in preemptible [00000000] code: dropbear/995
[ 850.928697] BUG: using smp_processor_id() in preemptible [00000000] code: dropbear/995
[ 851.143702] BUG: using smp_processor_id() in preemptible [00000000] code: dropbear/995
[ 851.334593] BUG: using smp_processor_id() in preemptible [00000000] code: dropbear/995
[ 851.526721] BUG: using smp_processor_id() in preemptible [00000000] code: dropbear/995
[ 851.143702] BUG: using smp_processor_id() in preemptible [00000000] code: dropbear/995
[ 851.150211] caller is skb_free_head+0x68/0x88
[ 851.150227] CPU: 2 PID: 995 Comm: dropbear Not tainted 4.9.268 #3739
[ 851.150234] Stack : 809e79f2 00000038 00000000 00000000 00000000 80879254 8084a968 8b02bc9c
[ 851.150267] 800a42a4 809e3918 00000002 000003e3 00000030 00000000 00000000 00000000
[ 851.150296] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 851.150324] 00000000 00000000 00000000 00000000 00000000 00004450 8083ef48 8083ef48
[ 851.150353] 8a9471dc 800a4760 800a42a4 8083ef48 00000002 000003e3 8a9471dc 809e3918
[ 851.150382] ...
[ 851.150392] Call Trace:
[ 851.150414] [<800392c4>] show_stack+0x2c/0x88
[ 851.150432] [<802dad78>] dump_stack+0x98/0xc0
[ 851.150450] [<802feed0>] check_preemption_disabled+0x128/0x130
[ 851.150460] [<8058a448>] skb_free_head+0x68/0x88
[ 851.150472] [<8058c108>] __kfree_skb+0x28/0x3c
[ 851.150498] [<80642de8>] tcp_recvmsg+0x47c/0xba0
[ 851.150517] [<80678154>] inet_recvmsg+0x88/0xec
[ 851.150540] [<8057f800>] sock_read_iter+0xac/0x100
[ 851.150558] [<8013a5a8>] __vfs_read+0xe8/0x138
[ 851.334593] BUG: using smp_processor_id() in preemptible [00000000] code: dropbear/995
[ 851.341100] caller is skb_free_head+0x68/0x88
[ 851.341115] CPU: 2 PID: 995 Comm: dropbear Not tainted 4.9.268 #3739
[ 851.341123] Stack : 809e79f2 00000038 00000000 00000000 00000000 80879254 8084a968 8b02bc9c
[ 851.341156] 800a42a4 809e3918 00000002 000003e3 00000030 00000000 00000000 00000000
[ 851.341184] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 851.341212] 00000000 00000000 00000000 00000000 00000000 00004958 8083ef48 8083ef48
[ 851.341241] 8a9471dc 800a4760 800a42a4 8083ef48 00000002 000003e3 8a9471dc 809e3918
[ 851.341270] ...
[ 851.341280] Call Trace:
[ 851.341303] [<800392c4>] show_stack+0x2c/0x88
[ 851.341320] [<802dad78>] dump_stack+0x98/0xc0
[ 851.341337] [<802feed0>] check_preemption_disabled+0x128/0x130
[ 851.341347] [<8058a448>] skb_free_head+0x68/0x88
[ 851.341359] [<8058c108>] __kfree_skb+0x28/0x3c
[ 851.341384] [<80642de8>] tcp_recvmsg+0x47c/0xba0
[ 851.341402] [<80678154>] inet_recvmsg+0x88/0xec
[ 851.341424] [<8057f800>] sock_read_iter+0xac/0x100
[ 851.341442] [<8013a5a8>] __vfs_read+0xe8/0x138
[ 851.526721] BUG: using smp_processor_id() in preemptible [00000000] code: dropbear/995
[ 851.533223] caller is skb_free_head+0x68/0x88
[ 851.533238] CPU: 2 PID: 995 Comm: dropbear Not tainted 4.9.268 #3739
[ 851.533246] Stack : 809e79f2 00000038 00000000 00000000 00000000 80879254 8084a968 8b02bc9c
[ 851.533278] 800a42a4 809e3918 00000002 000003e3 00000030 00000000 00000000 00000000
[ 851.533307] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 851.533335] 00000000 00000000 00000000 00000000 00000000 00004e60 8083ef48 8083ef48
[ 851.533364] 8a9471dc 800a4760 800a42a4 8083ef48 00000002 000003e3 8a9471dc 809e3918
[ 851.533394] ...
[ 851.533403] Call Trace:
[ 851.533425] [<800392c4>] show_stack+0x2c/0x88
[ 851.533443] [<802dad78>] dump_stack+0x98/0xc0
[ 851.533460] [<802feed0>] check_preemption_disabled+0x128/0x130
[ 851.533470] [<8058a448>] skb_free_head+0x68/0x88
[ 851.533482] [<8058c108>] __kfree_skb+0x28/0x3c
[ 851.533506] [<80642de8>] tcp_recvmsg+0x47c/0xba0
[ 851.533525] [<80678154>] inet_recvmsg+0x88/0xec
[ 851.533547] [<8057f800>] sock_read_iter+0xac/0x100
[ 851.533565] [<8013a5a8>] __vfs_read+0xe8/0x138
seems to me it has to do with CONFIG_LTQ_CBM code here:
https://github.com/paldier/linux/blob/intel-4.9.206/net/core/skbuff.c#L615
but disabling CBM doesn't sound like a smart idea.
no weird ppacmd issue, actually. i just didn't init the ppa before calling the ioctl lolllll
MISSING SO MANY HOOX @PALDIER ;(
root@DD-WRT:~# ppacmd gethooklist
00: ppa_session_add ( hook address 0xc1263050: enabled)
01: ppa_session_delete ( hook address 0xc1271138: enabled)
02: ppa_session_bradd ( hook address 0xc1263050: enabled)
03: ppa_hook_pitem_refcnt_inc ( hook address 0xc126037c: enabled)
04: ppa_hook_pitem_refcnt_dec ( hook address 0xc12603a4: enabled)
05: ppa_session_ipsec_add ( hook address 0xc126054c: enabled)
06: ppa_session_ipsec_delete ( hook address 0xc12605ec: enabled)
07: ppa_inactivity_status ( hook address 0xc12615e0: enabled)
08: ppa_set_session_inactivity ( hook address 0xc12615e8: enabled)
09: ppa_bridge_entry_add ( hook address 0xc12615f0: enabled)
10: ppa_bridge_entry_delete ( hook address 0xc1261a8c: enabled)
11: ppa_bridge_entry_hit_time ( hook address 0xc1261d70: enabled)
12: ppa_get_netif_accel_stats ( hook address 0xc12624b0: enabled)
13: ppa_disconn_if ( hook address 0xc1262a5c: enabled)
14: ppa_register_for_qos_class2prio ( hook address 0xc125aa24: enabled)
15: free item
16: free item
17: free item
18: free item
19: free item
20: free item
21: free item
22: free item
23: free item
24: free item
25: free item
26: free item
27: free item
28: free item
29: free item
30: free item
31: free item
32: free item
33: free item
34: free item
35: free item
36: free item
37: free item
38: free item
39: free item
40: ppa_sw_fastpath_enable ( hook address 0xc1280a74: enabled)
41: ppa_get_sw_fastpath_status ( hook address 0xc1280a98: enabled)
42: ppa_sw_fastpath_send ( hook address 0xc1280b04: enabled)
43: free item
44: free item
45: free item
46: free item
47: free item
48: ppa_phys_port_add ( hook address 0xc12516ec: enabled)
49: ppa_phys_port_remove ( hook address 0xc12519ac: enabled)
50: ppa_get_ct_stats ( hook address 0xc1263654: enabled)
root@DD-WRT:~# ppacmd status
LAN Acceleration: enabled.
WAN Acceleration: enabled.
LAN max entries:2048(Collision:0)
WAN max entries:2048(Collision:0)
LAN hash index number:0, bucket number per index:0)
WAN hash index number:0, bucket number per index:0)
MC max entries:128
Bridge max entries:512
IPv6 address max entries:512
PPE FW max queue:0
6RD max entries:0
MF Flow max entries:0
Unicast/Multicast Session Mib in Byte
root@DD-WRT:~# lsmod
Module Size Used by
ltq_dp_test 11417 0
ppa_api_sw_accel_mod 11446 0
ltq_mpe_hal_drv 97163 0
ltq_tmu_hal_drv 220277 1 ltq_mpe_hal_drv
ppa_api 454456 1 ppa_api_sw_accel_mod
ltq_pae_hal 75746 1 ltq_dp_test
ppa_drv_stack_al 56875 6 ppa_api,ltq_pae_hal,ltq_tmu_hal_drv,ppa_api_sw_accel_mod,ltq_dp_test,ltq_mpe_hal_drv
fast_classifier 148374 0
ip6table_mangle 1358 1
ip6_tables 12649 1 ip6table_mangle
nf_nat_h323 6102 0
nf_conntrack_h323 39039 1 nf_nat_h323
@paldier should the radios automatically get detected after loading mtlk.ko?
when i load it (without arguments), nothing seems to happen :P
see prplwrt or asuswrt
ok but one other question @paldier,
have you ever gotten
Use of uninitialized value $group_id in hash element at /Volumes/xtoolshit/misc/dd-wrt/src/router/iwlwav-dev/drivers/net/wireless/intel/iwlwav/tools/rtlogger/logprep/logprep.pl line 875, <STDIN> chunk 310.
Use of uninitialized value in concatenation (.) or string at /Volumes/xtoolshit/misc/dd-wrt/src/router/iwlwav-dev/drivers/net/wireless/intel/iwlwav/tools/rtlogger/logprep/logprep.pl line 875, <STDIN> chunk 310.
issue when compiling the driver?
@paldier bro i'm using this script's setup here:
and it seems to me the radios should at least show up after loading mtlk.ko, right? i also have the mttools but i'm not sure if they're helpful here.
root@DD-WRT:~# lsmod
Module Size Used by
ip6table_mangle 1358 1
ip6_tables 12649 1 ip6table_mangle
nf_nat_h323 6102 0
nf_conntrack_h323 39039 1 nf_nat_h323
ppa_api_sw_accel_mod 11446 0
ppa_api 454456 1 ppa_api_sw_accel_mod
ltq_mpe_hal_drv 97163 0
ltq_tmu_hal_drv 220277 1 ltq_mpe_hal_drv
ltq_pae_hal 75746 0
ppa_drv_stack_al 56907 5 ppa_api,ltq_pae_hal,ltq_tmu_hal_drv,ppa_api_sw_accel_mod,ltq_mpe_hal_drv
root@DD-WRT:~# ppacmd gethooklist
00: ppa_session_add ( hook address 0xc1225050: enabled)
01: ppa_session_delete ( hook address 0xc1233138: enabled)
02: ppa_session_bradd ( hook address 0xc1225050: enabled)
03: ppa_hook_pitem_refcnt_inc ( hook address 0xc122237c: enabled)
04: ppa_hook_pitem_refcnt_dec ( hook address 0xc12223a4: enabled)
05: ppa_session_ipsec_add ( hook address 0xc122254c: enabled)
06: ppa_session_ipsec_delete ( hook address 0xc12225ec: enabled)
07: ppa_inactivity_status ( hook address 0xc12235e0: enabled)
08: ppa_set_session_inactivity ( hook address 0xc12235e8: enabled)
09: ppa_bridge_entry_add ( hook address 0xc12235f0: enabled)
10: ppa_bridge_entry_delete ( hook address 0xc1223a8c: enabled)
11: ppa_bridge_entry_hit_time ( hook address 0xc1223d70: enabled)
12: ppa_get_netif_accel_stats ( hook address 0xc12244b0: enabled)
13: ppa_disconn_if ( hook address 0xc1224a5c: enabled)
14: ppa_register_for_qos_class2prio ( hook address 0xc121ca24: enabled)
15: free item
16: free item
17: free item
18: free item
19: free item
20: free item
21: free item
22: free item
23: free item
24: free item
25: free item
26: free item
27: free item
28: free item
29: free item
30: free item
31: free item
32: free item
33: free item
34: free item
35: free item
36: free item
37: free item
38: free item
39: free item
40: ppa_sw_fastpath_enable ( hook address 0xc1242a74: enabled)
41: ppa_get_sw_fastpath_status ( hook address 0xc1242a98: enabled)
42: ppa_sw_fastpath_send ( hook address 0xc1242b04: enabled)
43: free item
44: free item
45: free item
46: free item
47: free item
48: ppa_phys_port_add ( hook address 0xc12136ec: enabled)
49: ppa_phys_port_remove ( hook address 0xc12139ac: enabled)
50: ppa_get_ct_stats ( hook address 0xc1225654: enabled)
now with directconnect too, thanks to your commitment to this platform, @paldir.
"fully loaded" as they say. DIRECTCONNECT+DIRECTPATH == FAST
i must figure out wtf is wrong with PCI-E detection. the bus isn't getting fixed up after timing out. this is weird.
have you managed to run a 4.9 kernel on a GRX350? it's a very strange issue.
[ 38.419664] intel-pcie-slim-phy 18500000.pciephy: PCIe slim phy[0] init success!
[ 38.427170] intel-pcie-slim-phy 18000000.pciephy: PCIe slim phy[1] init success!
[ 38.434648] intel-pcie-slim-phy 18a00000.pciephy: PCIe slim phy[2] init success!
[ 38.550430] OF: PCI: host bridge /pcie@18900000 ranges:
[ 38.555557] OF: PCI: MEM 0xb8000000..0xbaffffff -> 0xb8000000
[ 38.561516] OF: PCI: IO 0xbb800000..0xbb80ffff -> 0xbb800000
[ 38.569680] intel-pcie-slim-phy 18500000.pciephy: PCIe LCPLL SSC Mode Enabled
[ 39.782489] intel-pcie 18900000.pcie: intel_pcie_wait_phy_link_up port 0 timeout
[ 39.791002] intel-pcie: probe of 18900000.pcie failed with error -145
[ 39.902416] OF: PCI: host bridge /pcie@18400000 ranges:
[ 39.907516] OF: PCI: MEM 0xb4000000..0xb6ffffff -> 0xb4000000
[ 39.913491] OF: PCI: IO 0xb7800000..0xb780ffff -> 0xb7800000
[ 39.921631] intel-pcie-slim-phy 18000000.pciephy: PCIe LCPLL SSC Mode Enabled
[ 41.134491] intel-pcie 18400000.pcie: intel_pcie_wait_phy_link_up port 1 timeout
[ 41.142995] intel-pcie: probe of 18400000.pcie failed with error -145
[ 41.254416] OF: PCI: host bridge /pcie@18e00000 ranges:
[ 41.259513] OF: PCI: MEM 0xbc000000..0xbeffffff -> 0xbc000000
[ 41.265485] OF: PCI: IO 0xbf800000..0xbf80ffff -> 0xbf800000
[ 41.273629] intel-pcie-slim-phy 18a00000.pciephy: PCIe LCPLL SSC Mode Enabled
[ 42.486489] intel-pcie 18e00000.pcie: intel_pcie_wait_phy_link_up port 2 timeout
[ 42.494966] intel-pcie: probe of 18e00000.pcie failed with error -145
[ 42.502937] [mips_tc_init] dma_zalloc_coherent dev->name=(null) sizeof(struct mips_tc_sg_mem)=1680 shared_phy_mem=21ed0000
[ 42.513844] [mips_tc_init] dma_zalloc_coherent shared_vir_uncached_mem=a1ed0000 shared_vir_cached_mem=81ed0000 shared_working_vir_mem=81ed0000
[ 42.526956] =MIPS TC Shared memory: a1ed0000 81ed0000 81ed0000 | Data: a1ee0000
[ 42.534237] UMT initialize success on processor: 0 !
[ 42.539157] HW MCPY driver: Version: 1.1.0, Init Done!
[ 42.622786] serial8250_init
[ 42.625423] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 42.634333] 16600000.serial: ttyLTQ0 at MMIO 0x16600000 (irq = 213, base_baud = 0) is a lantiq,asc
[ 42.648293] console [ttyLTQ0] enabled
[ 42.648293] console [ttyLTQ0] enabled
[ 42.655454] bootconsole [early0] disabled
[ 42.655454] bootconsole [early0] disabled
[ 42.664037] Lantiq MIPSInterAptiv MPS driver, version 1.0.0.0, (c) 2006-2013 Lantiq Deutschland GmbH
[ 42.672166] MPS: major Id 251
[ 42.674821] Major Id is 250
[ 42.677415] ICC driver registered
[ 42.681019] sysrst_init: Trying to register System Reset Driver ...
[ 42.687255] sysrst_pre_init: Detect InterAptiv CPU ...
[ 42.692303] sysrst_init: Lantiq CPE GRX500 System driver version 1.0.0
[ 42.698638] sysrst_init: GRX500 System Reset initialized successfully!
[ 42.706306] nand: device found, Manufacturer ID: 0xc8, Chip ID: 0xd1
[ 42.711507] nand: ESMT NAND 128MiB 3,3V 8-bit
[ 42.715820] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 42.725477] Scanning device for bad blocks
[ 42.854772] 8 ofpart partitions found on MTD device 17c00000.nand-parts
[ 42.859957] Creating 8 MTD partitions on "17c00000.nand-parts":
[ 42.865863] 0x000000000000-0x000000100000 : "uboot"
[ 42.872423] 0x000000100000-0x000000140000 : "ubootconfigA"
[ 42.878027] 0x000000140000-0x000000180000 : "ubootconfigB"
[ 42.883450] 0x000000180000-0x0000001c0000 : "gphyfirmware"
[ 42.888855] 0x0000001c0000-0x0000002c0000 : "calibration"
[ 42.894280] 0x0000002c0000-0x000006ec0000 : "sysv"
[ 42.900775] 0x000007ec0000-0x000007f40000 : "nvram"
[ 42.905577] 0x000007f40000-0x000008000000 : "res"
[ 42.911938] Lantiq SoC SPI controller rev 9 (TXFS 32, RXFS 32, DMA 1)
[ 42.917407] [ltq_ssc] { ifx_ssc_init : 3819 }[ifx_ssc_init] force ifx_ssc_cs_low to PORT 1
[ 42.925296] [ltq_ssc] { ifx_ssc_init : 3820 }[ifx_ssc_init] force ifx_ssc_cs_high to PORT 1
[ 42.933698] [ltq_ssc] { ifx_ssc_init : 3824 }ifx_ssc_init ifx_ssc_init_count 1
[ 42.941052] [ltq_ssc] { ifx_ssc_init : 3947 }port name ltq_ssc1
[ 42.947058] [ltq_ssc] { ifx_ssc_init : 4041 }Lantiq SoC SSC controller rev 9 (TXFS 32, RXFS 32, DMA 1)
[ 42.956639] libphy: Fixed MDIO Bus: probed
[ 42.960530] tun: Universal TUN/TAP device driver, 1.6
[ 42.965385] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 42.983491] phy-xrx500 1c003c00.phy-xrx500: requesting lantiq/ltq_fw_PHY11G_IP_xRx5xx_A21.bin
[ 42.992819] phy-xrx500 1c003c00.phy-xrx500: booting GPHY0 firmware for GRX500
[ 42.998653] phy-xrx500 1c003c00.phy-xrx500: booting GPHY1 firmware for GRX500
[ 43.005648] phy-xrx500 1c003c00.phy-xrx500: booting GPHY2 firmware for GRX500
[ 43.012767] phy-xrx500 1c003c00.phy-xrx500: booting GPHY3 firmware for GRX500
[ 43.019904] phy-xrx500 1c003c00.phy-xrx500: booting GPHY4 firmware for GRX500
[ 43.134983] lro_sram_membase_res0 from DT: a2013000
[ 43.138816] ltq_toe_membase: e2000000 and lro_sram_membase_res0: e2013000
[ 43.145923] TOE Init Done !!
[ 43.148298] PPP generic driver version 2.4.2
[ 43.152777] PPP BSD Compression module registered
[ 43.157154] PPP Deflate Compression module registered
[ 43.162295] PPP MPPE Compression module registered
[ 43.166902] NET: Registered protocol family 24
[ 43.819474] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[ 43.823612] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1
[ 43.831688] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f664 hci version 0x100 quirks 0x02010010
[ 43.840009] xhci-hcd xhci-hcd.2.auto: irq 283, io mem 0x1a300000
[ 43.847033] hub 1-0:1.0: USB hub found
[ 43.849600] hub 1-0:1.0: 1 port detected
[ 43.854169] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[ 43.858980] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2
[ 43.866697] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 43.875576] hub 2-0:1.0: USB hub found
[ 43.878464] hub 2-0:1.0: 1 port detected
[ 43.883070] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[ 43.887820] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 3
[ 43.895987] xhci-hcd xhci-hcd.3.auto: hcc params 0x0220f664 hci version 0x100 quirks 0x02010010
[ 43.904215] xhci-hcd xhci-hcd.3.auto: irq 284, io mem 0x1a500000
[ 43.911181] hub 3-0:1.0: USB hub found
[ 43.913825] hub 3-0:1.0: 1 port detected
[ 43.918475] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[ 43.923205] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 4
[ 43.930939] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[ 43.939807] hub 4-0:1.0: USB hub found
[ 43.942692] hub 4-0:1.0: 1 port detected
[ 43.947333] usbcore: registered new interface driver usblp
[ 43.952203] usbcore: registered new interface driver usb-storage
[ 43.958369] usbcore: registered new interface driver usbserial
[ 43.982412] i2c-lantiq 16a00000.i2c: timeout waiting for bus ready
[ 43.987312] i2c-lantiq 16a00000.i2c: ltq_i2c_xfer: bus is busy ffffff6f
[ 44.010395] i2c-lantiq 16a00000.i2c: timeout waiting for bus ready
[ 44.015120] i2c-lantiq 16a00000.i2c: ltq_i2c_xfer: bus is busy ffffff6f
[ 44.022006] ina2xx 0-0040: pm: ina219, railname: PWR_12V, Rshunt: 10000 uOhm
[ 44.030699] grx500wdt 12000000.watchdog: [grx500wdt_probe]:[333] cpu_clk=800000000
[ 44.036842] grx500wdt 12000000.watchdog: [grx500wdt_probe]WDT reset is Bit31, RCU_IAP_WDT_RST_STAT=0x73c00c08
[ 44.046722] grx500wdt 12000000.watchdog: [grx500wdt_probe]Not WDT reset.
[ 44.053611] grx500wdt 12000000.watchdog: [grx500wdt_probe]:[415] grx500_wdt = 881e6308
[ 44.061835] grx500wdt 12000000.watchdog: [grx500wdt_probe]:[415] grx500_wdt = 881fe308
[ 44.069399] grx500wdt 12000000.watchdog: H/w Watchdog Timer: (max 5) (nowayout= 0)
[ 44.081108] Device IRQ: 26 line: 101
[ 44.083502] GlobalControl97_Capabilities_Get
[ 44.087509] EIP202: PEs=1 rings=4 64-bit=No, fill level extension=No
[ 44.087509] CF size=4 RF size=3 DMA len = 10 Align=0 HDW=0 HostIfc=3
[ 44.100187] EIP96 options:
[ 44.100187] AES: Yes with CFB/OFB: Yes Fast: Yes
[ 44.100187] DES: Yes with CFB/OFB: Yes Fast: No
[ 44.100187] ARCFOUR level: 3
[ 44.100187] MD5: Yes SHA1: Yes Fast: Yes SHA256: Yes SHA512: Yes
[ 44.100187] (X)CBC-MAC: Yes Fast: Yes All key sizes: No GHASH Yes
[ 44.126939] EIP97 options: PEs=1, In Dbuf size=6 In Tbuf size=5, Out Dbuf size=6, Out Tbuf size=4,
[ 44.126939] Token Generator: No, Transform Record Cache: No
[ 44.141499] EIP206 options: PE type=0 InClassifier=0 OutClassifier=0 MAC chans=0
[ 44.141499] InDBuf=0kB InTBuf=0kB OutDBuf=0kB OutTBuf=0kB
[ 44.154777] Adapter_PECDev_Init: CDR fetch size 0x8, thresh 0x6, HDW=0, CFsize=4
[ 44.162210] Adapter_PECDev_Init: RDR fetch size 0x8, thresh 0x2, RFsize=3
[ 44.169030] Status of CDR/RDR interface 0
[ 44.172494] CDR Status: DMA err: false, err: false: ovf/under err: false
[ 44.172494] Threshold int: false, timeout int: false, FIFO count: 16
[ 44.185513] RDR Status: DMA err: false, err: false: ovf/under err: false
[ 44.185513] Buf ovf: false, Descriptor ovf false
[ 44.185513] Threshold int: false, timeout int: false, FIFO count: 8
[ 44.203353] LTQ Crypto Hardware Initialized ..
[ 44.212220] LTQ crypto driver version: 1.4.10
[ 44.215715] usbcore: registered new interface driver usbhid
[ 44.220711] usbhid: USB HID core driver
[ 44.225341] u32 classifier
[ 44.227232] Performance counters on
[ 44.231017] Actions configured
[ 44.234413] Netfilter messages via NETLINK v0.30.
[ 44.239448] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
[ 44.245411] ctnetlink v0.93: registering with nfnetlink.
[ 44.250699] ip_set: protocol 6
[ 44.253605] ipip: IPv4 and MPLS over IPv4 tunneling driver
[ 44.259811] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 44.265423] NET: Registered protocol family 10
[ 44.270563] NET: Registered protocol family 17
[ 44.273622] Bridge firewalling registered
[ 44.277598] NET4: DECnet for Linux: V.2.5.68s (C) 1995-2003 Linux DECnet Project Team
[ 44.285722] DECnet: Routing cache hash table of 1024 buckets, 8Kbytes
[ 44.291832] NET: Registered protocol family 12
[ 44.296266] 8021q: 802.1Q VLAN Support v1.8
[ 44.301594] registered taskstats version 1
[ 44.347701] Key type encrypted registered
[ 44.353490] PMAC_EG_CFG_SET for GSW-L
[ 44.356026] PMAC_IG_CFG_SET for GSW-L
[ 44.359452] PMAC_EG_CFG_SET for GSW-R
[ 44.366819] PMAC_IG_CFG_SET for GSW-R
as you can see, second probe never happens. i thought maybe phy_slim is supposed to be init after pcie-intel, but not sure.
this is probably why the driver is doing nothing upon being loaded.
still working away@paldier.
yesterday chuan hua lei of maxlinear taught me about the importance of fabrication for SoC when he told me that reset GPIOs are not the same as DTS unless it's reference board. i knew it was reset-related but i wasn't sure how. he helped me big time.
now, with your commitment to the platform, driver reports full acceleration:
root@DD-WRT:~# modprobe mtlk dual_pci=1,0 rcvry_on=1,1 ahb_off=1 fastpath=1,1,1
root@DD-WRT:~# cat /proc/net/mtlk/version
Driver version:
6.1.0_bp.0.27.3a541eb36047.8.4.2-cleanup.PcieG6.Debug
MAC/PHY versions:
root@DD-WRT:~# tail -n150 /var/log/messages
Dec 8 15:24:57 DD-WRT user.info kernel: [ 3805.413324] Loading modules backported from Linux version v5.1-e93c9c99a629c61837d5a7fc2120cd2b6c70dbdd
Dec 8 15:24:57 DD-WRT user.info kernel: [ 3805.413340] Backport generated by backports.git v3.10.104
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.483592] [MTLKD] rtlog_setup()
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.485292] [MTLKD] Allocated netdev rtlog0 addr 8b32f800
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.485864] [2042254482] mtlk0(mtlk_cdev_init:311): Max nodes set to 1048575
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.591848] mtlk: unknown parameter 'rcvry_on' ignored
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.593313] [2042361933] mtlk0(__mtlk_print_endianess:9925): The system is Big endian (0xbeadfeed, 0xedfeadbe)
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.593333] [2042361978] mtlk0(__mtlk_print_driver_version:9933): Driver version: 6.1.0_bp.0.27.3a541eb36047.8.4.2-cleanup.PcieG6.Debug
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.593632] [2042362274] mtlk0(mtlk_fast_mem_print_info:115): Using normal memory for hot context
Dec 8 15:24:57 DD-WRT user.debug kernel: [ 3805.593700] mtlk 0000:01:00.0: enabling bus mastering
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.593745] [2042362385] mtlk0(_pci_mem_get:611): PCI Memory block 0: PA: 0xb8000000, VA: 0xf8000000, Len=0x2000000
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.593756] [MTLKD] PCIE bus ChipVersion:A0 ChipID is:0x0900 address is:0xf8220060
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.593771] [2042362417] mtlkW(_pci_start:708): CID-00: Detecting DUAL PCI mode...
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.593781] [MTLKD] RCU_BOOT: 0x00003007, mspsStatus: 0x00, address: 0xf827000c
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.593786] [MTLKD] DUAL PCI mode is detected
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.593862] [MTLKD] PCIE bus ChipVersion:A0 ChipID is:0x0900 address is:0xf8220060
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.593913] [MTLKD] PCIE bus ChipVersion:A0 ChipID is:0x0900 address is:0xf8220060
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.593957] [2042362601] mtlk0(_mtlk_df_fw_request_firmware:36): Request Firmware ('wifi/default_cal_wlan0.bin') is starting
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.594322] [2042362956] mtlk0(_eeprom_parse:552): EEPROM info: ver 0x0600, cal_file_type Operational, device_id 0x0900, header size 40, data size 1024,
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.594356] [2042362999] mtlk0(mtlk_cis_data_parse:537): EEPROM Card ID: type 0x61, revision 0x45 (E)
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.594380] [2042363026] mtlkW(_mtlk_cis_area_parse_g6:380): CIS TPC G6 missing
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.594396] [2042363041] mtlk0(_mtlk_cis_area_parse_g6:409): EEPROM: TX antennas number 4, mask 0x0F
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.594414] [2042363059] mtlk0(mtlk_cis_data_parse:590): EEPROM supported bands: 2.4 - NO, 5.2 - NO, 6.0 - NO
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.594610] [2042363248] mtlk0(_mtlk_pcieg6_efuse_access_check:2029): eFuse read: addr 0, size 128, buf 0x8b252820
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.594840] [2042363482] mtlk0(_mtlk_hw_fill_card_info:3898): is_asic:1, is_emul:0, is_fpga:0, is_phy_dummy:0
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.594855] [2042363501] mtlk0(_wave_hw_cfg_platform_type_set:7679): TestPlatformType: 0
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.594878] [2042363523] mtlk0(_mtlk_df_fw_request_firmware:36): Request Firmware ('PSD.bin') is starting
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.595893] [2042364514] mtlk0(mtlk_psdb_file_read_and_parse:2081): PSDB Info: version 121 (0x00000079), revision 00
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.595920] [2042364562] mtlk0(mtlk_psdb_file_read_and_parse:2093): Look for chip_id 0x0900, hw_type 0x61, hw_rev 0x45
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.596490] [2042365132] mtlk0(psdb_parse_fields_array:1759): Parsed 62 items, found 12 fields and 29 tables
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.599110] [2042367748] mtlk0(_mtlk_psdb_parse_ant_mask_per_chan_table:1631): Channel until 35 (including) mask is 0x05
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.599132] [2042367777] mtlk0(_mtlk_psdb_parse_ant_mask_per_chan_table:1631): Channel until 255 (including) mask is 0x0A
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.599164] [2042367808] mtlk0(_mtlk_psdb_parse_cdb_cfg_table:1381): CDB config[0] = 1 (CDB_CFG_2G)
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.599179] [2042367824] mtlk0(_mtlk_psdb_parse_cdb_cfg_table:1381): CDB config[1] = 2 (CDB_CFG_5G)
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.599196] [2042367839] mtlk0(psdb_parse_fields_array:1911): PSDB: TX/RX antennas number 4/4, mask 0x0F/0x0F
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.599233] [2042367877] mtlk0(_mtlk_psdb_update_cdb_cfg_table:1558): [0] band 1, channels 1 ... 14
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.599252] [2042367895] mtlk0(_mtlk_psdb_update_cdb_cfg_table:1561): [0] Antennas number 2, mask 05, sel_mask 11, factor 24
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.599268] [2042367912] mtlk0(_mtlk_psdb_update_cdb_cfg_table:1558): [1] band 0, channels 36 ... 165
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.599284] [2042367927] mtlk0(_mtlk_psdb_update_cdb_cfg_table:1561): [1] Antennas number 2, mask 0A, sel_mask 44, factor 24
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.599445] [2042368089] mtlk0(_psdb_print_info:2017): PSDB Beamforming capabilities: 0x1C, bf_explicit=1
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.599535] [2042368181] mtlk0(wave_rcvry_card_add:684): Creating dir FW
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.599571] [2042368216] mtlk0(wave_rcvry_card_add:697): Number of files to create 32
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.599655] [2042368297] mtlk0(_mmb_drv_radio_number_get:1426): card_idx:0, number of radios supported:2, configured:2
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.599786] [2042368420] mtlk0(mtlk_hw_mmb_init_card:7750): card_idx:0, mmb_base:0xf8000000, mmb_pas:0xf8300000, mmb_base_phy:0xb8000000, fastpath supported:1 enabled:1 -> available:1
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.599807] [2042368450] mtlk0(_wave_hw_radio_band_cfg_init:13332): band_cfg_sys_mode: WAVE_HW_RADIO_BAND_CFG_DB_2x2, ep_mask: 1, vap_mask: 15
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.599823] [2042368467] mtlk0(_wave_hw_radio_band_cfg_init:13338): HW supports max VAPs 16 (32 in FW) max STAs 254
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.599841] [2042368484] mtlk0(wave_radio_limits_set:3088): RadioID 0 supports max VAPs 8 max STAs 127 master VAP id 7
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.599856] [2042368500] mtlk0(wave_radio_limits_set:3088): RadioID 1 supports max VAPs 8 max STAs 127 master VAP id 7
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.599871] [2042368518] mtlk0(_wave_hw_dual_pci_mode_set:7665): dual PCI mode ON
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.599896] [2042368537] mtlk0(wave_hw_band_hd_ep_bit_get:13409): band_cfg:WAVE_HW_RADIO_BAND_CFG_DB_2x2 RadioID:0 VapID:7 --> ep_bit: 1, vap_id_fw 23
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.599913] [2042368556] mtlk0(wave_hw_band_hd_ep_bit_get:13409): band_cfg:WAVE_HW_RADIO_BAND_CFG_DB_2x2 RadioID:1 VapID:7 --> ep_bit: 0, vap_id_fw 7
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.599929] [2042368573] mtlk0(_wave_hw_cfg_master_vap_index_set:7705): master vap idx: band0:23, band1:7
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.599955] [2042368597] mtlk0(_mtlk_df_dcdp_get_host_capability:10958): DC DP library version: 0.0.0 (0x00000000)
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.599971] [2042368614] mtlk0(_mtlk_df_dcdp_get_host_capability:10961): DC DP headers version: 5.0.0 (0x00050000)
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.599984] [2042368631] mtlk0(_mtlk_df_dcdp_get_host_capability:10965): FastPath: supported
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.600000] [2042368646] mtlk0(_mtlk_df_dcdp_get_host_capability:10967): supported HW DC mode: 0 (MODE_0)
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.600037] [2042368683] mtlk0(_mtlk_df_dcdp_get_host_capability:10974): LitePath: supported
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.600051] [2042368696] mtlk0(_mtlk_df_dcdp_get_host_capability:10975): SWPath: supported
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.600073] [2042368720] mtlk0(mtlk_df_dcdp_datapath_dev_init:11014): Activate fragmentation W/A
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.600413] [2042369051] mtlk0(pci_irq_alloc:820): CID-00: Interrupt configuration: using MSI vector of 6 interrupts
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.600447] [2042369090] mtlk0(_mtlk_pcieg6_reset_mac:798): Reset WLAN SOC: address is 0x00270004, value=0x00000001
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.626646] [2042395276] mtlk0(__pcieg6_reset_cpu_lower:746): Reset LMAC0
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.654493] [2042423133] mtlk0(__pcieg6_reset_cpu_lower:746): Reset LMAC1
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.682500] [2042451141] mtlk0(_mtlk_pcieg6_put_cpus_to_reset:828): Reset UMAC
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.710494] [2042479134] mtlk0(_mtlk_mmb_cleanup_reset_mac:5573): TELEMETRY: CID-00: FW CPU reset is done
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.710584] [2042479230] mtlk0(_abb_central_fusing:1283): Trim by AFE data
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.710592] [MTLKD] ibiastrim 0x0E
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.710597] [MTLKD] vreftrim 0x09
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.710603] [MTLKD] ldo_central_pll1v8 0x03
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.710609] [MTLKD] ldo_central_pllref 0x01
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.710615] [MTLKD] ldo_central_pllpost 0x01
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.710620] [MTLKD] iptattrim 0x0A
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.710626] [MTLKD] ldo_central_clkd 0x04
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.710631] [MTLKD] ldo_central_clkin 0x04
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.710640] [MTLKD] (1083) wrToAfeRegC addr 0x0040 value 0x09AE
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.710667] [MTLKD] (1045) FCSI_READ ms 1, rf 0, addr 0x0040, data 0x0080
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.710675] [MTLKD] (1057) FCSI_WRITE ms 1, rf 0, addr 0x0040, data 0x09AE
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.710684] [MTLKD] (1083) wrToAfeRegC addr 0x0045 value 0x0004
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.710711] [MTLKD] (1045) FCSI_READ ms 1, rf 0, addr 0x0045, data 0x0008
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.710718] [MTLKD] (1057) FCSI_WRITE ms 1, rf 0, addr 0x0045, data 0x0004
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.710728] [MTLKD] (1083) wrToAfeRegC addr 0x005E value 0x0003
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.710754] [MTLKD] (1045) FCSI_READ ms 1, rf 0, addr 0x005E, data 0x0004
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.710762] [MTLKD] (1057) FCSI_WRITE ms 1, rf 0, addr 0x005E, data 0x0003
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.710770] [MTLKD] (1083) wrToAfeRegC addr 0x005C value 0x0001
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.710797] [MTLKD] (1045) FCSI_READ ms 1, rf 0, addr 0x005C, data 0x0008
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.710804] [MTLKD] (1057) FCSI_WRITE ms 1, rf 0, addr 0x005C, data 0x0001
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.710813] [MTLKD] (1083) wrToAfeRegC addr 0x005D value 0x0001
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.710840] [MTLKD] (1045) FCSI_READ ms 1, rf 0, addr 0x005D, data 0x0008
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.710847] [MTLKD] (1057) FCSI_WRITE ms 1, rf 0, addr 0x005D, data 0x0001
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.710856] [MTLKD] (1083) wrToAfeRegC addr 0x0047 value 0x0004
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.710882] [MTLKD] (1045) FCSI_READ ms 1, rf 0, addr 0x0047, data 0x0008
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.710890] [MTLKD] (1057) FCSI_WRITE ms 1, rf 0, addr 0x0047, data 0x0004
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.717341] [2042485977] mtlkW(_wave_hw_chi_area_write:4502): hdr 82b9c788, id 9
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.717358] [2042486004] mtlkW(_wave_hw_chi_area_write:4508): dst 82b9c794, data 0x01
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.717371] [2042486017] mtlkW(_wave_hw_chi_area_write:4508): dst 82b9c798, data 0x01
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.717384] [2042486030] mtlkW(_wave_hw_chi_area_write:4508): dst 82b9c79c, data 0x00
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.717397] [2042486043] mtlkW(_wave_hw_chi_area_write:4508): dst 82b9c7a0, data 0x17
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.717410] [2042486056] mtlkW(_wave_hw_chi_area_write:4508): dst 82b9c7a4, data 0x07
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.717457] [2042486102] mtlk0(_mtlk_df_fw_request_firmware:36): Request Firmware ('ap_ram_gen6_wrx_600_real_phy.bin') is starting
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.780121] [2042548738] mtlk0(_mtlk_df_fw_request_firmware:36): Request Firmware ('tx_sender_gen6.bin') is starting
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.781488] [2042550130] mtlk0(_mtlk_df_fw_request_firmware:36): Request Firmware ('tx_sender_gen6.bin') is starting
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.783693] [2042552323] mtlk0(_mtlk_df_fw_request_firmware:36): Request Firmware ('host_interface_gen6_dc_mode0.bin') is starting
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.784110] [2042552753] mtlk0(_mtlk_df_fw_request_firmware:36): Request Firmware ('rx_handler_gen6.bin') is starting
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.784564] [2042553207] mtlk0(_mtlk_df_fw_request_firmware:36): Request Firmware ('rx_handler_gen6.bin') is starting
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.785052] [2042553694] mtlk0(__pcieg6_release_cpu_lower:758): Release LMAC0
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.810503] [2042579138] mtlk0(__pcieg6_release_cpu_lower:758): Release LMAC1
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.838494] [2042607135] mtlk0(_mtlk_pcieg6_release_cpus_reset:1585): Release UMAC
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.858501] [2042627140] mtlk0(_mtlk_mmb_wait_chi_magic:4597): Wait for CHI Magic (5000 ms)...
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.858651] [2042627295] mtlkE(_mtlk_mmb_wait_chi_magic:4635): Wait for CHI Magic failed: res 0, Magic 0x00000002
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.858670] [2042627312] mtlkE(_mtlk_mmb_wait_chi_magic:4638): Core info: LM0 0x000004E8, LM1 0x00000548, UM 0x00000678
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.858694] [2042627333] mtlkE(MTLK_STEPS_ERROR_SD:73): STARTCTRL: hw_mmb_card:HW_WAIT_CHI_MAGIC_START FAILED! step (56), error: -7 (0xfffffff9)
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.858714] [2042627360] mtlkE(MTLK_STEPS_ERROR_S:67): STARTCTRL: hw_mmb_card START FAILED! Initiating rollback...
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.858744] [2042627391] mtlk0(__pcieg6_reset_cpu_lower:746): Reset LMAC0
Dec 8 15:24:57 DD-WRT user.warn kernel: [ 3805.886493] [2042655134] mtlk0(__pcieg6_reset_cpu_lower:746): Reset LMAC1
Dec 8 15:24:58 DD-WRT user.warn kernel: [ 3805.914491] [2042683132] mtlk0(_mtlk_pcieg6_put_cpus_to_reset:828): Reset UMAC
Dec 8 15:24:58 DD-WRT user.warn kernel: [ 3805.942508] [2042711142] mtlk0(_mtlk_mmb_cleanup_reset_mac:5573): TELEMETRY: CID-00: FW CPU reset is done
Dec 8 15:24:58 DD-WRT user.warn kernel: [ 3805.942539] [2042711180] mtlkE(MTLK_STEPS_ERROR_SD:73): STARTCTRL: mmb_drv:MMB_CARD_START_INIT FAILED! step (56), error: -7 (0xfffffff9)
Dec 8 15:24:58 DD-WRT user.warn kernel: [ 3805.942556] [2042711202] mtlkE(MTLK_STEPS_ERROR_S:67): STARTCTRL: mmb_drv INIT FAILED! Initiating rollback...
Dec 8 15:24:58 DD-WRT user.warn kernel: [ 3805.942585] [2042711229] mtlk0(_rcvry_nl_send_msg:841): CID-00: Unable to send NO dump event using nl80211 - Recovery not initialized
Dec 8 15:24:58 DD-WRT user.warn kernel: [ 3805.943191] [2042711828] mtlkE(_pci_probe:1643): PCI 0000:01:00.0 Initialization failure (0)
Dec 8 15:24:58 DD-WRT user.warn kernel: [ 3805.943212] [2042711855] mtlk0(_rcvry_nl_send_msg:841): CID-00: Unable to send UNRECOVARABLE ERROR event using nl80211 - Recovery not initialized
Dec 8 15:24:58 DD-WRT user.warn kernel: [ 3805.943629] [2042712270] mtlk0(mtlk_fast_mem_print_info:115): Using normal memory for hot context
Dec 8 15:24:58 DD-WRT user.debug kernel: [ 3805.943702] mtlk 0001:01:00.0: enabling bus mastering
Dec 8 15:24:58 DD-WRT user.warn kernel: [ 3805.943747] [2042712388] mtlk0(_pci_mem_get:611): PCI Memory block 0: PA: 0xb4000000, VA: 0xf4000000, Len=0x2000000
Dec 8 15:24:58 DD-WRT user.warn kernel: [ 3805.943757] [MTLKD] PCIE bus ChipVersion:UNKNOWN ChipID is:0x0000 address is:0xf4220060
Dec 8 15:24:58 DD-WRT user.warn kernel: [ 3805.943766] [MTLKD] PCI AUX Initialization finished
root@DD-WRT:~# lsmod
Module Size Used by
mtlk 2372731 0
mtlkroot 524157 1 mtlk
mac80211 528354 1 mtlk
cfg80211 320382 2 mtlk,mac80211
compat 14545 2 mtlkroot,cfg80211
ip6table_mangle 1358 1
ip6_tables 12649 1 ip6table_mangle
nf_nat_h323 6102 0
nf_conntrack_h323 39039 1 nf_nat_h323
ifx_loop_eth_dev 24726 0
dc_mode1_sw 52273 0
dc_mode0_xrx500 27438 0
directconnect_datapath 48515 3 mtlk,dc_mode0_xrx500,dc_mode1_sw
ppa_api_sw_accel_mod 17683 0
ppa_api 455654 1 ppa_api_sw_accel_mod
ltq_mpe_hal_drv 101166 0
ltq_tmu_hal_drv 231821 1 ltq_mpe_hal_drv
ltq_pae_hal 78636 0
ppa_drv_stack_al 55705 6 ppa_api,ifx_loop_eth_dev,ltq_pae_hal,ltq_tmu_hal_drv,ppa_api_sw_accel_mod,ltq_mpe_hal_drv
much more work to do yes, @paldier, but it is exciting. i am surprised there is only single chip with two radios (like MTK and DBDC). kind of disappointed, actually. but i will establish the necessary code for the skeleton initialisation procedure until a dual WAV654 chip is available.
you're the best, man. i had to re-work my ethernet driver tree because i realised PRPLWRT patches were out of date, and your linux tree was superior. now look at this baby. LOOK AT THE ACCELERATION MAN, ON 4.9!! even you must be surprised (and proud)!
Oct 24 20:11:57 DD-WRT user.warn kernel: [ 145.751102] mtlk: unknown parameter 'dual_pcie' ignored Oct 24 20:11:57 DD-WRT user.warn kernel: [ 145.751124] mtlk: unknown parameter 'rcvry_on' ignored Open source driver and closed source driver are not the same.
@paldier i fixed the dual_pcie thing, it was actually dual_pci, but yeah "rcvry_on" isn't a valid command.
btw do you know why the CIS manager is failing? TP-LINK seems tobe using iwlwav driver, but not UGW.
here is TP LINK's bootlog on 3.10
05-10 13:35:50.285: [ 32.540000] [4294940550] mtlk0(__mtlk_print_endianess:9218): The system is Big endian (0xbeadfeed, 0xedfeadbe)
05-10 13:35:50.286: [ 32.550000] [4294940551] mtlk0(__mtlk_print_driver_version:9225): Driver version: 6.0.8.0.87.0.7.exported.d24084bd3447.bugfix/rel_6.0.8.0.87.PcieG5.PcieG6.Release
05-10 13:35:50.286: [ 32.560000] [4294940552] mtlk0(mtlk_fast_mem_print_info:115): Using normal memory for hot context
05-10 13:35:50.286: [ 32.570000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
05-10 13:35:50.286: [ 32.580000] [4294940554] mtlk0(_pci_mem_get:615): PCI Memory block 0: PA: 0xb8000000, VA: 0xf8000000, Len=0x2000000
05-10 13:35:50.287: [ 32.590000] [MTLKD] PCIE bus ChipID is:0x0900 address is:0xf8220060
05-10 13:35:50.287: [ 32.590000] [4294940555] mtlkW(_pci_start:706): CID-00: Detecting DUAL PCI mode...
05-10 13:35:50.287: [ 32.600000] [MTLKD] RCU_BOOT: 0x00003007, mspsStatus: 0x00, address: 0xf827000c
05-10 13:35:50.287: [ 32.610000] [MTLKD] DUAL PCI mode is detected
05-10 13:35:50.287: [ 32.610000] [MTLKD] PCIE bus ChipID is:0x0900 address is:0xf8220060
05-10 13:35:50.288: [ 32.620000] [4294940558] mtlk0(_mtlk_df_fw_request_firmware:43): Request Firmware ('cal_wlan0.bin') is starting
05-10 13:35:50.717: [ 33.070000] [4294940603] mtlk0(_eeprom_parse:900): EEPROM info: ver 0x0600, cal_file_type Operational, device_id 0x0900, header size 40, data size 1024, is_cis_v6 1
05-10 13:35:51.063: [ 33.080000] [4294940604] mtlk0(mtlk_cis_data_parse:1148): EEPROM Card ID: type 0x61, revision 0x45 (E)
05-10 13:35:51.063: [ 33.090000] [4294940605] mtlk0(_mtlk_cis_search_and_parse_rssi_v6:1078): RSSI CIS found ant_mask 0x0A, freq 5190, band 0
05-10 13:35:51.063: [ 33.100000] [4294940606] mtlk0(_mtlk_cis_search_and_parse_rssi_v6:1078): RSSI CIS found ant_mask 0x05, freq 2437, band 1
05-10 13:35:51.064: [ 33.110000] [4294940607] mtlk0(_parse_tpc_g6:888): TPC data for chan 36, bw 0, antenna 1
05-10 13:35:51.064: [ 33.120000] [4294940608] mtlk0(_parse_tpc_g6:888): TPC data for chan 36, bw 0, antenna 3
05-10 13:35:51.064: [ 33.130000] [4294940609] mtlk0(_parse_tpc_g6:888): TPC data for chan 52, bw 0, antenna 1
05-10 13:35:51.064: [ 33.140000] [4294940610] mtlk0(_parse_tpc_g6:888): TPC data for chan 52, bw 0, antenna 3
05-10 13:35:51.064: [ 33.150000] [4294940611] mtlk0(_parse_tpc_g6:888): TPC data for chan 100, bw 0, antenna 1
05-10 13:35:51.065: [ 33.150000] [4294940611] mtlk0(_parse_tpc_g6:888): TPC data for chan 100, bw 0, antenna 3
05-10 13:35:51.113: [ 33.160000] [4294940612] mtlk0(_parse_tpc_g6:888): TPC data for chan 116, bw 0, antenna 1
05-10 13:35:51.114: [ 33.170000] [4294940613] mtlk0(_parse_tpc_g6:888): TPC data for chan 116, bw 0, antenna 3
05-10 13:35:51.114: [ 33.180000] [4294940614] mtlk0(_parse_tpc_g6:888): TPC data for chan 132, bw 0, antenna 1
05-10 13:35:51.114: [ 33.190000] [4294940615] mtlk0(_parse_tpc_g6:888): TPC data for chan 132, bw 0, antenna 3
05-10 13:35:51.114: [ 33.190000] [4294940615] mtlk0(_parse_tpc_g6:888): TPC data for chan 149, bw 0, antenna 1
05-10 13:35:51.114: [ 33.200000] [4294940616] mtlk0(_parse_tpc_g6:888): TPC data for chan 149, bw 0, antenna 3
05-10 13:35:51.115: [ 33.210000] [4294940617] mtlk0(_parse_tpc_g6:888): TPC data for chan 165, bw 0, antenna 1
05-10 13:35:51.115: [ 33.220000] [4294940618] mtlk0(_parse_tpc_g6:888): TPC data for chan 165, bw 0, antenna 3
05-10 13:35:51.115: [ 33.230000] [4294940619] mtlk0(_parse_tpc_g6:888): TPC data for chan 36, bw 1, antenna 1
05-10 13:35:51.115: [ 33.240000] [4294940620] mtlk0(_parse_tpc_g6:888): TPC data for chan 36, bw 1, antenna 3
05-10 13:35:51.116: [ 33.240000] [4294940620] mtlk0(_parse_tpc_g6:888): TPC data for chan 52, bw 1, antenna 1
05-10 13:35:51.116: [ 33.250000] [4294940621] mtlk0(_parse_tpc_g6:888): TPC data for chan 52, bw 1, antenna 3
05-10 13:35:51.116: [ 33.260000] [4294940622] mtlk0(_parse_tpc_g6:888): TPC data for chan 100, bw 1, antenna 1
05-10 13:35:51.116: [ 33.270000] [4294940623] mtlk0(_parse_tpc_g6:888): TPC data for chan 100, bw 1, antenna 3
05-10 13:35:51.116: [ 33.280000] [4294940624] mtlk0(_parse_tpc_g6:888): TPC data for chan 116, bw 1, antenna 1
05-10 13:35:51.117: [ 33.280000] [4294940624] mtlk0(_parse_tpc_g6:888): TPC data for chan 116, bw 1, antenna 3
05-10 13:35:51.117: [ 33.290000] [4294940625] mtlk0(_parse_tpc_g6:888): TPC data for chan 132, bw 1, antenna 1
05-10 13:35:51.117: [ 33.300000] [4294940626] mtlk0(_parse_tpc_g6:888): TPC data for chan 132, bw 1, antenna 3
05-10 13:35:51.117: [ 33.310000] [4294940627] mtlk0(_parse_tpc_g6:888): TPC data for chan 149, bw 1, antenna 1
05-10 13:35:51.117: [ 33.320000] [4294940628] mtlk0(_parse_tpc_g6:888): TPC data for chan 149, bw 1, antenna 3
05-10 13:35:51.118: [ 33.330000] [4294940629] mtlk0(_parse_tpc_g6:888): TPC data for chan 157, bw 1, antenna 1
05-10 13:35:51.118: [ 33.330000] [4294940629] mtlk0(_parse_tpc_g6:888): TPC data for chan 157, bw 1, antenna 3
05-10 13:35:51.118: [ 33.340000] [4294940630] mtlk0(_parse_tpc_g6:888): TPC data for chan 36, bw 2, antenna 1
05-10 13:35:51.118: [ 33.350000] [4294940631] mtlk0(_parse_tpc_g6:888): TPC data for chan 36, bw 2, antenna 3
05-10 13:35:51.119: [ 33.360000] [4294940632] mtlk0(_parse_tpc_g6:888): TPC data for chan 52, bw 2, antenna 1
05-10 13:35:51.119: [ 33.370000] [4294940633] mtlk0(_parse_tpc_g6:888): TPC data for chan 52, bw 2, antenna 3
05-10 13:35:51.119: [ 33.370000] [4294940633] mtlk0(_parse_tpc_g6:888): TPC data for chan 100, bw 2, antenna 1
05-10 13:35:51.119: [ 33.380000] [4294940634] mtlk0(_parse_tpc_g6:888): TPC data for chan 100, bw 2, antenna 3
05-10 13:35:51.119: [ 33.390000] [4294940635] mtlk0(_parse_tpc_g6:888): TPC data for chan 116, bw 2, antenna 1
05-10 13:35:51.120: [ 33.400000] [4294940636] mtlk0(_parse_tpc_g6:888): TPC data for chan 116, bw 2, antenna 3
05-10 13:35:51.120: [ 33.410000] [4294940637] mtlk0(_parse_tpc_g6:888): TPC data for chan 132, bw 2, antenna 1
05-10 13:35:51.244: [ 33.410000] [4294940637] mtlk0(_parse_tpc_g6:888): TPC data for chan 132, bw 2, antenna 3
05-10 13:35:51.244: [ 33.420000] [4294940638] mtlk0(_parse_tpc_g6:888): TPC data for chan 149, bw 2, antenna 1
05-10 13:35:51.245: [ 33.430000] [4294940639] mtlk0(_parse_tpc_g6:888): TPC data for chan 149, bw 2, antenna 3
05-10 13:35:51.245: [ 33.440000] [4294940640] mtlk0(_parse_tpc_g6:888): TPC data for chan 36, bw 3, antenna 1
05-10 13:35:51.245: [ 33.450000] [4294940641] mtlk0(_parse_tpc_g6:888): TPC data for chan 36, bw 3, antenna 3
05-10 13:35:51.245: [ 33.460000] [4294940642] mtlk0(_parse_tpc_g6:888): TPC data for chan 100, bw 3, antenna 1
05-10 13:35:51.245: [ 33.460000] [4294940642] mtlk0(_parse_tpc_g6:888): TPC data for chan 100, bw 3, antenna 3
05-10 13:35:51.246: [ 33.470000] [4294940643] mtlk0(_parse_tpc_g6:888): TPC data for chan 6, bw 0, antenna 0
05-10 13:35:51.246: [ 33.480000] [4294940644] mtlk0(_parse_tpc_g6:888): TPC data for chan 6, bw 0, antenna 2
05-10 13:35:51.246: [ 33.490000] [4294940645] mtlk0(_parse_tpc_g6:888): TPC data for chan 4, bw 1, antenna 0
05-10 13:35:51.246: [ 33.500000] [4294940646] mtlk0(_parse_tpc_g6:888): TPC data for chan 4, bw 1, antenna 2
05-10 13:35:51.295: [ 33.500000] [4294940646] mtlk0(_parse_tpc_g6:888): TPC data for chan 6, bw 3, antenna 0
05-10 13:35:51.295: [ 33.510000] [4294940647] mtlk0(_parse_tpc_g6:888): TPC data for chan 6, bw 3, antenna 2
05-10 13:35:51.295: [ 33.520000] [4294940648] mtlk0(_mtlk_cis_area_parse_g6:964): EEPROM: TX antennas number 4, mask 0x0F
05-10 13:35:51.295: [ 33.530000] [4294940649] mtlk0(mtlk_cis_data_parse:1217): EEPROM supported bands: 2.4 - Yes, 5.2 - Yes
05-10 13:35:51.295: [ 33.540000] [4294940650] mtlkW(mtlk_cis_data_parse:1220): EEPROM contain TPC data for both bands
05-10 13:35:51.296: [ 33.550000] [4294940651] mtlk0(_mtlk_pcieg6_efuse_access_check:2043): eFuse read: addr 0, size 128, buf 0x6c5bef00
05-10 13:35:51.296: [ 33.560000] [4294940652] mtlk0(_mtlk_hw_fill_card_info:3536): is_asic:1, is_emul:0, is_fpga:0, is_phy_dummy:0
05-10 13:35:51.296: [ 33.570000] [4294940653] mtlk0(_wave_hw_cfg_platform_type_set:7094): TestPlatformType: 0
05-10 13:35:51.296: [ 33.570000] [4294940653] mtlk0(_mtlk_df_fw_request_firmware:43): Request Firmware ('PSD.bin') is starting
05-10 13:35:51.558: [ 33.600000] [4294940656] mtlk0(mtlk_psdb_file_read_and_parse:1958): PSDB Info: version 121 (0x00000079), revision 00
05-10 13:35:51.559: [ 33.610000] [4294940657] mtlk0(mtlk_psdb_file_read_and_parse:1967): Look for chip_id 0x0900, hw_type 0x61, hw_rev 0x45
05-10 13:35:51.559: [ 33.620000] [4294940658] mtlk0(psdb_parse_fields_array:1636): Parsed 62 items, found 12 fields and 29 tables
05-10 13:35:51.559: [ 33.630000] [4294940659] mtlk0(_mtlk_psdb_parse_ant_mask_per_chan_table:1546): Channel until 35 (including) mask is 0x05
05-10 13:35:51.559: [ 33.640000] [4294940660] mtlk0(_mtlk_psdb_parse_ant_mask_per_chan_table:1546): Channel until 255 (including) mask is 0x0A
05-10 13:35:51.560: [ 33.650000] [4294940661] mtlk0(_mtlk_psdb_parse_cdb_cfg_table:1307): CDB config[0] = 1 (CDB_CFG_2G)
05-10 13:35:51.560: [ 33.660000] [4294940662] mtlk0(_mtlk_psdb_parse_cdb_cfg_table:1307): CDB config[1] = 2 (CDB_CFG_5G)
05-10 13:35:51.560: [ 33.670000] [4294940663] mtlk0(psdb_parse_fields_array:1788): PSDB: TX/RX antennas number 4/4, mask 0x0F/0x0F
05-10 13:35:51.560: [ 33.680000] [4294940664] mtlk0(_mtlk_psdb_update_cdb_cfg_table:1473): [0] band 1, channels 1 ... 14
05-10 13:35:51.609: [ 33.690000] [4294940665] mtlk0(_mtlk_psdb_update_cdb_cfg_table:1479): [0] Antennas number 2, mask 05, sel_mask 11, factor 24
05-10 13:35:51.610: [ 33.700000] [4294940666] mtlk0(_mtlk_psdb_update_cdb_cfg_table:1473): [1] band 0, channels 36 ... 165
05-10 13:35:51.610: [ 33.710000] [4294940667] mtlk0(_mtlk_psdb_update_cdb_cfg_table:1479): [1] Antennas number 2, mask 0A, sel_mask 44, factor 24
05-10 13:35:51.610: [ 33.720000] [4294940668] mtlk0(_psdb_print_info:1894): PSDB Beamforming capabilities: 0x1C, bf_explicit=1
05-10 13:35:51.610: [ 33.730000] [4294940669] mtlk0(wave_rcvry_card_add:403): Creating dir FW
05-10 13:35:51.610: [ 33.740000] [4294940670] mtlk0(wave_rcvry_card_add:411): Number of files to create 25
05-10 13:35:51.611: [ 33.740000] [4294940670] mtlk0(_mmb_drv_radio_number_get:1426): card_idx:0, number of radios supported:2, configured:2
05-10 13:35:51.611: [ 33.760000] [4294940672] mtlk0(mtlk_hw_mmb_init_card:7140): card_idx:0, mmb_base:0xf8000000, mmb_pas:0xf8300000, mmb_pas_phy:0xb8000000, fastpath supported:1 enabled:1 -> available:1
05-10 13:35:51.611: [ 33.770000] [4294940673] mtlk0(_wave_hw_radio_band_cfg_init:12364): Gen5: 0, Gen6: 1, band_cfg_sys_mode: WAVE_HW_RADIO_BAND_CFG_DB_2x2, ep_mask: 1, vap_mask: 15
05-10 13:35:51.612: [ 33.790000] [4294940675] mtlk0(_wave_hw_radio_band_cfg_init:12370): HW supports max VAPs 16 (32 in FW) max STAs 254
05-10 13:35:51.612: [ 33.800000] [4294940676] mtlk0(wave_radio_limits_set:4375): Radio ID 0 supports max VAPs 8 max STAs 127
05-10 13:35:51.612: [ 33.810000] [4294940677] mtlk0(wave_radio_limits_set:4375): Radio ID 1 supports max VAPs 8 max STAs 127
05-10 13:35:51.612: [ 33.820000] [4294940678] mtlk0(_wave_hw_dual_pci_mode_set:7080): dual PCI mode ON
05-10 13:35:51.613: [ 33.820000] [4294940678] mtlk0(mtlk_df_dcdp_get_host_capability:11300): DC DP library version: 0.0.0 (0x00000000)
05-10 13:35:51.613: [ 33.830000] [4294940679] mtlk0(mtlk_df_dcdp_get_host_capability:11303): DC DP headers version: 4.1.4 (0x00040104)
05-10 13:35:51.613: [ 33.840000] [4294940680] mtlk0(mtlk_df_dcdp_get_host_capability:11306): FastPath: supported
05-10 13:35:51.613: [ 33.850000] [4294940681] mtlk0(mtlk_df_dcdp_get_host_capability:11313): LitePath: supported
05-10 13:35:51.613: [ 33.860000] [4294940682] mtlk0(mtlk_df_dcdp_get_host_capability:11314): SWPath: supported
05-10 13:35:51.614: [ 33.870000] [4294940683] mtlk0(mtlk_df_dcdp_datapath_dev_init:11352): Activate fragmentation W/A
05-10 13:35:51.614: [ 33.880000] [4294940684] mtlk0(pci_irq_alloc:835): CID-00: Interrupt configuration: using legacy interrupt mode
05-10 13:35:51.614: [ 33.890000] [4294940685] mtlk0(_mtlk_pcieg6_reset_mac:842): Reset WLAN SOC: address is 0x00270004, value=0x00000001
05-10 13:35:51.614: [ 33.920000] [4294940688] mtlk0(__pcieg6_reset_cpu_lower:790): Reset LMAC0
05-10 13:35:51.920: [ 33.940000] [cbm] { cbm_dp_enable : 3855 }******************ep=15 tmu_port=19 queue=28 sid=12
05-10 13:35:51.921: [ 33.950000] [cbm] { cbm_dp_enable : 3886 }enable queue 28
05-10 13:35:51.921: [ 33.950000] [cbm] { cbm_dp_enable : 3887 }flag 0 refcnt 1024
05-10 13:35:51.921: [ 33.960000] [4294940692] mtlk0(__pcieg6_reset_cpu_lower:790): Reset LMAC1
05-10 13:35:51.921: [ 33.970000] [cbm] { cbm_dp_enable : 3855 }******************ep=2 tmu_port=7 queue=17 sid=1
05-10 13:35:51.921: [ 33.980000] [cbm] { cbm_dp_enable : 3886 }enable queue 17
05-10 13:35:51.921: [ 33.980000] [cbm] { cbm_dp_enable : 3887 }flag 0 refcnt 1024
05-10 13:35:51.922: [ 33.990000] br-lan: port 1(eth0_1) entered disabled state
05-10 13:35:51.922: [ 34.000000] [4294940696] mtlk0(_mtlk_pcieg6_put_cpus_to_reset:872): Reset UMAC
05-10 13:35:51.922: [ 34.000000] device eth0_1 left promiscuous mode
05-10 13:35:51.922: [ 34.000000] br-lan: port 1(eth0_1) entered disabled state
05-10 13:35:51.922: [ 34.010000] [cbm] { cbm_dp_enable : 3855 }******************ep=3 tmu_port=8 queue=18 sid=2
05-10 13:35:51.922: [ 34.020000] [cbm] { cbm_dp_enable : 3886 }enable queue 18
05-10 13:35:51.923: [ 34.020000] [cbm] { cbm_dp_enable : 3887 }flag 0 refcnt 1024
05-10 13:35:51.923: [ 34.030000] br-lan: port 2(eth0_2) entered disabled state
05-10 13:35:51.971: [ 34.040000] device eth0_2 left promiscuous mode
05-10 13:35:51.972: [ 34.040000] br-lan: port 2(eth0_2) entered disabled state
05-10 13:35:51.972: [ 34.040000] [4294940700] mtlk0(_mtlk_mmb_cleanup_reset_mac:5277): FW CPU reset is done
05-10 13:35:51.972: [ 34.040000] [4294940700] mtlk0(_abb_central_fusing:1324): Trim by AFE data
05-10 13:35:51.972: [ 34.040000] [MTLKD] ibiastrim 0x0E
05-10 13:35:51.972: [ 34.040000] [MTLKD] vreftrim 0x09
05-10 13:35:51.972: [ 34.040000] [MTLKD] ldo_central_pll1v8 0x03
05-10 13:35:51.973: [ 34.040000] [MTLKD] ldo_central_pllref 0x01
05-10 13:35:51.973: [ 34.040000] [MTLKD] ldo_central_pllpost 0x01
05-10 13:35:51.973: [ 34.040000] [MTLKD] iptattrim 0x0A
05-10 13:35:51.973: [ 34.040000] [MTLKD] ldo_central_clkd 0x04
05-10 13:35:51.973: [ 34.040000] [MTLKD] ldo_central_clkin 0x04
05-10 13:35:51.973: [ 34.040000] [MTLKD] (1125) wrToAfeRegC addr 0x0040 value 0x09AE
05-10 13:35:51.973: [ 34.040000] [MTLKD] (1087) FCSI_READ ms 1, rf 0, addr 0x0040, data 0x0080
05-10 13:35:51.973: [ 34.040000] [MTLKD] (1099) FCSI_WRITE ms 1, rf 0, addr 0x0040, data 0x09AE
05-10 13:35:51.974: [ 34.040000] [MTLKD] (1125) wrToAfeRegC addr 0x0045 value 0x0004
05-10 13:35:51.974: [ 34.040000] [MTLKD] (1087) FCSI_READ ms 1, rf 0, addr 0x0045, data 0x0008
05-10 13:35:51.974: [ 34.040000] [MTLKD] (1099) FCSI_WRITE ms 1, rf 0, addr 0x0045, data 0x0004
05-10 13:35:51.974: [ 34.040000] [MTLKD] (1125) wrToAfeRegC addr 0x005E value 0x0003
05-10 13:35:51.974: [ 34.040000] [MTLKD] (1087) FCSI_READ ms 1, rf 0, addr 0x005E, data 0x0004
05-10 13:35:51.975: [ 34.040000] [MTLKD] (1099) FCSI_WRITE ms 1, rf 0, addr 0x005E, data 0x0003
05-10 13:35:51.975: [ 34.040000] [MTLKD] (1125) wrToAfeRegC addr 0x005C value 0x0001
05-10 13:35:51.975: [ 34.040000] [MTLKD] (1087) FCSI_READ ms 1, rf 0, addr 0x005C, data 0x0008
05-10 13:35:51.975: [ 34.040000] [MTLKD] (1099) FCSI_WRITE ms 1, rf 0, addr 0x005C, data 0x0001
05-10 13:35:51.975: [ 34.040000] [MTLKD] (1125) wrToAfeRegC addr 0x005D value 0x0001
05-10 13:35:51.975: [ 34.040000] [MTLKD] (1087) FCSI_READ ms 1, rf 0, addr 0x005D, data 0x0008
05-10 13:35:51.976: [ 34.040000] [MTLKD] (1099) FCSI_WRITE ms 1, rf 0, addr 0x005D, data 0x0001
05-10 13:35:51.976: [ 34.040000] [MTLKD] (1125) wrToAfeRegC addr 0x0047 value 0x0004
05-10 13:35:51.976: [ 34.040000] [MTLKD] (1087) FCSI_READ ms 1, rf 0, addr 0x0047, data 0x0008
05-10 13:35:51.976: [ 34.040000] [MTLKD] (1099) FCSI_WRITE ms 1, rf 0, addr 0x0047, data 0x0004
05-10 13:35:51.976: [ 34.220000] [4294940718] mtlkW(_wave_hw_chi_area_write:4181): hdr 6c66a7a8, id 12
05-10 13:35:51.977: [ 34.220000] [4294940718] mtlkW(_wave_hw_chi_area_write:4187): dst 6c66a7b4, data 0x01
05-10 13:35:51.977: [ 34.230000] [4294940719] mtlkW(_wave_hw_chi_area_write:4187): dst 6c66a7b8, data 0x01
05-10 13:35:51.977: [ 34.240000] [4294940720] mtlkW(_wave_hw_chi_area_write:4187): dst 6c66a7bc, data 0x00
05-10 13:35:51.977: [ 34.250000] [4294940721] mtlk0(_mtlk_df_fw_request_firmware:43): Request Firmware ('ap_ram_gen6_wrx_600_real_phy.bin') is starting
05-10 13:35:51.977: [ 34.290000] [cbm] { cbm_dp_enable : 3855 }******************ep=4 tmu_port=9 queue=19 sid=3
05-10 13:35:52.022: [ 34.290000] [cbm] { cbm_dp_enable : 3886 }enable queue 19
05-10 13:35:52.022: [ 34.300000] [cbm] { cbm_dp_enable : 3887 }flag 0 refcnt 1024
05-10 13:35:52.022: [ 34.300000] br-lan: port 3(eth0_3) entered disabled state
05-10 13:35:52.022: [ 34.310000] device eth0_3 left promiscuous mode
05-10 13:35:52.022: [ 34.310000] br-lan: port 3(eth0_3) entered disabled state
05-10 13:35:52.072: [ 34.370000] [cbm] { cbm_dp_enable : 3855 }******************ep=5 tmu_port=10 queue=20 sid=4
05-10 13:35:52.073: [ 34.370000] [cbm] { cbm_dp_enable : 3886 }enable queue 20
05-10 13:35:52.073: [ 34.380000] [cbm] { cbm_dp_enable : 3887 }flag 0 refcnt 1024
05-10 13:35:52.073: [ 34.390000] br-lan: port 4(eth0_4) entered disabled state
05-10 13:35:52.073: [ 34.390000] device eth0_4 left promiscuous mode
05-10 13:35:52.074: [ 34.400000] br-lan: port 4(eth0_4) entered disabled state
05-10 13:35:52.175: [ 34.480000] [cbm] { cbm_dp_enable : 3855 }******************ep=2 tmu_port=7 queue=17 sid=1
05-10 13:35:52.176: [ 34.490000] [cbm] { cbm_dp_enable : 3886 }enable queue 17
05-10 13:35:52.176: [ 34.490000] [cbm] { cbm_dp_enable : 3887 }flag 1 refcnt 1024
05-10 13:35:52.176: [ 34.500000] p2p channel already ON !
05-10 13:35:52.176: [ 34.500000] phy init already done !
05-10 13:35:52.176: [ 34.510000] IPv6: ADDRCONF(NETDEV_UP): eth0_1: link is not ready
05-10 13:35:52.176: [ 34.510000] device eth0_1 entered promiscuous mode
05-10 13:35:52.238: [ 34.570000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
05-10 13:35:52.592: [ 34.590000] [cbm] { cbm_dp_enable : 3855 }******************ep=3 tmu_port=8 queue=18 sid=2
05-10 13:35:52.592: [ 34.600000] [cbm] { cbm_dp_enable : 3886 }enable queue 18
05-10 13:35:52.592: [ 34.610000] [cbm] { cbm_dp_enable : 3887 }flag 1 refcnt 1024
05-10 13:35:52.592: [ 34.610000] p2p channel already ON !
05-10 13:35:52.592: [ 34.620000] phy init already done !
05-10 13:35:52.593: [ 34.620000] IPv6: ADDRCONF(NETDEV_UP): eth0_2: link is not ready
05-10 13:35:52.593: [ 34.630000] device eth0_2 entered promiscuous mode
05-10 13:35:52.593: [ 34.630000] [4294940759] mtlk0(_mtlk_df_fw_request_firmware:43): Request Firmware ('tx_sender_gen6.bin') is starting
05-10 13:35:52.593: [ 34.640000] [cbm] { cbm_dp_enable : 3855 }******************ep=4 tmu_port=9 queue=19 sid=3
05-10 13:35:52.593: [ 34.650000] [cbm] { cbm_dp_enable : 3886 }enable queue 19
05-10 13:35:52.593: [ 34.660000] [cbm] { cbm_dp_enable : 3887 }flag 1 refcnt 1024
05-10 13:35:52.593: [ 34.660000] p2p channel already ON !
05-10 13:35:52.593: [ 34.660000] [4294940762] mtlk0(_mtlk_df_fw_request_firmware:43): Request Firmware ('tx_sender_gen6.bin') is starting
05-10 13:35:52.593: [ 34.660000] [4294940762] mtlk0(_mtlk_df_fw_request_firmware:43): Request Firmware ('host_interface_gen6_dc_mode0.bin') is starting
05-10 13:35:52.643: [ 34.680000] [4294940764] mtlk0(_mtlk_df_fw_request_firmware:43): Request Firmware ('rx_handler_gen6.bin') is starting
05-10 13:35:52.643: [ 34.700000] phy init already done !
05-10 13:35:52.643: [ 34.700000] IPv6: ADDRCONF(NETDEV_UP): eth0_3: link is not ready
05-10 13:35:52.643: [ 34.710000] device eth0_3 entered promiscuous mode
05-10 13:35:52.644: [ 34.710000] [cbm] { cbm_dp_enable : 3855 }******************ep=5 tmu_port=10 queue=20 sid=4
05-10 13:35:52.644: [ 34.720000] [4294940768] mtlk0(_mtlk_df_fw_request_firmware:43): Request Firmware ('rx_handler_gen6.bin') is starting
05-10 13:35:52.644: [ 34.720000] [4294940768] mtlk0(__pcieg6_release_cpu_lower:802): Release LMAC0
05-10 13:35:52.644: [ 34.740000] [cbm] { cbm_dp_enable : 3886 }enable queue 20
05-10 13:35:52.644: [ 34.740000] [cbm] { cbm_dp_enable : 3887 }flag 1 refcnt 1024
05-10 13:35:52.644: [ 34.750000] p2p channel already ON !
05-10 13:35:52.644: [ 34.750000] [4294940771] mtlk0(__pcieg6_release_cpu_lower:802): Release LMAC1
05-10 13:35:52.644: [ 34.760000] phy init already done !
05-10 13:35:52.644: [ 34.770000] IPv6: ADDRCONF(NETDEV_UP): eth0_4: link is not ready
05-10 13:35:52.644: [ 34.770000] device eth0_4 entered promiscuous mode
05-10 13:35:52.644: [ 34.780000] [4294940774] mtlk0(_mtlk_pcieg6_release_cpus_reset:1626): Release UMAC
05-10 13:35:52.644: [ 34.790000] [cbm] { cbm_dp_enable : 3855 }******************ep=15 tmu_port=19 queue=28 sid=12
05-10 13:35:52.644: [ 34.800000] [4294940776] mtlk0(_mtlk_mmb_wait_chi_magic:4273): Wait for CHI Magic (5000 ms)...
05-10 13:35:52.644: [ 34.800000] [cbm] { cbm_dp_enable : 3886 }enable queue 28
05-10 13:35:52.644: [ 34.810000] [cbm] { cbm_dp_enable : 3887 }flag 1 refcnt 1024
05-10 13:35:52.645: [ 34.820000] p2p channel already ON !
05-10 13:35:52.645: [ 34.820000] phy init already done !
05-10 13:35:52.645: [ 34.820000] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
05-10 13:35:52.645: [ 34.830000] [4294940779] mtlk0(__log_chi_area:4502): Line 7930: CHI: sFifoQ: is=0x47f4 in=16 rs=0x4834 rn=16
05-10 13:35:52.645: [ 34.830000] [4294940779] mtlk0(__log_chi_area:4502): Line 7931: CHI: sDAT: is=0x47d0 in=1 rs=0x0 rn=0
05-10 13:35:52.645: [ 34.830000] [4294940779] mtlk0(__log_chi_area:4502): Line 7932: CHI: sMAN: is=0x516c in=8 rs=0x4c94 rn=2
05-10 13:35:52.645: [ 34.830000] [4294940779] mtlk0(__log_chi_area:4502): Line 7933: CHI: sDBG: is=0x4874 in=1 rs=0x4a84 rn=1
05-10 13:35:52.645: [ 34.830000] [4294940779] mtlk0(__log_chi_ring:4522): Line 7935: CHI: sMangTxRING: inCounter=0x2550dc inStatus=0x25512c outCounter=0x25510c outStatus=0x255134 inCounter_BE=0x0 outFreedCounter_BE=0x0
05-10 13:35:52.645: [ 34.830000] [4294940779] mtlk0(__log_chi_ring:4522): Line 7936: CHI: sMangRxRING: inCounter=0x2550d8 inStatus=0x255128 outCounter=0x255108 outStatus=0x255130 inCounter_BE=0x0 outFreedCounter_BE=0x0
05-10 13:35:52.645: [ 34.830000] [4294940779] mtlk0(__log_chi_ring:4522): Line 7938: CHI: sTxRING: inCounter=0x2550cc inStatus=0x25511c outCounter=0x2550fc outStatus=0x255124 inCounter_BE=0x255254 outFreedCounter_BE=0x2359fc
05-10 13:35:52.645: [ 34.830000] [4294940779] mtlk0(__log_chi_ring:4522): Line 7939: CHI: sRxRING: inCounter=0x2550c8 inStatus=0x255118 outCounter=0x2550f8 outStatus=0x255120 inCounter_BE=0x255250 outFreedCounter_BE=0x2359f8
05-10 13:35:52.646: [ 34.830000] [4294940779] mtlk0(__log_chi_pool:4535): Line 7940: CHI: sRdPOOL: RdPoolBaseAddress=0x44fb80 RdSizeInBytes=0x20 PayloadAddressOffsetInRd=0x0 BdIndexOffsetInRd=0x1c NumRdsInPool=2048 NumMgtRdsInPool=128
05-10 13:35:52.826: [ 34.830000] [4294940779] mtlk0(_mtlk_mmb_prepare_ring_counters:4645): Ring Regs: p_IN_cntr 0xf82550cc, p_OUT_status 0xf8255124, p_OUT_cntr 0xf82550fc
05-10 13:35:52.826: [ 34.830000] [4294940779] mtlk0(_mtlk_mmb_prepare_ring_counters:4645): Ring Regs: p_IN_cntr 0xf82550c8, p_OUT_status 0xf8255120, p_OUT_cntr 0xf82550f8
05-10 13:35:52.826: [ 34.830000] [4294940779] mtlk0(_mtlk_mmb_prepare_ring_buffer:4685): ring_size:128 total_ring_size:2560
05-10 13:35:52.827: [ 34.830000] [4294940779] mtlk0(_mtlk_mmb_prepare_ring_buffer:4718): Ring virtual addr:67aac000 dma_addr:27aac000 base_addr:a7aac000
05-10 13:35:52.827: [ 34.830000] [4294940779] mtlk0(_mtlk_mmb_prepare_ring_counters:4645): Ring Regs: p_IN_cntr 0xf82550d8, p_OUT_status 0xf8255130, p_OUT_cntr 0xf8255108
05-10 13:35:52.827: [ 34.830000] [4294940779] mtlk0(_mtlk_mmb_prepare_ring_buffer:4685): ring_size:128 total_ring_size:2560
05-10 13:35:52.827: [ 34.830000] [4294940779] mtlk0(_mtlk_mmb_prepare_ring_buffer:4718): Ring virtual addr:67b3f000 dma_addr:27b3f000 base_addr:a7b3f000
05-10 13:35:52.877: [ 34.830000] [4294940779] mtlk0(_mtlk_mmb_prepare_ring_counters:4645): Ring Regs: p_IN_cntr 0xf82550dc, p_OUT_status 0xf8255134, p_OUT_cntr 0xf825510c
05-10 13:35:52.877: [ 34.830000] [4294940779] mtlk0(_mtlk_mmb_init_calibration_cache:5333): u32BufferRequestedSize 127152, pPsdProgmodelAddress 0x0014
05-10 13:35:52.877: [ 34.830000] [4294940779] mtlk0(_mtlk_mmb_set_calibration_buffers:5320): Calibration buffer: dma_addr 0x27460000, virt_addr 0x67460000, size 127152
05-10 13:35:52.878: [ 34.830000] [4294940779] mtlk0(wv_cfg80211_init_band:1804): 2.4 GHz band supported, up to 2 spatial streams
05-10 13:35:52.878: [ 35.090000] [4294940805] mtlk0(_wave_radio_vap_create:422): ndev_name wlan0, vap_id 0
05-10 13:35:52.878: [ 35.090000] [4294940805] mtlk0(wave_hw_band_hd_ep_bit_get:12448): band_cfg: WAVE_HW_RADIO_BAND_CFG_DB_2x2 radio_id: 0 vap_id: 0 --> ep_bit: 1, vap_id_fw 16
05-10 13:35:52.878: [ 35.110000] [4294940807] mtlk0(_mtlk_df_user_alloc_devname:9169): dev_alloc_name succeeded, pattern:wlan0, name:wlan0
05-10 13:35:52.878: [ 35.120000] [4294940808] mtlk0(wv_cfg80211_init_band:1804): 5 GHz band supported, up to 2 spatial streams
05-10 13:35:52.878: [ 35.130000] [4294940809] mtlk0(_wave_radio_vap_create:422): ndev_name wlan2, vap_id 0
05-10 13:35:52.878: [ 35.140000] [4294940810] mtlk0(wave_hw_band_hd_ep_bit_get:12448): band_cfg: WAVE_HW_RADIO_BAND_CFG_DB_2x2 radio_id: 1 vap_id: 0 --> ep_bit: 0, vap_id_fw 0
05-10 13:35:52.878: [ 35.150000] [4294940811] mtlk0(_mtlk_df_user_alloc_devname:9169): dev_alloc_name succeeded, pattern:wlan2, name:wlan2
05-10 13:35:52.878: [ 35.180000] [4294940814] mtlk0(mtlk_hw_mmb_start_card_finalize:8005): mips_no:0, pas_offset:0x0004E86C
05-10 13:35:53.170: [ 35.180000] [4294940814] mtlk0(mtlk_hw_mmb_start_card_finalize:8005): mips_no:1, pas_offset:0x0004E870
05-10 13:35:53.170: [ 35.190000] [4294940815] mtlk0(mtlk_hw_mmb_start_card_finalize:8005): mips_no:2, pas_offset:0x0004E874
05-10 13:35:53.170: [ 35.200000] [4294940816] mtlkW(_mtlk_get_rx_ring_size:4766): RX ring size 4096 defined bigger than RD pool size 2048, using RD pool size as ring size
05-10 13:35:53.170: [ 35.220000] [4294940818] mtlk0(mtlk_df_dcdp_datapath_dev_register:11525): Registering DirectConnect dev_port 0
two issues are apparent:
just curious: do you have access to the closed source driver? i know you can't share it, but do you think it's possible both of these issues are from a stale driver?
you need ax50's cal_wlan0.bin and psd.bin, like eeprom and art, they must match the same device model.
05-10 13:35:51.560: [ 33.680000] [4294940664] mtlk0(_mtlk_psdb_update_cdb_cfg_table:1473): [0] band 1, channels 1 ... 14
05-10 13:35:51.609: [ 33.690000] [4294940665] mtlk0(_mtlk_psdb_update_cdb_cfg_table:1479): [0] Antennas number 2, mask 05, sel_mask 11, factor 24
05-10 13:35:51.610: [ 33.700000] [4294940666] mtlk0(_mtlk_psdb_update_cdb_cfg_table:1473): [1] band 0, channels 36 ... 165
05-10 13:35:51.610: [ 33.710000] [4294940667] mtlk0(_mtlk_psdb_update_cdb_cfg_table:1479): [1] Antennas number 2, mask 0A, sel_mask 44, factor 24
look at it, 5G is the first band in eeprom, but 2G must be the first band in dbdc mode, ax50's psd.bin did it.
05-10 13:35:52.878: [ 34.830000] [4294940779] mtlk0(wv_cfg80211_init_band:1804): 2.4 GHz band supported, up to 2 spatial streams
05-10 13:35:52.878: [ 35.090000] [4294940805] mtlk0(_wave_radio_vap_create:422): ndev_name wlan0, vap_id 0
05-10 13:35:52.878: [ 35.090000] [4294940805] mtlk0(wave_hw_band_hd_ep_bit_get:12448): band_cfg: WAVE_HW_RADIO_BAND_CFG_DB_2x2 radio_id: 0 vap_id: 0 --> ep_bit: 1, vap_id_fw 16
05-10 13:35:52.878: [ 35.110000] [4294940807] mtlk0(_mtlk_df_user_alloc_devname:9169): dev_alloc_name succeeded, pattern:wlan0, name:wlan0
but my cal_wlan0.bin and psd.bin are from the TP-LINK AX50 romfs. they are the same :/
https://gitlab.com/prpl-foundation/intel/iwlwav-dev/-/blob/ugw-8.4.2-cleanup/drivers/net/wireless/intel/iwlwav/wireless/driver/mtlk_psdb.c#L1531
radio_cfg = &cdb_table->radio_cfg[i];
radio_cfg = &cdb_table->radio_cfg[1-i];
you're saying that radio_cfg = &cdb_table->radio_cfg[i-1] for i==1, right?
is this because they're the same chip?
@paldier i think it has something to do with eeprom too but i think there is problem with parsing eeprom file, which is exactly the same as TP-LINK. it says "cis_v6" which is wav600 (i think).
i am uncertain if you have any builds for wav600 but it is my belief this issue is caused by parsing a version 6 eeprom file, as the TP-LINK driver (even if is closed source) prints
05-10 13:35:50.717: [ 33.070000] [4294940603] mtlk0(_eeprom_parse:900): EEPROM info: ver 0x0600, cal_file_type Operational, device_id 0x0900, header size 40, data size 1024, is_cis_v6 1
in my opinion, this is related to the code that parses a version 6 eeprom file
hi,
i saw this repository in my perusal of sources that support the GRX350/550 processors.
does this kernel work for the dual core intel interaptiv mips devices?
if so, i'm very intrigued and want to determine if i can merge the changes from the GPL into 4.14 for my own build.