srslypascal is now known as Guest1630
goliath has quit [Quit: SIGSEGV]
srslypascal has joined #openwrt-devel
Guest1630 has quit [Ping timeout: 480 seconds]
bluew has quit [Quit: Leaving]
dangole_ has quit [Ping timeout: 480 seconds]
srslypascal is now known as Guest1640
srslypascal has joined #openwrt-devel
Guest1640 has quit [Ping timeout: 480 seconds]
srslypascal has quit [Ping timeout: 480 seconds]
srslypascal has joined #openwrt-devel
minimal has quit [Quit: Leaving]
srslypascal is now known as Guest1643
srslypascal has joined #openwrt-devel
srslypascal is now known as Guest1644
srslypascal has joined #openwrt-devel
Guest1643 has quit [Ping timeout: 480 seconds]
Guest1644 has quit [Ping timeout: 480 seconds]
srslypascal is now known as Guest1646
srslypascal has joined #openwrt-devel
danitool has quit [Ping timeout: 480 seconds]
mangix has quit [Remote host closed the connection]
Guest1646 has quit [Ping timeout: 480 seconds]
mangix has joined #openwrt-devel
ekathva has joined #openwrt-devel
<neggles> grr. the regmaps between 8236 and 8327 are not as close as it initially appeared
gladiac is now known as Guest1648
gladiac has joined #openwrt-devel
Guest1648 has quit [Ping timeout: 480 seconds]
srslypascal is now known as Guest1649
srslypascal has joined #openwrt-devel
Guest1649 has quit [Ping timeout: 480 seconds]
<mangix> neggles: why would they be?
<russell--> they have similar digits!
<neggles> mangix: the overwhelming majority are the same
<neggles> and in fact, the registers themselves are nearly identical
<neggles> but a couple of them have different base addresses >:(
<mangix> i mean it's a 100mbps vs 1gbit switch
<neggles> i'm just annoyed that it looked identical save for the L3 features (which aren't supported by DSA anyway) and 1G configuration (the bits are in the same place, but they're just 'reserved' on the 8236)
ptudor has quit [Ping timeout: 480 seconds]
<neggles> but it's juuuuuuuust different enough that I dunno if I should duplicate-and-edit qca8k or work out how to handle different regmaps.
<neggles> (in one driver)
<neggles> duplicate-and-edit will be faster...
<mangix> hmm isn't there already a dsa driver for the 8236?
<neggles> stintel made one up for kernel 4.4, never made it into mainline
<neggles> appears to also not have been ported up to 5.10
<neggles> afaik that doesn't work for 8236
<mangix> hmmm I only see one device using that switch
<mangix> target/linux/ath79/dts/qca9558_tplink_tl-wr941n-v7-cn.dts
<neggles> hm
<mangix> I was also thinking about https://git.openwrt.org/?p=openwrt/staging/blocktrron.git;a=shortlog;h=refs/heads/dsa-ar9344 , but that seems different
<neggles> why does it have it at 1f i wonder
<neggles> yeah
<neggles> tp-link's choice of switch chip here is honestly just mean.
<neggles> who attaches an ancient QCA 10/100 switch chip to an armada 3720???
* mangix is lost
<neggles> mangix: it's a tp-link OC200
<neggles> which is identical to the Armada 3720 ECK board, except only USB2.0 and with an AR8236 instead of the marvell 5x1G chip that's on the ECK
<neggles> IMO it was purposefully kneecapped to discourage people from putting OpenWrt on it and using it as a router...
<mangix> weird
<neggles> I don't know why it even has two ethernet ports
<neggles> it doesn't do anything with the 2nd port if you use it for what they meant you to use it for
* neggles shrugs
<neggles> i have duplicated qca8k.c/h and am going to pull out the 1G bits, change the relevant register base addresses, and if it works go from there
<mangix> lol good luck
<mangix> wonder if Ansuel figured out the performance stuff
cbeznea has joined #openwrt-devel
Misanthropos has quit [Ping timeout: 480 seconds]
dedeckeh has joined #openwrt-devel
ptudor has joined #openwrt-devel
sorinello_ has joined #openwrt-devel
goliath has joined #openwrt-devel
sorinello has quit [Ping timeout: 480 seconds]
sorinello_ is now known as sorinello
felix has quit []
felix has joined #openwrt-devel
mrkiko has joined #openwrt-devel
<nick[m]1234> neggles: can you mabye merge the initial ath79 commit. and afterwards we can try to convert to nvme cells? I don't know why it is not working. :/
<neggles> heh I very much do not have commit access and that is probably for the best
<neggles> let me take a quick look at what ath9k is doing
Tapper has joined #openwrt-devel
amaumene has quit [Ping timeout: 480 seconds]
amaumene has joined #openwrt-devel
<neggles> nick[m]1234: it seems i have mislead you, based on what chunkeey did with the other netgears a few months ago
<neggles> sorry >.>
<nick[m]1234> neggles: no problemo. :) thanks for all your help
<nick[m]1234> I will recompile
<nick[m]1234> do you know why the changes?
robimarko has joined #openwrt-devel
<nick[m]1234> I would put mac-address-increment = <1>;
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
<nick[m]1234> however, I see the devices! :D
<nick[m]1234> but ath9k not
danitool has joined #openwrt-devel
pepe2k has joined #openwrt-devel
ptudor_ has joined #openwrt-devel
ptudor has quit [Read error: Connection reset by peer]
ptudor_ has quit [Ping timeout: 480 seconds]
Strykar has quit [Quit: /quit]
Strykar has joined #openwrt-devel
amaumene has quit [Quit: amaumene]
<aparcar[m]> mangix: does your tools/xz compile on macOS?
ecloud is now known as ecloud_quassel
dangole_ has joined #openwrt-devel
<neggles> nick[m]1234: that's.... weird
<neggles> i wonder if the driver doesn't know about your pci IDs
<neggles> nick[m]1234: can you do an `lspci -nn -vv` and dump that somewhere? (you'll need pciutils installed)
snh has quit [Quit: ZNC - http://znc.in]
snh has joined #openwrt-devel
<neggles> and uh, you *do* have the ath9k drivers installed, right? :P
Tapper has quit [Ping timeout: 480 seconds]
snh has quit [Quit: ZNC - http://znc.in]
snh has joined #openwrt-devel
<nick[m]1234> CONFIG_PACKAGE_kmod-ath9k=y, CONFIG_DEFAULT_kmod-ath9k=y, CONFIG_PACKAGE_kmod-ath9k-common=y
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
arthur_melo has joined #openwrt-devel
robimarko has quit [Remote host closed the connection]
robimarko has joined #openwrt-devel
robimarko_ has joined #openwrt-devel
robimarko has quit [Ping timeout: 480 seconds]
wvdakker_ has quit []
wvdakker has joined #openwrt-devel
Tapper has joined #openwrt-devel
<neggles> nick[m]1234: and you have firmware?
<neggles> i must be missing something with the reg property
<nick[m]1234> I deleted the extraction again with the shell scripts
<nick[m]1234> is that correct?
valku has joined #openwrt-devel
mattytap has joined #openwrt-devel
<neggles> nick[m]1234: looks like there's no fw packages for ath9k if you're not running the -ct drivers
<neggles> hm. weird.
<neggles> what did your DT look like before hurricos suggested the nvmem change?
<nick[m]1234> I will dumb all packages installed. just on my "daily work". :D However, I took the AP with me to experiment
mattytap has quit [Read error: Connection reset by peer]
<nick[m]1234> just look at the single commits in the PR https://github.com/openwrt/openwrt/pull/9685
<nick[m]1234> I seperated them
<neggles> nick[m]1234: i am a dingus, you need that 'qca,no-eeprom;' property
<nick[m]1234> :D
<neggles> if that doesn't work i think the problem is the PCI device ID
<neggles> which *should* be 0029
rua has quit [Ping timeout: 480 seconds]
<neggles> for AR9220/9223
<neggles> but yours is showing 168c:ff1d
rua has joined #openwrt-devel
<Slimey> :)
<kabel> blogic, nbd: could you find some time to look at rmk's RFC patches for mtk_eth_soc on netdev (phylink updates)? are you still interested in that driver?
pepe2k has quit [Remote host closed the connection]
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
<neggles> mangix / russell-- : target/linux/generic/files/drivers/net/phy/ar8216.c
* neggles facepalms
<neggles> switchdev not dsa? but does that even matter
ekathva has quit [Remote host closed the connection]
<jow> hmm, the entire iptables/nftables packaging needs an overhaul
mattytap has joined #openwrt-devel
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
Piraty_ has joined #openwrt-devel
<neggles> hurricos: just for kicks i ran your fio benchmark on a Pi 4 with an NVMe drive https://paste.neggles.dev/My5bN
<nick[m]1234> neggles: compatible = "pci168c,0029"; https://gist.github.com/PolynomialDivision/f7af33e305744a53d36242c0b39315d6
<nick[m]1234> oh
<neggles> nick[m]1234: `lspci -nn` will give you the PID/VID :P
<neggles> well -nn -v
<nick[m]1234> just saw it :D
<neggles> see??? 168c:ff1d
<nick[m]1234> I just flash the other dts again
<nick[m]1234> but it did not help
<neggles> you also probably want to add kmod-ath9k to DEVICE_PACKAGES unless it's been added in there by default, which it looks like it has
<neggles> yeah beats me.
Piraty has quit [Ping timeout: 480 seconds]
<neggles> you can try with qca,no-eeprom and compatible="pci168c:0029"
<neggles> it really seems like that shouldn't work but
<neggles> and, as I suspected, the ar8216 phy driver doesn't support external mdio configurations (because it's intended for SoC-internal use cases?)
<neggles> should be easier to modify that for dsa than hack up qca8k though
<neggles> that's interesting
<neggles> it's picked up the DT node for the first one but not the 2nd one
<nick[m]1234> I already tried that?
<nick[m]1234> with 00029 and qca,no-eeprom
<nick[m]1234> that was the first lspci
<nick[m]1234> or maybe I did something wrong :S
<neggles> oh
<nick[m]1234> waaait
<nick[m]1234> do I need to manually extract the firmware from art?
<neggles> no
<neggles> that's what the nvmem-cells does
<nick[m]1234> okay
<neggles> i am basically copying https://github.com/openwrt/openwrt/blob/master/target/linux/ath79/dts/ar7161_netgear_wndr.dtsi#L149 but without the antenna selection stuff and with nvmem-cells
<nick[m]1234> I removed that here again
<neggles> nick[m]1234: yeah so that's the Old Way
<nick[m]1234> the reg is different :O
<nick[m]1234> on the second
<nick[m]1234> let me also change that
<neggles> oh dangit
<neggles> yeah i had the number wrong in my gist but i updated it like 20 seconds later
<neggles> you are too fast!
minimal has joined #openwrt-devel
srslypascal has quit [Remote host closed the connection]
srslypascal has joined #openwrt-devel
<nick[m]1234> yeah, but the flashing procedure of the router is slowing me down xD
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
<nick[m]1234> why does the ath9k driver not recognise the wifi cards :/
<nick[m]1234> I deleted again everyhitng except what you send me
<nick[m]1234> lets give it another try
<nick[m]1234> ath0k is running
<neggles> nick[m]1234: i really don't know, but it might just be that it needs patching with your device ID
<neggles> kmod-owl-loader appeared to be patching the device ID in your original boot log
<neggles> and it's the only thing that's different
Tapper has quit [Ping timeout: 480 seconds]
goliath has quit [Quit: SIGSEGV]
Misanthropos has joined #openwrt-devel
<nick[m]1234> I will have a look. However, I would be happy if we could already add initial support with kmod-owl-loader, since I urgently need those APs. ;)
<nick[m]1234> any idea how I can obtain more useful debug outputß
Tapper has joined #openwrt-devel
<Slimey> nick[m]1234 do you have pciutls installed?
<Slimey> get output of pciutils -vvv
<Slimey> err lspci -vvv
<nick[m]1234> Slimey: already did this multiple times. :)
<Slimey> sorry just now joining in :P
<Slimey> what about that OEM cards option in menuconfig
ptudor has joined #openwrt-devel
philipp64 has joined #openwrt-devel
philipp64 has quit []
philipp64 has joined #openwrt-devel
<nick[m]1234> I have to check
Tapper has quit [Ping timeout: 480 seconds]
rua has quit [Ping timeout: 480 seconds]
dangole_ has quit [Quit: Leaving]
Tapper has joined #openwrt-devel
rua has joined #openwrt-devel
goliath has joined #openwrt-devel
ekathva has joined #openwrt-devel
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_tegra.html has been updated. (100.0% images and 72.8% packages reproducible in our current test framework.)
<hurricos> neggles: It really looks most like bcache is the issue here.
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
<tmn505> neggles: nick[m]1234: judging from the explanation of ATH9K_PCI_NO_EEPROM (which is enabled in owl-loader) it is needed in this case: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/net/wireless/ath/ath9k/Kconfig#n158. I don't know if one can use nvmem to do the same, best ask Christian.
<nick[m]1234> tmn505: who is christian?
philipp64 has quit [Quit: philipp64]
<hurricos> nick[m]1234: chunkeey
<hurricos> nick[m]1234: it's almost certainly some kind of cursed device tree parsing. Are you even sure ath9k is loading anything at all? If you remove the relevant device tree entries, is dmesg the same?
<hurricos> neggles: oh boy, yeah, that's bcache all right
<hurricos> that's raid1, too. Hmm, either I haven't tuned bcache well, or bcache is just bad at writeback.
<nick[m]1234> hurricos: thanks. so I will wait what chunkeey is saying. However, the owl initial commit works :) So maybe this can already be merged until we find a solution that we can also use nvme? ;)
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
csharper2005 has joined #openwrt-devel
<Tapper> Any one fixt ksmbd in master yet?
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
Borromini has joined #openwrt-devel
<aparcar[m]> how do I refresh aka sort target/linux/generic/config-*? rsalvaterra ?
rua has quit [Ping timeout: 480 seconds]
<rsalvaterra> aparcar[m]: Oh, I know that one! Let me see…
<rsalvaterra> https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=26e7c2275730486a5a1201fbafe72ccdac15f6e4
csharper2005 has quit [Remote host closed the connection]
<rsalvaterra> Beware, sometimes the kconfig.pl script likes to eat lines. Happened to me a couple of times.
<rsalvaterra> Just wc -l the old and the new files, to make sure. :)
rua has joined #openwrt-devel
<aparcar[m]> thanks!
<aparcar[m]> rsalvaterra: thoughts on https://github.com/openwrt/openwrt/pull/9669?
<rsalvaterra> aparcar[m]: You git grepped for build-id and basically replaced sha1 with $(CONFIG_BUILD_ID), right?
<aparcar[m]> basically yes
<rsalvaterra> Looks sane to me. I wonder if it's upstreamable material (I'd say it is, conceptually)…
<aparcar[m]> I'll extend the commit message a tizzle
<rsalvaterra> I'd set our CONFIG_BUILD_ID to "OpenWrt", though. Seems like the logical string. :)
Borromini has quit [Quit: leaving]
<rsalvaterra> Oh, wait, it's not an arbitrary string.
<rsalvaterra> Silly me.
cbeznea has quit [Ping timeout: 480 seconds]
<rsalvaterra> aparcar[m]: My turn to beg for help… :P https://github.com/openwrt/openwrt/pull/9582
<aparcar[m]> rsalvaterra: Thanks I'll check that in a bit!
<rsalvaterra> Some Linksys AC routers are really unhappy with 5.15, most likely due to switch driver issues… and I don't have the hardware for testing. :(
<aparcar[m]> yea we could use a build id based on e.g. our revision
<aparcar[m]> me neither sorry...
<rsalvaterra> I know you can't help too, no worries, but I thought you might know someone who could. :)
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
<hurricos> nick[m]1234: yes, merging now is honestly what I expect.
<hurricos> If you're open about your awareness that it "oughta be converted to nvmem-cells" at some point, and even potentially ping e.g. chunkeey or ansuel in your Github PR, you'l catch their attention and they'll step in and try to help you get it working.
<hurricos> If that fails, the habit is usually to give up and "merge something which works, but non-ideally."
<hurricos> I suggest mentioning the missing bit in the commit itself; commits have a wider audience and someone else may notice what you were looking to do, find the right answer, and reach back out to you with a patch that gets things working.
<hurricos> It's not the ideal workflow, but it keeps things moving even when authors such as you or I, who have less experience working with these things, still are prepared to get something 99% working and test / own that pocess.
<hurricos> RE: <and they'll step in and try to help you get it working> I don't say this becasue that's the role they own or what we should all demand they do, I just mean in general, you want to work with the folks who are working on standarizing the tree, cleaning things up and getting good replacements for hacks upstream to the actual kernel
<hurricos> because they almost always want to work with you, since it's better to have someone test a change than just make the change and wait until someone tells them what they broke.
<hurricos> or, like, allowed to stop working. You can't really "break" something that has no user-maintainership.
<mangix> rsalvaterra: unfortunate
<mangix> aparcar[m]: I don't have a Mac. Need ssh access to see what's happening.
<mangix> Upstream has a cmake based build. Wonder if it makes sense to back port.
<nick[m]1234> hurricos: looks good. I will rewrite the commit message with more detailed information that in the future should be convrted to nvme cells, and then ping them, and then I hope its gets merged.
dedeckeh has quit [Remote host closed the connection]
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
<mangix> aparcar[m]: oh cool. wrapdb also has a meson port you could try to apply.
<aparcar[m]> mangix: what’s that?
<mangix> basically meson build files for xz: https://github.com/mesonbuild/wrapdb/pull/348
Piraty_ has quit [Remote host closed the connection]
Piraty has joined #openwrt-devel
Tapper1 has joined #openwrt-devel
Tapper has quit [Read error: No route to host]
rua has quit [Ping timeout: 480 seconds]
<nick[m]1234> hurricos: updatet the PR https://github.com/openwrt/openwrt/pull/9685
rua has joined #openwrt-devel
nixuser has quit [Remote host closed the connection]
nixuser has joined #openwrt-devel
ekathva has quit [Remote host closed the connection]
robimarko_ has quit [Quit: Leaving]
srslypascal is now known as Guest1717
srslypascal has joined #openwrt-devel
philipp64 has joined #openwrt-devel
Guest1717 has quit [Ping timeout: 480 seconds]
srslypascal has quit [Quit: Leaving]
srslypascal has joined #openwrt-devel
<hanetzer> hrm. annoying news. the tp-link eap660-hd has what appears to be a uart (unpopulated), but there appear to be missing resistors on the data and power lines :(
<slh> tp-link is known to cripple the serial console
<hanetzer> the bastards also put one of the case screws under a sticker.
<slh> that would worry me less than crippling the serial console
<slh> one of the bigger reasons why I discarded the archer c2600 from my selection in 2017 (and went with ZyXEL's nbg6817 instead(
<hanetzer> so. question. ipq40xx and ipq806x exist. the compatible string from the dtb I extracted for this device is qcom,ipq807x. Does this warrant a new 'target/linux/ipq807x' dir?
<slh> a (source-only) ipq807x target has already existed before - and hopefully comes back in the near'ish future again, with support for the xiaomi ax3600/ ax9000/ ax6, qnap qhora 301w, edimax cax1800, edgecore eap102, ...
<slh> and there are a couple more devices pending (Dynalink DL-WRX36/ Askey RT5010W, several Netgear devices, ...)
<hanetzer> nice.
<hanetzer> well, I'll be right back. gotta reboot (1. new kernel. 2. put the machine on the UPS I just bought)
hanetzer has quit [Quit: WeeChat 3.4.1]
srslypascal is now known as Guest1720
srslypascal has joined #openwrt-devel
Guest1720 has quit [Remote host closed the connection]
rua has quit [Ping timeout: 480 seconds]
goliath has quit [Quit: SIGSEGV]
hanetzer has joined #openwrt-devel
rua has joined #openwrt-devel
<hanetzer> also. I'll say, the tp-link eap660-hd is frikken huge.
<slh> 802.11ax is power hungry and runs hot, you need proper ventilation and heat management
<hanetzer> yeh.
<hanetzer> its smaller cousin, the eap615-wall(?) seems to not be that bad tho
<slh> the xiaomi ax3600 (ipq8071a) works pretty well already
rsalvaterra has quit []
rsalvaterra has joined #openwrt-devel
<hanetzer> hrm. very tiny resistors. I wonder if solder bridging woudl be sufficient.
arthur_melo has quit []
hanetzer1 has joined #openwrt-devel
hanetzer has quit [Ping timeout: 480 seconds]
hanetzer1 is now known as hanetzer
<hanetzer> now, the question is does this do signed firmware, and can it be disabled
<dwfreed> note the resistors are probably meant to be there to handle dropping voltage to levels the CPU can handle
<dwfreed> so if you bridge them, you need to use lower voltages
<hanetzer> yeah. tbh, it has a recovery mode, so it shouldn't be that brickable