swex has quit [Ping timeout: 240 seconds]
goliath has quit [Quit: SIGSEGV]
Ansuel has quit [Read error: Connection reset by peer]
Ansuel has joined #openwrt-devel
Grommish has joined #openwrt-devel
brentmagma has quit [Remote host closed the connection]
gtx_aspec has quit [Ping timeout: 240 seconds]
brentmagma has joined #openwrt-devel
dorf has joined #openwrt-devel
swex has joined #openwrt-devel
DragoonAethis has quit [Quit: hej-hej!]
DragoonAethis has joined #openwrt-devel
swex has quit [Ping timeout: 240 seconds]
murphyslawbbs has joined #openwrt-devel
neoraider has quit [Ping timeout: 246 seconds]
brentmagma has quit [Remote host closed the connection]
brentmagma has joined #openwrt-devel
brentmagma has quit [Remote host closed the connection]
hbug___ has joined #openwrt-devel
brentmagma has joined #openwrt-devel
brentmagma has quit [Remote host closed the connection]
neoraider has joined #openwrt-devel
plntyk has quit [Ping timeout: 246 seconds]
brentmagma has joined #openwrt-devel
hbug__ has quit [Ping timeout: 240 seconds]
Ansuel has quit [Read error: No route to host]
Ansuel has joined #openwrt-devel
murphyslawbbs has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
swex has joined #openwrt-devel
plntyk has joined #openwrt-devel
swex has quit [Ping timeout: 252 seconds]
swex has joined #openwrt-devel
tobleminer-tSYS has quit [Quit: AS4242423214]
tobleminer-tSYS has joined #openwrt-devel
swex has quit [Ping timeout: 240 seconds]
swex has joined #openwrt-devel
brentmagma has quit [Remote host closed the connection]
brentmagma has joined #openwrt-devel
dorf_ has joined #openwrt-devel
Ansuel has quit [Ping timeout: 250 seconds]
dorf has quit [Ping timeout: 250 seconds]
nitdega has quit [Excess Flood]
nitdega has joined #openwrt-devel
Slimey has quit [Remote host closed the connection]
brentmagma has quit [Remote host closed the connection]
brentmagma has joined #openwrt-devel
hexa- has quit [Read error: Connection reset by peer]
hexa- has joined #openwrt-devel
AlexisEvelyn has quit [Ping timeout: 240 seconds]
AlexisEvelyn has joined #openwrt-devel
hexa- has quit [Quit: WeeChat 2.9]
hexa- has joined #openwrt-devel
murphyslawbbs has joined #openwrt-devel
zjason has joined #openwrt-devel
brentmagma has quit [Remote host closed the connection]
brentmagma has joined #openwrt-devel
guidosarducci has quit [Remote host closed the connection]
guidosarducci has joined #openwrt-devel
AlexisEvelyn has quit [Ping timeout: 250 seconds]
AlexisEvelyn has joined #openwrt-devel
victhor has quit [Ping timeout: 240 seconds]
murphyslawbbs has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Nick_Lowe has joined #openwrt-devel
dorf_ has quit [Ping timeout: 250 seconds]
plntyk has quit [Quit: Leaving]
brentmagma has quit [Remote host closed the connection]
black_ant has joined #openwrt-devel
black_ant has joined #openwrt-devel
brentmagma has joined #openwrt-devel
AlexisEvelyn has quit [Ping timeout: 276 seconds]
AlexisEvelyn has joined #openwrt-devel
rmilecki has joined #openwrt-devel
nitroshift has joined #openwrt-devel
slh64 has quit [Quit: gone]
ivanich has joined #openwrt-devel
brentmagma has quit [Remote host closed the connection]
brentmagma has joined #openwrt-devel
slh64 has joined #openwrt-devel
Nick_Lowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Nick_Lowe has joined #openwrt-devel
AlexisEvelyn has quit [Read error: Connection reset by peer]
AlexisEvelyn has joined #openwrt-devel
dedeckeh has joined #openwrt-devel
Borromini has joined #openwrt-devel
Nick_Lowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
danitool has joined #openwrt-devel
brentmagma has quit [Remote host closed the connection]
brentmagma has joined #openwrt-devel
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
Nick_Lowe has joined #openwrt-devel
<rmilecki> [14:38] <nbd> i mean right now, you can use ifup/ifdown to recreate the state of dynamically created interfaces like vlans, bridges, etc.
<rmilecki> jow: do you have any idea for handling that?
danitool has joined #openwrt-devel
<rmilecki> jow: full nbd's comment from yesterday irc log: https://pastebin.com/raw/eK3x4TZh
sbrown has joined #openwrt-devel
__lore__ has joined #openwrt-devel
_lore_ has quit [Read error: Connection reset by peer]
__lore__ has quit [Read error: Connection reset by peer]
_lore_ has joined #openwrt-devel
zjason has quit [Ping timeout: 252 seconds]
AlexisEvelyn has quit [Read error: Connection reset by peer]
AlexisEvelyn has joined #openwrt-devel
AlexisEvelyn has quit [Read error: Connection reset by peer]
AlexisEvelyn has joined #openwrt-devel
__lore__ has joined #openwrt-devel
_lore_ has quit [Read error: Connection reset by peer]
brentmagma has quit [Remote host closed the connection]
brentmagma has joined #openwrt-devel
Borromini has quit [Ping timeout: 268 seconds]
mangix has quit [Ping timeout: 268 seconds]
mangix has joined #openwrt-devel
AlexisEvelyn has quit [Read error: Connection reset by peer]
AlexisEvelyn has joined #openwrt-devel
Borromini has joined #openwrt-devel
kakaka has quit [Remote host closed the connection]
kakaka has joined #openwrt-devel
SamantazFox has joined #openwrt-devel
Borromini has quit [Ping timeout: 268 seconds]
glyph has quit [Read error: Connection reset by peer]
glyph has joined #openwrt-devel
brentmagma has quit [Remote host closed the connection]
brentmagma has joined #openwrt-devel
nitroshift has quit [Remote host closed the connection]
nitroshift has joined #openwrt-devel
nitroshift has quit [Remote host closed the connection]
nitroshift has joined #openwrt-devel
<aparcar[m]> lynxis: I wrote a simple patch for busybox but now the openwrt patch system fails me
<aparcar[m]> lynxis: this is the patch https://termbin.com/2p9m
<aparcar[m]> but it fails to apply when using the build system
<rmilecki> [14:34] <nbd> how about having a 'config bridge' section imply the creation of an implicit proto=none interface with the same name
<rmilecki> nbd: so that would basically just result in having network.interface.foo, right?
<rmilecki> (ubus object)
Nick_Lowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<rmilecki> jow: i agree with nbd that if we create bridge device (which results in Linux bridge interface), there needs to be a way for brinding it up & down using ifup / ifdown (AKA netifd + ubus "up" / "down" methods)
<rmilecki> jow: so we either need network.interface.foo for layer 2 bridge interface OR something like network.device.foo
dedeckeh has quit [Quit: Connection closed]
<rmilecki> now, if we add something like network.device.foo and then user adds interface too, then "ubus call network.device.foo up" and "ubus call network.interface.foo" will do basically the same thing I guess
<rmilecki> oh crap, that layer 2 & layer 3 handling in Linux, netifd, UCI, LuCI is a mess
Nick_Lowe has joined #openwrt-devel
brentmagma has quit [Remote host closed the connection]
brentmagma has joined #openwrt-devel
Nick_Lowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SamantazFox has quit [Read error: Connection reset by peer]
SamantazFox has joined #openwrt-devel
csrf has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
csrf has joined #openwrt-devel
Nick_Lowe has joined #openwrt-devel
__lore__ has quit [Ping timeout: 252 seconds]
nitroshift has quit [Remote host closed the connection]
nitroshift has joined #openwrt-devel
brentmagma has quit [Remote host closed the connection]
brentmagma has joined #openwrt-devel
nitroshift has quit [Remote host closed the connection]
nitroshift has joined #openwrt-devel
_lore_ has joined #openwrt-devel
goliath has joined #openwrt-devel
* ldir suggests porting systemd to openwrt to solve all of this interface mess - hides
<rmilecki> well, Linux doesn't clearly distinguish layer 2 and layer 3 in its interfaces, while we want to
somedatapacket has joined #openwrt-devel
<rmilecki> the question is, where to do that
<rmilecki> ifup & ifdown commands are expected to work with Linux interfaces just like ifconfig
<rmilecki> so I think ubus objects network.interface.* should match Linux interfaces
<rmilecki> so if we add a bridge layer 2 interface, we should have network.interface.<foo> for it
<rmilecki> (which matches nbd's idea he posted yesterday)
<stintel> ldir: ping - https://git.openwrt.org/?p=project/mdnsd.git;a=commitdiff;h=eadfa26a5cf31e27f551c37c1362983e9db37c4d;hp=d13290b427487bb05581e11875af3bfe74d6da2d why + 1 ?
somedatapacket has quit [Quit: Connection closed]
<ldir> stintel: 'cos the original code did it and I assumed a) it was right b) it was for the null string terminator byte.
<stintel> ldir: ah, well I'm not that good at C so I'm even less sure it's right or not :P
<ldir> I get nervous with strncpy -> memcpy replacements - memcpy really doesn't give a shit about null terminators. strncpy sometimes cares.
<stintel> well yeah, that patch was not accepted because it's not the correct solution
<stintel> but I'm thinking the +1 is wrong
<stintel> Warning: If there is no null byte among the first n bytes of src, the string placed in dest will not be null-terminated.
<stintel> so if there is a \n we'll add it, if not, not, so the + 1 is bogus?
<stintel> or am I completely talking bs now :D
<stintel> s/add/copy/
<stintel> ping nbd blogic ^
<stintel> as either of you originally wrote that code
<stintel> I'm switching to binutils 2.36.1 and gcc 10.3.0 on all my builds as I would like to make those the new defaults in master
<stintel> and I'm hitting that
<owrt-snap-builds> Build [#98](https://buildbot.openwrt.org/master/images/#builders/26/builds/98) of `apm821xx/sata` failed.
<ldir> you'll note the following line "strlen(blobmsg_get_string(_tb[SERVICE_INSTANCE])) + 1" has a + 1 and again I'm assuming the idea is to make sure calloc includes space for a string terminator.
<stintel> although that makes even less sense to me
<ldir> and that doesn't provoke the warning??
<stintel> no
<stintel> where is the string terminator going to come from if it's not in the source to begin with ?
Nick_Lowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Nick_Lowe has joined #openwrt-devel
<stintel> I'm just going to drop the + 1 for now and build like this
<ldir> The strlen() function returns the number of characters that precede the terminating NUL character
<stintel> ah
brentmagma has quit [Remote host closed the connection]
<ldir> so an 8 character string takes 9 bytes - 8 for the string, 1 for the terminator
<ldir> to copy an 8 char string you must have 9 characters worth of space for the destination.
brentmagma has joined #openwrt-devel
<stintel> yeah I get that
<stintel> pffft
<Redfoxmoon> man-pages are great
<stintel> I have that open in my browser :)
<Redfoxmoon> :D
<stintel> but that's not helping to fix the compile warning
<ldir> now I need to look at strncpy - I suspect my error is that the strncpy should be strlen and perhaps no strlen+1. - can't remember what strncpy does!
<Redfoxmoon> memcpy or strlcpy, don't use strncpy
<Redfoxmoon> can always use memcpy and manually null terminate arrays
<stintel> change to memcpy was rejected
<Redfoxmoon> I mean, even strcpy is fine if you KNOW the destination has enough space
<ldir> I think your https://gist.github.com/stintel/97418a06403aed3b9d8faa1ce69b1f82 is a very valid solution.
<stintel> but that gave the same problem :D
<stintel> https://git.openwrt.org/?p=project/mdnsd.git;a=commitdiff;h=eadfa26a5cf31e27f551c37c1362983e9db37c4d;hp=d13290b427487bb05581e11875af3bfe74d6da2d
<stintel> it used to be strcpy originally
victhor has joined #openwrt-devel
<ldir> we need n+1 of space, but only n of the source string. calloc will give as a null terminator already because it inits the alloc memory to nulls for us.
<stintel> ldir: will you commit that fix :D
<ldir> oh hell yes - I don't mind my name being dragged through the mud, I'm an idiot :-)
<stintel> heh :D
<Redfoxmoon> I think gcc can make just about anyone feel stupid
madwoota has quit [*.net *.split]
<ldir> I think the compiler is trying to cover the case of 'oh but what if the end character isn't a null' not realising that it must be 'cos strlen must have fallen over a null to give is a string length.
<stintel> ok next problem: busybox :P
<ldir> It wasn't me!
<stintel> oh, fPIC blabla
<stintel> because PKG_ASLR_PIE:=0
<ldir> Redfoxmoon: I agree strncpy is a horror show
<Redfoxmoon> Yep.
<Redfoxmoon> I understand the original intent behind it, but the implementation is wack
<ldir> yeah, let's just count the characters and still not really care if we terminate the string correctly
<Redfoxmoon> :-)
<Redfoxmoon> at least strlcpy is safe, but it does come w/ the fact that it will truncate
AlexisEvelyn has quit [Ping timeout: 250 seconds]
<Hauke> stintel: ldir are you working on gcc 10?
<ldir> you'd have thought that null termination would be implicit - it IS called 'string n copy'
<ldir> I use gcc 10 as the toolchain compiler
<ldir> brb - have to collect mrs ldir from the dentist
<stintel> Hauke: 13|13:26:02 < stintel> I'm switching to binutils 2.36.1 and gcc 10.3.0 on all my builds as I would like to make those the new defaults in master
<Hauke> stintel: thanks
<Hauke> stintel: does it compile?
<Hauke> I think the original code is not wrong
<Hauke> but gcc 10 does not like it
<stintel> Hauke: yes, it compiles
<stintel> I'm about to flash my first device with gcc10+binutils2.36 combo :)
<Hauke> It loks ok, calloc_a() makes surethe last byte is NULL and then it should be fine
<stintel> ok, I'll try to come up with a commit message
MichaelOF has joined #openwrt-devel
MichaelOF has quit [Remote host closed the connection]
<stintel> Hauke: ldir: is that good enough? https://gist.github.com/0310f5b4e5b95b622fad77bbf7200fb2
<Hauke> stintel: looks good
<stintel> Hauke: may I add an Acked-by ?
<Hauke> stintel: ok
<stintel> Hauke: thanks!
<Hauke> stintel: umbim is also not compling with gcc 10
<stintel> I should probably do full build :)
Ansuel has joined #openwrt-devel
brentmagma has quit [Remote host closed the connection]
madwoota has joined #openwrt-devel
brentmagma has joined #openwrt-devel
<ldir> stintel: good enough - you can add my acked by
<stintel> ldir: thanks, I'll push in a few minutes
* ldir mrs ldir still has relevant teeth :-)
<stintel> ugghhh fscking IO problem
<stintel> every time I build OpenWrt when the kernel extracts all IO hangs
<stintel> seriously fscking annoying
<stintel> and my box doesn't support NVMe
<stintel> and PCIe to NVMe cards are hard to find over here
brentmagma has quit [Remote host closed the connection]
Acinonyx has joined #openwrt-devel
<stintel> maybe I should consider replacing my 8+ y old Intel 520 SSDs
Acinonyx_ has quit [Ping timeout: 246 seconds]
brentmagma has joined #openwrt-devel
<stintel> although I'd expect the scheduler to avoid this annoyance
brentmagma has quit [Remote host closed the connection]
Acinonyx has quit [Ping timeout: 260 seconds]
Acinonyx has joined #openwrt-devel
rok has joined #openwrt-devel
rok has quit [Client Quit]
brentmagma has joined #openwrt-devel
poljar1 has joined #openwrt-devel
poljar has quit [Ping timeout: 240 seconds]
Borromini has joined #openwrt-devel
brentmagma has quit [Remote host closed the connection]
brentmagma has joined #openwrt-devel
AlexisEvelyn has joined #openwrt-devel
Night-Shade has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Night-Shade has joined #openwrt-devel
nitroshift has quit [Quit: Gone that way --->]
<rsalvaterra> ldir: 5.10 is at .36. Are you bumping it, or shall I do it this time? :)
<ldir> you can check if I've done it right
<rsalvaterra> Oh, you're already on it, nice! I'll give it a look/spin, for sure.
<zorun> stintel: is your fs mounted with discard? it's a frequent cause of hangs on some SSDs
_lore_ has quit [Read error: Connection reset by peer]
<stintel> zorun: it's not, as it's a SATA 3.0 device, queued discard was only added in 3.1
<stintel> oh wait a minute
<stintel> that extracts to /home, those aren't my Intel 520s at all
<stintel> *facepalm*
_lore_ has joined #openwrt-devel
<stintel> my /home is on btrfs raid1 on samsung qvo, sata 3.2 so discard _shouldn't_ be a problem
<stintel> but I guess I'll try disabling it to make sure
<rsalvaterra> ldir: Even better, I'll do it locally too and compare my results to yours.
<zorun> discard often *is* a problem ;) I mean the mount option, as some SSDs really don't like the way the filesystem issues lots of discards when you delete files
<zorun> I've seen multi-minutes I/O hangs on a samsung EVO when running big rsyncs with lots of small files
<stintel> blergh
<zorun> running fstrim regularly is fine
<stintel> zorun: thanks for mentioning it. I didn't even consider it because I have it disabled on my rootfs and didn't think about the fact that /home is on different SSDs. it appears it might have been the culprit after all
<stintel> systemctl enable fstrim.timer # fixed
<Borromini> hmmm... should i disable discard on btrfs as well then or can that handle it better?
* Borromini has discard=async set
<stintel> Borromini: I'm on btrfs so I guess it doesn't ;)
<Borromini> :D
<Borromini> thanks
brentmagma has quit [Remote host closed the connection]
brentmagma has joined #openwrt-devel
opa7331 has joined #openwrt-devel
<stintel> ldir: do you have 5.10.36 bump pushed somewhere ?
<stintel> as I'm planning to build new images for all my devices, it's the perfect time to test that also
<stintel> s/planning to build/building/
netprince has joined #openwrt-devel
cheakoirccloud has joined #openwrt-devel
Borromini has quit [Ping timeout: 265 seconds]
brentmagma has quit [Remote host closed the connection]
brentmagma has joined #openwrt-devel
<rsalvaterra> stintel: I've pushed mine, actually.
<stintel> oh, nvm lol, I'm not using 5.10 yet on most of my devices
<stintel> lots of brainfarts today
<rsalvaterra> stintel: Even better, it's the perfect opportunity to test! B)
<stintel> maybe not while switching from gcc 8 to 10 ;)
<rsalvaterra> Hm. The mac80211 patches need refreshing, I see.
<rsalvaterra> stintel: gcc 10, binutils 2.36 and musl 1.2.2 here. The edge doesn't get much more bleeding than this… :P
<Ansuel> when gcc 11?
<rsalvaterra> Ansuel: I wouldn't dare to bump it myself… compilers are scary, compiler patches are scarier.
<Ansuel> just asking if someone have some testing patch, can't remember when gcc 11 was released
<Ansuel> anyway looking at the patch for 10.3, there are only 18 and are not too big max 4kb... so doesn't look that different than the upstream gcc
<aparcar[m]> rsalvaterra: ping
<rsalvaterra> aparcar[m]: pong, what's up?
<aparcar[m]> rsalvaterra: how to submit patches to busybox
<rsalvaterra> aparcar[m]: It's the same as the Linux kernel, but you need to be subscribed to the mailing list, iirc.
<aparcar[m]> ack ty
<rsalvaterra> np
rsalvate_ has joined #openwrt-devel
rsalvaterra has quit [Ping timeout: 246 seconds]
brentmagma has quit [Remote host closed the connection]
<netprince> nbd: has anyone reported trouble with unifi 6 lite since https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=06f5e8009d4470d0dc6bba28a8f946ac4448cba2?
<netprince> I tested a build from the previous commit and its ok
brentmagma has joined #openwrt-devel
_lore_ has quit [Ping timeout: 265 seconds]
<netprince> on wifi it seems like most packets are just dropped, an occasional ping or two will get through
<nbd> which wifi chip?
zjason has joined #openwrt-devel
<nbd> 2.4 or 5 ghz?
<netprince> 5 ghz
<nbd> haven't received any reports
<nbd> can you git bisect the mt76 driver?
<netprince> I can try but I dont know how, do you have any pointers?
<nbd> that way you can use git in the package build dir\
<netprince> ok I'll take a look
Borromini has joined #openwrt-devel
noltari has quit [Read error: Connection reset by peer]
noltari has joined #openwrt-devel
Slimey has joined #openwrt-devel
poljar has joined #openwrt-devel
Borromini has quit [Ping timeout: 246 seconds]
SamantazFox has quit [Ping timeout: 240 seconds]
brentmagma has quit [Remote host closed the connection]
Nick_Lowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
poljar1 has quit [Ping timeout: 265 seconds]
brentmagma has joined #openwrt-devel
Nick_Lowe has joined #openwrt-devel
rsalvate_ is now known as rsalvaterra
ericzolf has joined #openwrt-devel
_lore_ has joined #openwrt-devel
brentmagma has quit [Remote host closed the connection]
brentmagma has joined #openwrt-devel
<rsalvaterra> aparcar[m]: We finally got our reply, heh? :) https://github.com/BR903/ELFkickers/issues/15
Nick_Lowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SamantazFox has joined #openwrt-devel
dangole has joined #openwrt-devel
sbrown has quit [Read error: Connection reset by peer]
sbrown has joined #openwrt-devel
dedeckeh has joined #openwrt-devel
ericzolf has quit [Remote host closed the connection]
SamantazFox has quit [Read error: Connection reset by peer]
SamantazFox has joined #openwrt-devel
adrianschmutzler has joined #openwrt-devel
<stintel> it built fine previously ...
<Hauke> stintel: there is a bug report this with some links to packages from upstream and buildroot
<Hauke> it was created some days ago
<stintel> Hauke: yes, I've added a patch to fix that Decompressor is too big
<Hauke> stintel: is this something else
<stintel> oh
<stintel> actually no
<rsalvaterra> stintel: The decompressor to big thing is fixed already? It bit me a couple of days ago.
<stintel> rsalvaterra: it's not. I'm hitting it now, so I added the upstream patch for that
<rsalvaterra> stintel: Right. Exactly that one.
<stintel> and then it triggers the automake thing
<Hauke> yes this ticket
brentmagma has quit [Remote host closed the connection]
<stintel> but this makes no sense
<stintel> it changes a single line
adrianschmutzler has quit [Quit: ~ Trillian - www.trillian.im ~]
brentmagma has joined #openwrt-devel
<stintel> but yes, it's that patch that seems to trigger the automatek 1.15 is probably too old
<stintel> makes no sense at all
<stintel> fscking autohell voodoo
<rsalvaterra> Also can't fathom where the dependency comes from. Weird.
<stintel> well I'm going to add the patch + PKG_FIXUP:=autoreconf
<stintel> let's try and fix the voodoo with more magic ;)
<Hauke> could be that we use pre generated files before and if we change then automake has to run again
<stintel> Hauke: good catch
<stintel> so PKG_FIXUP:=autoreconf fixes that automake crap
<stintel> but then I run into other errors
Ansuel_ has joined #openwrt-devel
Ansuel has quit [Ping timeout: 250 seconds]
Acinonyx has quit [Ping timeout: 252 seconds]
<ldir> stintel: try https://git.openwrt.org/?p=openwrt/staging/ldir.git;a=commit;h=0c24301c21ba9a3a70d008499b89adbb312f4149
<ldir> https://bugs.openwrt.org/index.php?do=details&task_id=3790&order=dateopened&sort=desc - there's in which shows what a flustercluck this is cos of all the autohell & then python host deps .
<stintel> well we depend on python on the host system anyway, I'm trying a different approach
<stintel> there is a 0 missing in the substitution
<stintel> but now figuring out where that sed command comes from in the first place
<stintel> more autohell voodoo and black magic probably
<ldir> probably - you seem to understand more about autohell than I do (or ever wish to) :-D
<stintel> m4
<stintel> heh I don't understand any of it
<stintel> I'm just following a trail :P
<ldir> There are times I wish I'd actually done computer science...or been a proper programmer :-)
Acinonyx has joined #openwrt-devel
<stintel> I started Harvard CS50x last year but I never managed to finish the week 0 task
<stintel> had to make something in Scratch
<stintel> "writing" a program by dragging and dropping stuff in a GUI
<stintel> absolutely fscking horrible
<stintel> nice for kids or people with 0 experience
<stintel> but when inserting some extra logic in the middle of an existing block becomes a problem, I tend to get very agitated
brentmagma has quit [Remote host closed the connection]
Ansuel has joined #openwrt-devel
brentmagma has joined #openwrt-devel
Ansuel_ has quit [Ping timeout: 250 seconds]
<svanheule> stintel: I thought Scratch was for primary school?
<stintel> well it's what CS50x starts with
<svanheule> if it's any consolation, I get paid to "program" in LabView
<svanheule> quite literally spaghetti code...
J-L has joined #openwrt-devel
Borromini has joined #openwrt-devel
<svanheule> luckily it can interface with C-libraries, so I can shove logic into real code :P
<rsalvaterra> stinte: I beg to differ. I find Scratch really nice. :)
<rsalvaterra> *stintel
<rsalvaterra> I mean, it's the whole point. It's for people with zero experience.
<stintel> I know
<rsalvaterra> And a WAY better way of learning how to code than with (GAH!) BASII
<rsalvaterra> BASIC
<rsalvaterra> At least in Scratch you have structure.
<stintel> well it's just not for me
<rsalvaterra> And kids really need to see the "code" making things move around the screen.
<ldir> stintel: I know exactly what you mean - I tried the same thing and fell into the same trap/lack of interest - I had great difficulty relating it to 'proper' programming in a non-gui language.
* rsalvaterra started with ZX BASIC and isn't proud.
<ldir> lol - started with zx80 zx basic, then 'progressed' to ZX81 basic. then into some sort of hybrid z80 machine code/assembly by looking up the instruction codes from the back of the zx81 manual and 'assembling' by hand.
<J-L> Hi, I'm completely new to openwrt. It seems I got lucky that some devices I bought some years ago had prebuilt openwrt support.
<J-L> Now I have recently bought something new (and cheap). Turns out TP-link put out new hardware versions for most of it's devices since by now. Often downsizing flash and RAM
<J-L> I did see that device profile was added at some point "tl-wr841n-v14" which is supposed to support that thing. Only it's doesn't "easily" build (haven't been able to replicate online claims to success).
<J-L> I was just wondering if so explicit on not supporting 32/4, why keep the profiles arround and actively maintain them?
<PaulFertser> J-L: because people self-building still can use it nicely. It's just to stop caring about extra load and issues with the build bots.
<PaulFertser> J-L: new default package set can't fit 4 MiB flash anyway, so autobuilding the images is no longer possible. But it would be uncool to just drop all of it.
<PaulFertser> J-L: the build process should be easy, what didn't work for you?
<J-L> well, it's been 12 years or something that I've did opensouce cpp builds, so it certainly rusty, with sadly less time to spend on it than I'd like
<J-L> so I went for trying to build it using a prebuild docker container
<J-L> openwrtorg/imagebuilder:ramips-mt76x8-openwrt-21.02
<J-L> but pretty much anything I try says it too big
<J-L> [mktplinkfw2] rootfs offset aligned to 0x1986128
<J-L> [mktplinkfw2] *** error: images are too big
<J-L> which sort of confuses me as none of the builds claim to be bigger then 3 Megs
<J-L> even with the default packages
<J-L> That align number is also throwing me off here, it seems to point to an addres at 26 megs, but no idea where that would come from
<J-L> anyhow, don't want to spam here
<J-L> so not expecting troubleshooting help
<J-L> but, if these things are maintained, how do you know they actually work, without building them
<ldir> rsalvaterra: that's probably why I can still remember 0x01, 0x11, 0x21 as ld [bc/de/hl],nn respectivly - EDB0 is 'ldir', C3nnnn is jump, C9 is Ret, CD is Call
<PaulFertser> J-L: yes, you should run "make menuconfig" and disable packages you do not need.
<PaulFertser> J-L: also it's not imagebuilder I had in mind, it's the build system. Imagebuilder doesn't really build the software, it just assembles the image.
AlexisEvelyn has quit [Ping timeout: 276 seconds]
<PaulFertser> J-L: should be adequate for the purpose, just do not include extra software.
<J-L> ok, on a next endavour I'll go for using the actual build system
<PaulFertser> IB should work too.
<PaulFertser> I guess you're trying to include luci, try without.
<ldir> rsalvaterra: I'm 50 years old in not many days time. How the hell??!!!!!!
<J-L> well even a completly stripped version didn't get accepted
<J-L> e.g make image PROFILE="tplink_tl-wr841n-v14" PACKAGES="-dnsmasq -dropbear -ip6tables -iptables -odhcp6c -odhcpd-ipv6only opkg -ppp -ppp-mod-pppoe libustream-wolfssl -wpad-basic-wolfssl wpad-basic"
<J-L> -> Filesystem size 2159.46 Kbytes (2.11 Mbytes)
<J-L> still it produces that error, so it really feels like something is not working as expected
<J-L> but yes, my end goal would be to have luci,
<J-L> anyhow, one day I'll look at building a custom docker container to run such a build in and try it there
<lynxis> aparcar[m]: lgmt. is there already an upstream patch available?
AlexisEvelyn has joined #openwrt-devel
Tost has joined #openwrt-devel
<PaulFertser> J-L: so something is broken. Full buildsystem should work.
<aparcar[m]> lynxis: no i need to figure out how to submit it :)
<J-L> thx, for the input, have a nice day!
brentmagma has quit [Remote host closed the connection]
brentmagma has joined #openwrt-devel
<J-L> oh and thanks for the great firmware btw
<J-L> the TP-Link TL-WA801ND v5 vendor firmware is pretty crap at IPv6 (the other one too), which makes them quite unpleasant in combo with Android 11
<J-L> but flashing them by documented instructions and all my troubles on that front have disappeared
<J-L> one wonders why they insist on putting their own junk on there
DirkS has quit [Ping timeout: 240 seconds]
DirkS has joined #openwrt-devel
nejon has quit [*.net *.split]
meffe has quit [*.net *.split]
whitewolf has quit [*.net *.split]
{Nico} has quit [*.net *.split]
jow has quit [*.net *.split]
nbd has quit [*.net *.split]
barhom has quit [*.net *.split]
jow has joined #openwrt-devel
{Nico} has joined #openwrt-devel
nbd has joined #openwrt-devel
nbd has quit [Changing host]
nbd has joined #openwrt-devel
nejon has joined #openwrt-devel
meffe has joined #openwrt-devel
brentmagma has quit [Remote host closed the connection]
AlexisEvelyn has quit [Read error: Connection reset by peer]
whitewolf has joined #openwrt-devel
AlexisEvelyn has joined #openwrt-devel
valku has quit [Quit: valku]
brentmagma has joined #openwrt-devel
DirkS has quit [Ping timeout: 240 seconds]
dirkSt has joined #openwrt-devel
x1 has joined #openwrt-devel
x1 has quit [Client Quit]
dirkSt has quit [Quit: WeeChat 3.1]
DirkS has joined #openwrt-devel
<owrt-snap-builds> Build [#90](https://buildbot.openwrt.org/master/images/#builders/64/builds/90) of `realtek/generic` completed successfully.
dedeckeh has quit [Quit: Connection closed]
<Borromini> J-L: vendor SDKs probably.
brentmagma has quit [Remote host closed the connection]
brentmagma has joined #openwrt-devel
valku has joined #openwrt-devel
Borromini has quit [Quit: Lost terminal]
csrf has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
csrf has joined #openwrt-devel
barhom has joined #openwrt-devel
black_ant has quit [Ping timeout: 246 seconds]
rmilecki has quit [Ping timeout: 246 seconds]
Nick_Lowe has joined #openwrt-devel
J-L has quit [Quit: Connection closed]
Ansuel has quit [Ping timeout: 250 seconds]
Nick_Lowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
brentmagma has quit [Remote host closed the connection]
poljar1 has joined #openwrt-devel
brentmagma has joined #openwrt-devel
poljar has quit [Ping timeout: 240 seconds]
Nick_Lowe has joined #openwrt-devel
<aparcar[m]> lynxis: all right I sent a patch to upstream
dangole has quit [Quit: Leaving]
<stintel> can anyone explain me what https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=tools/automake/patches/000-relocatable.patch;h=d05b25e61c2e240b5c858fde7f2f13ce622958fc;hb=HEAD#l23 does ?
Ansuel has joined #openwrt-devel
Nick_Lowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SamantazFox has quit [Read error: Connection reset by peer]
SamantazFox has joined #openwrt-devel
Nick_Lowe has joined #openwrt-devel
* stintel gives up and uses ldir's grub commit
Nick_Lowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ansuel has quit [Read error: Connection reset by peer]
sbrown has quit [Remote host closed the connection]
sbrown has joined #openwrt-devel
Nick_Lowe has joined #openwrt-devel
sbrown has quit [Remote host closed the connection]
sbrown has joined #openwrt-devel
Ansuel has joined #openwrt-devel
Nick_Lowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ansuel has quit [Read error: Connection reset by peer]
brentmagma has quit [Remote host closed the connection]
brentmagma has joined #openwrt-devel
Ansuel has joined #openwrt-devel
AlexisEvelyn has quit [Read error: Connection reset by peer]
AlexisEvelyn has joined #openwrt-devel
Nick_Lowe has joined #openwrt-devel
Nick_Lowe has quit [Client Quit]
Nick_Lowe has joined #openwrt-devel
Nick_Lowe has quit [Client Quit]
Nick_Lowe has joined #openwrt-devel
SamantazFox has quit [Ping timeout: 265 seconds]
brentmagma has quit [Remote host closed the connection]
brentmagma has joined #openwrt-devel
lukedashjr has joined #openwrt-devel
luke-jr has quit [Ping timeout: 240 seconds]
Nick_Lowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lukedashjr is now known as luke-jr
Tost has quit [Ping timeout: 252 seconds]
goliath has quit [Quit: SIGSEGV]