<Namidairo>
7915 seems more or less fine for me, I just didn't look in on the device I had it in and came back to a big conga line of "uh-oh the stock layout limits kernel to 4M and now it don't build" and two different PR's about it
mcbridematt has joined #openwrt-devel
minimal has quit [Quit: Leaving]
gch981213 has joined #openwrt-devel
tSYS has quit [Quit: *squeak*]
tSYS has joined #openwrt-devel
Mangix has quit [Read error: Connection reset by peer]
slh has quit [Quit: leaving]
rua has quit [Quit: Leaving.]
slh64 has quit [Quit: gone]
slh has joined #openwrt-devel
vincejv has quit [Ping timeout: 480 seconds]
vincejv has joined #openwrt-devel
rua has joined #openwrt-devel
slh64 has joined #openwrt-devel
Daanct12 has quit [Ping timeout: 480 seconds]
Daanct12 has joined #openwrt-devel
robimarko has joined #openwrt-devel
cmonroe has quit [Ping timeout: 480 seconds]
rmilecki has joined #openwrt-devel
danitool has joined #openwrt-devel
<jow>
anyone using Safari on Mac here?
<jow>
we got a report that it automatically decompresses .gz firmware image downloads which leads to confusion since the resulting checksums will obviously not match the ones reported omn the dwonload page
* Habbie
boots the mac
<jow>
at first I thought this can be prevented by delivering image downloads with an applications/octet-stream mime type instead of a gzip one but this already is the case
<f00b4r0>
that's correct
<f00b4r0>
depends on settings
* Habbie
stops booting the mac
<jow>
and now I wonder if this heuristic is based on file extension or content sniffing
<jow>
in the former case I'd lobby for renaming our various .img.gz images to just .img or .bin, something I bring up from time to time again
<f00b4r0>
there's a setting in "General" that says it will automatically open "trusted" files
<f00b4r0>
I have it unchecked for that very reason
<jow>
since the gzip compression is an implementation detail, users are not meant to decompress or interprete such images
<jow>
we also get infrequent report about "broken" images because gzip (or various gui archivers) report decompression errors (trailing garbage) due to the image metadata appended to .img.gz images
<jow>
so technically these are not "gzip files" but proprietary binary files that happen to compress (parts of) their content with gzip
<jow>
on top of renaming them I'd even go as far as masking the gzip header
<jow>
and unamsking it in sysugprade
<f00b4r0>
makes sense
<Habbie>
XOR it with 'sysupgrade'
<jow>
yeah, something like that
<f00b4r0>
note this also affects backups
<f00b4r0>
(though it's pretty harmless there)
<jow>
Habbie: oh, "sysupgrade" happens to be 10 bytes, so it neatly covers the 10 byte gzip header even :)
<Habbie>
hah
<Habbie>
i did not know that
<f00b4r0>
jow: btw, dunno if you saw my pm? :)
robimarko has quit [Ping timeout: 480 seconds]
<PaulFertser>
Masking the gzip header is too nasty. While reasoning about not naming them .gz is solid mangling the contents to fool some broken software will also fool some users who know what they're doing and just want to unpack manually for whatever reason they might need it for.
<dwfreed>
a user that knows what they're doing can spend 5 seconds to read the sysupgrade source and see that it hides the gzip header
<dwfreed>
but also one could just put some text before the gzip header, should be sufficient
<jow>
true, probably better even since it can be simply skipped/seeked
<PaulFertser>
Please do not break just regular binwalk invocation :/
<dwfreed>
I mean, binwalk would probably quickly learn to identify sysupgrade images with mangled gzip header
<f00b4r0>
if the file isn't valid gzip it probably shouldn't claim to be anyway
<dwfreed>
but a header before the gzip header shouldn't fool binwalk at all
<dwfreed>
f00b4r0: I mean, "valid" here is relative
<f00b4r0>
well no. Either it conforms or it doesn't :)
<PaulFertser>
OpenWrt is already special /enough/. Violating principle of least astonishment just to make users of some marginal broken software happy sounds like a bad idea.
<Habbie>
agreed, text makes more sense than xor
<f00b4r0>
*nod*
<dwfreed>
f00b4r0: then technically it *does* conform to gzip standard
<f00b4r0>
dwfreed: with trailing garbage though :)
<dwfreed>
that is allowed
<PaulFertser>
Is renaming not enough anyway?
<f00b4r0>
indeed
<PaulFertser>
I mean nobody claims it's a gzip file if it's not named as such.
<f00b4r0>
from the pov of safari i'm pretty sure renaming is enough. After all it doesn't try to unpack ipks
<dwfreed>
other things might do content sniffing, though
robimarko has joined #openwrt-devel
<rmilecki>
it seems it's time for me to give up on mt7621 / mt7628 devices I have
<rmilecki>
I'm somehow disappointed with mt76, I hoped for it to be really problem free
<rmilecki>
so I started looking what may be another CHEAP MediaTek SoC and I found mt7622 (ARM so maybe even faster)
<rmilecki>
next thinkg I found out however is that mt7622 often comes with mt7915 (Linksys E8450, Netgear WAX206)
<rmilecki>
and f00b4r0 let me know yesterday that mt7915 isn't stable with mt76 neither?!
<rmilecki>
so is there a good MediaTek option at all?
<robimarko>
MT7981 maybe?
<robimarko>
Its definitively cheap and much more modern than MT7622
<rmilecki>
what chance is that this one will be stable? :/
<robimarko>
I guess that depends on your definition of stable
<rmilecki>
capable of carrying wireless traffic without stops like [ 3] 50.0-51.0 sec 0.00 Bytes 0.00 bits/sec
<robimarko>
Not much you can do other than try it out
floof58 has quit [Ping timeout: 480 seconds]
floof58 has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
cation has quit [Remote host closed the connection]
* f00b4r0
sticks to ath9k for a reason ;P
dvn has joined #openwrt-devel
castiel652 has joined #openwrt-devel
<castiel652>
rmilecki from my experience mt7915 is quite stable. I put one as AP at my parents house and never got any complaints :D
Daanct12 has quit [Quit: WeeChat 4.2.1]
<stintel>
robimarko: I have that locally for a couple of months, but since there was open discussion about kernel bumps ...
<robimarko>
stintel: qoriq 6.1?
<stintel>
ack
<robimarko>
Even if we move to 6.6 (I hope so) having 6.1 already there aint going to hurt
<mrkiko>
robimarko: out of curiosity - what is happening with the ath11k firmware? I mean, apart from repository move, will the firmware be further developed / updated / maintained or not?
<robimarko>
mrkiko: They are just standardising the place for the official FW
<robimarko>
ath11k wont be developed as far as any features are concerned
nitroshift has joined #openwrt-devel
<robimarko>
But there are way newer versions in QSDK that we have asked QCA to publish
<mrkiko>
robimarko: got it... was interested to know about bugfixes in general
<rmilecki>
robimarko: any response from QCA?
<robimarko>
Just the usual, we are in contact internally
<robimarko>
But they usually eventually do push them public
<robimarko>
As there is no reason not to, ipq60xx for example completely lacks 2.9.0.1 FW in public but in QSDK ipq8074/6018/9074 use the same FW versions
<mrkiko>
jow: in the case of gl-b2200 installation, the user is expected to decompress the image at the moment
<stintel>
so what's the decision for doing kernel bumps as of now to better maintain history
<robimarko>
Script from oliv3r seems to work fine
<stintel>
ok, I'll try to do it one of these days
<stintel>
right now it's not the time, in the middle of a real estate deal and that is proving stressful and time consuming
<mrkiko>
I completely disagree or renaming .gz files or altering them at all; also due to the reason I pointed out (e.g.: in some commits, at least the one for the b2200, instructions say so). Furthermore, I don't think I would arrive in 5 seconds at the conclusion I should look at sysupgrade. I don't think I'm the only one. :)
zer0def has quit [Ping timeout: 480 seconds]
zer0def has joined #openwrt-devel
minimal has joined #openwrt-devel
<jow>
mrkiko: well the idea is to rename .gz images that are *not* meant to be unpacked
castiel652 has quit [Quit: Leaving]
<mrkiko>
jow: fine then...
cmonroe has joined #openwrt-devel
torv has quit [Quit: torv]
torv has joined #openwrt-devel
nitroshift has quit [Ping timeout: 480 seconds]
skynet2 has joined #openwrt-devel
johnf has joined #openwrt-devel
danitool has quit [Remote host closed the connection]