<lipnitsk> rsalvaterra: so I think we either enable it (if it works) or take out GENERIC_CLOCKEVENTS_BROADCAST altogether
<lipnitsk> rsalvaterra: so I think we either enable it (if it works) or take out GENERIC_CLOCKEVENTS_BROADCAST altogether
<lipnitsk> rsalvaterra: so I think we either enable it (if it works) or take out GENERIC_CLOCKEVENTS_BROADCAST altogether
<lipnitsk> rsalvaterra: i can test on er-x. is it supposed to save power or something?
<lipnitsk> rsalvaterra: i can test on er-x. is it supposed to save power or something?
<lipnitsk> rsalvaterra: i can test on er-x. is it supposed to save power or something?
<mangix> rsalvaterra: add -nostdinc as part of NOSTDINC_FLAGS
<mangix> rsalvaterra: add -nostdinc as part of NOSTDINC_FLAGS
<mangix> rsalvaterra: add -nostdinc as part of NOSTDINC_FLAGS
<rsalvaterra> lipnitsk: Sure, the ER10X is also MT7621, so you should be fine.
<rsalvaterra> lipnitsk: Sure, the ER10X is also MT7621, so you should be fine.
<rsalvaterra> lipnitsk: Sure, the ER10X is also MT7621, so you should be fine.
<mangix> ugh
<mangix> ugh
<mangix> ugh
<mangix> things become difficult when i uninstall vim
<mangix> things become difficult when i uninstall vim
<mangix> things become difficult when i uninstall vim
goliath has quit [Quit: SIGSEGV]
goliath has quit [Quit: SIGSEGV]
goliath has quit [Quit: SIGSEGV]
<rsalvaterra> mangix: I use nano… :P
<rsalvaterra> mangix: I use nano… :P
<rsalvaterra> mangix: I use nano… :P
* rsalvaterra runs
* rsalvaterra runs
* rsalvaterra runs
<mangix> rsalvaterra: need word wrapping
<mangix> rsalvaterra: need word wrapping
<mangix> rsalvaterra: need word wrapping
<rsalvaterra> Ah, well…
<rsalvaterra> Ah, well…
<rsalvaterra> Ah, well…
<rsalvaterra> lipnitsk: So tomorrow I'll do a build with MIPS cpuidle and the TEO governor. :P
<rsalvaterra> lipnitsk: So tomorrow I'll do a build with MIPS cpuidle and the TEO governor. :P
<rsalvaterra> lipnitsk: So tomorrow I'll do a build with MIPS cpuidle and the TEO governor. :P
<mangix> lipnitsk: btw the guy who wrote the mt7621 NAND driver is a mediatek employee. keep that in mind.
<mangix> lipnitsk: btw the guy who wrote the mt7621 NAND driver is a mediatek employee. keep that in mind.
<mangix> lipnitsk: btw the guy who wrote the mt7621 NAND driver is a mediatek employee. keep that in mind.
<lipnitsk> mangix: well right... so is the guy who wrote the one in the kernel. Then Greg came in and wrote his version for whatever reason, which has references like:
<lipnitsk> mangix: well right... so is the guy who wrote the one in the kernel. Then Greg came in and wrote his version for whatever reason, which has references like:
<lipnitsk> mangix: well right... so is the guy who wrote the one in the kernel. Then Greg came in and wrote his version for whatever reason, which has references like:
<lipnitsk> no mention of that at all in the other ones? unless that's part of mtk_ecc
<lipnitsk> no mention of that at all in the other ones? unless that's part of mtk_ecc
<lipnitsk> no mention of that at all in the other ones? unless that's part of mtk_ecc
<mangix> lipnitsk: different employees different divisions
<mangix> lipnitsk: different employees different divisions
<mangix> lipnitsk: different employees different divisions
<lipnitsk> mangix: yeah so they tried to upstream but didn't have time to do it properly
<lipnitsk> mangix: yeah so they tried to upstream but didn't have time to do it properly
<lipnitsk> mangix: yeah so they tried to upstream but didn't have time to do it properly
<mangix> the mt7621 stuff? Yeah most of the drivers were upstreamed by third parties
<mangix> the mt7621 stuff? Yeah most of the drivers were upstreamed by third parties
<mangix> the mt7621 stuff? Yeah most of the drivers were upstreamed by third parties
<lipnitsk> interesting gist
<lipnitsk> interesting gist
<lipnitsk> interesting gist
<mangix> one benefit of logging IRC :)
<mangix> one benefit of logging IRC :)
<mangix> one benefit of logging IRC :)
<rsalvaterra> mangix: Yeah, but isn't logging thrice a bit… excessive? :P
<rsalvaterra> mangix: Yeah, but isn't logging thrice a bit… excessive? :P
<rsalvaterra> mangix: Yeah, but isn't logging thrice a bit… excessive? :P
<lipnitsk> hahha
<lipnitsk> hahha
<lipnitsk> hahha
<rsalvaterra> Why do we have three whiteloggers here? :P
<rsalvaterra> Why do we have three whiteloggers here? :P
<rsalvaterra> Why do we have three whiteloggers here? :P
<mangix> rsalvaterra: irssi did it by default. Quassel does it too. except the latter doesn't come with a builtin search
<mangix> rsalvaterra: irssi did it by default. Quassel does it too. except the latter doesn't come with a builtin search
<mangix> rsalvaterra: irssi did it by default. Quassel does it too. except the latter doesn't come with a builtin search
<rsalvaterra> Alright, off to bed now… cheers, everyone!
<rsalvaterra> Alright, off to bed now… cheers, everyone!
<rsalvaterra> Alright, off to bed now… cheers, everyone!
opal has joined #openwrt-devel
opal has joined #openwrt-devel
opal has joined #openwrt-devel
hbug___ has quit [Remote host closed the connection]
hbug___ has quit [Remote host closed the connection]
hbug___ has quit [Remote host closed the connection]
hbug___ has joined #openwrt-devel
hbug___ has joined #openwrt-devel
hbug___ has joined #openwrt-devel
nucleo has quit [Quit: just make this person in IRC be quiet https://bit.ly/2IMQaQK]
nucleo has quit [Quit: just make this person in IRC be quiet https://bit.ly/2IMQaQK]
nucleo has quit [Quit: just make this person in IRC be quiet https://bit.ly/2IMQaQK]
black_ant has quit [Ping timeout: 265 seconds]
black_ant has quit [Ping timeout: 265 seconds]
black_ant has quit [Ping timeout: 265 seconds]
DragoonAethis has quit [Quit: hej-hej!]
DragoonAethis has quit [Quit: hej-hej!]
DragoonAethis has quit [Quit: hej-hej!]
DragoonAethis has joined #openwrt-devel
DragoonAethis has joined #openwrt-devel
DragoonAethis has joined #openwrt-devel
Monkeh_ has quit [Remote host closed the connection]
Monkeh_ has quit [Remote host closed the connection]
Monkeh_ has quit [Remote host closed the connection]
Monkeh has joined #openwrt-devel
Monkeh has joined #openwrt-devel
Monkeh has joined #openwrt-devel
hbug has joined #openwrt-devel
hbug has joined #openwrt-devel
hbug has joined #openwrt-devel
hbug___ has quit [Ping timeout: 268 seconds]
hbug___ has quit [Ping timeout: 268 seconds]
hbug___ has quit [Ping timeout: 268 seconds]
victhor has quit [Ping timeout: 260 seconds]
victhor has quit [Ping timeout: 260 seconds]
victhor has quit [Ping timeout: 260 seconds]
Acinonyx_ has quit [Ping timeout: 246 seconds]
Acinonyx_ has quit [Ping timeout: 246 seconds]
Acinonyx_ has quit [Ping timeout: 246 seconds]
Acinonyx has joined #openwrt-devel
Acinonyx has joined #openwrt-devel
Acinonyx has joined #openwrt-devel
dorf_ has quit [Remote host closed the connection]
dorf_ has quit [Remote host closed the connection]
dorf_ has quit [Remote host closed the connection]
dorf has joined #openwrt-devel
dorf has joined #openwrt-devel
dorf has joined #openwrt-devel
tobleminer-tSYS has quit [Quit: AS4242423214]
tobleminer-tSYS has quit [Quit: AS4242423214]
tobleminer-tSYS has quit [Quit: AS4242423214]
tobleminer-tSYS has joined #openwrt-devel
tobleminer-tSYS has joined #openwrt-devel
tobleminer-tSYS has joined #openwrt-devel
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger__ has quit [Remote host closed the connection]
<Grommish> karlp: 'way longer' in what regard?
Tapper has joined #openwrt-devel
Tapper has quit [Quit: Instantbird 1.6a1pre -- http://www.instantbird.com]
lmore377 has quit [Ping timeout: 264 seconds]
lmore377 has joined #openwrt-devel
<lipnitsk> gch981213: any objections if I try to upstream your "MIPS: ralink: mt7621: add memory detection support" patch?
black_ant has joined #openwrt-devel
black_ant has quit [Changing host]
black_ant has joined #openwrt-devel
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
snh has quit [Quit: ZNC - http://znc.in]
<mangix> lipnitsk: didn't sergio submit it?
<lipnitsk> oh did he?
<lipnitsk> shoot, let me check
<lipnitsk> hmm, I don't see it
<lipnitsk> mangix: I see this from Sergio - "MIPS: ralink: add CPU clock detection and clock driver for MT7621"
<lipnitsk> clock != memory
<lipnitsk> mangix: while we are on the subject, you wouldn't happen to have a rt288x device lying around or to explain why we need "ramips: Fix early memory calculation for certain MIPS platforms" patch?
<mangix> lipnitsk: ah yeah
<lipnitsk> I think I'll still submit "MIPS: ralink: mt7621: add memory detection support" and see what happens
snh has joined #openwrt-devel
kontaxis has quit [Remote host closed the connection]
pine127 has quit [Remote host closed the connection]
kontaxis has joined #openwrt-devel
pine127 has joined #openwrt-devel
lmore377 has quit [Ping timeout: 265 seconds]
lmore377 has joined #openwrt-devel
SimJoSt has quit [Quit: WeeChat 2.9]
valku has quit [Quit: valku]
rmilecki has joined #openwrt-devel
koniu has quit [Remote host closed the connection]
koniu has joined #openwrt-devel
nitroshift has joined #openwrt-devel
dorf has quit [Remote host closed the connection]
dorf has joined #openwrt-devel
Olipro has quit [Ping timeout: 272 seconds]
dorf has quit [Remote host closed the connection]
matteo has joined #openwrt-devel
Tost has joined #openwrt-devel
<Rene__> How to fix this? Uncompressing Kernel Image ... LZMA ERROR 1? I hit this issue with snapshots version for the mt7621: mtc_wr1201
<Namidairo> hmm how big is that image
<Rene__> 128mb
goliath has joined #openwrt-devel
caiortp has joined #openwrt-devel
ivanich has joined #openwrt-devel
<Rene__> Namidairo: reading it wrong, Booting image -> Data Size: 2519450 Bytes = 2.4 MB
damex has quit [Ping timeout: 265 seconds]
damex has joined #openwrt-devel
<Grommish> Rene__: *waves* There was progress on that dts and switch issue :) Still not completely working, but much closer now!
damex has quit [Read error: Connection reset by peer]
damex has joined #openwrt-devel
<Rene__> Grommish: great
damex has quit [Read error: Connection reset by peer]
owrt-snap-builds has quit [Quit: buildmaster reconfigured: bot disconnecting]
damex has joined #openwrt-devel
<Namidairo> Rene__: I'm just going to assume it hit the same problem as the rest of the mt7621 devices that require lzma-loader
<Grommish> Rene__: Thank you for all the pestering and questions :)
owrt-snap-builds has joined #openwrt-devel
<Grommish> Namidairo: What issue? I've been building mt7621 images all week without issues
<Grommish> that use the lzma loader
<Namidairo> Grommish: as in that device does not have lzma-loader
caiortp has quit [Remote host closed the connection]
<Grommish> Ah
<Grommish> Made me panic about rebasing for a minute :)
<Namidairo> I just don't remember what size the kernel had to get to before the stock bootloaders started breaking
damex has quit [Read error: Connection reset by peer]
damex has joined #openwrt-devel
<Grommish> Namidairo: Ah, my image is 4.23 MB (4,435,968 bytes) in size, but uses the lzma compression
<Rene__> Grommish: on your UBNT ER device?
<Grommish> Rene__: Yes
<Grommish> Rene__: 4435059 Mar 16 05:26 openwrt-ramips-mt7621-ubnt_edgerouter-10x-initramfs-kernel.bin
<Rene__> I haven't seen any issue on my UBNT ER device. But I also have a Strong 1200, with is a mt7621 wifi router. Which does has issues
<Grommish> Rene__: *nod*
<Grommish> MT76 has been a adventure and experience for me for sure
<Rene__> booting via tftp is not the issue. It happens when booting from flash
<Grommish> I'm really glad I don't have to deal with the wifi aspects
<Rene__> :)
<Grommish> Rene__: I need to figure out the LEDs on the er10x and try and fix the single port that refuses to work.. Then maybe PoE if I feel up to it hehe
koniu has quit [Remote host closed the connection]
koniu has joined #openwrt-devel
<Rene__> normally passive PoE should not influence the port workings. PoE signal is injected via the ethernet transformer.
<Rene__> Which ethernet port of which switch?
<Grommish> switch0:port0 on the rtl8367rb
<Grommish> It's like its disabled, but the other 4 ports (switch0:1-4) work fine
<Grommish> I post something in the Networking area of the forum. I suspect it's a swconfig issue, but I've never used swconfig
<Rene__> ok
<Grommish> and mixing swconfig and dsa makes people go Ewwww
<Grommish> but can't be helped right no
<rsalvaterra> Grommish: So you need swconfig for the rtl8367rb and DSA for the other switch?
<Grommish> rsalvaterra: Yep
<rsalvaterra> Ugh… what a mess.
<Grommish> Indeed, but it works
<Grommish> except for that one port hehe
<Grommish> This thing takes the entire rtl switch as a whole and funnels it into the mt76 board
<Grommish> Downside is that you can't address each as its own eth port I guess, which is a pain
<Grommish> So the switch is labeled as "eth5" in ifconfig
<mangix> Given that the totolink purchase fell through, I bought a device that I will need to add support for
<mangix> mt7621 i think
<Grommish> mangix: Ooo.. Whatcha get?
<Grommish> Fresh-electronic device smell.. Yum
<mangix> Linksys E7350
<Grommish> mangix: Nice!
<mangix> looks like similar enough hardware
<mangix> I hope adding support for it is boring
<Grommish> mangix: True.. Boring is underrated hehe
<mangix> I've only written support for one device, which never got sold.
skolev has joined #openwrt-devel
<mangix> rsalvaterra: turns out armbian uses zram by default on half the RAM. slowed my NAS to a crawl
victhor has joined #openwrt-devel
<rsalvaterra> mangix: It was badly configured, then.
<rsalvaterra> What compression algorithm is it using? And what's the maximum amount of memory it's allowed to allocate?
<mangix> half of the RAM. In my case, 2GB -> 1GB
zatwai has quit [Quit: ZNC 1.8.2+deb2~bpo10+1 - https://znc.in]
<mangix> slows it down when using above 1GB
zatwai has joined #openwrt-devel
gch9812132 has joined #openwrt-devel
<rsalvaterra> Half might be too much, depending on the compression algorithm.
<mangix> I would guess it's LZO. No idea.
gch981213 has quit [Read error: Connection reset by peer]
gch9812132 is now known as gch981213
<rsalvaterra> cat /sys/block/zram0/comp_algorithm
<mangix> gch981213: welcome. lipnitsk was wondering about upstreaming about your mt7621 memory patch
<mangix> cat: /sys/block/zram0/comp_algorithm: No such file or directory
<rsalvaterra> mangix: Of course, if you're not using zram… :P
<mangix> it's in use currently
<rsalvaterra> Impossible.
<rsalvaterra> If you're using zram, you have at least one device (zram0).
<mangix> and yes, performance gets wrecked when using more than 1GB
<rsalvaterra> mangix: That's just a script, which is likely invoked by a systemd unit. It might appear as active even if it somehow failed.
<rsalvaterra> By the way, that's grossly outdated.
thagabe has joined #openwrt-devel
<rsalvaterra> We have per-CPU compression streams. None of this nonsense of creating as many zram devices as CPUs.
<rsalvaterra> mangix: This is what I have in my Debian/Ubuntu systems. A heavily modified version of the zram-config package. https://paste.debian.net/1189702/
<rsalvaterra> And actually, I can remove that echo zstd > /sys/block/zram0/comp_algorithm line, since we're now able to select a default compression algorithm… https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/block/zram?id=3d711a382735d2c34d3ba2075a5aa83a894f4a57
<rsalvaterra> I should backport this for OpenWrt. :P
gch9812135 has joined #openwrt-devel
skolev_ has joined #openwrt-devel
damex_ has joined #openwrt-devel
<karlp> Grommish: remaking is not "instant" for most people, so grepping the logs is far faster than re-running make -j1 just to see the error again.
gch981213 has quit [*.net *.split]
damex has quit [*.net *.split]
skolev has quit [*.net *.split]
gch9812135 is now known as gch981213
<karlp> 4m39 here for a noop rebuild master -j1 for me. grepping logs is vastly preferable.
<karlp> now sure, it would be less if it had already stopped at some erorr...
koniu has quit [Remote host closed the connection]
koniu has joined #openwrt-devel
<nbd> mangix: thanks for clearing up the NOSTDINC_FLAGS issue. i will fix it now
zkrx has quit [Ping timeout: 256 seconds]
<rsalvaterra> lipnitsk: [ 1.080762] cpuidle: using governor teo
<rsalvaterra> blogic: I'd like to send a patch enabling cpuidle (tickless idle) on MT7621, which depends on it. :)
<Hauke> nbd: mangix: did you fix this problem also for other drivers which depend on our mac80211 package?
Olipro has joined #openwrt-devel
Olipro has joined #openwrt-devel
Olipro has quit [Changing host]
<rsalvaterra> Hauke: It's strange, but I haven't had any issues with ath10k-ct, for example.
<rsalvaterra> The only "out-of-mac80211" drivers I use are ath10k-ct and mt76, though…
<Hauke> rsalvaterra: yes, the problem is fixed in mac80211
<Hauke> but we use this for packages which depend on mac80211 to change the include path
<rsalvaterra> I don't know that makes mt76 so special…
csrf has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
<Hauke> rsalvaterra: it sets NOSTDINC_FLAGS
<Hauke> we have to find an other way to change the include path
<rsalvaterra> Hauke: So does ath10k-ct…
<Hauke> or we have to set the defaults the kernel build sets too
zkrx has joined #openwrt-devel
csrf has joined #openwrt-devel
thagabe has quit [Quit: Connection closed]
<Hauke> yes and mwlwifi and rtl8812au-ct
<nbd> Hauke: i'm going to fix all uses of it
Neighbor11111111 has joined #openwrt-devel
Neighbor11111119 has quit [Ping timeout: 244 seconds]
<Grommish> nbd: I know you've got many other things going on, but any suggestions for an odd rtl8367rb port issue? https://forum.openwrt.org/t/switch-setup-for-edgerouter-10x-rtl8367rb/91442
Neighbor11111111 has quit [Ping timeout: 256 seconds]
Neighbor11111111 has joined #openwrt-devel
owrt-snap-builds has quit [Quit: buildmaster reconfigured: bot disconnecting]
owrt-snap-builds has joined #openwrt-devel
snh_ has joined #openwrt-devel
snh has quit [Ping timeout: 246 seconds]
snh_ is now known as snh
caiortp has joined #openwrt-devel
snh_ has joined #openwrt-devel
snh has quit [Ping timeout: 260 seconds]
snh_ is now known as snh
hbug has quit [Remote host closed the connection]
hbug has joined #openwrt-devel
Raheel has joined #openwrt-devel
<Raheel> Hi
<Raheel> I am bridging my wan and lan in openwrt like with my switch config i have 0t 4t 5 as my config for lets say vlan1000.
<Raheel>  4 port is my wan
<Raheel> 5 port is my lan
<Raheel> and i am bridging eth0.1000 and eth1.1000 in br-vlan_1000
<Raheel> my lan wired client is getting ip address of vlan1000 as untagged but its internet is too slow and is seems like is chocking
<Raheel> can anybody help in this regard please
<Raheel> jow can you help please
<Raheel> nitroshift ?
gch9812137 has joined #openwrt-devel
gch981213 has quit [Ping timeout: 246 seconds]
gch9812137 is now known as gch981213
gch981213 has quit [Quit: Ping timeout (120 seconds)]
gch981213 has joined #openwrt-devel
<rsalvaterra> I was comparing to your commit.
<Raheel> anybody ?
nitroshift has quit [Quit: Gone that way --->]
<Raheel> : MentalPower
<Raheel> please help
<Raheel> i need help in urgent
<svanheule> Raheel: try #openwrt or the forums with this type of question, and provide some details (which device, what is "too slow")
<Raheel> svanheule thanks for the reply. Too slow means i am doing zoom call and streaming with wired client but its not working fine but as i remove the bridge interface of lan eth1.1000 then it works fine and no breaking in zoom calls
gch981213 has quit [Read error: Connection reset by peer]
gch981213 has joined #openwrt-devel
Raheel has quit [Quit: Connection closed]
<gch981213> mangix: lipnitsk: I was planning on upstreaming that memory patch after the clock one. I wasn't able to get the clock patch upstreamed back then so this memory detection just stayed in openwrt till now.
<gch981213> lipnitsk: about mt7621 nand driver: Weijie said elsewhere that the nand controller is similar to the mt7622 one, but the one in mt7621 got broken DMA burst support.
<lipnitsk> gch981213: thanks for the info. hope you don't mind me trying to upstream the mem detect patch then.
<gch981213> lipnitsk: datasheet for mt7622 is available from Banana Pi R64 wiki, and mt7621 datasheet can be obtained by googling 'mt7621 programming guide' There's a closed PR on GitHub adding DMA support for current mt7621 nand driver. (I rejected that one due to an unnecessary oob layout change.)
<lipnitsk> gch981213: so there is a way to use DMA without burst mode on mt7621?
mattsm has joined #openwrt-devel
<jow> anyone with a DSA enabed device around?
<lipnitsk> gch981213: also, did Greg Ungerer driver have anything that is worth using? BBT logic especially stands out: https://lore.kernel.org/lkml/20191107073521.11413-1-gerg@kernel.org/
<jow> If yes, could you pastebin the output of "for x in /sys/class/net/*; do echo "${x##*/}: $(readlink -f $x/device)"; done" ? Thanks :)
<gch981213> lipnitsk: Correct. You could try finding that rejected PR. My VPN is down and I can't access Github atm :(
<rsalvaterra> jow: Yep.
<lipnitsk> gch981213: found it: https://github.com/openwrt/openwrt/pull/3100
<lipnitsk> rsalvaterra: great news on the cpuidle. any downsides to just enabling it?
<gch981213> lipnitsk: Mediatek has at least 4 different bad block table implentations. And those will definitely be rejected upstream.
<rsalvaterra> lipnitsk: If you're reading this, it's working fine. :)
<lipnitsk> rsalvaterra: does the device run cooler with it or something? less power?
<jow> gch981213: rsalvaterra: thank you
valku has joined #openwrt-devel
<gch981213> lipnitsk: They somehow don't want to use UBI till recently so they need something else to deal with bad blocks.
<rsalvaterra> lipnitsk: It should use less power, yes, but I haven't measured.
<jow> gch981213: rsalvaterra: could you run this too? "grep DEVTYPE /sys/class/net/*/uevent" - background is that I look for a good way to discover DSA ports, blogic just gave me the tip to check uevent, which shows DEVTYPE=dsa
<rsalvaterra> lipnitsk: By the looks of it, seems like core 0 never gets to sleep, for the time being… https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/cpuidle/cpuidle-cps.c?h=linux-5.10.y#n29
<rsalvaterra> jow: Sure, one sec…
<rsalvaterra> jow: Still trying to find a reliable way to enumerate DSA ports? :)
<jow> rsalvaterra: yes, or again rather. Trying to finish the LuCI support
<gch981213> lipnitsk: If your goal is to upstream the nand driver, just ignore the bad block table for now.
<jow> and I want to offer something similar to the old swconfig switch port status display
<jow> somehow I never stumbled over uevent DEVTYPE= so far
<jow> it makes things a lot easier
<rsalvaterra> jow: Ah, yes, that was pretty.
<lipnitsk> gch981213: okay. yeah I want to see how difficult it might be to merge with the in-tree driver for mt7622,mt2701,mt2712
<rsalvaterra> jow: Speaking of which, there's still no way to define a port PVID in DSA with UCI, right?
<jow> rsalvaterra: ther eshould be
<lipnitsk> gch981213 ynezz can you cherry-pick 680f91d0e5444d58815af03bf41c12592438f9d8 (TRGMII mode fix) into 21.02?
<gch981213> lipnitsk: I'd prefer letting the patch staying in master for a while before backporting. I'll do that next week.
<jow> rsalvaterra: the ports denoted with '*' will set the "option vlan" value as pvid
<lipnitsk> gch981213: okay, thank you, that sounds good to me. just making sure it wasn't forgotten.
<jow> so lan1, lan2 will get pvid 100 and lan4 will get pvid 200 in the pasted example
<jow> if a port is marked with '*' in multiple vlans, the behaviour is undefined, afair the last one takes precedence then though, due to the way the config is parsed
<jow> and it could be that line 4 of my paste is redundant since the union of all brdige-vlan ports is added as bridge port members
<rsalvaterra> jow: Ooooh, I had seen that somewhere in your tree, but I though it hadn't been merged yet!
<jow> it has been added into netifd
<jow> the stuff in my tree was a shell based mockup
<jow> you can indeed omit the entire config device section if you target the preexisting br-lam
<jow> *br-lan
<jow> so merely adding config bridge-vlan sections with "option device br-lan" should suffice to enable vlan filtering
<rsalvaterra> Great, that means we're on par with swconfig, LuCI being the only missing piece. :)
<jow> yeah, still trying to fix various ugly corner cases
<rsalvaterra> We could just… you know… deprecate LuCI…
* rsalvaterra runs
<jow> yeah great plan. break backwards config, introduce dsa without config port and then throw away the entire ui because stuff is hard
<jow> users going to love it
<rsalvaterra> I'm obviously kidding… ;)
<jow> I guess we should deprecate uci too and just ship a huge rc.local with iproute2 commands, people can just edit it to their needs
<jow> I know :)
<rsalvaterra> jow: I did a test yesterday… built an image for my WDR3600 selecting only zstd as the jffs2 compression algorithm (disabling both lzo and rtime). It cut about 200 kB from my sysupgrade image.
<rsalvaterra> *lzma and rtime
<olmari> sounds promising
<jow> nice
<rsalvaterra> Really… lzma is a pig.
guidosarducci has quit [Remote host closed the connection]
guidosarducci has joined #openwrt-devel
<rsalvaterra> I'd like to backport this, but not before upstream merges it. :) http://lists.infradead.org/pipermail/linux-mtd/2021-March/085696.html
<rmilecki> jow: https://pastebin.com/EPY0nkqK (/sys/class/net output)
SpaceRat has joined #openwrt-devel
<rmilecki> jow: https://pastebin.com/eMicsagS (uevent)
<jow> rmilecki: thanks!
<rmilecki> jow: "sw" is external switch handling 4 extra LAN ports
<Grommish> Interesting.. I was having issues with suricata not finding pcap.h. I was setting a sysroot and pointing it directly at the include and lib dir.. Turns out, the <sysroot>/usr/lib/pcap.h just pointed to the host pcap.h.. which isn't listed as a build enviroment pre-req.. usr/lib/pcap/pcap.h is what needs to be used
<Grommish> I wonder why the usr/lib/pcap.h doesn't point to the usr/lib/pcap/pcap.h rather than <include/pcap.h>
<Grommish> I didn't have libpcap-dev installed
philipp64 has quit [Quit: philipp64]
danitool has joined #openwrt-devel
gch981213 has quit [Quit: The Lounge - https://thelounge.chat]
gch981213 has joined #openwrt-devel
damex_ has quit [Quit: damex_]
Tost has quit [Ping timeout: 276 seconds]
Borromini has joined #openwrt-devel
<Grommish> rsalvaterra: ping
<guidosarducci> jow: hey there, wondering if you're OK pulling in the fw3 DSCP fixes? Let me know if you're getting swamped and I'll squash and try sending to the mailing list. Cheers!
<Grommish> rsalvaterra: Am I correct in reading that this (https://patches.linaro.org/cover/117995/) is the RTL83xx DSA driver?
<rsalvaterra> Grommish: o/
sbrown has quit [Ping timeout: 240 seconds]
<rsalvaterra> Grommish: That's the SMI interface driver, shared by all the Realtek switched that implement it: https://www.kernel.org/doc/Documentation/devicetree/bindings/net/dsa/realtek-smi.txt
<Grommish> Right, so why can't I use that for this RTL8367RB instead of swconfig?
<Grommish> I need to dig thru the tree and see if it's there or not
<Grommish> After this build gets done. but that suggest DSA is available for the 8367RB
<rsalvaterra> Well, you can try to see if it works, yes.
<rsalvaterra> I don't know how much RTL8367RB differs from the RTL8366RB
<Grommish> I saw a list but now I can't find it.. If that is the 66, then it is in already
Tost has joined #openwrt-devel
<aparcar[m]> mangix: tested?
<aparcar[m]> rsalvaterra: how can i test you zstd stuff?
<rsalvaterra> aparcar[m]: Ehrm… you can't, yet…? :/
<rsalvaterra> I mean, it requires changes to fstools too. I'm doing this one step at the time…
SpaceRat^ has joined #openwrt-devel
SpaceRat has quit [Disconnected by services]
SpaceRat^ is now known as SpaceRat
snh_ has joined #openwrt-devel
<rsalvaterra> aparcar[m]: Oh, and you also need this in openwrt, to expose the configuration: https://github.com/rsalvaterra/openwrt/commit/17ff4eaeb35704772de3c32e5cc4144bb0a026ca
mwarning has joined #openwrt-devel
snh has quit [*.net *.split]
snh_ is now known as snh
swex_ has joined #openwrt-devel
swex has quit [Ping timeout: 264 seconds]
<rsalvaterra> mangix: Imma cherry-pickin' ur gold linker patches. :P
sbrown has joined #openwrt-devel
<KGB-0> https://tests.reproducible-builds.org/openwrt/openwrt_ath79.html has been updated. (99.1% images and 98.0% packages reproducible in our current test framework.)
mwarning has quit [Ping timeout: 244 seconds]
gromero has joined #openwrt-devel
gromero_ has quit [Read error: Connection reset by peer]
damex has joined #openwrt-devel
<aparcar[m]> rsalvaterra: uha, well keep me posted
<rsalvaterra> aparcar[m]: Don't worry, I will. ;)
damex has quit [Read error: Connection reset by peer]
damex_ has joined #openwrt-devel
philipp64 has joined #openwrt-devel
mwarning has joined #openwrt-devel
damex_ has quit [Read error: Connection reset by peer]
damex has joined #openwrt-devel
damex has quit [Read error: Connection reset by peer]
SpaceRat^ has joined #openwrt-devel
damex has joined #openwrt-devel
SpaceRat has quit [Disconnected by services]
SpaceRat^ is now known as SpaceRat
DirkS has quit [Ping timeout: 246 seconds]
DirkS has joined #openwrt-devel
dedeckeh has joined #openwrt-devel
mwarning has quit [Ping timeout: 265 seconds]
Tost has quit [Ping timeout: 256 seconds]
mwarning has joined #openwrt-devel
Borromini has quit [Quit: Lost terminal]
black_ant has quit [Ping timeout: 264 seconds]
mwarning has quit [Quit: Leaving.]
dedeckeh has quit [Quit: Connection closed]
philipp64 has quit [Quit: philipp64]
gch9812131 has joined #openwrt-devel
gch981213 has quit [Read error: Connection reset by peer]
gch9812131 is now known as gch981213
<mangix> aparcar[m]: tested what? gold patches?
<mangix> Grommish numbers are too good to be true. Although I didn't test his method.
<Grommish> Yeah, that's why he's also running it
<Grommish> :) I don't believe them either
<rsalvaterra> mangix: I also found them hard to believe, so I did the same. :P
<rsalvaterra> mangix: I tried -nostdinc and… no good. The mt76 build fails, because there are standard headers in kernel.h.
<rsalvaterra> The compiler screams loudly at that #include <stdarg.h>.
gch981213 has quit [Read error: Connection reset by peer]
gch9812130 has joined #openwrt-devel
shibboleth has joined #openwrt-devel
philipp64 has joined #openwrt-devel
philipp64 has quit [Client Quit]
philipp64 has joined #openwrt-devel
rmilecki has quit [Ping timeout: 256 seconds]
slh64 has quit [Ping timeout: 258 seconds]
zatwai has quit [Ping timeout: 260 seconds]
opal has quit [Ping timeout: 268 seconds]
opal has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]