rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
rua has quit [Quit: Leaving.]
rua has joined #openwrt-devel
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
ptudor has quit [Quit: Strict-Transport-Security: max-age=48211200; preload]
ptudor has joined #openwrt-devel
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
Grommish_ has joined #openwrt-devel
Grommish has quit [Ping timeout: 480 seconds]
lmore377 has joined #openwrt-devel
guidosarducci_ has joined #openwrt-devel
guidosarducci has quit [Ping timeout: 480 seconds]
Gaspare has quit [Quit: Gaspare]
Monkeh has joined #openwrt-devel
Monkeh_ has quit [Ping timeout: 480 seconds]
SamDD has joined #openwrt-devel
SamDD has quit [Remote host closed the connection]
Gaspare has joined #openwrt-devel
Grommish has joined #openwrt-devel
champtar has joined #openwrt-devel
Grommish_ has quit [Ping timeout: 480 seconds]
csrf has quit [Ping timeout: 480 seconds]
mrnuke has quit [Ping timeout: 480 seconds]
mrnuke has joined #openwrt-devel
csrf has joined #openwrt-devel
Gaspare has quit [Quit: Gaspare]
<ynezz> champtar: done
valku has quit [Remote host closed the connection]
<swalker> updated openwrt/upstream, https://sdwalker.github.io/uscan/index.html
<KGB-0> https://tests.reproducible-builds.org/openwrt/openwrt_tegra.html has been updated. (100.0% images and 99.9% packages reproducible in our current test framework.)
lmore377 has quit [Remote host closed the connection]
lmore377 has joined #openwrt-devel
goliath has joined #openwrt-devel
kelp has joined #openwrt-devel
<kelp> Anyone tried to patch ipset within openWRT? I'm having some trouble with it. I seem to be able to make modifications to all user-space applications no problem, but, when it comes to anything within kernelspace, the changes I make dont't seem to be compiled and pushed.
<kelp> (pushed to device, that is)
<nick[m]1234> Do you require a public IPv4 address for the build worker infrastructure? Or does it also work via ipv6?
danitool has joined #openwrt-devel
kelp is now known as Kali_
<zorun> nick[m]1234: it's fine to put SSH on a different port than 22, so that you can share the same IPv4 address among several workers
<zorun> it would probably work through IPv6 but I don't know if this has been done yet
lmore377 has quit [Remote host closed the connection]
lmore377 has joined #openwrt-devel
felix has quit []
felix has joined #openwrt-devel
pepe2k has joined #openwrt-devel
<nick[m]1234> zorun: thanks. I will do some further investigation for sponsoring build resources to the openwrt project.
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
ekathva has joined #openwrt-devel
ekathva has quit [Remote host closed the connection]
borek has joined #openwrt-devel
borek has quit [Remote host closed the connection]
borek has joined #openwrt-devel
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #openwrt-devel
ekathva has joined #openwrt-devel
ekathva has quit [Remote host closed the connection]
lmore377 has quit [Remote host closed the connection]
lmore377 has joined #openwrt-devel
lmore377 has quit [Remote host closed the connection]
lmore377 has joined #openwrt-devel
\x has quit [Ping timeout: 480 seconds]
\x has joined #openwrt-devel
robimarko has joined #openwrt-devel
lmore377 has quit [Remote host closed the connection]
lmore377 has joined #openwrt-devel
bluew has quit [Ping timeout: 480 seconds]
<rsalvaterra> The big-ass random backport is making the 5.15.44 bump rather "fun"…
lmore377 has quit [Remote host closed the connection]
lmore377 has joined #openwrt-devel
guerby_ has quit [Remote host closed the connection]
guerby_ has joined #openwrt-devel
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #openwrt-devel
torv_ has joined #openwrt-devel
torv has quit [Ping timeout: 480 seconds]
<rsalvaterra> zx2c4_: Are userspace entropy gathering daemons (like urngd) still relevant, with after your random work?
<zx2c4_> rsalvaterra: not really, no
<rsalvaterra> Great! Another package I can drop. ;)
<zx2c4_> I'd rather the energy that goes into that stuff be redirected toward improving kernel rng
floof58 has quit [Ping timeout: 480 seconds]
floof58 has joined #openwrt-devel
lmore377 has quit [Remote host closed the connection]
lmore377 has joined #openwrt-devel
hexagonwin has joined #openwrt-devel
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
Gaspare has joined #openwrt-devel
Gaspare has quit []
Misanthropos has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
lmore377 has quit [Remote host closed the connection]
rua has quit [Ping timeout: 480 seconds]
lmore377 has joined #openwrt-devel
rua has joined #openwrt-devel
minimal has joined #openwrt-devel
<dwmw2_gone> We shouldn't need Legacy IP, surely? Everything should work over IPv6?
torv_ is now known as torv
rua has quit [Ping timeout: 480 seconds]
<olmari> dwmw2_gone: tell that to your average ISP
lmore377 has quit [Remote host closed the connection]
lmore377 has joined #openwrt-devel
rua has joined #openwrt-devel
<dwmw2_gone> this was just for the build system though, wasn't it?
<dwmw2_gone> Most of that resides in the 21st century.
<dwmw2_gone> Hell, I was in the car earlier today and tethered via my phone and I *only* had IPv6; no Legacy IP at all except via NAT64
Gaspare has joined #openwrt-devel
Misanthropos has joined #openwrt-devel
minimal has quit [Quit: Leaving]
rsalvaterra has quit []
rsalvaterra has joined #openwrt-devel
<champtar> ynezz: thanks for the merge!
valku has joined #openwrt-devel
<f00b4r0> well wow. The qca9561 bias fix patch was backported all the way back to 4.9 :)
lmore377 has quit [Remote host closed the connection]
lmore377 has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
<KGB-0> https://tests.reproducible-builds.org/openwrt/openwrt_mediatek.html has been updated. (100.0% images and 99.9% packages reproducible in our current test framework.)
<mrnuke> I've been scratching my head about this for a while. I have a switch with two SFP ports. each port has a diferent GPIO connected to its SDA line, but both SFP ports share the same SCL line. Is there a way to model this in devicetree?
<svanheule> mrnuke: I'm afraid not. AFAICT there is no way you can currently model a shared SCL line for multiple I2C busses (as some sort of mux)
lmore377 has quit [Remote host closed the connection]
lmore377 has joined #openwrt-devel
hexagonwin has quit [Remote host closed the connection]
ptudor_ has joined #openwrt-devel
<mrnuke> svanheule: I was afraid that might be the case. I wonder if some enginerd at Engenius decided to get smart, or if they accidentaly messed up the board layout and had to improvise
ptudor has quit [Ping timeout: 480 seconds]
hexagonwin has joined #openwrt-devel
Gaspare has quit [Quit: Gaspare]
champtar has quit [Quit: WeeChat 3.4]
Gaspare has joined #openwrt-devel
minimal has joined #openwrt-devel
lmore377 has quit [Remote host closed the connection]
lmore377 has joined #openwrt-devel
Gaspare has quit [Quit: Gaspare]
<robimarko> svanheule: Wasnt Birger working on exactly that?
Gaspare has joined #openwrt-devel
goliath has joined #openwrt-devel
Gaspare has quit [Quit: Gaspare]
srslypascal has quit [Ping timeout: 480 seconds]
srslypascal has joined #openwrt-devel
<svanheule> mrnuke: I think it's "someone at Realtek," because about half the devices do this real smart trick
<svanheule> robimarko: not that I'm aware of. I've had a look at it a while back, but didn't finish that
<robimarko> svanheule: These RTK-s look like they are broken in every possible way
<mrnuke> robimarko: Thanks for your explanation yesterday. Makes a lot more sense now
<mrnuke> For some reason I thought a port requires an sfp handle
<robimarko> Only if you want a proper SFP integration, meaning that the SFP gets attached to netdev
<svanheule> robimarko: they really tried to nickle-and-dime every aspect of these devices
<robimarko> And then it can be reconfigured based on the plugged SFP, and you can read it using ethtool
<svanheule> robimarko: these devices usually have GPIO-s plenty with an RTL8231, so I don't even see the point of doing it in most of the cases
<robimarko> svanheule: Thats is what gets me triggered usually
<robimarko> When they do stupid things for no reason
<mrnuke> I love how they used a GPIO based I2C bus, where the GPIO is an external chip configurable over a serial protocol
csrf has quit [Ping timeout: 480 seconds]
<svanheule> mrnuke: it gets better: the RTL8231 can even be configured to use I2C
<svanheule> but you really need a separate I2C bus per SFP-cage, because the 0x50/0x51 addresses are fixed
<robimarko> svanheule: The thing is that they could have easily used I2C muxing
<robimarko> But that costs money
<mrnuke> and RTL8231 don't?
<robimarko> Well, they are here anyway
<mrnuke> My device has two RTL8231. I couldn't quite figure out what the second one is for
<svanheule> mrnuke: typically one is configured as a 36-bit (37?) shift register to driver ethernet port LEDs
<mrnuke> but the first one -- has about 2/3 of its GPIOs unused. COuld have had that extra SCL somewhere
<mrnuke> svanheule: I think it is configured as a shart register, if I buzzed out the pins corrctly
srslypascal has quit [Quit: Leaving]
<mrnuke> Would something like this work to support the stupid SCL layout? https://github.com/mrnuke/openwrt/commit/aa44a76e5d9d932e0b9ecaf6f3115fc67b23646e
<mrnuke> You at least get one SFP working :p
Borromini has joined #openwrt-devel
ptudor has joined #openwrt-devel
<svanheule> mrnuke: why would you do it that way? If you're willing to settle for one functional SFP, you can just specify one i2c-gpio bus with the shared SCL and its specific SDA lines
srslypascal has joined #openwrt-devel
<mrnuke> svanheule: can you show me what you mean?
Monkeh_ has joined #openwrt-devel
ptudor_ has quit [Ping timeout: 480 seconds]
<svanheule> mrnuke: i2c1/sfp1 looks correct
<robimarko> svanheule: Is qsgmii correct PHY mode on DGS-1210-28?
<robimarko> To me it makes no sense
Monkeh has quit [Ping timeout: 480 seconds]
<robimarko> Unless its one PHY with 4 ports using QSGMII
<svanheule> robimarko: rtl8382 doesn't have any internal PHY, IIRC, so all (8-port) phy-s connect via QSGMII
<svanheule> wait, that wouldn't have enough bandwidth for 8×GbE, would it?
<robimarko> Nope
Monkeh has joined #openwrt-devel
<robimarko> Cause QSGMII will give you 4x SGMII links
<robimarko> And these are old school 1G ones
pepe2k has quit [Remote host closed the connection]
<mrnuke> Speaking of (q)sgmii, How can we tell if an SFP slot should be declared as phy-mode="sgmii" or "1000base-x"? I would think it can't be SGMII because an SFP doesn't have the differential clock lines required of sgmii
<robimarko> Well, it could have them
<robimarko> Some Copper to Fiber SFP-s are SGMII
<robimarko> Usually fiber is 1000Base-X
srslypascal_ has joined #openwrt-devel
srslypascal is now known as Guest759
srslypascal_ is now known as srslypascal
<svanheule> robimarko: §3.1 indicates double qsmii links to the 8-port phy-s https://github.com/libc0607/Realtek_switch_hacking/blob/files/RTL8380M_RTL8382M_RTL8382L.PDF
Guest759 has quit [Ping timeout: 480 seconds]
<robimarko> svanheule: that makes more sense
<robimarko> Though, If I attach an SFP bus it all goes to hell
<mrnuke> Oooh! Datasheets! Nice!!!
<robimarko> As PHYLINK is reconfiguring it into 1000Base-X
Monkeh_ has quit [Ping timeout: 480 seconds]
<robimarko> And then both copper and fiber dont work
<svanheule> mrnuke: don't get your hopes up, that's all we have and it's basically an extended list of features
<mrnuke> svanheule: it's better than "Big black chip thingie with heatsing glued to it"
Monkeh_ has joined #openwrt-devel
<mrnuke> So how does an SP work in SGMII? There would be one data pair, and one clock pair. So you could get either transmit, or receive, but not both, right?
Monkeh has quit [Ping timeout: 480 seconds]
<robimarko> mrnuke: You have TX+/- pair and RX+/- pair
<mrnuke> robimarko: that's 1000base-[something] then. Unless you can do SGMII without the clock pairs?
<robimarko> AFAIK, they use clock recovery instead
<robimarko> But its all black magic for me
<mrnuke> So, when I say, "clock pairs are needed", I'm really just basing my statement off of that document
<svanheule> mrnuke: RXCLK and TXCLK aren't strictly required, I think, thanks to the magic of clock recovery
<svanheule> mrnuke: IIRC the serial link is actually 1.25Gb/s, with encoding overhead from 8b/10b encoding
<svanheule> mrnuke: that 8b/10b encoding is designed to be DC-free, so must have enough level transitions to maintain that spec
<mrnuke> hmm. Iteresting. How do I determine which "phy-mode=" to use in my devicetree then? It seems either "sgmii" or "1000base-x" should work then
<svanheule> mrnuke: as a result, the signal has enough information to tune a local clock to the right frequency and phase
<mrnuke> I'd expect enough transitions by the virtue of using 10/8 encoding -- not being very knowledgeful on the matter, that is.
<robimarko> mrnuke: Usually 1000Base-X is the one to use for fiber SFP-s
<mrnuke> Is the following line normal for "1000base-x" ?
<mrnuke> [ 11.431669] rtl83xx-switch switch@1b000000 lan10 (uninitialized): validation with support 0000000,00000000,00006440 failed: -22
<robimarko> Nope
<robimarko> Basically PHYLINK is complaining that the phy mode is not allowed
<mrnuke> It is a 10G fiber module, but, it does work at 1000m in u-boot
<mrnuke> Full dmesg here: https://paste.debian.net/1242481/
<robimarko> Well, that aint gonna work in Linux
<robimarko> Cause AFAIK, if its 10G PHYLINK will only try that
<mrnuke> Is that a bug? It seems that if a module supports a lower speed, one would expect it to run at 1000
<robimarko> Not really, cause how should you know that it also supports 10G?
<robimarko> AFAIK, only the max speed is written in the EEPROM
borek has quit [Ping timeout: 480 seconds]
<robimarko> *I meant 1G
<mrnuke> Hmm. Maybe if I don't have an sfp= phandle, then it will work?
<mrnuke> I mean, I should try it instead of just asking :p
<robimarko> Then it should work
<mrnuke> That is very interesting. Thanks for the knowledge!!!
Piraty_ has joined #openwrt-devel
Piraty has quit [Remote host closed the connection]
<mrnuke> Is there something I could do to facilitate the review of https://github.com/openwrt/openwrt/pull/9896 without being overly naggy?
Gaspare has joined #openwrt-devel
<svanheule> mrnuke: hadn't noticed that PR, I'll put it on my to do list
<mrnuke> svanheule: awesome. Thank you!
<svanheule> no promises on a timeline though, although I should be able to provide some initial feedback this week
Monkeh has joined #openwrt-devel
* svanheule checks the target/realtek tag on GH for more work
Monkeh_ has quit [Ping timeout: 480 seconds]
<mrnuke> Should give me something to test that's not 10G :D
<robimarko> I have a bunch of various FS 1G, 10G fiber and DAC-s
<robimarko> For testing, they work really great and are really cheap
<mrnuke> I bet it costs more money to make a new one than they charge for it on amazon.
<robimarko> Not really
<robimarko> 1G modules are dirt cheap
<mrnuke> I bet I can buy dirt cheaper than that :p
<robimarko> Depends on the kind
<mrnuke> Haha!
<mrnuke> I imagine that cast metal housing isn't that cheap to make -- unless I've made a fool of myself and it's plastique
<robimarko> It is when its fully standard and they are stamping milions of these in China
<mrnuke> Precision optics ana electronics -- cheaper than an american cheeseburger
borek has joined #openwrt-devel
Monkeh_ has joined #openwrt-devel
Monkeh has quit [Ping timeout: 480 seconds]
Borromin1 has joined #openwrt-devel
Borromini has quit [Ping timeout: 480 seconds]
Borromin1 is now known as Borromini
borek has quit [Ping timeout: 480 seconds]
Gaspare has quit [Quit: Gaspare]
Gaspare has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
valku has quit [Quit: valku]
valku has joined #openwrt-devel
valku1 has joined #openwrt-devel
valku has quit [Remote host closed the connection]
valku1 is now known as valku
robimarko has quit [Quit: Leaving]
Borromini has quit [Quit: Lost terminal]
AtomiclyCursed has quit [Quit: ZNC 1.8.2 - https://znc.in]
AtomiclyCursed has joined #openwrt-devel
Tapper has joined #openwrt-devel
Grommish_ has joined #openwrt-devel
Grommish__ has joined #openwrt-devel
Grommish has quit [Ping timeout: 480 seconds]
Grommish_ has quit [Ping timeout: 480 seconds]
Gaspare has quit [Quit: Gaspare]
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_x86.html has been updated. (100.0% images and 99.9% packages reproducible in our current test framework.)
Grommish__ is now known as Grommish
bluew has joined #openwrt-devel
xes__ has quit [Ping timeout: 480 seconds]
<Lechu> Hi, could someone from (preferably) core devs take a look at my RFC regarding link state reporting of ath79 internal switch? https://github.com/openwrt/openwrt/pull/9971
Tapper has quit [Ping timeout: 480 seconds]