<aparcar[m]>
adrianschmutzler: what is the policy for changing dts compatible strings? some devices are called 8dev while they're really 8devices. I'd unify that, thoughts?
<adrianschmutzler>
Note the link to the kernel list there. I unify stuff like that occasionally, but in some cases it might create more confusion than use.
adrianschmutzler has quit [Quit: ~ Trillian - www.trillian.im ~]
<FirstTime_NoTime>
Any suggestions where to look? Porting my patches for a mt7620a board from 19.07.4 to master, I have lost access to the LED (now giving me error -22 when trying to access to gpio pin via /sys/class/gpio).
<FirstTime_NoTime>
The reset button also doesn't work (same -22 error code when trying to assign the GPIO via DTS to gpio-keys-polled)
gnustomp has quit [Ping timeout: 272 seconds]
slh64 has quit [Quit: gone]
gnustomp has joined #openwrt-devel
lmore377 has joined #openwrt-devel
<aparcar[m]>
mangix: do you handle the perl update?
<mangix>
aparcar[m]: what perl update?
valku1 has joined #openwrt-devel
valku has quit [Read error: Connection reset by peer]
<aparcar[m]>
i thought you suggested a perl update on the ml
<mangix>
the person had a patch for it. I suggested that he post it on the packages repo.
FirstTime_NoTime has quit [Remote host closed the connection]
valku1 has quit [Quit: valku1]
nitroshift has joined #openwrt-devel
heffer has quit [Read error: Connection reset by peer]
<ynezz>
it's just me or the PKG_MIRROR_HASH stuff doesn't work properly for PKG_SOURCE_PROTO:=git? My test case is, that I remove the package foo tarball from the dl dir, make the hash intentionaly wrong, then do `make package/foo/{clean,compile}`, git clone is performed and build continues
Robby has quit [Ping timeout: 272 seconds]
<ynezz>
I need to do `make package/foo/check` to get just the warning
<ynezz>
why isn't hash mismatch hard error?
heffer has joined #openwrt-devel
Robby has joined #openwrt-devel
<ynezz>
it works almost as expected for PKG_HASH, when the tarball is missing, it will download and check
SmugLeaf has joined #openwrt-devel
<ynezz>
if I change the tarball content on the disk (or that hash) then it happily continues building
<ynezz>
shouldn't we always perform that check step and make that warning hard error?
<ynezz>
I for example would prefer sane sources in exchange for little more computing power spent on checksums
Weedy has quit [Ping timeout: 265 seconds]
ivanich has joined #openwrt-devel
heffer has quit [Read error: Connection reset by peer]
heffer has joined #openwrt-devel
<Grommish>
if it hard-errored, it would never checkout the new source, would it?
<Grommish>
ynezz: I'm having issues with download and unpack for non-package files
heffer has quit [Read error: Connection reset by peer]
heffer has quit [Read error: Connection reset by peer]
<rsalvaterra>
aparcar[m]: Patch sent. :)
heffer has joined #openwrt-devel
Tusker has joined #openwrt-devel
jf has joined #openwrt-devel
_jf has quit [Ping timeout: 246 seconds]
<Tusker>
heya guys, I just rebuilt my build box (moved from ceph to zfs), but libubox is failing to build, is it just me, or is it expected ?
SimJoSt- has quit [Ping timeout: 246 seconds]
<Tusker>
hmm... google says that it's a build directory issue... make distclean time
SimJoSt- has joined #openwrt-devel
danitool has joined #openwrt-devel
gnustomp has quit [Ping timeout: 260 seconds]
black_ant has joined #openwrt-devel
black_ant has joined #openwrt-devel
gnustomp has joined #openwrt-devel
_whitelogger has joined #openwrt-devel
victhor has joined #openwrt-devel
<Tusker>
zfs with cache on ssd is much faster than ceph with tiered ssd... glad I took the time to rebuild my server
__lore__ has joined #openwrt-devel
_lore_ has quit [Read error: Connection reset by peer]
f00b4r0 has quit [Quit: Quitte]
<Tusker>
time make - real2m37.375s for a no-changes rebuild, vs >5minutes on ceph
__lore__ is now known as _lore_
f00b4r0 has joined #openwrt-devel
merbanan has quit [Ping timeout: 240 seconds]
merbanan has joined #openwrt-devel
noltari has quit [Quit: Bye ~ Happy Hacking!]
noltari has joined #openwrt-devel
noltari has quit [Client Quit]
noltari has joined #openwrt-devel
noltari has quit [Client Quit]
noltari has joined #openwrt-devel
Nick_Lowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Acrisor has quit [Read error: Connection reset by peer]
zjason has joined #openwrt-devel
hbug__ has quit [Remote host closed the connection]
hbug__ has joined #openwrt-devel
Acrisor has joined #openwrt-devel
Acrisor has quit [Read error: Connection reset by peer]
goliath has joined #openwrt-devel
blb4393 has joined #openwrt-devel
blb4393 has quit [Quit: ChatZilla 0.9.93 [Waterfox 56.3/MOZ_BUILDID]]
feriman has quit [Read error: Connection reset by peer]
nitroshift has quit [Quit: Gone that way --->]
nitroshift has joined #openwrt-devel
feriman has joined #openwrt-devel
Tusker has quit [Quit: Time wasted on IRC: 3 hours 39 minutes]
feriman has quit [Ping timeout: 240 seconds]
barhom_ has joined #openwrt-devel
<barhom_>
I have a firewall.user line that looks like this, "iptables -t mangle -I PREROUTING -i br-lan -m physdev --physdev-in wlan0-1 -j MARK --set-mark 1". I would like to rewrite it into a /etc/config/firewall config instead. But I'm not sure how exactly, especially with the physdev requirement
noltari has quit [Quit: Bye ~ Happy Hacking!]
noltari has joined #openwrt-devel
jas4711 has quit [Ping timeout: 256 seconds]
Grommish[M] has joined #openwrt-devel
barhom__ has joined #openwrt-devel
barhom_ has quit [Read error: Connection reset by peer]
jas4711 has joined #openwrt-devel
valku has joined #openwrt-devel
barhom__ has quit [Ping timeout: 256 seconds]
Grommish[M] has quit [Ping timeout: 264 seconds]
Grommish[M] has joined #openwrt-devel
beefburger has joined #openwrt-devel
luke-jr has quit [Read error: Connection reset by peer]
<jow>
ynezz: iirc PKG_MIRROR_CHECKSUM was always meant to soft fail
<jow>
ynezz: it originally was designed as performance improvement (ability to fetch a precompressed cached tarball) to avoid potentially slower git cloning
<jow>
it does not provide the smae strong integrity guarantees as the normal checksum for tarball downloads
awgh has quit [Ping timeout: 265 seconds]
<jow>
the idea is that if the cached tarball is either absent or mismatching, a clone operation is performed using the specified git commit hash, which guarantees source integrity
<ynezz>
jow: so the mismatch part is currently not working: rm dl/libubox-2020-08-06-9e52171d.tar.xz; make package/libubox/download V=sc; sed -i 's/PKG_MIRROR_HASH:=c/PKG_MIRROR_HASH:=d/' package/libs/libubox/Makefile; make package/libubox/{clean,compile} V=sc
<ynezz>
jow: it wouldn't download the package again even if it has now the wrong hash
<ynezz>
jow: is my observation correct?
<ynezz>
well, by re-downloading I mean git cloning again
<jow>
you mena when changing the hash after the cached tarball has been downloaded?
<jow>
if so then yes, that should be fixed
<ynezz>
yes, will take a look at it
beefburger has quit [Remote host closed the connection]
Grommish[M] has quit [Ping timeout: 264 seconds]
Grommish[M] has joined #openwrt-devel
linzst has joined #openwrt-devel
MichaelOF has joined #openwrt-devel
<damex>
any suggestion on some openwrt supported 'l3 switch' that is not limited to 1gbit to soc? edgerouter X have 1gbit. edgerouter X-sfp and mikrotik hex-s have sfp port on a separate 1gbit to soc
<rr123>
debugging a autogen.sh issue for hours, 'staging_dir/host/bin/aclocal: 2: aclocal.real: not found' ..aclocal does refer to aclocal.real which is nowhere to find
<damex>
aparcar[m]: did you already try shellcheck? also maybe you can try readon file to the memory <once> and then try to parse it?
<jow>
aparcar[m]: I like it. Only minor suggestion would be to support wget as fallback
<jow>
but thats no blocker for me, just to align with download.pl which supports either curl or wget
<aparcar[m]>
damex: who do I load it into memory? Just inside a variable? The performance is somewhat terrible, that's why packages.git isn't enabled by default
<aparcar[m]>
jow: I'll look into that thanks
<damex>
aparcar[m]: yeah, inside variable.
<jow>
you should also be able to pass data.tar.gz as addiitonal argument to tar tzf directly
<jow>
no need for grep
<jow>
and some sed command to parse the feed list should be way faster than the read / case loop
<jow>
but likely neglectible, the script is suppoed to be run on the host after all, and that is doing way more complex things during compilation
ivanich has quit [Quit: Konversation terminated!]
Red_M has quit [Ping timeout: 240 seconds]
DonkeyHotei has joined #openwrt-devel
Red_M has joined #openwrt-devel
Red_M has quit [Changing host]
Red_M has joined #openwrt-devel
dedeckeh has joined #openwrt-devel
<rsalvaterra>
aparcar[m]: You're welcome!
MichaelOF has quit [Quit: Konversation terminated!]
Nick_Lowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DonkeyHotei has quit [Ping timeout: 265 seconds]
<aparcar[m]>
jow: i'm curious about the sed command, you'd basically use it with some multi line mode?
DonkeyHotei has joined #openwrt-devel
ivanich has joined #openwrt-devel
<aparcar[m]>
damex: I stored it in a variable but it didn't speed up anything. In a later iteration I'm happy to use sed
<aparcar[m]>
however the multiline sed stuff looks like it's own language
Nick_Lowe has joined #openwrt-devel
dxld has quit [Quit: Bye]
dxld has joined #openwrt-devel
Nick_Lowe has quit [Client Quit]
adrianschmutzler has joined #openwrt-devel
dedeckeh has quit [Remote host closed the connection]
DonkeyHotei has quit [Ping timeout: 240 seconds]
Ycarus has quit [Quit: Ycarus]
Nick_Lowe has joined #openwrt-devel
<aparcar[m]>
why is openvpn in openwrt.git?
<rsalvaterra>
aparcar[m]: Because it's considered a core package…?
ivanich has quit [Quit: Konversation terminated!]
<aparcar[m]>
it's not really necessary for the default installation, that's why i'm wondering
ivanich has joined #openwrt-devel
Zaphod has joined #openwrt-devel
Zaphod is now known as Guest88411
<Guest88411>
greetings, i have a few questions about MT76 driver
<Guest88411>
specifically regarding its stability since OpenWrt 19.07
<Guest88411>
has it gotten better? because the one included with 19.07 is unstable and slow.
<aparcar[m]>
yes now it works thanks
<aparcar[m]>
wrong channel
<Guest88411>
this is for the MT7621 platform and specifically the mt7615n wifi chip
<Guest88411>
this is the openwrt-devel channel right ?
<PaulFertser>
Guest88411: it's being constantly improved.
<PaulFertser>
Guest88411: and so yes, it should be better now.
<Guest88411>
is there an eta when the pulls will be included (like a release date for 20.whatever)
<Guest88411>
and would the new improvements be included in recent snapshots?
dedeckeh has joined #openwrt-devel
Nick_Lowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<PaulFertser>
Guest88411: improvements are included in snapshots.
girth has joined #openwrt-devel
Borromini has joined #openwrt-devel
<Guest88411>
PaulFertser Thanks.
Guest88411 has quit [Remote host closed the connection]
<PaulFertser>
Guest88411: if you're interested in specifics, you can just see the git history, package/kernel/mt76/Makefile
<aparcar[m]>
how can I set compile definitions (-D) for non cmake packages?