jeff___m has joined #openwrt-devel
<jow> rmilecki: I was bored so I made the tar generation code even shorter: https://pastebin.com/vn3Tx6tM
jeff___m has quit [Ping timeout: 480 seconds]
xback has quit [Ping timeout: 480 seconds]
xback has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
xback has quit [Remote host closed the connection]
xback has joined #openwrt-devel
killgufo has quit [Quit: Byez]
killgufo has joined #openwrt-devel
jeff___m has joined #openwrt-devel
jeff___m has quit [Ping timeout: 480 seconds]
tSYS has quit [Quit: *squeak*]
tSYS has joined #openwrt-devel
jeff___m has joined #openwrt-devel
jeff___m has quit [Ping timeout: 480 seconds]
xback has quit [Remote host closed the connection]
xback has joined #openwrt-devel
jeff___m has joined #openwrt-devel
jeff___m has quit [Ping timeout: 480 seconds]
csharper2005 has joined #openwrt-devel
<csharper2005> https://github.com/openwrt/firmware-utils/pull/19 What's necessary to get this merged?
<csharper2005> the tool is intented for ASUS routers and allows install OpenWrt without UART soldering.
jeff___m has joined #openwrt-devel
jeff___m has quit [Ping timeout: 480 seconds]
rua has quit [Quit: Leaving.]
theJoker8814 has joined #openwrt-devel
xback has quit [Remote host closed the connection]
xback has joined #openwrt-devel
goetz has joined #openwrt-devel
<mrkiko> jow: s/tolate/tollerate/ ? Or am I missing the english word?
rua has joined #openwrt-devel
jkl has quit [Quit: Gone.]
SlimeyX has quit [Ping timeout: 480 seconds]
<rmilecki> mrkiko: s/tollerate/tolerate/ ? Or am I missing the english word?
<rmilecki> ;)
<rmilecki> no offense!
nixuser has quit [Ping timeout: 480 seconds]
<mrkiko> rmilecki: :D
gch981213 has joined #openwrt-devel
<mrkiko> rmilecki: jow: however, when I say I might have missed the english word I don't meant to be sarcastic. I was just telling that some english words may exist and I don't know them. Actually a lot of them surely :)
<rmilecki> mrkiko: sure, i don't think noone would feel insulted by that or treat it as a sarcasm
theJoker8814 has quit [Quit: theJoker8814]
<mrkiko> rmilecki: :) in Italian I do use sarcasm, but in english I feel like I never know exactly how to transmit emotions withthe language
<rmilecki> ah, i know that feeling
<rmilecki> i use English daily for years yet I realized I'll never be able to joke in it
<mrkiko> rmilecki: BTW, may you have some ideas about my rootfs mistery (talked about it here during this week)
<mrkiko> rmilecki: :D maybe I am able to kinda joke, but I am always under the impression things can go out of hand quickly. In my native languageof course I can be more precise, but english ...
<rmilecki> mrkiko: i'm sorry I can't recall that rootfs mistery
<rmilecki> can you remind me what was that?
<mrkiko> rmilecki: on gl-mt2500 and gl-mt6000 (mediatek/eMC), OpenWrt started using the whole space on the rootfs partition, not just the value in ROOTFS_PARTSIZE. I am Ok with that but wanted to know from where it comes in the code in thefirst place, and maybe make it configurable. I noticed it first-hand with gl-mt2500, but an user reported in the the gl-mt6000 thread discussion,
<mrkiko> and even tough looking more carefully commits around 15 Feb/19 Feb, I didn't find the reason for it. And I am not sure this happens on other eMMC devices as well, even tough the person porting the X3000 didn't experience that (I asked it via comments in their PR).
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_x86.html has been updated. (100.0% images and 100.0% packages reproducible in our current test framework.)
<mrkiko> rmilecki: now the main point is the desire to understand why it happens more than the functionality itself
goliath has joined #openwrt-devel
tidalf has joined #openwrt-devel
<rmilecki> mrkiko: i have no idea, sorry :/
<rmilecki> mrkiko: i could help with MTD subsystem
<rmilecki> but eMMC is total uknown to me
<mrkiko> rmilecki: :D
<mrkiko> rmilecki: thanks in any case for looking
theJoker8814 has joined #openwrt-devel
SlimeyX has joined #openwrt-devel
theJoker8814 has quit [Quit: theJoker8814]
SlimeyX has quit [Ping timeout: 480 seconds]
jeff___m has joined #openwrt-devel
<jow> multiple ebpf ones...
<stintel> also 2 f2fs
<stintel> and 2 netfilter
<stintel> and isn't ksmbd also wildly popular among OpenWrt users/
<jow> well for anything *smb I 'd take it for granted that theres holes
<stintel> :P
<stintel> fair enough
<ynezz> I would replace it with kmod-s3d to be cloud ready
<jow> :)
csharper2005 has quit [Ping timeout: 480 seconds]
<stintel> so I was playing with https://github.com/matt24smith/mproxy-dispatcher yesterday
<stintel> then I created a multicast loop
<stintel> and both my OpenWrt APs rebooted, as did some esp microcontrollers
<stintel> great stuff
jeff___m has quit [Ping timeout: 480 seconds]
<jow> so, it's an improved version of reboot(8) ?
<stintel> :P
<stintel> guess it's time to build a 2nd network where I can reproduce these things and report the issues at least
<stintel> without impacting everything else
robimarko has joined #openwrt-devel
<mrkiko> stintel: yess, repotgin very apreciated
<stintel> repotgin?
<mrkiko> stintel: eheh, typo - sorry
<mrkiko> reporting
<ynezz> moreover, if you can make it shutdown instead of reboot, you could patent it as Shutdown-On-Lan (akin to Wake-On-Lan)
<stintel> :D
<stintel> let's see if I can find another EAP615-Wall or two
<mrkiko> what could be a quck uci cli command to drop entirely the network.globals section?
<stintel> if my house deal moves forward I'm going to need more APs anyway :)
fakuivan has joined #openwrt-devel
<jow> mrkiko: while uci -q del netork.@globals[0]; do :; done
<jow> will remove all `config globals` sections
<rmilecki> anyone willing to step in regarding https://github.com/openwrt/firmware-utils/pull/19 ("mkasustrx: New tool for creating TRX-images compatible with AsusWRT")?
<rmilecki> another person look at that situation could be better
<rmilecki> i'm probably already tained by discussion I had so far
<rmilecki> i'm arguing about validiting of requested changes
xback has quit [Remote host closed the connection]
xback has joined #openwrt-devel
<robimarko> Yeah, that person kind of has quite a narrow view on the world
<robimarko> He kind of stole the AX89X thread
csharper2005 has joined #openwrt-devel
<mrkiko> jow: thanks a lot!!
mrkiko has quit [Quit: leaving]
<jow> robimarko: rmilecki: refuse to merge and close
<jow> discussion will not end here but continue wirth every single contribution
mrkiko has joined #openwrt-devel
<jow> in the end it's the project having to maintain the code in the long run and the probability of the submitter still being around in 10, 20 years is low
<robimarko> I currently deal with him only if he really annoys me
<jow> some attitude and passion about the own code is fine, but flat out refusing to address review comments simply makes it a NAK
<jow> the tool also contains compatibility code with microsoft visual C compilers
<jow> which will never ever get hit
<jow> so it's simply messy code, unmaintainable. period.
<ynezz> ok, done, thanks for double checking
<rmilecki> thanks guys
<stintel> yeah, I was going to say just close it
<stintel> if they start flaming, block and report their profile
<stintel> no use getting worked up (and eventually burnt out) over stuff like that
<rmilecki> ynezz: if you would have time to add GitHub checks for new code not introducing any compilation warnings that would be great
<rmilecki> ynezz: i'm not sure how complex that may be
<rmilecki> ynezz: i've sent some patches getting rid of warnings except one last one I'm not 100% how to handle
<jow> those clang checks would be nice
<ynezz> rmilecki: https://github.com/ZedThree/clang-tidy-review is on my long todo list
<rmilecki> ah, ok
<ynezz> but we need to find a way how to manage such stuff between all C projects easily
<jow> proofed to be very valuable in ucode, just recently it spotted this, which went completely unnoticed during review and other tests: https://github.com/jow-/ucode/actions/runs/7986801849/job/21807930294
<rmilecki> nice
<jow> I tend to call it "torture CI" :P It's really picky
nixuser has joined #openwrt-devel
<ynezz> well, its 5 years old, so probably a bit relaxed already and not that picky anymore as it could be
<ynezz> maybe we should have some dedicated meeting about this new tooling/actions to brainstorm this a bit more?
<ynezz> draw some possible path forward and start implementing it
<ynezz> so no matter what the project is, you just include some GH action, tune the config options and profit
<ynezz> there was a prior discussion in https://patchwork.ozlabs.org/project/openwrt/patch/20230308231810.2143384-2-hauke@hauke-m.de/#3075163 if someone would like to add their view/use cases
nixuser has quit [Ping timeout: 480 seconds]
jeff___m has joined #openwrt-devel
<ynezz> Re: tabs Vs spaces discussion, for that we would likely need to resort to some common formating tool/config, then reformat the project, but this is usually a bit controversial :P
<ynezz> due to the Git history/blame etc. which I understand, but then you need to choose between additional manual review/work and automation, I don't see other option
<ynezz> yes, we could use some LLM based solution, but once it starts hallucinating, we're doomed and banned from GitHub
jeff___m has quit [Ping timeout: 480 seconds]
<rmilecki> LLM? Wiki says "large language model"
<stintel> yeah they tend to hallucinate alright ;)
froztbyte has joined #openwrt-devel
<ynezz> thinking about it a bit more, we could simply set a CI config option, that prefered indentation for the project is spaces/tabs and then just assure it on the (+) added/changed lines in that particular pull request
<ynezz> but not sure if this special handling is worth doing, considering the possible corner cases, maintenance load etc.
<PaulFertser> A reasonable person would just M-x tabify (or untabify) when asked by a maintainer and skip the argument. Accepting contributions from unreasonable people is too problematic in many other aspects anyway.
<f00b4r0> people using spaces to indent aren't reasonable to begin with
* f00b4r0 runs
zer0def has quit [Ping timeout: 480 seconds]
<ynezz> our idea is to put the bot/CI in front of the reviewers, because for some reason folks don't take (automated) reviews from bots personally :P
<f00b4r0> that makes sense
<ynezz> so one could start review stuff once it have `ci:ready-for-review` tag or such
zer0def has joined #openwrt-devel
<mrkiko> you will forgive me if for my submissions I might still rely on e-mail? :D
<jow> I indent with both tabs *and* spaces to anny people :)
<jow> tabs to indent the block and spaces to column-align multiline expressions
<jow> slowly giving up on this though as most tooling does not cope well with it
<f00b4r0> i do that too. Xcode handles it well ;)
<PaulFertser> It's default in Emacs, it uses as many tabs as possible and then adds spaces to align precisely.
nixuser has joined #openwrt-devel
<robimarko> I do that in Sublime as well
<jow> iirc Kernel does too, right? E.g. when a function prototype / declaration spans multiple ines
<robimarko> Yes, that is why I started doing it
<jow> int foo(char *a,
<jow> char *b) { ...
<jow> so not that uncommon after all
csharper2005 has quit [Ping timeout: 480 seconds]
Obi-Wan has quit [Quit: ZNC by prozac - http://znc.sourceforge.net]
Obi-Wan has joined #openwrt-devel
vincejv has quit [Quit: Bye bye! Leaving for now...]
jeff___m has joined #openwrt-devel
jeff___m has quit [Ping timeout: 480 seconds]
hanetzer has quit [Quit: WeeChat 4.2.1]
noltari has joined #openwrt-devel
<owrt-images-builds> Build [#32](https://buildbot.openwrt.org/images/#/builders/152/builds/32) of `openwrt-23.05_ramips/rt288x` failed.
<rmilecki> ^^ fatal: unable to access 'https://git.openwrt.org/openwrt/openwrt.git/': Couldn't connect to server
<rmilecki> hiccup?
<jow> yes, looks like a transient issue
<jow> happens from time to tim,e
goetz has quit [Quit: goetz]
goetz has joined #openwrt-devel
jeff___m has joined #openwrt-devel
<Ansuel> does someone has some aqr112 or aqr412 fw?
linusw has joined #openwrt-devel
jeff___m has quit [Ping timeout: 480 seconds]
jeff___m has joined #openwrt-devel
jeff___m has quit [Ping timeout: 480 seconds]
<mrkiko> Ansuel: on what device are you working?
jeff___m has joined #openwrt-devel
goetz has quit [Quit: goetz]
jeff___m has quit [Ping timeout: 480 seconds]
mentalow has quit [Quit: :]]
mentalow has joined #openwrt-devel
<Ansuel> mrkiko no device... just trying to sort the mess with the hack patch
<Ansuel> so i need the aqr fw to parse what they actually set
<Ansuel> to identify how bad the situation of broken firmware is there
<robimarko> Ansuel: Unifi 6 LR v1 and v2 used AQR112
<Ansuel> do you know where can i find the aqr fw for them?
<robimarko> Sadly no, I think it had onboard NOR for the FW
<robimarko> As there is none in the FW upgrade
<robimarko> But I rememeber that some Layerscape devices used it and voila, NXP has the AQR FW public: https://github.com/nxp-qoriq/qoriq-firmware-aquantia
<Ansuel> i was aware of that repo
<Ansuel> i didn't notice the PHY model table tho
goetz has joined #openwrt-devel
castiel652 has joined #openwrt-devel
goetz has quit [Quit: goetz]
goetz has joined #openwrt-devel
jeff___m has joined #openwrt-devel
goetz has quit [Quit: goetz]
goetz has joined #openwrt-devel
jeff___m has quit [Ping timeout: 480 seconds]
goetz has quit []
castiel652 has quit [Quit: Leaving]
jeff___m has joined #openwrt-devel
jeff___m has quit [Ping timeout: 480 seconds]
tidalf has quit [Remote host closed the connection]
tidalf has joined #openwrt-devel
<mrkiko> Ansuel: was looking your patch for the R7800 - didn't immagine that bootloader was so broken :D
<Ansuel> i would call it half done
<Ansuel> but appending the dtb was something very legacy
<mrkiko> Ansuel: does TFTP recovery still work for the R7800? OOr are there size limitations to respect or something?
<mrkiko> Ansuel: asking in case I should recovermine at some point
<Ansuel> it's nothing about that
<mrkiko> Ansuel: nice to know!!
mattsm has joined #openwrt-devel
minimal has joined #openwrt-devel
tidalf has quit [Remote host closed the connection]
tidalf has joined #openwrt-devel
Mangix has joined #openwrt-devel
Borromini has joined #openwrt-devel
<owrt-images-builds> Build [#79](https://buildbot.openwrt.org/images/#/builders/204/builds/79) of `master_sunxi/cortexa53` failed.
<rmilecki> jow: FYI your script doesn't work with UTF-8 chars
<rmilecki> make_tar_member "example.txt" "Hello ą there"
<rmilecki> this breaks tar format somehow
<rmilecki> i'm wondering if it's a matter of ${#content}
<owrt-images-builds> Build [#81](https://buildbot.openwrt.org/images/#/builders/217/builds/81) of `master_bcm47xx/generic` failed.
xback has quit [Remote host closed the connection]
xback has joined #openwrt-devel
<rmilecki> ^^ rsync: [sender] failed to connect to rsync.openwrt.org (2a03:4000:3b:221::1): Cannot assign requested address (99)
jkl has joined #openwrt-devel
jeff___m has joined #openwrt-devel
jeff___m has quit [Ping timeout: 480 seconds]
rmilecki has quit [Quit: Konversation terminated!]
Borromini has quit [Quit: Lost terminal]
rua has quit [Ping timeout: 480 seconds]
robimarko has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jeff___m has joined #openwrt-devel
rua has joined #openwrt-devel
jeff___m has quit [Ping timeout: 480 seconds]
skynet2 has joined #openwrt-devel
<dwfreed> jow: re what rmilecki said, at least in bash, ${#content} counts UTF-8 chars, rather than bytes; eg, with the example, it'll give 13 instead of 14
gch981213 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
xback has quit [Ping timeout: 480 seconds]
xback has joined #openwrt-devel
<jow> well then replace ${#foo} with $(printf "%s" "$foo" | wc -c)
goliath has quit [Quit: SIGSEGV]
<Ansuel> jow should we enable this?
<jow> I see a 404
<Ansuel> ugh...
<jow> dunno, give it a try I'd say
<jow> (code-security / codeQL)
<Ansuel> i already setup
<Ansuel> can only be see by owner (aka us part of the org)
<Ansuel> with the fuzzing test
<Ansuel> if you are ok I can push the 2 workflow action to the repository
<jow> I don't see why notr