LoopHoldYoaBrown has joined #openwrt-devel
<Grommish> Does anyone know where uci_load_validate() is defined at?
<Grommish> I can't find it in include or scripts, I'm not sure where else to check
jlsalvador has joined #openwrt-devel
sigtrm has joined #openwrt-devel
<owrt-2102-builds> Build [#18](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/29/builds/18) of `mpc85xx/p1010` completed successfully.
slh64 has quit [Quit: gone]
<Grommish> Package/xxxx/postinst reads like it's going to be run after the ipk is installed on the device, but it tries to run it at build. Just use a uci_defaults file?
<Grommish> m4t: Thank you!
<Grommish> Oo.. and ot sets the local for me
<Grommish> Just appreciated
hbug___ has joined #openwrt-devel
hbug__ has quit [Ping timeout: 240 seconds]
goliath has quit [Quit: SIGSEGV]
jlsalvador has quit [Quit: jlsalvador]
jlsalvador has joined #openwrt-devel
tobleminer-tSYS has quit [Quit: AS4242423214]
tobleminer-tSYS has joined #openwrt-devel
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
jlsalvador has quit [Quit: jlsalvador]
jlsalvador has joined #openwrt-devel
Grommish_ has joined #openwrt-devel
manawyrm has quit [*.net *.split]
JyZyXEL has quit [*.net *.split]
mirko has quit [*.net *.split]
max-b_ has quit [*.net *.split]
embargo has quit [*.net *.split]
Redfoxmoon has quit [*.net *.split]
carlomaragno has quit [*.net *.split]
russell-- has quit [*.net *.split]
max-b has joined #openwrt-devel
russell-- has joined #openwrt-devel
mirko has joined #openwrt-devel
manawyrm has joined #openwrt-devel
Redfoxmoon has joined #openwrt-devel
carlomaragno has joined #openwrt-devel
russell-- is now known as Guest73633
embargo has joined #openwrt-devel
Grommish__ has joined #openwrt-devel
Grommish has quit [Ping timeout: 268 seconds]
Grommish_ has quit [Ping timeout: 240 seconds]
Grommish__ is now known as Grommish
JyZyXEL has joined #openwrt-devel
Grommish has quit [Ping timeout: 240 seconds]
Grommish has joined #openwrt-devel
Grommish_ has joined #openwrt-devel
victhor has quit [Ping timeout: 240 seconds]
Grommish has quit [Ping timeout: 240 seconds]
Grommish_ has quit [Read error: Connection reset by peer]
swex has joined #openwrt-devel
swex_ has quit [Ping timeout: 265 seconds]
Grommish has joined #openwrt-devel
<Grommish> rsalvaterra: ping
Grommish has quit [Read error: Connection reset by peer]
Grommish has joined #openwrt-devel
Net147 has quit [Quit: Quit]
Net147 has joined #openwrt-devel
Net147 has quit [Client Quit]
Net147 has joined #openwrt-devel
slh64 has joined #openwrt-devel
Grommish has quit [Read error: Connection reset by peer]
Grommish_ has joined #openwrt-devel
Grommish_ has quit [Read error: Connection reset by peer]
Grommish has joined #openwrt-devel
philipp64_ has joined #openwrt-devel
philipp64 has quit [Ping timeout: 240 seconds]
philipp64_ is now known as philipp64
<Grommish> Is there a way to trigger a separate service to reload on a service_reload()?
<Grommish> I would like to restart suricata once suricata-update finishes
Grommish has quit [Read error: Connection reset by peer]
Grommish_ has joined #openwrt-devel
Grommish_ is now known as Grommish
Acinonyx has quit [Ping timeout: 265 seconds]
swegener has quit [Changing host]
swegener has joined #openwrt-devel
Acinonyx has joined #openwrt-devel
feriman has joined #openwrt-devel
<owrt-2102-builds> Build [#20](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/12/builds/20) of `oxnas/ox820` completed successfully.
<owrt-2102-builds> Build [#21](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/17/builds/21) of `ipq40xx/mikrotik` completed successfully.
opal has quit [Ping timeout: 240 seconds]
ivanich has joined #openwrt-devel
<owrt-2102-builds> Build [#21](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/60/builds/21) of `armvirt/64` completed successfully.
dedeckeh has joined #openwrt-devel
DonkeyHotei has joined #openwrt-devel
<owrt-2102-builds> Build [#20](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/49/builds/20) of `bcm53xx/generic` completed successfully.
Ycarus_ has quit [Ping timeout: 258 seconds]
black_ant has joined #openwrt-devel
black_ant has quit [Changing host]
black_ant has joined #openwrt-devel
DonkeyHotei has quit [Ping timeout: 265 seconds]
<owrt-2102-builds> Build [#20](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/46/builds/20) of `ath79/nand` completed successfully.
Borromini has joined #openwrt-devel
Ycarus has joined #openwrt-devel
swex has quit [Ping timeout: 260 seconds]
danitool has joined #openwrt-devel
feriman has quit [Ping timeout: 260 seconds]
ivanich has quit [Quit: Konversation terminated!]
ivanich has joined #openwrt-devel
<owrt-2102-builds> Build [#20](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/30/builds/20) of `x86/generic` completed successfully.
opal has joined #openwrt-devel
Tost has joined #openwrt-devel
Guest73633 is now known as russell--
Tost has quit [Ping timeout: 240 seconds]
<Hauke> xdarklight: I think we are not using the latest GPHY FW in OpenWrt, the user with the 7412 could try the most recent one
feriman has joined #openwrt-devel
<aparcar[m]> guidosarducci: sorry can you add libelf as a tools package? it's not really installable on macs so we should have it in tools
<guidosarducci> aparcar[m]: a 'libelf' is available on MacOS through the 'brew' package manager. Had some long discussion with Github user httpstrom around this.
<aparcar[m]> but libdw?
<aparcar[m]> i couldn't find that
<guidosarducci> aparcar[m]: ^^^ httpstorm I mean
<guidosarducci> aparcar[m]: there's a dwarf lib too I think, but BTF support, and then pahole building needs the elfutils versions of libdw. I don't think anyone can build elfutils on MacOS, so BTF is not really supported. Make things sort of moot, unless you know something?
<aparcar[m]> ynezz: ping?
<aparcar[m]> ynezz: ^^^
<guidosarducci> aparcar[m]: FYI see this comment and environs for some context: https://github.com/openwrt/openwrt/pull/3855#issuecomment-790232166
<guidosarducci> aparcar[m]: BTW the libdw check is guarded by a test on CONFIG_DWARVES, so not normally enabled (on MacOS). We could make doubly sure by disallowing building dwarves in Kconfig when on MacOS, but I can't see how to do that. Is it possible?
<guidosarducci> aparcar[m]: IOW, can we have a build-host dependency in OWRT Kconfig?
<aparcar[m]> I'll wait for ynezz response, for me this all seems fine but jow suggested to build it as a host tool, in these cases I just stick to what the gurus suggest
plntyk has quit [Ping timeout: 246 seconds]
rmilecki has joined #openwrt-devel
csrf has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
csrf has joined #openwrt-devel
victhor has joined #openwrt-devel
samantaz__ has joined #openwrt-devel
samantaz_ has quit [Ping timeout: 265 seconds]
larsan has quit [Remote host closed the connection]
larsan has joined #openwrt-devel
Grommish has quit [Ping timeout: 265 seconds]
Redfoxmoon has quit [Changing host]
Redfoxmoon has joined #openwrt-devel
Borromini has quit [Quit: Lost terminal]
swex has joined #openwrt-devel
swex_ has joined #openwrt-devel
swex has quit [Ping timeout: 268 seconds]
csrf has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
csrf has joined #openwrt-devel
goliath has joined #openwrt-devel
goliath has quit [Client Quit]
goliath has joined #openwrt-devel
dorf has quit [Ping timeout: 258 seconds]
goliath has quit [Quit: SIGSEGV]
goliath has joined #openwrt-devel
eduardas has joined #openwrt-devel
valku has joined #openwrt-devel
samantaz__ has quit [Read error: Connection reset by peer]
samantaz__ has joined #openwrt-devel
black_ant has quit [Ping timeout: 260 seconds]
Borromini has joined #openwrt-devel
feriman has quit [Ping timeout: 265 seconds]
eduardas has quit [Quit: Konversation terminated!]
Borromini has quit [Quit: Lost terminal]
<swalker> updated openwrt/upstream, https://sdwalker.github.io/uscan/index.html
feriman has joined #openwrt-devel
<philipp64> nbd jow: what's the policy on what can be put into /lib/functions/ ? there's some shared parsing for UCI for the strongswan ipsec and swanctl CLI's that I'd like to factor into /lib/functions/strongswan.sh if that's admissable...
Tost has joined #openwrt-devel
swex has joined #openwrt-devel
swex_ has quit [Ping timeout: 268 seconds]
brickfat has joined #openwrt-devel
black_ant has joined #openwrt-devel
black_ant has quit [Changing host]
black_ant has joined #openwrt-devel
brickfat has quit [Quit: Leaving]
<xdarklight> Hauke: re 7412: he's saying that everything is fine with the old out-of-tree GSWIP/PMAC driver. if you have any hint where to get newer GPHY firmware from I can ask him to test that
<xdarklight> Hauke: re 7360: even after the 50MHz rate patch we seem to get MMDIO_STAT = 0xf7 and MAC_PSTAT = 0xd38
feriman has quit [Ping timeout: 252 seconds]
<xdarklight> Hauke: so I am wondering if we should switch away from PHY auto polling and configuration onto manual configuration like the out-of-tree driver did - at least for testing on the 7360
<Hauke> xdarklight: yes expicitly configuring could work
<Hauke> xdarklight: the PHY is detecetd as 1G capabale and the MAC is configured like this
<Hauke> the AR8030 supports 1G
<xdarklight> Hauke: according to this marketing slide it shouldn't support 1G: https://content.codico.com/fileadmin/media/download/datasheets/qualcomm/qualcomm-ethos-AR8030.pdf
<Hauke> Are you sure it is using RMII and not RGMII?
<Hauke> ah ok, I saw a difefernt version
<xdarklight> Hauke: AFAIK all other PHYs from the AR803x series are Gbit/s PHY. the exception seems to be AR8030
<xdarklight> Hauke: argh, I need to add GSWIP_MII_CFGp to the register dump so I am not 100% sure if the registers are programmed to RMII mode. according to the .dts they are in rmii mode though
Tost has quit [Ping timeout: 260 seconds]
<Hauke> xdarklight: based on your register dump I think the MAC is right to assume 1GBit/s
<Hauke> but this will not work with RMII
<xdarklight> Hauke: so precisely you mean "this will not work with RMII + auto-polling"?
<Hauke> yes I do not think this will work
<Hauke> We have to either add some code which detectes that autopoling wants to do 1G on RGMII and then select 100Mbit/s instead of completly configure this PHY manually
<Hauke> xdarklight: where do I find your code for fixed link configuration?
<xdarklight> Hauke: I'll drop the if for fixed links and try it on my HH5A
<xdarklight> Hauke: also I think I need to combine it with the logic from gswip_phylink_mac_config
<Hauke> xdarklight: Can we unset this BMSR_ESTATEN bit in the phy?
<xdarklight> Hauke: I'd expect it to be read-only. at least for most PHY datasheets I have seen BMSR is marked as RO (but I don't have a datasheet for the AR8030)
PaulFertser has quit [Ping timeout: 246 seconds]
<Hauke> yes read only
<Hauke> too bad
<Hauke> xdarklight: the ethtool output for this device would be interresting
<xdarklight> Hauke: which one precisely?
<Hauke> the default page
<Hauke> with the link modes
dedeckeh has quit [Quit: Connection closed]
kakaka has quit [Ping timeout: 240 seconds]
black_ant has quit [Ping timeout: 240 seconds]
rmilecki has quit [Ping timeout: 252 seconds]
ChanServ has quit [shutting down]
ChanServ has joined #openwrt-devel
kakaka has joined #openwrt-devel
<Hauke> why does Linus only show 10 and 100 MBit/s?
<Hauke> *Linux
ivanich has quit [Quit: Konversation terminated!]
<lipnitsk> any idea how to debug "OF: /palmbus@300000/gpio@600: could not find phandle" ? Seems to only have started with 5.10, but looks like a DTS issue?
<xdarklight> Hauke: I am assuming that internally it does not just care about the PHY modes but also about the data from gswip_phylink_validate where we mask out the Gbit/s speeds for RMII PHYs
<Hauke> xdarklight: ok makes sense
<Hauke> the most recent PHY FW files are in the ltq_fw_PHY_IP-2.2.tar.gz file
samantaz_ has joined #openwrt-devel
<Thermi> lipnitsk: Yes, that's a DTS issue. The kernel brings a lot of DTS files.
<lipnitsk> Thermi: thing is I didn't touch DTS... but something may have gone out of date - this is an ancient RT2880 device (Belkin F5D8235-4 v1)
<Thermi> lipnitsk: evidently for some reason the DTS changed. So look at which DTS is used by your box and track it down
<lipnitsk> the dts file defines a ton of GPIOs and they all look the same, yet two of these errors appear at start...
<Thermi> Come on, it specifies 600
<Thermi> copy it over to your box and use a text editor to find the structure
<Thermi> you need to go through the includes it uses too
samantaz__ has quit [Ping timeout: 240 seconds]
<Thermi> if you have the dtc binary, you can decompile the dtb it uses to a dts file and look at that with a text editor.
<Thermi> It contains everything pulled in via the includes at compile time
<Thermi> and the decompiled dtb file is quite readable
<lipnitsk> looks just like the others... I'll dig more.
<lipnitsk> Thermi: thanks for the advice. will try that
<Thermi> It won't get fixed by complaining :P
<lipnitsk> Thermi: oh I know. I only complain (or ask for advice from someone with more expertise) after spending a few quality hours myself
<lipnitsk> Thermi: appreciate the response ;)
<Thermi> I only know the work flow because I had troubles with DTS files at work already ;)
mgiganto has quit [Ping timeout: 240 seconds]
<lipnitsk> Thermi: yeah, the DTC compiler output is already helping ;) See, that's exactly the kind of help I needed
<lipnitsk> thanks
<Thermi> yw
nitdega has quit [Quit: ZNC - 1.6.0 - http://znc.in]
nitdega has joined #openwrt-devel
DonkeyHotei has joined #openwrt-devel
<xdarklight> Hauke: testing on my HH5A shows: LAN1 (GPHY) and LAN4 (RGMII PHY) are working at 1Gbit/s, 100Mbit/s and 10Mbit/s
<xdarklight> Hauke: let me know if you see any issues, else I'll let the 7360 user test this (slightly modified for Linux 5.4 though)
<xdarklight> Hauke: uh, found a bug myself...