xes has quit [Ping timeout: 480 seconds]
xes has joined #openwrt-devel
isak has quit [Read error: Connection reset by peer]
isak has joined #openwrt-devel
<schmars[m]> if i were to look into /etc file change history over time (while the device is running) would i go for supprting jffs2, ubifs, f2fs, or all of them? is this a choice that simple depends on each device, or is one of them a standard that all openwrt is gravitating towards and that eventually most supported devices will be based on?
<schmars[m]> (i feel like historic diffs would be a very nice addition to the way openwrt and luci handle config changes)
<slh> the filesystem (mostly-) depends on the target flash technology used, spi-nor (jffs2), NAND (ubi), block storage (ext4 or f2fs, depending on the storage size), more is very much imaginable (e.g. the OpenWrt derived TurrisOS uses btrfs)
<schmars[m]> got it, super helpful :-) thank you
<slh> e.g. on NAND, ubi pretty much has no alternative, as its the layer doing the much needed ECC and wear levelling on this rare (and faulty) NAND
<slh> but by far not everything is NAND
<schmars[m]> i think i might be lucky in that i can focus on jffs2
<schmars[m]> love it, first prior art i found is a jffs2 transaction extractor written in erlangscript
<schmars[m]> found jefferson, cool, i'm all set. thanks again
janvenekamp has quit [Remote host closed the connection]
lmore377 has quit [Remote host closed the connection]
lmore377 has joined #openwrt-devel
<owrt-snap-builds> Build [#794](https://buildbot.openwrt.org/master/images/#builders/1/builds/794) of `ath79/generic` failed.
valku has quit [Quit: valku]
hanetzer has quit [Quit: WeeChat 3.6]
Tapper has joined #openwrt-devel
mrnuke has quit [Ping timeout: 480 seconds]
mrnuke has joined #openwrt-devel
Misanthropos has quit [Ping timeout: 480 seconds]
<owrt-2102-builds> Build [#34](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/33/builds/34) of `bcm27xx/bcm2709` failed.
<owrt-2102-builds> Build [#34](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/31/builds/34) of `bcm47xx/legacy` failed.
cbeznea has joined #openwrt-devel
rua has quit [Quit: Leaving.]
owrt-2102-builds has quit [Quit: buildmaster reconfigured: bot disconnecting]
owrt-2102-builds has joined #openwrt-devel
Misanthropos has joined #openwrt-devel
srslypascal is now known as Guest2485
srslypascal has joined #openwrt-devel
owrt-2102-builds has quit [Quit: buildmaster reconfigured: bot disconnecting]
owrt-2102-builds has joined #openwrt-devel
owrt-2102-builds has quit []
owrt-2102-builds has joined #openwrt-devel
<owrt-2102-builds> Build [#34](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/71/builds/34) of `bcm27xx/bcm2708` failed.
Guest2485 has quit [Ping timeout: 480 seconds]
<owrt-2102-builds> Build [#34](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/41/builds/34) of `ath79/tiny` failed.
<owrt-2102-builds> Build [#34](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/63/builds/34) of `bcm27xx/bcm2711` failed.
<owrt-2102-builds> Build [#34](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/70/builds/34) of `sunxi/cortexa7` failed.
<owrt-2102-builds> Build [#34](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/18/builds/34) of `octeon/generic` failed.
<owrt-2102-builds> Build [#34](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/69/builds/34) of `bcm27xx/bcm2710` failed.
<owrt-2102-builds> Build [#34](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/36/builds/34) of `bcm47xx/generic` failed.
<owrt-2102-builds> Build [#34](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/21/builds/34) of `bcm63xx/smp` failed.
<owrt-2102-builds> Build [#34](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/27/builds/34) of `lantiq/xway` failed.
<owrt-2102-builds> Build [#34](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/57/builds/34) of `gemini/generic` failed.
<owrt-2102-builds> Build [#34](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/5/builds/34) of `malta/be` failed.
<owrt-2102-builds> Build [#34](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/58/builds/34) of `bcm47xx/mips74k` failed.
<owrt-2102-builds> Build [#34](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/12/builds/34) of `imx6/generic` failed.
<owrt-2102-builds> Build [#34](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/37/builds/34) of `rockchip/armv8` failed.
<owrt-2102-builds> Build [#34](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/35/builds/34) of `ramips/rt288x` failed.
mrkiko has quit [Remote host closed the connection]
tlj has quit [Remote host closed the connection]
tlj has joined #openwrt-devel
srslypascal has quit [Remote host closed the connection]
srslypascal has joined #openwrt-devel
mrkiko has joined #openwrt-devel
ekathva has joined #openwrt-devel
danitool has joined #openwrt-devel
csrf1 has quit [Ping timeout: 480 seconds]
MaxSoniX has joined #openwrt-devel
robimarko has joined #openwrt-devel
<karlp> slh: how do you choose between ext4 of f2fs based on size?
<stintel> karlp: that git-src link bit me last week ;)
<karlp> oh, like openwrt has a hard switch, that's not what I expected at all :)
<karlp> so. ummm. where does that guideline/magic come from? there's not exactly much in the code there, or at https://lxr.openwrt.org/source/fstools/libfstools/common.h#L22 where it comes from...
<karlp> with that fstools in place, can I just not pass a root= parameter from uboot, and just mark gpt partitions with the well known uuids for linux rootfs for arm32 for instance? or is it not that magical
<robimarko> That wont work with OpenWrt
<robimarko> You need the kernel to find and mount rootfs before anything can be done
<karlp> ok, was just reading too much into the comments in fstools then :)
<karlp> all this "just use uuids and labels, don't rely on assumed ordering of mmc blocks" isn't very convenenient when "oh yeah, now you need an initrd to find the labels"
<robimarko> I would shorten that to use UUID-s
<robimarko> Are you using a boot script or?
<karlp> I am at the moment, and I've added aliases for mmc0/mmc1 as apparently that was allowed after all in the end,
<karlp> just trying to do the "right" "modern" thing.
<karlp> but so far it still only comes up nicely if I give it root=/dev/mmcblock0p2, or root=PARTUUID=blah.
<robimarko> Well, that has been my experience as well
<\x> whats the expected sqm cake bw on 60xx robimarko
<\x> seems it can route gigabit on codel
<robimarko> \x: No idea
<\x> i cant test cake it seems, it weirds out
<robimarko> Havent even tried networking on it
<robimarko> To put it mildly, its low-low priority
<\x> so all of those issues where wifi doesnt get dhcp on dumb ap mode and i cant get sqm working is easily fixable by disabling all of those nss scripts on boot
<f00b4r0> robimarko: looks like I'll finally be getting my MochaBIN next week :)
<robimarko> f00b4r0: Thats Globalscale for you
<robimarko> They are so annoying when you have to work with them
<f00b4r0> heh. I expect stellar support now with all that delay :D
<robimarko> Good luck
<\x> this cpu is bored with gigabit it seems
<robimarko> f00b4r0: Please tell me whats the OpenWrt version you get
<f00b4r0> robimarko: I will, although AIUI they ship stock with Ubuntu on the entry level versions (which is what I pledged)
<robimarko> \x: Well, its offloaded
<\x> no offloads robimarko
<\x> all nss is disabled
<\x> that fullcone nat shit from lean is disabled
<\x> i get proper reading on nlbwmon
<robimarko> f00b4r0: So they have been bothering me to "add the user required packages" to OpenWrt for nothing
<f00b4r0> robimarko: the higher tiers ship with openwrt (again, AIUI)
<robimarko> \x: There is no way that thing routes, let alone shapes 1G with that low CPU usage without NSS offloading
<robimarko> Unload the nss-ecm module and then retest
<\x> theres no ecm running
<robimarko> \x: you sure that its actually routing and not just switching
<robimarko> Cause, the network adapter is identical to the one in IPQ807x
<\x> it is
<\x> and theres cpu usage now when routing once all those nss shit is disabled
janvenekamp has joined #openwrt-devel
<\x> wifi sucks though in lean's qsdk mishmash, stock does 700/500, here its the reverse 450/700, 450 down like wtf its like ac wifi perf
<\x> and downgrading the connection to ac doesnt even go past 300 in downloads
goliath has joined #openwrt-devel
<\x> but yeah so far thats fine with me, thats usable, dont care much on wireless, my services, nlbwmon, unbound, adblock, runs fine, stays arounf < 200M memory usage, ill deply this soon as my gateway
<\x> <robimarko> \x: There is no way that thing routes, let alone shapes 1G with that low CPU usage
<\x> not low really
<robimarko> Thats more like it
<\x> but this is with packet steering not enabled
<\x> is there any program that shows cpu usage as a graph?
<owrt-2102-builds> Build [#35](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/31/builds/35) of `bcm47xx/legacy` completed successfully.
<owrt-2102-builds> Build [#35](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/33/builds/35) of `bcm27xx/bcm2709` completed successfully.
<owrt-2102-builds> Build [#35](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/71/builds/35) of `bcm27xx/bcm2708` completed successfully.
<owrt-2102-builds> Build [#35](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/41/builds/35) of `ath79/tiny` completed successfully.
<karlp> so, chasing the logs, nbd just declared 100MB to be the point where you should make f2fs instead of ext4, in 2016? https://git.openwrt.org/?p=project/fstools.git;a=commit;h=fe514c9a20365ba00232c2c981463f43a4a41a7d but I'm still not sure what led to that choice?
<\x> set to 940000 on sqm qos
<owrt-2102-builds> Build [#35](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/70/builds/35) of `sunxi/cortexa7` completed successfully.
<owrt-2102-builds> Build [#35](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/63/builds/35) of `bcm27xx/bcm2711` completed successfully.
<owrt-2102-builds> Build [#35](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/18/builds/35) of `octeon/generic` completed successfully.
<nbd> karlp: if i remember correctly, i found that f2fs couldn't be used on smaller filesystems like 64 MB
<nbd> so i just put in an arbitrary safe threshold
<karlp> ok, so it's "f2fs is jsut better, but can't work on small things" ? that's enough for me thanks :)
<nbd> correct
<owrt-2102-builds> Build [#35](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/36/builds/35) of `bcm47xx/generic` completed successfully.
felix_ has joined #openwrt-devel
felix has quit [Read error: Connection reset by peer]
<karlp> anyone have any objection to me removing the CONFIG_SUNXI_SD_BOOT_PARTSIZE (from 2016) and moving to the generic USES_BOOT_PART/Features=boot-part that everyone else uses since 2018?
<\x> well idk how to prove that its routed
<\x> but it is
<stintel> karlp: I like the idea
<karlp> stintel: looks like omap has the same thing. uses features=rootfs, but has it's own config flags (ala sunxi) for boot partition.
<karlp> seems kinda superfluous..
<karlp> heh, omap was copied from sunxi in 2017, also predates the boot-part feature.
aleksander has joined #openwrt-devel
rua has joined #openwrt-devel
bluew has quit [Quit: Leaving]
<owrt-2102-builds> Build [#35](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/27/builds/35) of `lantiq/xway` completed successfully.
<stintel> karlp: makes sense to replace that with the boot-part feature, go ahead and cc original authors of the target specific features ?
<stintel> s/features/config/
<karlp> yeah, seems easy to do, gives me one less set of inconsistencies to try and unwind in my head.
<owrt-2102-builds> Build [#35](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/5/builds/35) of `malta/be` completed successfully.
<stintel> maybe it could also use the legacy sd card script instead of target specific
<karlp> very likely as well.
<karlp> though I kinda feel like the sunxi one _is_ the legacy one they callc opied from :)
<stintel> quite possible :P
<owrt-2102-builds> Build [#35](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/69/builds/35) of `bcm27xx/bcm2710` completed successfully.
<owrt-2102-builds> Build [#35](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/12/builds/35) of `imx6/generic` completed successfully.
<owrt-2102-builds> Build [#35](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/58/builds/35) of `bcm47xx/mips74k` completed successfully.
<owrt-2102-builds> Build [#35](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/37/builds/35) of `rockchip/armv8` completed successfully.
Ansuel has joined #openwrt-devel
<Ansuel> o/
<owrt-2102-builds> Build [#35](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/35/builds/35) of `ramips/rt288x` completed successfully.
owrt-2102-builds has quit [Quit: buildmaster reconfigured: bot disconnecting]
owrt-2102-builds has joined #openwrt-devel
<karlp> stintel: what's the legacy sd card script you mean?
<owrt-2102-builds> Build [#35](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/57/builds/35) of `gemini/generic` completed successfully.
<owrt-2102-builds> Build [#35](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/21/builds/35) of `bcm63xx/smp` completed successfully.
torv has quit [Remote host closed the connection]
Obi-Wan has quit [Remote host closed the connection]
torv has joined #openwrt-devel
<stintel> karlp: looks like I confused things, legacy-sdcard is also a feature, but it's used on the device for sysupgrade, not to generate the sdcard image in buildroot
Vaughn has quit [Read error: No route to host]
zx2c4 has quit [Read error: No route to host]
Vaughn has joined #openwrt-devel
chder has quit [Remote host closed the connection]
zx2c4 has joined #openwrt-devel
Obi-Wan has joined #openwrt-devel
arnd has quit [Read error: No route to host]
<karlp> ok, yeah, I found quite a few variations of "gen_sdcard" under various targets, all with various differences that are probably important, not going down that path right now...
arnd has joined #openwrt-devel
chder has joined #openwrt-devel
grid has quit [Ping timeout: 480 seconds]
grid has joined #openwrt-devel
Ansuel has quit [Read error: Connection reset by peer]
<stintel> karlp: yeah, I think I made the same decision
<stintel> but ideally we come up with a generic script with some switches that makes it usable for all targets
<stintel> huge potential for breakage though :)
borek has joined #openwrt-devel
<karlp> I'm more interested in just making a new "emmc that's not jsut a sdcard" script rather than trying to unify all the platform differences on sd card layouts :)
<robimarko> karlp: What features do you see in a emmc specific script?
<robimarko> eMMC and SD cards are pretty much the same to U-boot and Linux, expose a GPT table and thats it
<karlp> I want uboot on emmc boot partition 1, not on a separate "boot" partition at the front of the user partition.
<karlp> uboot env I don't have a strong preference, end of the boot partition 1, or on boot partition 2..
<f00b4r0> rmilecki: it's unclear to me what the status of GT-AX6000 is in 21.02 following this commit of yours: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=28ab4f395541ad4b969879042f58fd19d13a596a, could you shed some light? (preparing release notes)
<robimarko> karlp: Thats nothing really eMMC specific
<karlp> ok, got a fit image on board, but it gives me "lzma compressed: uncompress error 7" when it starts uncompressing kernel image, what am I missing for that?
<karlp> robimarko: well, it kinda is, the emmc boot partition 1 is the fixed 4MB hardware partitions,
<karlp> you can't just "copy the img to the disk" like you can with the sdcard boot partition setup.
<robimarko> Error 7 was read error if my memory serves me
<robimarko> karlp: good point on hw partitions
Ansuel has joined #openwrt-devel
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
<rmilecki> f00b4r0: unsupported
<rmilecki> f00b4r0: wip
<f00b4r0> rmilecki: ok. Shouldn't it be marked BROKEN := y then?
<f00b4r0> otherwise we'll have images built and people trying them
<rmilecki> f00b4r0: "TARGET_DEVICES" line is commented out
<f00b4r0> oh
<rmilecki> we went back and forth with BROKEN vs. commenting out TARGET_DEVICES few times I got lost what is correct solutin
<f00b4r0> indeed.
<f00b4r0> sorry I missed that :)
<rmilecki> n
<rmilecki> np
<Ansuel> IMHO broken should be the correct one... much quicker to check broken package than inspect the akefile and fine commended targets
<Ansuel> broken targets*
<rmilecki> Ansuel: i'm ok with any option, whatever you agree on
<Ansuel> i would use BROKEN
<rmilecki> e9f7923a1d4b327ef4b9ac25fbe197f2b4ea61d7 ("treewide: mark devices as BROKEN instead of commenting out") (by ynezz)
<rmilecki> ah, we also had DEFAULT := n for some time 504000d520ac8699137bd6b8dbd55f723f34bfbe ("treewide: use DEFAULT := n to disable non-broken devices") (by ynezz)
<Ansuel> soo as you can see commeting them out is ALWAYS a bad practice
<rmilecki> but then we also had someone commeting out as an addition to the BROKEN:=y see fd67908647390b916470501c88b4f5258123da95 ("scripts: mkits.sh: Allow legacy @ mode for dts creation")
<rmilecki> so I really got lost ;)
* f00b4r0 is poring through GH issues looking for regressions. Dear lord, the headache ;P
<Ansuel> rmilecki well the all 3 accomplish the same thing
<Ansuel> stop building image by default
<rmilecki> right
<Ansuel> sooo it's really how someone decided to do it... IMHO broken should be the general rule
<rmilecki> Ansuel: so the question I believe is: BROKEN vs. DEFAULT:=n ?
<Ansuel> default:= should be used for device that have no tester if they actually work and require manual compilation
<rmilecki> Ansuel: ah, ok
<rmilecki> sounds good & sane
<Ansuel> broken should be used for device that needs to be converted or won't compile at all
<Ansuel> 99% of the time broken should be the correct flag IMHO
<rmilecki> understood
<rmilecki> i will follow that rule
<robimarko> f00b4r0: Our prayers are with you. GH regressions are not funny
<f00b4r0> robimarko: the SNR in the issues section is also not funny ;P
<robimarko> f00b4r0: Not disagreeing there
<f00b4r0> heh
<f00b4r0> looks like we've given up using tags too, sadly
<Ansuel> mhhh what regression are we talking about?
<robimarko> Not any particular one
<robimarko> Ugh, good look overflowsa
minimal has joined #openwrt-devel
ekathva has quit [Remote host closed the connection]
GNUmoon2 has quit [Ping timeout: 480 seconds]
<\x> tested cake now
<\x> cant do line speed
GNUmoon2 has joined #openwrt-devel
<Ansuel> https://github.com/openwrt/openwrt/pull/4527 any suggestions about this?
<Ansuel> it's really a question about form
<Ansuel> so feel free to leave a comment here
<Ansuel> or i'm merging this (souds like a threat)
<robimarko> Ansuel: I am not seeing the issue
<robimarko> I hope it isnt build vs built
<Ansuel> i added extra text about the wiki download page
<Ansuel> since it's not my main language wonder if there is a better form to describe it
<robimarko> LGTM, I dont find it confusing
dangole has joined #openwrt-devel
valku has joined #openwrt-devel
<f00b4r0> a lot of issues appear completely stale and/or outdated. Maybe we do need a stalebot ;P
<Ansuel> 90% of the issue will be flagged as stale
borek1 has joined #openwrt-devel
snh_ has joined #openwrt-devel
madwoota has quit [Ping timeout: 480 seconds]
snh has quit [Ping timeout: 480 seconds]
GNUmoon2 has quit [Ping timeout: 480 seconds]
borek has quit [Ping timeout: 480 seconds]
borek1 is now known as borek
<f00b4r0> Ansuel: is that a problem? Point being: let's close them and improve SNR on issues that need attention
<Ansuel> some issue may be still relevant but just stalled :(
<f00b4r0> I see issues related to 19.07 still open. That's just noise at this point
<stintel> maybe stalebot can skip some labels
snh_ has quit [Remote host closed the connection]
GNUmoon2 has joined #openwrt-devel
<stintel> the thing is, looking at the issues and seeing 1.7k is not very confidence inspiring for users, and demotivating for developers
<Ansuel> yes 1.7k issue is a real problem...
madwoota has joined #openwrt-devel
<f00b4r0> stintel: +1
<Ansuel> stintel what tag were you thinking ?
<stintel> dunno
<stintel> was just an idea
<karlp> just because things were reported against 1907 doesn't make them automatically noise...
snh has joined #openwrt-devel
<f00b4r0> karlp: yes it does. The answer to such reports is "please check if applies to current releases and reopen" + autoclose
<karlp> you can say that, and you'll be in grand company of all the othe rgeneric software companies over the years, it still doesn't make it automatically noise
<stintel> problem is that users cannot reopen issues iirc
<Ansuel> they can leave comments tho
<karlp> making users continually retest, repaste a version number and go, "yep, still a problem, which you'd know if you followed my recreation steps"...
<f00b4r0> stintel: s/reopen/submit a new one/ :)
<karlp> I know most of them are,
<stintel> no
<stintel> submit is even worse
<stintel> submit new*
<karlp> but i'm tired of (as a user) seeing my issues get reported, then closed as "old" without ever getting looked at.
<stintel> yeah, or even worse, PRs
<f00b4r0> karlp: 1.7k issues is simply unmanageable. Nobody's looking. We might as well disable issues reporting at that point :P
<stintel> I just closed one :P
* karlp feels taht 1.7k is nothign...
<f00b4r0> stintel: o/
<f00b4r0> karlp: feel free to triage then
<Habbie> 1.7k issues on the wall, take one down, 1.7k issues on the wall
* Ansuel desperately trying to keep pr number below 300...
borek has quit [Quit: borek]
<stintel> yay closed another one
<stintel> 1650 left :P
<Habbie> 1.6k issues on the wall,
<Ansuel> stintel is on killing spree
<stintel> just searching for won't fix :P
borek has joined #openwrt-devel
Piraty has quit [Remote host closed the connection]
Piraty has joined #openwrt-devel
<Ansuel> should we make the tools container public ?
<karlp> what's the difference between "IMAGES" and "ARTIFACTS" ?they both seem to end up in the bin/ output dir?
<[Pokey]> I see the word container
<[Pokey]> I like containers
<Ansuel> kernel github actions from some days is using tools container to test build kernel with precompiled tools
<robimarko> Plastic ones as well or only software ones(Sorry in advance for this horrible attempt at humor)
<[Pokey]> robimarko: As a collector of way too many tech things, both!
<Ansuel> robimarko is this a suggestion to call them tupperware?
<robimarko> As European I refuse to identify the object with a brand name
<[Pokey]> I feel a Docker Container competitor coming on Robimarko Tupperware
<Ansuel> (currently the container is private but there was some request to make it public)
<Ansuel> robimarko let me take my swifter
<Ansuel> (we are already fked up about that problem)
<robimarko> BTW, what is swifter?
<robimarko> That hasnt reached across the adriatic
<Ansuel> oh wait it's Swiffer
<robimarko> Still not sounding familiar
<robimarko> Oh
<robimarko> Luckily Croatia so small nobody bothered to make a monopoly on cleaning supplies
<Ansuel> 327 ... so hard to close 28 pr
<Ansuel> MHH
<Ansuel> there is this to merge
<robimarko> Looks like slam dunk
<stintel> git.openwrt.org kex_exchange_identification: Connection closed by remote host
<Ansuel> robimarko i wonder can a patch have multiple Fixes tag ?
<Ansuel> i mean did you ever notice a kernel patch with it?
<robimarko> Not that I know of
<robimarko> I suppose the proposed solution would be to split it
<Ansuel> yep...
<robimarko> BTW, qca8k for IPQ4019 based off mainline is mostly done
<Ansuel> nice did you encounter some problem with the code split
<robimarko> PCS config and calibration need to be redone basically
<robimarko> Nope, I found it saved me a bunch of time
<Ansuel> happy to know... and sad for PCS...
<robimarko> But, I am now waiting for Bootlin to debug the tagger as its broken
<Ansuel> oh...
<Ansuel> ...
<robimarko> No packets arrive at DSA interfaces but eth0 has them
<robimarko> So its a tagger issue, they will do it tommorow
<robimarko> Then, its a matter of somehow try and cleanup the calibration
<robimarko> And ship a RFC to see everything I managed to get wrong
<robimarko> Ansuel: Fun fact, QUP SPI is broken in 6.0
<Ansuel> nandc and adm was also broken in 6.0
<robimarko> Thas nice
<Ansuel> they really had fun in 6.0 it seems
<robimarko> Well, that is what I get for not trying newer kernels in between
<robimarko> Last one was 5.15 on 4019
<robimarko> So, now the fun on bisecting
<Ansuel> at least you have a working buildroot
<robimarko> Its rather easy
<robimarko> Especially after you did it once before
<Ansuel> in the meantime i have to refresh my experimental 6.0 patches...
<Ansuel> https://git.openwrt.org/?p=openwrt/staging/ansuel.git;a=shortlog;h=refs/heads/test-6.0
borek1 has joined #openwrt-devel
borek has quit [Quit: borek]
borek1 is now known as borek
<robimarko> BTW, what was the issue with NAND, ADM rework?
<Ansuel> good old sizeof pointer instead of value
<robimarko> I have a feeling that compiler was screaming as well
<Ansuel> adm was the culprit but nandc made the kernel panic as the value was wrongly checked
<Ansuel> nope no scream the code itself was correct problem was the logic
<Ansuel> (about the topic tsens patch reviwed but still nobody picked them....)
<robimarko> The first patch wasnt reviwed, maintainer said he would pick them once Bjorn reviewed the first one
<robimarko> As he had a comment that was addressed but Bjorn being Bjorn nothing happened
<robimarko> Mailbox, APCS and rest of DTS patches got ignored as well
<Ansuel> they will be picked for 6.3 :D
<robimarko> Maybe
<[Pokey]> Not at all wanting to be pushy here, but seeing as theres been metions of PRs getting updated, how long does it usually take for a device support PR to be reviewed?
<robimarko> That can be everything from hours to months and to never
* [Pokey] considers the meaning of life, the universe and everything
<[Pokey]> Okay :P
<[Pokey]> I shall be patient and optimistic!
<robimarko> Device target seems to matter the most
<robimarko> As some targets are rather popular and active while some are rather obscure at this point
<[Pokey]> being am MT7621 probably makes it "ugh heres another one"
<Ansuel> robimarko i wonder if the user on the xiaomi topic are collaborative...
<Ansuel> also wonder if you want to test the patch about the timeout issue...
<Ansuel> will prepare it later in the evening
borek has quit [Remote host closed the connection]
borek has joined #openwrt-devel
<robimarko> Ansuel: Yeah, I can test it
<robimarko> Had to remove the AP today before I could test single band for timeouts
<Ansuel> is it a day enough time repro the error?
<robimarko> Yeah, its usually couple of hours max
<Ansuel> wow couple of hours NICE!
<Ansuel> so you had the error with single band?
<robimarko> No, I had to turn the AP before I could test
<Ansuel> rip
<Ansuel> on second tought i'm still convinced it may be a problem with multiple interface handling packet
<Ansuel> as you never notice MSDU error
<Ansuel> and you don't use WDS
<Ansuel> (these 2 are the only way to trigger a counter imbalance)
<Ansuel> my idea is to move the make the counter per interface but i need to check if it's doable
<Ansuel> (btw yes the flush is called per interface, i tested that yesterday)
<Ansuel> (but we need proof that the problem is in the fact that the thing timeouts are more packets comes)
noltari has joined #openwrt-devel
<karlp> on master, (at least?) I've some packages getting generated with the opkg info showing "Version: 1" and the ipk filenames likewise. on 21.x and before, it should show the contents of my PKG_VERSION field? it seems to be now showing the PKG_RELEASE field? but.. not for all packages? seems to be doing it for packages that have their souce within the package definition?
Ansuel has quit [Read error: Connection reset by peer]
Ansuel has joined #openwrt-devel
noltari_ has quit [Ping timeout: 480 seconds]
<robimarko> Ansuel: I am going a bit crazy on SPI here
rua has quit [Ping timeout: 480 seconds]
<robimarko> SPI and DMA drivers have minimal changes and nothing looks suspicous
<robimarko> Even confirmed that pinctrl is actually set with a script
gladiac has joined #openwrt-devel
<karlp> ok, weirder. if I have a package in a feed that is src-link, it fails to run the PKG_REV:=$(shell git describe --long --dirty) line somehow and PKG_VERSION:=$(PKG_REV) ends up empty, and I get PKG_RELEASE as the only thing int he name.
<karlp> (even though that local src-link is a git repo, and this used to work)
<karlp> if the same package, same code is in a feed with src-git, it correctly generates the PKG_VERSION?
rua has joined #openwrt-devel
<karlp> ok, this is apparently, "feeds: use git-src-full to allow Git versioning"
borek has quit [Quit: borek]
<karlp> if we've converted teh entire feeeds.conf.default to src-git-full, it doesn't sound like the shallow version is really getting us anywhere...
<karlp> bah, I can't see how this has only broken just now, they've been --depth=1 since 2012.
Ansuel has quit [Ping timeout: 480 seconds]
Ansuel has joined #openwrt-devel
<robimarko> Ansuel: Figured it out, its the damn CS GPIO
<Ansuel> they changed something or??
<robimarko> No idea
<robimarko> But if I allow QUP to drive the pin it works
<robimarko> I always though that it was broken, but its broken only onv1
<robimarko> Other versions just use the force function to set CS level
<Ansuel> Mangix ping?
<Ansuel> robimarko at least you know the cause and bisect wasn't needed
<robimarko> Yeah, I am gonna see if binding changed or something like that
gladiac has quit [Quit: k thx bye]
<Ansuel> btw did ath11k mess the debugfs directory naming ?
<Ansuel> aside from the name in debugfs ath11k stuff is under ipq8074 hw2.0
<Ansuel> (bridg idea to put space in the naming)
<robimarko> No idea, but it was kind of stupid from the start
<robimarko> They moved some of the FW stats out of debugfs recently
<robimarko> Ansuel: Well, they are not even getting the CS GPIO
<Ansuel> o.O
<Ansuel> how did it work before?
<Ansuel> oh well so nobody updated the driver
<robimarko> In theory, QUP has HW CS control
<robimarko> But I tried it and reboot did not work, so its buggy
<robimarko> Hence why everybody just used GPIO-s
<Ansuel> fun stuff...
<robimarko> And yeah: spi_master spi0: ctlr->use_gpio_descriptors: 0
<robimarko> So it skips fetching GPIO CS
<Ansuel> like why the hell fix something when we can use a workaround that will totally brake in some version
<robimarko> I dont get why it will cause reboot to not work
<robimarko> Driver is just using the force BIT(11) to set CS and clear
<robimarko> And magic, with ctlr->use_gpio_descriptors = true;
<Ansuel> robi you confirm that the wifi bug can be repro with a simple /etc/init.d/wpad restart?
<robimarko> Yeah, I just do service wpad stop
<robimarko> And then wlan0 will go down, wlan1 will take a while and error will be printed
<Ansuel> i need to select user that suffer from this problem so we can better test patches
<Ansuel> i would start with some simple one... currently my 2 theories are:
<Ansuel> 1. packets gets lost and never handled till the driver die (micro mem leak)
<Ansuel> 2. new packets comes while we are flushing tx
danitool has joined #openwrt-devel
MaxSoniX has quit [Quit: Konversation terminated!]
srslypascal has quit [Remote host closed the connection]
srslypascal has joined #openwrt-devel
Ansuel has quit [Read error: Connection reset by peer]
Ansuel has joined #openwrt-devel
<Ansuel> robimarko i'm sad someone repro the error with wpad but rebooted the router :(
<Ansuel> oh wait i also repro it
<Ansuel> WOW
<Ansuel> in just an uptime of 2:40
<Ansuel> ok it's totally packet gettis lost....
<Ansuel> OK I THINK I FOUND THE BUG
Ansuel_ has joined #openwrt-devel
<robimarko> Ansuel: To me it looks like its because stop is not simultaneous on both radios
<robimarko> And since there is a client on 5G for example those couple of packets dont get sent or flushed
<Ansuel_> nono i just manage to repro the bug now let me try it on a rebooted state
<Ansuel_> ath11k c000000.wifi: failed to flush transmit queue, data pkts pending 1
<Ansuel_> manage to repro...
<Ansuel_> packets are lost when a device transition from one band to another
<Ansuel_> doesn't happen everytime but it does happen
Ansuel has quit [Ping timeout: 480 seconds]
<Ansuel_> now i have to understand how to handle this in a sane way....
schwicht has joined #openwrt-devel
Borromini has joined #openwrt-devel
cbeznea has quit [Quit: Leaving.]
Ansuel_ has quit [Ping timeout: 480 seconds]
Ansuel has joined #openwrt-devel
<Mangix> Ansuel: pong
<Ansuel> Mangix: seems your xstd patch works o.O
<Mangix> Big doubt.
<Ansuel> nobody can repro...
<Mangix> I'll look into it later today. I'm not the one that originally reported it. If this is merged, it'll get reverted after people complain
<Ansuel> okok if it's not private may i ask you what is your fuse?
<Ansuel> considering you said "later today" and here it's almost midnight
<Mangix> Fuse?
<Ansuel> timezone
<Mangix> I'm GMT-8
<Ansuel> oh ok it's 22:30 here
<Mangix> GMT+1?
<Ansuel> +2
<Mangix> IIRC Bulgaria was +2
<Mangix> OK
<PaulFertser> Please forget the word GMT, pretty please. It means nothing specific and hence confusing. Just stick to UTC.
<Ansuel> well on google they use gmt+2 for my timezone
<PaulFertser> Google sucks
<Ansuel> i mean it's the same...
<Ansuel> Universal Time Coordinated
<Ansuel> Greenwich Mean Time
<PaulFertser> It certainly is not. GMT is not well-defined. Same about WDS ;)
<Borromini> Mangix: i think UK is even GMT+1 as long as they're on DST
<Habbie> correct, and +0 outside of DST
<Borromini> most of (western) Europe is CEST - Cenral European Summer Time still
<Borromini> for a few weeks
<Habbie> 3 more weeks
<Borromini> =)
<Ansuel> Habbie curious that dst will be dropped in some years
<Habbie> Ansuel, the promise hasn't been mentioned in quite some time now
csrf1 has joined #openwrt-devel
<Borromini> Ansuel: it certainly won't with these gas prices, I reckon
<Mangix> Gas is near $7 here
<Habbie> per gallon?
<Mangix> Yep
<Mangix> Cheaper in other states
<Habbie> this is the first time in years that US and EU petrol prices are somewhat close to eachother :)
<Habbie> it's been $7 for us many times before
<Habbie> (also been $10 this year)
<Habbie> no, $9
<Mangix> That's crazy
<Habbie> $3 of that is, and has always been, a fixed fuel tax
<Habbie> (well, in 1993 it was $1.50, you can interpolate)
<Habbie> note that I'm talking .nl, but other european countries are similar i think
<Mangix> I went to Idaho recently. Was quite an experience to switch timezones.
<Habbie> hehe
<robimarko> Come on guys, diesel in Croatia is only around 1,63 EUR/L
<Habbie> diesel used to be way cheaper than petrol in .nl, but gas prices have pushed it up beyond petrol
<robimarko> Oh yeah
<robimarko> Here it was always cheaper
<robimarko> But now the difference is around 25 cents
<f00b4r0> same here, diesel is now more expensive than everything, including 98/E5
<robimarko> It has been trending towards this for a while
<robimarko> Just checked 21 cents difference
<robimarko> It has been slowly creeping towards gasoline for years
<Habbie> f00b4r0, i understand this is because the production of diesel involves some amount of natural gas
<Habbie> the kind that comes from russia usually
<robimarko> Not just that
<robimarko> But refineries have been modernized in a way that produces way more gasoline than diesel
<robimarko> But consumption of diesel is much higher than gasoline
<Habbie> right
<PaulFertser> How about "red diesel"?
<robimarko> Oh, for agriculture?
<robimarko> Funnily, ours is blue
<Habbie> red diesel is mostly gone in .nl
<Habbie> except for ships
<robimarko> But yeah, the "blue" one is same diesel with a marker
<PaulFertser> I mean how much does it cost now?
csrf1 has quit [Ping timeout: 480 seconds]
<robimarko> 1,13 EUR
<robimarko> In Croatia
<Habbie> like 60 eurocents less than normal diesel, per liter, i think
<Habbie> so 1,30 here or something
<PaulFertser> Still a lot, I see.
<Habbie> nothing is cheap these days
<robimarko> BTW, what are electricity prices like?
<robimarko> Here, the government capped them
<Habbie> {'2022-02': 0.59513, '2022-03': 0.39238, '2022-04': 0.54158, '2022-05': 0.49431, '2022-06': 0.48268, '2022-07': 0.46053/1.21*1.09, '2022-08': 0.46129, '2022-09': 0.62021, '2022-10': 0.74803 }
<Habbie> that's eurocents per kWh
<Habbie> we're getting a 40 cent cap in january, for the first 2900 kWh
<Habbie> (for the year)
<stintel> auch
<robimarko> Here they just introduced a cap from the first of this month
<Habbie> -07 looks weird because they lowered the taxes July-December but my provider hadn't adjusted yet
<robimarko> 0,6368 for day rate and 0,0415 for the night
<robimarko> EUR/kWh
<Habbie> we're also getting a one time 380 EUR discount later this year
<Habbie> robimarko, no typos there?
<robimarko> Yeah
<robimarko> Those are HRK
<Habbie> funky
<robimarko> Not EUR
<Habbie> right
<Habbie> but they're so far apart
<robimarko> 0,0845 and 0,0415 EUR/kWh
<Habbie> if they'd be in EUR, and you swapped them, they'd basically be wholesale electricity prices for EU
<robimarko> 1 EUR is 7,53450 HRK
<Habbie> ah
<robimarko> We are changing to EUR on January 1st
<stintel> 0.12093 BGN / kWh night, 0.2061 BGN / kWh day
<Habbie> so 0.06 / 0.11 EUR
<Habbie> very nice
<stintel> ~ 0.062 0.105
<Ansuel> robimarko prepare for complain on the ax9000 topic...
<stintel> Habbie: yes very nice
<robimarko> They capped the prices only up to 2500 kWh per 6 months
<stintel> I do ~1300kWh/mo :P
<robimarko> Then its +50
<robimarko> stintel: You would be bankrupt in other countries
<Ansuel> *coff* *coff* italy *coff* *coff*
<Habbie> stintel, jesus :)
<robimarko> They charge you +50% on the prices if you go over the cap
<Ansuel> bill price for business are getting ridiculous
<robimarko> Oh yeah
<stintel> it would be painful, yes
<robimarko> Luckily those got capped as well
<robimarko> As it was getting crazy
<stintel> but then I'd buy a place, go mad with solar panels and home battery etc
<Ansuel> like from 800€ to 20k
<dwfreed> it has probably changed since I last looked, but when I looked, I was paying about $0.10 USD / kWh
<robimarko> You know the government is desperate when they waiwed VAT on equipment for renewable installations
<stintel> but yeah keep shutting down nuclear plants
<stintel> smart move!
<robimarko> stintel: Fun fact, Croatia has half of a nucler power plant
<svanheule> robimarko: so I have to ask: where's the other half?
<robimarko> Its Slovenias
<Habbie> also, which half
<robimarko> Krško, Slovenia
<stintel> robimarko: not bad, not terrible :P
<stintel> wait, did I mess that up
<stintel> not great, not terrible?
* stintel slaps himself
<Ansuel> is that a quote to...
<robimarko> Chernobil
<Ansuel> LOL
<robimarko> So, since every country owns half o the plant, they have been arguing for the last 30 or so years
<robimarko> Where will the pernament waste disposal site be
<Ansuel> split ?
<stintel> Ansuel: too easy!
<Ansuel> like litterally the barrel split
<robimarko> Thing is that it costs a bunch of money
<robimarko> So they would rather do it once
<robimarko> But then nobody wants it
<robimarko> "Temporary" solution is a "temporary" storage at the plant itself
<Ansuel> ...
<robimarko> But they even moved the yearly maintance earlier so it could run non-stop over the winter
<robimarko> I just know that Norway will make a fortune
<stintel> ooooh
<stintel> The international shipment has been processed in the parcel center of origin
<stintel> Rheinberg, Germany
<stintel> my Starlink is coming!
<Ansuel> what version ?
<stintel> RV
<Ansuel> the first one was openwrt afaik
<Ansuel> it was ipq also o.o
<robimarko> Ansuel: Just saw it now, why will somebody complain in AX9000 thread?
<robimarko> stintel: Have they reduced the price?
<stintel> robimarko: 120BGN/mo 900/BGN for the hw
<Ansuel> robimarko i hope you are right a noody will
<stintel> robimarko: and it's the RV version so you can suspend/reactive as needed, pay per month
<robimarko> stintel: Here they are charing 3800 HRK for HW and 460 HRK/mo for the RV
<robimarko> Residential is 370 HRK/month
<stintel> robimarko: same price as here then
<robimarko> Yeah, looks like they just convert the currency
<stintel> robimarko: ~EUR61
<Ansuel> yep it's ipq806x
<Ansuel> LOL
<stintel> my favorite :P
<Ansuel> but they changed that new device are not openwrt based
<robimarko> The forewer kind of semi-broken SoC
<robimarko> I had an idea to try and hook the kernel offloading to NSS FW via driver
<robimarko> I had to slap myself after that idea
<Ansuel> the other day with nss crypto
<Ansuel> today with offload
<Ansuel> you really want to use the bin ehehehhe
<Ansuel> remember that with wifi offload i reached 3.2 gbps of wifi traffic :P
<Ansuel> and require only nss-drv
csrf1 has joined #openwrt-devel
<robimarko> bps are getting left on the table so its annoying me
bluew has joined #openwrt-devel
<robimarko> FW is redistributable
<robimarko> So my thinking is why not hook onto it from one of the standard kernel interfaces rather than from that nss mess
<Ansuel> well it's all payload and magic values
<robimarko> exactly
<Ansuel> at the very end to make the payload work on the fw
<Ansuel> they just have to match struct size nothing else
<robimarko> like, how hard could it be to offload tcp
<Ansuel> so we can somehow make that configurable
<robimarko> pppoe and basic stuff like that
<Ansuel> it depends how much you want to offload
xback has quit [Remote host closed the connection]
<Ansuel> big task would be make everything works with a clean and custom driver
<Ansuel> but first thing would be load and setup the fw and check if it works with the qsdk module
<robimarko> considering the mess and amount of components it currently requires rewrite seems easier
<robimarko> crypto would be rather easy for anybody that ever did kernel crypto drivers
<robimarko> in the ends its eip197
<Ansuel> well the real offload aka ecm is not sustainable so yes that will be easier to rewrite than add all the patch
<Ansuel> but things like wifi offload would require just the required api to fill the various payload
<Ansuel> i guess same for crypto
xback has joined #openwrt-devel
<Ansuel> main problemfor tcp offload is all the logic to receive packet from nss
<robimarko> Crypto looks to be the easiest to tackle
<robimarko> As its self-contained
<robimarko> But at the same time, I know nothing of crypto and let alone kernel crypto
<Ansuel> well for this kind of stuff we can't rush thing or we will end up with nothing working and no idea why
<Ansuel> mhhh we should ask cote
<robimarko> cote?
<robimarko> There isnt much that you can mess up with crypto
<robimarko> Its EIP197 engine, has its FW
<robimarko> But doesnt look like its compatible with the upstream EIP driver
<Ansuel> cotequeiroz
<robimarko> Oh yeah
<Ansuel> have some openssl engine written
<Ansuel> and to me it seems the right guy for this kind of thing
<Ansuel> upstream EIP is a modified variant than the real one
<Ansuel> also if i understand how pricey these fw are
<Ansuel> they totally have some internal thing to validate the fw
<Ansuel> well time to debug ath11k... pls someone save me
<robimarko> Aint no rest for the wicked
<robimarko> Ansuel: Ok, so the upstream EIP driver and the mini FW
<robimarko> Are basically using the EIP197 in EIP97 compatibility mode as no advanced features are used
Borromini has quit [Quit: leaving]
mrnuke_ has joined #openwrt-devel
mrnuke has quit [Read error: Connection reset by peer]
<Mangix> HW crypto. Sounds useless.
<Mangix> My understanding of it is the context setup kills any speedup you'll getm
<robimarko> Well, kind of
<Mangix> Unless doing bulk operations.
<Mangix> Which is does when???
<Mangix> *done
<robimarko> Never
<slh> bulk would be mostly disk encryption, which isn't the most common task on the typical router target
<Ansuel> i just killed a mosquito with 2 finger... think i'm too focused...
<Mangix> Sure. I've heard of OpenVPN being another user. Don't most people use wireguard?
<robimarko> Crypto is plenty fast on this thing anyway
<robimarko> But shit networking driver is killing it
<robimarko> It doesnt even implement checksum offloading
<Mangix> Sure.
<Mangix> Neither does ag71xx actually...
<slh> just that it doesn't hurt that much on ath79, as the SOC wouldn't do 'fast' anyways, as it does on the plenty fast ipq807x which does ship with 2.5/5/10 GBit/s interfaces
<robimarko> Well, aint nobody expecting ath79 do route 10G and do AX on the side
<Mangix> Sure, it struggles with 1G too
<Mangix> Looks like some stuff should be backported
<slh> it's been a while since I last tested it, but ~600 MBit/s on ipq8071a/ 1.4 GHz (xiaomi ax3600)
<robimarko> You can do better,but with SW offloading and IRQ balancing
<robimarko> Which is still not good with 2x 10G
<slh> I'm not benchmarking with software flow-offloading (as it's meaningless for performance comparisons), but, yes
<robimarko> NSS is so weird
<robimarko> NSS-DRV loads the FW and acts like a central point
<Ansuel> nss-drv expose api
<robimarko> Well
<robimarko> It actually registers a netdev driver
<robimarko> Like a full blown ethernet driver
<Ansuel> yes
<Ansuel> as with nss loaded
bluew has quit [Quit: Leaving]
<robimarko> And somehow attaches the existing netdevs
<Ansuel> everything pass to the nss cores
<robimarko> Yeah
<Ansuel> the nss-dp have slowpath and fastpath
<Ansuel> nss-drv overwrite the ops
<dwfreed> oh, I think the warranty has expired on my nbg6817; I should crack it open and get serial set up
<robimarko> That is how it suddenly every possible standard netdev offloading
<Ansuel> it's ""handy""
<robimarko> Ansuel: I am interested would just having NSS-DRV with FW loaded get us better performance
<robimarko> Looks like it could
<Ansuel> as I said some week ago it can as nss have more interrupts so it can be that handled the packet in a better way
<robimarko> I know that TIP actually has threaded NAPI enabled on the NSS-DRV netdev
<Ansuel> also could be that nss itself supports offload feature (timestamp and checksum)
<robimarko> #define NSS_DP_GMAC_SUPPORTED_FEATURES (NETIF_F_HIGHDMA | NETIF_F_HW_CSUM | NETIF_F_RXCSUM | NETIF_F_SG | NETIF_F_FRAGLIST | (NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_UFO))
schwicht has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<robimarko> It has all of the offloading features we so badly need
<Ansuel> can be that nss cores actually do the timestamp and csum task
<Ansuel> and the switch for real doesn't support them
<robimarko> I am still not buying that
<Ansuel> and they fixed it in edmav2 as that was very stupid
bluew has joined #openwrt-devel
<robimarko> As IPQ40xx has it
<robimarko> And EDMA v2 magically has it agian
<robimarko> While looking suspicously similar to v1
<Ansuel> ahahahah
<robimarko> So, trying NSS-DRV shouldnt be that hard
<robimarko> Though its broken, I can tell you that
<robimarko> But yeah, it looks like that once FW is loaded traffic will go through NSS FW in each direction first
Ansuel_ has joined #openwrt-devel
<Ansuel_> i wonder robi what are the ops for edma v1 on nss-drv wise
<Ansuel_> can we mess with the dma descriptors?
<robimarko> There isnt anything special for EDMA v1 or IPQ807x
<Ansuel_> no i mean in the nss-drv we also allocate the dma descriptors?
<Ansuel_> cause if that's the case we can totally read them when the packets is received
<robimarko> Yes
<robimarko> It must happen in NSS-DRV
<robimarko> I think you were the one converting that from 2006 API to the current one
<robimarko> And actually did it
<Ansuel_> so it's not done in some reserved space for nss cores
<Ansuel_> yes if that's the case then in theory we should be able to read the descriptor at worst dump them all...
<robimarko> Oh yeah its in NSS-DRV
<robimarko> Even called nss_dma.c
<Ansuel_> another idea would be check if on nss fw load some regs on the switch change
<robimarko> You can just bump the debug level, there is a tracer for DMA
<robimarko> Well, anything could happen in those blobs
<Ansuel_> the thing is that with some effort we should be able to understand if the blob does something strange to the switch
Ansuel has quit [Ping timeout: 480 seconds]
<robimarko> I kind of doubt that
<Ansuel_> if we allocate the DMA for it then we can read them
<robimarko> You can dump all of the messages
<robimarko> There are even debug functions for that
<robimarko> I am yet to figure out WTF is VSI
<Ansuel_> link ?
<robimarko> They are using that everywhere, from SSDK, over NSS-DP to NSS-DRV
<robimarko> Docs also always just say like "Assign VSI"
<robimarko> Its some kind of a unique identifier
<Ansuel_> vsi
<Ansuel_> Very Strange Identifier
<Ansuel_> :D
<robimarko> struct net_device napi_ndev; /* Dummy_netdev for NAPI */
<robimarko> You gotta love this
<robimarko> Anyway, time for bed
robimarko has quit [Quit: Leaving]
<Ansuel_> gn
<Lechu> Ansuel_: finally found time to rebase and build the image for ath79 with your patch
<Ansuel_> you are using the last patch right?
<Lechu> No xD
<Ansuel_> >:(
<Lechu> Rebased on top of current master tho
<Ansuel_> ahahha
<Ansuel_> curious if it works
<Ansuel_> i need the juicy tags to send it upstream
<Lechu> Lemme check, from the 'hacks' directory I only recall multi-CPU patch
<Lechu> Yeah, I still carry it even though it got rejected
<Ansuel_> well it works
<Lechu> In the meantime I need to backport Ruckus ZF73xx APs to 22.03. Hope it's just cherry-pick
<Lechu> If the build with DSA patch crashes I'll rebase again. Do I recall correctly that the driver part is separate from DTS patches from Mangix?
<Lechu> You and other maintainers are probably gonna hate me for opening 3 or 4 PRs in a row xD
<Ansuel_> nha
<Lechu> The kernel compiled
<Lechu> Let's see if it explodes upon booting xD
Ansuel has joined #openwrt-devel
Ansuel_ has quit [Ping timeout: 480 seconds]
Ansuel_ has joined #openwrt-devel
Ansuel has quit [Read error: Connection reset by peer]
Ansuel_ has quit [Read error: Connection reset by peer]
<Lechu> btw, does OpenWrt participate in hacktoberfest? I presume not, because of last years shitshow regarding that.
Ansuel has joined #openwrt-devel
Ansuel has quit [Ping timeout: 480 seconds]
madwoota has quit [Read error: Connection reset by peer]
madwoota has joined #openwrt-devel