hexa- has quit [Quit: WeeChat 2.9]
hexa- has joined #openwrt-devel
valku has quit [Quit: valku]
hbug_ has joined #openwrt-devel
hbug has quit [Ping timeout: 240 seconds]
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
figgyc has quit [Quit: No Ping reply in 180 seconds.]
tobleminer-tSYS has quit [Quit: AS4242423214]
figgyc has joined #openwrt-devel
tobleminer-tSYS has joined #openwrt-devel
ashkan has quit [Ping timeout: 240 seconds]
Grommish has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Grommish has joined #openwrt-devel
Ivan__83 has quit [Ping timeout: 252 seconds]
Ivan__83 has joined #openwrt-devel
Ivan__83 has quit [Client Quit]
Ivan__83 has joined #openwrt-devel
Ivan__83 has quit [Client Quit]
Ivan__83 has joined #openwrt-devel
victhor has quit [Ping timeout: 252 seconds]
hbug_ has quit [Remote host closed the connection]
hbug_ has joined #openwrt-devel
Katana_Steel has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Katana_Steel has joined #openwrt-devel
hurricos has quit [Read error: Connection reset by peer]
hurricos has joined #openwrt-devel
philipp64 has joined #openwrt-devel
mrkiko has quit [Ping timeout: 265 seconds]
dedeckeh has joined #openwrt-devel
black_ant has joined #openwrt-devel
black_ant has quit [Changing host]
black_ant has joined #openwrt-devel
nitroshift has joined #openwrt-devel
voxadam_ has quit [Ping timeout: 250 seconds]
sbrown has joined #openwrt-devel
sbrown_ has joined #openwrt-devel
sbrown has left #openwrt-devel [#openwrt-devel]
sbrown_ has left #openwrt-devel [#openwrt-devel]
sbrown has joined #openwrt-devel
Ycarus_ has quit [Quit: Ycarus_]
Ycarus has joined #openwrt-devel
feriman has joined #openwrt-devel
sbrown has quit [Read error: Connection reset by peer]
voxadam_ has joined #openwrt-devel
sbrown has joined #openwrt-devel
sbrown has quit [Read error: Connection reset by peer]
sbrown has joined #openwrt-devel
nick[m]3 has joined #openwrt-devel
<nick[m]3> could someone give me a hint how to find the correct memory in the art mtd block, for the caldata extraction?
<PaulFertser> nick[m]3: usually you just inspect hexdump -C output
<nick[m]3> PaulFertser: already did but not sure what I search for
<PaulFertser> nick[m]3: and you can check existing dumps from https://github.com/pepe2k/ar9300_eeprom/ for comparison
<PaulFertser> nick[m]3: and use that tool etc
<nick[m]3> PaulFertser: thanks! :)
Tost has joined #openwrt-devel
<PaulFertser> nick[m]3: btw, at least on many ath9k devices the idea is that art is the very last sector of SPI flash (no matter what size it is) and the wifi driver looks at the beginning of it.
<PaulFertser> (beginning of it is usually for MACs and then at 0x1000 you get caldata)
<nick[m]3> PaulFertser: it is about the ath10k driver. and I copied the PR from the powerbeam ac5. but when I do test the calibration data extraction, it just fails.
<nick[m]3> PaulFertser: already searched for it :) my wifi mac is at 3 positions
<nick[m]3> lets see what is the correct position ^^
<PaulFertser> nick[m]3: existing boards use either 0x5000 offset for ath10k data.
<PaulFertser> s/either//
<nick[m]3> the call is: caldata_extract "art" 0x5000 0x844
<nick[m]3> if I try that manual, it fails with: caldata: failed to extract calibration data from /dev/mtd7
<nick[m]3> maybe I'm doing something wrong?
<nick[m]3> so the offset looks correct
urjaman has quit [Quit: WeeChat 3.0]
urjaman has joined #openwrt-devel
<nick[m]3> PaulFertser: or did I misunderstood something? the call should work, or?
goliath has joined #openwrt-devel
<nick[m]3> whups, I forgot to set env variable firmware. now it works
danitool has joined #openwrt-devel
zatwai has quit [Quit: ZNC 1.8.2+deb2~bpo10+1 - https://znc.in]
<nick[m]3> thanks a lot for your help
zatwai has joined #openwrt-devel
decke has joined #openwrt-devel
ashkan has joined #openwrt-devel
ashkan has quit [Client Quit]
ivanich has joined #openwrt-devel
SamantazFox has joined #openwrt-devel
galak has quit [Read error: Connection reset by peer]
arnd has quit [Read error: Connection reset by peer]
Tsesarevich has quit [Read error: Connection reset by peer]
galak has joined #openwrt-devel
arnd has joined #openwrt-devel
Tsesarevich has joined #openwrt-devel
<PaulFertser> nick[m]3: :)
sbrown has quit [Remote host closed the connection]
sbrown_ has joined #openwrt-devel
lmore377 has quit [Quit: No Ping reply in 180 seconds.]
lmore377 has joined #openwrt-devel
glyph has quit [Read error: Connection reset by peer]
glyph has joined #openwrt-devel
glyph has quit [Client Quit]
Tapper has joined #openwrt-devel
glyph has joined #openwrt-devel
wigyori has joined #openwrt-devel
wigyori has quit [Changing host]
<dwmw2_gone> rsalvaterra: surely we should actually build the jffs2 images with the same compression algorithm we want to use at runtime?
<dwmw2_gone> Rather than compressing the image with zlib and then using zstd for writes?
<dwmw2_gone> Or is that irrelevant because we don't really use jffs2 for the real fs images; only for overlay?
<rsalvaterra> dwmw2_gone: It's a possibility, yes. I was only tackling the jffs2 overlay use case, however (since I've never seen a jffs2-based rootfs, only squashfs).
<Habbie> if you'll allow me to butt in to this topic - do i understand correctly that /rom is compressed and /overlay is not?
<Habbie> https://openwrt.org/docs/techref/flash.layout tells me that, but perhaps it's outdated
<dwmw2_gone> depends on the media but if it's flash, /rom will be *better* compressed because it's a precompressed blob, than /overlay which is jffs2 and dynamically compressed as it's written.
<karlp> they'r eboth compressed with whatever the filesystem in use there uses...
<dwmw2_gone> We are discussing the compression algorithm to use on the latter.
<Habbie> thanks
<Habbie> dwmw2_gone, very good, i'll follow with interest :)
<dwmw2_gone> jffs2 can use zlib
<dwmw2_gone> OpenWrt has patches to make it use lzma (adding that to the kernel since it isn't there already)
<rsalvaterra> dwmw2_gone: Since jffs2 seems to be mostly dead (or in very light maintenance mode), I tried to implement zstd compression in the least invasive way possible. :)
<dwmw2_gone> rsalvaterra is now proposing the addition of zstd
<dwmw2_gone> yeah, the patches look sane enough. I was just not entirely sure anyone had really shown any *benefit*
<dwmw2_gone> since we can only ever compress a 4KiB page at a time, the compressors have a slightly different task
<mangix> jffs2 is indeed mostly dead
<mangix> any alternatives?
<rsalvaterra> dwmw2_gone: I also thought about bumping zstd compression priority in jffs2 to the top, but I haven't done so.
<karlp> dead/stable... ;)
<karlp> upstream don't care about our little devices....
<Namidairo> did anyone bench startup times when ubifs got switched over
<rsalvaterra> karlp: I do care… I'm a bit obsessive in that regard, admittedly. :P
<mangix> i wonder why nilfs2 is also seemingly dead
<karlp> because it's vendor backing went away I suspect.
<dwmw2_gone> jffs2 basically works; we're reluctant to add new features.
<rsalvaterra> dwmw2_gone: Compression ratio will probably be a wash with zstd. But being able to kill that God-awful lzma patch would be a benefit in itself.
<dwmw2_gone> Sure, but why did we even have *that*?
<mangix> because lzma
<karlp> probably the same reason as zstd, "everything must be better compressed, because reasons!"
<Namidairo> storage is precious.
<karlp> storage is _sometimes_ precious
<rsalvaterra> Especially precious when you only have 8 MiB of it, total.
<mangix> 4MB routers
<dwmw2_gone> This storage is rarely written and slow to write. So compress with -z9 :)
<karlp> so... the original commit will clearly have metrics right? ;)
<dwmw2_gone> adding a new algo and still using -z3 is a bit weird.
<rsalvaterra> mangix: Not 4 MiB yet, but I'm trying. ;)
<dwmw2_gone> hahaha
<karlp> this is an easy answe? right? ;)
<karlp> oh, that's right, these sorts of things ar emostly done on religion....
<rsalvaterra> dwmw2_gone: Noted. I can increase the compression ratio, but that will use more RAM. ;)
<Namidairo> nobody talk about that 100hz patch
<dwmw2_gone> only as we're writing it.
<mangix> doesn't decompression also use more RAM?
<dwmw2_gone> nah, decompression is simple
<dwmw2_gone> compression builds up a history buffer of what has gone before, so that we can say "repeat that bit"
<rsalvaterra> Namidairo: The 100 Hz patch was an eager merge by ldir, but I will get some numbers on it ASAP.
<dwmw2_gone> If we're actually doing to do some *testing* of images sizes and RAM usage and CPU time, this might be worth a look too: http://git.infradead.org/users/dwmw2/openconnect.git/blob/HEAD:/lzs.c
<dwmw2_gone> I spent a while optimising that. It's for VPN packet compression but the use case is fairly similar to page-sized chunks of files.
<rsalvaterra> dwmw2_gone: My idea was to only use an already upstream algorithm, which could also be used for other purposes (zram). I don't think lzs is even upstream… :/
<Namidairo> it's all fairly inconsequential to me but I'm sure some sort of boot time aficionado will love it.
<dwmw2_gone> That's one 329-line file
<rsalvaterra> Why is everyone so worried about boot times, especially in OpenWrt? It's supposed to be a boot-up-and-forget system, no? :P
<mangix> rsalvaterra: because downtime sucks
<Namidairo> it adds up because we're flashing images all day /s
<rsalvaterra> mangix: Yeah, but does it cost money? If so, you need redundancy, not faster boot. ;)
<dwmw2_gone> Even when I had redundant lines I had a single OpenWrt box terminating them both :)
<mangix> pff, YOLO computing
<dwmw2_gone> It's why OpenWrt has the teql support :)
<stintel> heh :P I have a single line and redudant openwrt routers :P
<dwmw2_gone> I suppose I do have a spare lantiq box here which could be put back into service if my hh5a blows up :)
<dwmw2_gone> not *quite* a hotswap spare but close
<rsalvaterra> dwmw2_gone: I've been eyeing the HH5a, it's a neat little device (even though xDSL is mostly gone here in Portugal, we only have it in remote rural areas, everything is cable/fiber now).
<dwmw2_gone> I like it; does the job nicely for VDSL and wifi on both bands
<dwmw2_gone> The Lantiq usb sucks though; both boxes I've had just seem to suffer random crashes when I plug anything interesting in
<dwmw2_gone> so the Domoticz home automation now lives on a wndr3800 which is a bit underpowered for the job but at least it stays up
<rsalvaterra> Is it only VDSL? Does it support Annex A ADSL2+?
<dwmw2_gone> yeah it'll do that too.
<rsalvaterra> Nice. We don't have vectoring here, only plain-old ADSL2+.
<mangix> in master I silently set domoticz to BROKEN. Oh well.
<dwmw2_gone> hm, why?
<mangix> doesn't build
<dwmw2_gone> There's a new release; I was just about to try to update
<rsalvaterra> dwmw2_gone: Because cable/fiber. :)
<mangix> I reported the issue to upstream.
<rsalvaterra> FTTH, not FTTC.
<dwmw2_gone> mangix: got a link?
<dwmw2_gone> thanks
<karlp> let me guess, you replaced minizip with a newer version? and just marked broken anything that used the old one? :)
<karlp> gotta keep those version numbers absolutely bleeding...
<dwmw2_gone> nah, not just a newer version but 'minizip-ng' :)
<mangix> dwmw2_gone: the previous URL redirects to the new one
<dwmw2_gone> Did I not add minizip to openwrt specifically for the purpose of building Domoticz without having to use its own built-in one?
<karlp> "pacakge x didnt' have commits in 6 hours, so I've marked it as dead and have switched to the active fork...."
<dwmw2_gone> Is there anything else actually using minizip in openwrt?
<dwmw2_gone> did we upgrade the library and break its *only* user?
<mangix> hmm good question
<karlp> no no, that's irrlevant, the version numbers _must_ be latest!!!!11!
<dwmw2_gone> :)
<mangix> maybe it's just the compat that needs to be flipped on.
csrf has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
csrf has joined #openwrt-devel
Acinonyx_ is now known as Acinonyx
Tapper1 has joined #openwrt-devel
Tapper has quit [Ping timeout: 260 seconds]
Tapper1 is now known as Tapper
rmrf has joined #openwrt-devel
rmrf is now known as base10
base10 has quit [Client Quit]
feriman has quit [Quit: WeeChat 3.1]
dedeckeh has quit [Quit: Connection closed]
xback has quit [Quit: Konversation terminated!]
victhor has joined #openwrt-devel
Tapper has quit [Ping timeout: 240 seconds]
Dagger has quit [Ping timeout: 250 seconds]
Dagger2 has joined #openwrt-devel
Dagger2 is now known as Dagger
valku has joined #openwrt-devel
figgyc has quit [Ping timeout: 252 seconds]
figgyc has joined #openwrt-devel
<Habbie> can i see the compressed size of a file on jffs2?
figgyc has quit [Quit: No Ping reply in 180 seconds.]
figgyc has joined #openwrt-devel
Night-Shade has joined #openwrt-devel
valku1 has joined #openwrt-devel
valku has quit [Read error: Connection reset by peer]
valku1 is now known as valku
valku has quit [Ping timeout: 252 seconds]
nitroshift has quit [Quit: Gone that way --->]
madwoota- has joined #openwrt-devel
madwoota has quit [Read error: Connection reset by peer]
madwoota- is now known as madwoota
madwoota has quit [Changing host]
madwoota has joined #openwrt-devel
<hurricos> nick[m]3: If you need to look at ath9k eeproms, also consider https://github.com/rsa9000/atheepmgr which is very mature
<nick[m]3> hurricos: thanks for the hint
<hurricos> That is the one I used to experiment with radios :^)
<hurricos> The general advice to "not demand more of your radios than your hardware advertises" is almost always perfectly reasonable
<hurricos> *but* sometimes it pays to tweak the curves e.g. for a high-density deployment ;)
<hurricos> s/curves/curves *downwards*,/
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
decke has quit [Quit: Leaving.]
Tapper has joined #openwrt-devel
Immanuel has quit [Ping timeout: 252 seconds]
sbrown_ has quit [Ping timeout: 240 seconds]
Tapper1 has joined #openwrt-devel
Tapper has quit [Ping timeout: 240 seconds]
Tapper1 is now known as Tapper
sbrown has joined #openwrt-devel
ephemer0l has joined #openwrt-devel
hexa- has quit [Quit: WeeChat 2.9]
mattsm has joined #openwrt-devel
hexa- has joined #openwrt-devel
ivanich has quit [Quit: Konversation terminated!]
kristrev has quit [Read error: Connection reset by peer]
ivanich has joined #openwrt-devel
kristrev has joined #openwrt-devel
kristrev has quit [Ping timeout: 252 seconds]
kristrev has joined #openwrt-devel
Tost has quit [Ping timeout: 240 seconds]
kristrev has quit [Ping timeout: 246 seconds]
kristrev has joined #openwrt-devel
kristrev has quit [Read error: Connection reset by peer]
kristrev has joined #openwrt-devel
Tapper has quit [Ping timeout: 240 seconds]
Tapper has joined #openwrt-devel
Immanuel has joined #openwrt-devel
kristrev has quit [Ping timeout: 240 seconds]
kristrev has joined #openwrt-devel
SamantazFox has quit [Ping timeout: 245 seconds]
Guest3539 has joined #openwrt-devel
Guest3539 has quit [Changing host]
Guest3539 is now known as matteo
dedeckeh has joined #openwrt-devel
Huntereb has quit [Ping timeout: 250 seconds]
Tost has joined #openwrt-devel
Huntereb has joined #openwrt-devel
<rsalvaterra> This will hopefully settle most of the worries about the 100 Hz change… :) https://github.com/openwrt/openwrt/commit/3326b5e75c277b4fac21bffd2085df4aa40d2775#commitcomment-49996662
Tapper has quit [Ping timeout: 260 seconds]
<Habbie> make package/system/usign/compile
<Habbie> gives me a usign for the target system
<Habbie> make package/system/usign/host-compile
<Habbie> is not defined
<Habbie> how do i build a host usign?
<Habbie> (oh, I see now I asked this before - but nobody answered at the time)
Borromini has joined #openwrt-devel
xes_ has quit [Read error: Connection reset by peer]
xes has joined #openwrt-devel
danitool has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
Borromini has quit [Quit: Lost terminal]
dedeckeh has quit [Quit: Connection closed]
kristrev has quit [Read error: Connection reset by peer]
kristrev has joined #openwrt-devel
SamantazFox has joined #openwrt-devel
mattsm has quit [Read error: Connection reset by peer]
mattsm has joined #openwrt-devel
<aparcar[m]> mangix: ping
<mangix> pong
Tost has quit [Ping timeout: 252 seconds]
Night-Shade has quit [Quit: Textual IRC Client: www.textualapp.com]
Night-Shade has joined #openwrt-devel
Night-Shade has quit [Client Quit]
<aparcar[m]> mangix: what exactly is the fallout of this dbus/cmake thing you did some time ago?
<aparcar[m]> is it now all fine again?
<aparcar[m]> I don't want a whole lot of software end up in openwrt.git
Night-Shade has joined #openwrt-devel
lnslbrty has quit [Ping timeout: 246 seconds]
opal has quit [Ping timeout: 240 seconds]
matteo| has joined #openwrt-devel
matteo has quit [Ping timeout: 246 seconds]
opal has joined #openwrt-devel
Night-Shade has quit [Quit: Textual IRC Client: www.textualapp.com]
ivanich has quit [Quit: Konversation terminated!]
Night-Shade has joined #openwrt-devel