gladiac is now known as Guest98
gladiac has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
eduardo010174 has quit [Remote host closed the connection]
Guest98 has quit [Ping timeout: 480 seconds]
danitool has quit [Ping timeout: 480 seconds]
danitool has joined #openwrt-devel
<philipp64> Grommish: poop has indeed roll downhill... and downstream.
hanetzer has quit [Quit: WeeChat 3.4]
hanetzer has joined #openwrt-devel
<philipp64> everyone's least favorite question... how do I detect MUSL at compile-time? I forget...
<mangix> philipp64: that's the beautiful thing. you don't.
<philipp64> except when it's badly broken...
<philipp64> it defines BUFSIZ as 1024...
<mangix> no idea what's wrong with that
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
<philipp64> it makes for truncated logging in Asterisk
Thagabe has quit [Quit: Connection closed for inactivity]
<mangix> philipp64: sounds like an asterisk bug honestly
<philipp64> it is, but the mitigation is only required when building against MUSL...
<mangix> musl supports the setbuffer function
Grommish_ has joined #openwrt-devel
Grommish_ has quit []
Grommish_ has joined #openwrt-devel
Grommish has quit [Ping timeout: 480 seconds]
<philipp64> mangix: the issue is that someone does: char buf[BUFSIZ];
danitool has quit [Ping timeout: 480 seconds]
<mangix> philipp64: sounds like it should be max(4096, BUFSIZ)
<philipp64> No, glibc defines BUFSIZ as 8192.
<mangix> yeah, so that gets set
<KGB-0> https://tests.reproducible-builds.org/openwrt/openwrt_x86.html has been updated. (42.8% images and 98.2% packages reproducible in our current test framework.)
dlg has quit [Read error: Connection reset by peer]
dlg has joined #openwrt-devel
tchebb has joined #openwrt-devel
<Grommish_> philipp64: You can check CONFIG_USE_MUSL
<Grommish_> or, CONFIG_LIBC
<Grommish_> if You didn't already get a bounce on the earlier question
Grommish_ is now known as Grommish
<philipp64> I need something for builds outside of OpenWRT, such as Debian and Ubuntu, etc.
<Grommish> philipp64: Ah, sorry, I didn't see that :x
<Grommish> neggles: ping
<digitalcircuit> Low priority update - I've not given up on the ipq806x CPU crash/reset bug, just been sidetracked into other stuff. I've recently tried building Ansuel's rebased (as of today) v5.15 PR, ran into a broken build, which I'll investigate sometime soon. I'm also looking into how to run the CPU crash/reset tests on my second NBG6817 that /isn't/ running the home network, so I can test with less hesitancy :)
<Grommish> digitalcircuit: *laugh* I know that situation and the wraith felt.. My condolances
<digitalcircuit> Grommish: Thank you!
<philipp64> who maintains the x86 targets these days?
<philipp64> hoping to get a review on https://github.com/openwrt/openwrt/pull/9306
tchebb has quit [Quit: ZNC - http://znc.in]
tchebb has joined #openwrt-devel
amaumene has quit [Read error: No route to host]
amaumene has joined #openwrt-devel
dlg has quit [Remote host closed the connection]
dlg has joined #openwrt-devel
AtomiclyCursed has quit [Ping timeout: 480 seconds]
AtomiclyCursed2 has joined #openwrt-devel
Grommish has quit [Ping timeout: 480 seconds]
user95 has joined #openwrt-devel
user95 has quit [Remote host closed the connection]
Thagabe has joined #openwrt-devel
GNUmoon has quit [Ping timeout: 480 seconds]
user95 has joined #openwrt-devel
mrkiko has joined #openwrt-devel
GNUmoon has joined #openwrt-devel
<ynezz> philipp64: you either need to rebase or fix the CI to get over this error
<ynezz> philipp64: your tree is missing that file and that GH action assumes, that its always available
goliath has joined #openwrt-devel
user95 has quit [Ping timeout: 480 seconds]
user95 has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
user95 has quit [Ping timeout: 480 seconds]
dlg has quit [Read error: Connection reset by peer]
dlg has joined #openwrt-devel
rua has quit [Ping timeout: 480 seconds]
user95 has joined #openwrt-devel
rua has joined #openwrt-devel
Thagabe has quit [Quit: Connection closed for inactivity]
<rsalvaterra> stintel: Forgot to say that if you do try the BE ELFv2 ABI kernel patch, you'll need -mabi=elfv2 in the target optimisation options (or patch target.mk accordingly).
user95 has quit [Ping timeout: 480 seconds]
goliath has joined #openwrt-devel
Borromini has joined #openwrt-devel
amaumene has quit [Read error: Connection reset by peer]
rua has quit [Ping timeout: 480 seconds]
floof58 has quit []
floof58 has joined #openwrt-devel
rua has joined #openwrt-devel
nitroshift has joined #openwrt-devel
nlowe has joined #openwrt-devel
aleksander has joined #openwrt-devel
nlowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nlowe has joined #openwrt-devel
nlowe has quit []
nlowe has joined #openwrt-devel
danitool has joined #openwrt-devel
eduardo010174 has joined #openwrt-devel
guidosarducci has quit [Ping timeout: 480 seconds]
user95 has joined #openwrt-devel
rua has quit [Ping timeout: 480 seconds]
mattytap has quit [Ping timeout: 480 seconds]
Grommish has joined #openwrt-devel
rua has joined #openwrt-devel
Grommish has quit []
guidosarducci has joined #openwrt-devel
<aiyion> Can someone tell me what `&state_default gpio is good for dts files and how I'd determine what needs to go in there?
nlowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<aiyion> I wrote the dts file withput it and did not observe problems yet?
<aiyion> *without
nlowe has joined #openwrt-devel
eduardo010174 has quit [Remote host closed the connection]
<Borromini> aiyion: i'd wager it's whether it's high or low as default state
<aiyion> no, that should be default-state
<aiyion> mkresin: I found this list you posted three years ago and understand what I'd had to to given it's still correct? https://github.com/openwrt/openwrt/pull/1327#discussion_r212935892
<aiyion> I have no clue though how I would have built that list on my own.
<aiyion> Borromini: it appears to be what kind of protocol it is intended for?
<aiyion> `ralink,group` seems to be worth a search
<aiyion> looks like one would extract those infos from a datasheet.
<Habbie> aparcar, is there a reason cortex a9 rootfs images are not on docker hub?
<Borromini> aiyion: does this help? https://openwrt.org/docs/techref/hardware/port.gpio
mattytap has joined #openwrt-devel
<aiyion> I thought I read that thoroughly, it helped to identify the gpios, yes;
rua has quit [Ping timeout: 480 seconds]
<aiyion> And it mentions gpios can have different tasks, which the group assignment appears to be about.
<aiyion> But other than that, I don't think so.
user95 has quit [Remote host closed the connection]
<Borromini> ok, that's what my knowledge about GPIOs is limited to
<aiyion> got it, I think:
<aiyion> Starting on page 23 is a pin share scheme
<aiyion> using the exact identifiers I saw in the dtsfile, that'll dow.
<aiyion> *do
<aiyion> I'll look up, which gpios I used, I guess and translate them to those ralink identifiers.
mattytap_ has joined #openwrt-devel
<aiyion> Borromini: thanks though!
<aiyion> No idea, what openwrt does with the information later on, but it's called "I/O Pad Group"
nlowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Borromini> yw
mattytap has quit [Ping timeout: 480 seconds]
mattytap_ has quit [Ping timeout: 480 seconds]
<aiyion> whoever is reviewing this, will ahve loads of fun, explaining the joys of ralink to me -.-'
dlg has quit [Read error: Connection reset by peer]
dlg has joined #openwrt-devel
fblaese has quit [Quit: bye]
Borromini has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
<aiyion> Considering my mt7628an device has three gpios banks, should i reference them as e.g. `&gpio 42` or `&gpio1 10`?
mattytap has joined #openwrt-devel
fblaese has joined #openwrt-devel
mattytap_ has joined #openwrt-devel
rua has quit [Ping timeout: 480 seconds]
mattytap has quit [Ping timeout: 480 seconds]
<mkresin> aiyion: simplified explanation - the pins (on the chip) can be dynamically wired to different chip internal function blocks. for example a set of pins can be wired to SPI controller
<aiyion> It took me until four minutes ago, but am done with it now.
<aiyion> Thanks!
rua has joined #openwrt-devel
<aiyion> So what I did was, I rewired all used pins to the gpio group from their respective groups?
<aiyion> mkresin: does that imply, I did not just rewire pin3 (originally part of I2S) but the whole group, or are they not rewired, because they are not referenced in my dts?
<aiyion> (the pad group I2S goes from gpio0 to gpio3 on MT7628AN)
mattytap_ has quit [Ping timeout: 480 seconds]
<stintel> rsalvaterra: doesn't seem to be in linux.git yet
srslypascal is now known as Guest169
srslypascal has joined #openwrt-devel
<rsalvaterra> stintel: It isn't.
nlowe has joined #openwrt-devel
nlowe has quit []
Guest169 has quit [Ping timeout: 480 seconds]
<rsalvaterra> I don't know why, though. Seems beneficial in itself (lower stack usage).
<stintel> rsalvaterra: I might be tempted to try it, since it mentions better compatibility with BPF
<stintel> but maybe something for after freeze / branch
<rsalvaterra> And if we use it…
<stintel> -EPARSE
<rsalvaterra> … that's also an incentive to merge it properly.
<rsalvaterra> (It's probably on hold due to lack of interest.)
<stintel> I should also ping about my CPU hard lockups :P
<stintel> that thread has gone silent for 2 months
<rsalvaterra> Two months is a rather ping-eligible time frame.
<stintel> I should also still test nettle's changes related to ppc64be asm
<stintel> but their test suite didn't compile properly and I got lost in a Makefile mess
<stintel> -ash: xdp_test: not found
<stintel> but if I run it in strace it seems execute fine
<stintel> ugh
<stintel> ok, it works fine if ./xdp_test too
<stintel> wtf
<rsalvaterra> Uh… if it's not in a $PATH directory, you need to invoke it with ./, yes.
<stintel> it's in /usr/sbin which is in $PATH
<rsalvaterra> That's… odd?
nlowe has joined #openwrt-devel
<stintel> I certainly agree
dlg has quit [Read error: Connection reset by peer]
dlg has joined #openwrt-devel
Gaspare has joined #openwrt-devel
<aiyion> I'm afraid its one of your comments again, that helps me understanding ramips, mkresin: https://github.com/openwrt/openwrt/pull/1187#discussion_r203165457
<aiyion> (regarding portmap and portdisable)
Borromini has joined #openwrt-devel
<aiyion> Looking at the cudy wr1000, which has most certainly three external ports, how do I interpret 0x2f (0b101111) as portmap and for what is portdisable used, if not for when not all ports are routed to the outside?
Misanthropos has quit [Ping timeout: 480 seconds]
<stintel> rsalvaterra: found the problem, in a previous version of the package the binary was installed in /usr/bin
<stintel> command -v xdp_test
<stintel> /usr/bin/xdp_test
<stintel> still weird though
<stintel> logout and login and it's fine
<stintel> I guess ash isn't great :P
<aiyion> inspecting a cudy wr1000 with swconfig yields this config: p0->p6 disabled: `0000010`, lan: `111101?`
Borromini has quit [Ping timeout: 480 seconds]
Ansuel has joined #openwrt-devel
<Ansuel> Hi
aep has joined #openwrt-devel
mattytap has joined #openwrt-devel
Gaspare has quit [Quit: Gaspare]
<aep> uqmi appears to not have gps. is there something else people use for that?
<aiyion> got some info regarding portmap and port disable: interface are enumerated in order, rightmost bit is port 0.
<aiyion> in portmap a 1 stands for lan 0 for not-lan? maybe wan.
nlowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<aiyion> portdisable appears to be a mask on top of portmap, every 1 disables the respective port.
nlowe has joined #openwrt-devel
<aiyion> So for the Cudy WR1000 (p2->lan2, p3->lan1, p4->wan, p6->cpu?) I'd expect the portmap to be 0x0001100 (p6 to p0 left to right)
<aiyion> and port disable 0x0100011
<aiyion> Looking at other devices with the same switch, p6 is simply to refelected in this scheme or left out as leading zero, so pm and pd should be 0x001100 0x100011
<aiyion> If someone could telle me, why
<aiyion> its 0b101111 instead, I'd be grateful :/
<aiyion> (sorry for mixing up 0b and 0x, everything after the uqmi question is meant to be 0b
user95 has joined #openwrt-devel
Gaspare has joined #openwrt-devel
Borromini has joined #openwrt-devel
<aiyion> okay, set both values for the lt400, they are properly ignored, I'd say. Whatever...
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
dlg has quit [Read error: Connection reset by peer]
dlg has joined #openwrt-devel
user95 has quit [Remote host closed the connection]
nitroshift has quit [Quit: Gone that way --->]
Borromini has quit [Ping timeout: 480 seconds]
ranjith has joined #openwrt-devel
xback has quit [Remote host closed the connection]
<ranjith> do i have to specify target while using make defconfig on sdk. the sdk seems to be common to a lot of devices. https://downloads.openwrt.org/releases/21.02.1/targets/ramips/mt7621/
<rsalvaterra> stintel: Hm. /usr/sbin:/usr/bin:/sbin:/bin
<rsalvaterra> Sounds like ash accesses each path directory in lexicographical order.
<stintel> sounds like it caches things
<stintel> because /usr/bin/xdp_test was gone already
<stintel> yet that's what it appeared to try to run
<rsalvaterra> Oh. Not good.
nlowe has quit [Ping timeout: 480 seconds]
<Habbie> hash -r
<Habbie> bash also has this behaviour
<stintel> TIL
<ynezz> aparcar: I've just read the meeting notes, Re: fuzzing of ubus, it's quite difficult without major rewrite/refactoring, there is something in ubus/tests/fuzz/test-fuzz.c already
<ynezz> aparcar: magic happens on the lower layers, so libubox, there is some fuzzing too, that's much easier as it's library
<ynezz> aparcar: but this means that the adversary has authenticated access to the system, so you're doomed anyway, since the surface is now everything connected to the ubus
aleksander has quit [Quit: Leaving]
<aiyion> Very well, likely the last (ramips?) question for today: The stock firmware calls itself "LEDE 17.01.5, 1.12.0" and does support sysupgrade. It calls a binary oem-check like this:
<aiyion> oem-check -b "R6" -o 0x30000 -f <the image provided>
<aiyion> is there anything I can add to the entry mt76x8.mk for, that makes it pass it, so I can circumvent the usage of `-F`?
yolo has quit [Remote host closed the connection]
mattytap_ has joined #openwrt-devel
<aiyion> It appears to verify u-boot-env at 0x000000030000-0x000000040000 ?
ranjith has quit [Remote host closed the connection]
<mattytap_> stintel: Ive got my new m300 running on openwrt snapshot. All good. Not a mark on it. Will help as a benchmark for m200 that I'm working on.
<stintel> mattytap_: enjoy ;)
mattytap has quit [Ping timeout: 480 seconds]
<rsalvaterra> Well, this is a bit silly…
<rsalvaterra> jow: Can we add mtu_fix also as an option in the defaults section? Because with lots of interfaces and lots of zones, it gets kind of crazy…
<stintel> I have the feeling you're doing it wrong?
<rsalvaterra> stintel: Quite possible.
<stintel> why do you need it on all interfaces?
mattytap__ has joined #openwrt-devel
yolo has joined #openwrt-devel
dlg has quit [Read error: Connection reset by peer]
dlg has joined #openwrt-devel
minimal has joined #openwrt-devel
<rsalvaterra> stintel: Most are WireGuard interfaces and Tor connections, in addition to the WAN… probably the only interfaces where I don't need it are the LAN ones. Does it hurt, however?
mattytap_ has quit [Ping timeout: 480 seconds]
<stintel> dafuq btrfs, almost 20GB slab memory
<rsalvaterra> stintel: I predict reiser4 will be merged before btrfs is done. :)
* rsalvaterra runs
<Slimey> lol
<jow> rsalvaterra: I'd rather introduce an mtu_fix target so that you can declare an any-to-any rule doing it
<rsalvaterra> jow: You mean per-interface?
<jow> per zone
<rsalvaterra> Oh, wait, I see.
<jow> src *, dest *, option target mtu_fix or whatever
<rsalvaterra> That sounds much nicer than the status quo, for sure.
<jow> but I agree with stintel, having it to do that on the majority of interfaces sounds fishy
<jow> is pmtu discovery broken on all your wg connections?
<stintel> simply sounds like your wg interfaces have wrong mtu
<rsalvaterra> jow: Heh… not really. More cargo-cult than anything else, so I just set it for all interfaces with a single rule. ;)
<rsalvaterra> If someone, however, does need to set it on several interfaces, the number of rules grows quite a bit.
<rsalvaterra> My example was more illustrative than anything else.
goliath has quit [Quit: SIGSEGV]
SherlockDomes has joined #openwrt-devel
krishna has joined #openwrt-devel
Misanthropos has joined #openwrt-devel
<krishna> Please help. I flashed snapshot build for Archer A6 v3 from TPlink GUI. The router is blocking ssh connections after flash. since there is no luci i cant even configure it.
<enick_479> krishna: please ask for help in #openwrt
<krishna> is ssh moved to some other port in snapshot build
krishna has quit [Quit: Page closed]
<enick_479> krishna: no. make sure you're not connected to the WAN port but the LAN port. Also consider enabling the failsafe mode. However, please move to #openwrt this channel here is for development and not for support
mattytap__ has quit [Ping timeout: 480 seconds]
goliath has joined #openwrt-devel
SherlockDomes has quit [Ping timeout: 480 seconds]
dlg has quit [Read error: Connection reset by peer]
dlg has joined #openwrt-devel
Misanthropos has quit [Ping timeout: 480 seconds]
<Habbie> enick_479, yes! I forked it today but gitlab wants my creditcard before running pipelines on my fork so I figured I'd wait for aparcar, or, perhaps, somebody else :D
cmonroe has joined #openwrt-devel
Borromini has joined #openwrt-devel
cmonroe_ has quit [Ping timeout: 480 seconds]
<ynezz> Habbie: it should be "free" for public projects
<ynezz> but maybe it's some kind of protection on new accounts
<Habbie> ynezz, yes, it looks like it's free, but not until i prove my identity - and i can understand why
<Habbie> yes
<Habbie> i'm not even against doing that, just did not have the time
Misanthropos has joined #openwrt-devel
aep has quit [Ping timeout: 481 seconds]
danitool has joined #openwrt-devel
GNUmoon has quit [Ping timeout: 480 seconds]
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
GNUmoon has joined #openwrt-devel
dlg has quit [Remote host closed the connection]
dlg has joined #openwrt-devel
philipp64 has quit [Quit: philipp64]
<Habbie> enick_479, sorry, did not connect the dots, thanks aparcar
SherlockDomes has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
Lynx- has joined #openwrt-devel
Lynx- has quit [Quit: Going offline, see ya! (www.adiirc.com)]
mattytap has joined #openwrt-devel
shibboleth has joined #openwrt-devel
mrkiko has quit [Ping timeout: 480 seconds]
Borromini has quit [Quit: Lost terminal]
<owrt-snap-builds> Build [#466](https://buildbot.openwrt.org/master/images/#builders/46/builds/466) of `ath25/generic` failed.
Borromini has joined #openwrt-devel
goliath has joined #openwrt-devel
Borromini has quit [Quit: Lost terminal]
rua has quit [Ping timeout: 480 seconds]
Luke-Jr has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
dlg has quit [Read error: Connection reset by peer]
dlg has joined #openwrt-devel
eduardo010174 has joined #openwrt-devel
minimal has quit [Quit: Leaving]
clayface has quit [Ping timeout: 480 seconds]
<KGB-1> https://tests.reproducible-builds.org/openwrt/openwrt_ath79.html has been updated. (99.2% images and 98.3% packages reproducible in our current test framework.)
clayface has joined #openwrt-devel
Luke-Jr has joined #openwrt-devel
<Slimey> anyone going to change topic(s)
<Habbie> when .2 is out, I guess? :)
eduardo010174 has quit [Quit: Leaving]
Gaspare has quit [Ping timeout: 480 seconds]
SherlockDomes has quit [Ping timeout: 480 seconds]
shibboleth has quit [Remote host closed the connection]
Ansuel has quit [Ping timeout: 480 seconds]
cmonroe has quit [Ping timeout: 480 seconds]
dlg has quit [Read error: Connection reset by peer]
dlg has joined #openwrt-devel
_lore_- has joined #openwrt-devel
Luke-Jr has quit [Ping timeout: 480 seconds]
_lore_ has quit [Ping timeout: 480 seconds]
goliath has quit [Quit: SIGSEGV]
<owrt-snap-builds> Build [#462](https://buildbot.openwrt.org/master/images/#builders/33/builds/462) of `ipq806x/generic` failed.
Luke-Jr has joined #openwrt-devel
Luke-Jr has quit [Ping timeout: 480 seconds]
_lore_- is now known as _lore_
dlg has quit [Read error: Connection reset by peer]
dlg has joined #openwrt-devel
eduardo010174 has joined #openwrt-devel
cmonroe has joined #openwrt-devel
cmonroe has quit []
Luke-Jr has joined #openwrt-devel
cmonroe has joined #openwrt-devel
c0sm1cSlug has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
c0sm1cSlug has joined #openwrt-devel
minimal has joined #openwrt-devel
jow has quit [Remote host closed the connection]