<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]
<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?
<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
<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>
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
<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