Tapper has quit [Ping timeout: 480 seconds]
minimal has quit []
philipp64 has joined #openwrt-devel
<hurricos> Does anyone here have any experience simulating wireless networks within qemu?
<hurricos> I know the malta image comes with a mac80211_hwsim interface by default, but I'm wondering whether it's possible to actually simulate e.g. a batman-adv when you only have one machine.
<hurricos> I'm guessing that some mesh protocols will be easier to simulate than others.
Tusker has quit [Read error: Connection reset by peer]
Tusker has joined #openwrt-devel
<hurricos> (without some sort of inter-machine wmediumd, which I have not been able to find)
philipp64 has quit [Quit: philipp64]
philipp64 has joined #openwrt-devel
Tusker_ has joined #openwrt-devel
philipp64 has quit []
Tusker has quit [Ping timeout: 480 seconds]
Tusker_ has quit [Read error: Connection reset by peer]
Tusker_ has joined #openwrt-devel
philipp64 has joined #openwrt-devel
philipp64 has quit []
KGB-2 has quit [Remote host closed the connection]
KGB-2 has joined #openwrt-devel
Strykar has quit [Quit: /quit]
Strykar has joined #openwrt-devel
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
Tusker_ has quit [Read error: Connection reset by peer]
Tusker_ has joined #openwrt-devel
Tusker_ is now known as Tusker
fda has quit [Read error: Connection reset by peer]
fda has joined #openwrt-devel
fda has quit [Remote host closed the connection]
fda has joined #openwrt-devel
indy has quit [Ping timeout: 480 seconds]
indy has joined #openwrt-devel
rmilecki has joined #openwrt-devel
indy has quit []
indy has joined #openwrt-devel
indy has quit [Ping timeout: 480 seconds]
indy_ has joined #openwrt-devel
danitool has quit [Ping timeout: 480 seconds]
decke has joined #openwrt-devel
dedeckeh has joined #openwrt-devel
nitroshift has joined #openwrt-devel
<owrt-snap-builds> Build [#231](https://buildbot.openwrt.org/master/images/#builders/67/builds/231) of `sunxi/cortexa8` completed successfully.
goliath has joined #openwrt-devel
Tapper has joined #openwrt-devel
danitool has joined #openwrt-devel
dansan has joined #openwrt-devel
<dansan> Hello! I have a package that has DEPENDS +dnsmasq-full, but I also need to select PACKAGE_dnsmasq_full_tftp if it isn't already select, how do I do that? I'm currently using "+dnsmasq-full @PACKAGE_dnsmasq_full_tftp", but this only hides my entry if the later isn't selected.
<dansan> The docs seem to imply that I can use +dnsmasq-full:PACKAGE_dnsmasq_full_tftp but I haven't been able to get that to work: https://openwrt.org/docs/guide-developer/packages#dependency_types
<dansan> Oh, I'm still on v19.07
abiliomarques has joined #openwrt-devel
<mrkiko> hurricos: I know about hwsim module
<mrkiko> good morning / whatever
<stintel> ok, odroid c2 + 5.10 built with gcc8 also doesn't build. could give it another try with gcc 10 but I suspect it might just be something in the kernel
<stintel> this is going to be painful to figure out
_lore_ has quit [Ping timeout: 480 seconds]
_lore_ has joined #openwrt-devel
rsalvaterra has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
rsalvaterra has quit [Quit: Leaving]
* enyc meeps
<stintel> meep meep
<ldir> stintel: ping - i found https://www.alfonsobeato.net/arm/how-to-access-safely-unaligned-data/ - this suggests that the packed attribute tells gcc to use unaligned access supporting instructions
<stintel> ldir: reping after workday please :)
goliath has joined #openwrt-devel
<ldir> I now think your original patch is fine, and is the least invasive change
abiliomarques has quit [Remote host closed the connection]
abiliomarques has joined #openwrt-devel
f5- has joined #openwrt-devel
f5 has quit [Ping timeout: 480 seconds]
adschm has joined #openwrt-devel
<abiliomarques> hello, has anyone used perf or oprofile recently in openwrt? most recent entry I can find about the topic is from 2012: http://false.ekta.is/2012/11/cpu-profiling-applications-on-openwrt-with-perf-or-oprofile/
<PaulFertser> abiliomarques: you'll be the OpenWrt general performance hero :)
<stintel> I'm using perf regularly
<abiliomarques> I tried it with my port, but the only thing I get is "Segmentation fault" :(
<abiliomarques> I will try to get out of that state, but I was wondering if there were better tools available
<PaulFertser> stintel: on mips?
<abiliomarques> yep
<abiliomarques> wait, I had a collapsed window, misread the stintel part
<stintel> PaulFertser: I'm pretty sure I've done it on mips at some point, but not recently
nitroshift has quit [Ping timeout: 480 seconds]
<abiliomarques> PaulFertser? why the question specifically about MIPS?
<PaulFertser> abiliomarques: for segfaults you can consider using gdbserver and scripts/remote-gdb
<PaulFertser> abiliomarques: just in case, perf might be doing something low-level enough so that it's target specific in some aspects.
<rmilecki> abiliomarques: oprofile is something ooold, I think it uses some abonded kernel api
<rmilecki> abiliomarques: perf should work fine
<rmilecki> abiliomarques: on arm it requires some interrupts specified in a DT I think
<abiliomarques> rmilecki: thanks for the comments. Any idea about MIPS?
<stintel> historically perf, strace, gdb, were often failing to build, I remember being bitten by that all the time, so I've ended up disabling them in many of my configs
<stintel> as such, I currently can't test on mips devices
<stintel> scratch that, octeon (mips64) master build from 5.4.117 #0 SMP Thu May 13 13:24:01 2021 mips64 GNU/Linux has working perf top
<rmilecki> abiliomarques: i think i used perf on MIPS last time in the 2013
<rmilecki> so my experience is worthless today ;)
<abiliomarques> you make it sound worse than working with an 8051 ;)
<mrkiko> abiliomarques: on what device are you working?
<abiliomarques> a QCA4531
<mrkiko> abiliomarques: :D great! Good luck.
<mrkiko> abiliomarques: have you seen my mail about R6100? I'm stuck on the switch part
<abiliomarques> not in the mailing list
<mrkiko> abiliomarques: oh... I sent it there. Mhm.
wulfy23 has joined #openwrt-devel
<abiliomarques> are you talking about the netgear? are you porting it to the latest OpenWRT?
<wulfy23> used perf for flamegraphs bcm2711 and ipq806x no problems
<mrkiko> abiliomarques: basically, tying to port R6100 to ath79 - ar9344 SoC. Can get icmp replies back (tcpdump sees them but ping not due to timing / corruption maybe).
<mrkiko> abiliomarques: that's the intention,yes
<mrkiko> abiliomarques: it seems like there is interest for the device still, but no one ported it. I'm trying but no luck so far with the switch. Ping -s 2 works :D but you know, ssh is difficult with such an mtu
<abiliomarques> good luck, I'm still porting to 19.07, from a very outdated qualcomm fork from 2015 (QSDK)
<mrkiko> abiliomarques: so youre dealing with ar71xx / C ?
<abiliomarques> yeah
<mrkiko> abiliomarques: when you feel like it, may I ask for some comments / help' Since I guess you'll be able to can the details mof the r6100 C code very much
<stintel> rstrip.sh: /home/staff/stijn/build/openwrt/build_dir/target-mipsel_24kc_musl/toolchain/ipkg-mipsel_24kc/libgcc/lib/libgcc_s.so.1: shared object
<stintel> o_O
<abiliomarques> for now ... I started the port for openwrt 18 a while ago, in order to learn. got it to boot, get stable network and got busy with other stuff... I resumed recently, want to go to 21, but decided it would be easier to finish ironing the issues in 19
<PaulFertser> abiliomarques: are you porting to ath79 or ar71xx ? If the latter then you better stop :)
<mrkiko> PaulFertser: I guess he sees it as an intermediate step to make things easier
<mrkiko> And, BTW- there was some rumors around the code for the internal ar9344 switch being droppped. In my opinion this isn't true. But would like to know from you folks
<abiliomarques> PaulFertser: I already had the port to ar71xx, it was up and running back in 2018 ... I plan to move to ath79, but I know it will be a breaking change, so I'm using ar71xx to learn... it helped to find the issue with MUSL being slow on syscalls
<PaulFertser> abiliomarques: with ath79 you'll have to write the DTS from scratch, your machine file will only be useful as a reference.
<mrkiko> ehehe, yes.
nitroshift has joined #openwrt-devel
<abiliomarques> whoa, this is going to be fun ... compiled gdb, ran perf with a breakpoint on the first line of main, it crashes before :)
<PaulFertser> abiliomarques: but you can still see "backtrace" right?
<abiliomarques> says "no stack"
<PaulFertser> abiliomarques: was perf built some normal way or is there anything tricky about the binary you're trying to run?
<abiliomarques> I'm just calling "perf"
Tusker has quit [Quit: Time wasted on IRC: 13 hours 12 minutes 51 seconds]
<abiliomarques> without any arguments
aiyion_ has joined #openwrt-devel
aiyion has quit [Remote host closed the connection]
_lore_- has joined #openwrt-devel
_lore_ has quit [Read error: Connection reset by peer]
Tapper has quit [Ping timeout: 480 seconds]
_lore_ has joined #openwrt-devel
_lore_- has quit [Read error: Connection reset by peer]
rsalvaterra has joined #openwrt-devel
aiyion_ is now known as aiyion
dangole has quit [Remote host closed the connection]
dangole has joined #openwrt-devel
swegener has quit [Quit: leaving]
swegener has joined #openwrt-devel
<abiliomarques> I got it running!, though I did in another MIPS, with 128 MB of RAM
<PaulFertser> What was the culprit?
minimal has joined #openwrt-devel
rsalvaterra has quit [Quit: Leaving]
<abiliomarques> RAM
<abiliomarques> does anyone know if there is a way to do perf remotely (like one does with gdb)
<abiliomarques> 64 MB are not enough these days ;)
<stintel> I would suggest not spending too much time on 64MB devices these days
rua has quit [Remote host closed the connection]
rua has joined #openwrt-devel
<abiliomarques> I know, but for me is a device to learn the tricks of the trade... is what I have at hand that is not one of my home routers
<abiliomarques> and without luci, there is still plenty of ram for things like mosquitto
hitech95 has joined #openwrt-devel
<hitech95> mkresin: ping
<hitech95> Who is the current maintainer of ltq? I have a question about falcol
<hitech95> *falcon
adschm has quit [Quit: ~ Trillian - www.trillian.im ~]
hexa- has quit [Quit: WeeChat 3.1]
nitroshift has quit [Quit: Gone that way --->]
hexa- has joined #openwrt-devel
Tapper has joined #openwrt-devel
dangole has quit [Remote host closed the connection]
dangole has joined #openwrt-devel
dangole has quit [Ping timeout: 480 seconds]
rejoicetreat has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
<mkresin> hitech95: pong
<mkresin> hitech95: falcon is more or less unmaintained and incomplete.
<hitech95> YEa, I've seen. Is it due to the lack of omci binaries and kernel modules? Any chances that max linear release something for 10 years onld hw?
<hitech95> mkresin ^^^
<mkresin> MxL != lantiq. I do not see any interest in open source
fda- has joined #openwrt-devel
<hitech95> mkresin: didnt Mxl buy lantiq hw from intel? All died after Intel bought Ltq :( My w8970 with 16MB flash mod is till rocking on a remote location (runnin LEDE) ... that was really good HW!
fda has quit [Ping timeout: 480 seconds]
decke has quit [Quit: Leaving.]
fda- has quit [Quit: ZNC - https://znc.in]
fda has joined #openwrt-devel
Rentong has joined #openwrt-devel
rua has quit [Quit: Leaving.]
goliath has joined #openwrt-devel
Tapper has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
<hurricos> mrkiko: Hey there! You do? My background is limited to this set of articles and some brief research: https://linuxembedded.fr/2021/01/emulating-wlan-in-linux-part-ii-mac80211hwsim
Rentong has quit [Remote host closed the connection]
<Habbie> fpsusername[m], so cheap
<Habbie> fpsusername[m], i'm currently waiting for KPN department 'media relations' and can hopefully publish my exploit soon
<fpsusername[m]> Cool
<fpsusername[m]> I could get network to work on the extender (just stock firmware), but it suuuucks
<stintel> wifi-versterkers
<stintel> *sigh*
Rentong has joined #openwrt-devel
<stintel> gebakken lucht much
<fpsusername[m]> It's so slow because it forces 2.4GHz and you can´t disable that or even split the SSID names
<fpsusername[m]> Literally got 1/10th of the speed
<fpsusername[m]> stintel: Vers uit de oven
<stintel> =)
Rentong has quit [Ping timeout: 480 seconds]
Rentong has joined #openwrt-devel
clef has joined #openwrt-devel
<Slimey> lo
Rentong has quit [Remote host closed the connection]
rsalvaterra has joined #openwrt-devel
dedeckeh has quit [Remote host closed the connection]
rsalvaterra has quit [Quit: Leaving]
Rentong has joined #openwrt-devel
Rentong has quit [Ping timeout: 480 seconds]
adschm has joined #openwrt-devel
clef has quit [Ping timeout: 480 seconds]
minimal has quit []
Tapper has joined #openwrt-devel
hitech95 has quit [Remote host closed the connection]
Borromini has joined #openwrt-devel
<wb9688> Ah, stintel is ook Nederlands dus
jbowen has quit [Ping timeout: 480 seconds]
<Borromini> nee Belgisch...
jbowen has joined #openwrt-devel
<wb9688> Ah
<wb9688> Daar spreken ze ook Nederlands =)
<Borromini> ;)
jlsalvador has quit [Read error: Connection reset by peer]
jlsalvador has joined #openwrt-devel
<owrt-snap-builds> Build [#290](https://buildbot.openwrt.org/master/images/#builders/1/builds/290) of `ath79/generic` failed.
AndyCap has quit [Ping timeout: 480 seconds]
<Habbie> wb9688, nouuuu
<wb9688> Oké, of Frans
<Habbie> i suggest you stop digging yourself into that hole ;)
rua has quit [Ping timeout: 480 seconds]
Slimey has quit [Remote host closed the connection]
dangole has joined #openwrt-devel
dangole has quit [Remote host closed the connection]
rua has joined #openwrt-devel
Rentong has joined #openwrt-devel
jbowen has quit [Ping timeout: 480 seconds]
AndyCap has joined #openwrt-devel
jbowen has joined #openwrt-devel
Rentong has quit [Ping timeout: 480 seconds]
jlsalvador has quit [Read error: Connection reset by peer]
jlsalvador has joined #openwrt-devel
dangole has joined #openwrt-devel
foxtrot has quit [Server closed connection]
foxtrot has joined #openwrt-devel
Borromini has quit [Quit: leaving]
rsalvaterra has joined #openwrt-devel
dangole has quit [Remote host closed the connection]
dangole has joined #openwrt-devel
Tapper has quit [Ping timeout: 480 seconds]
rmilecki has quit [Ping timeout: 480 seconds]
valku has joined #openwrt-devel
chkdsk has joined #openwrt-devel
Rentong has joined #openwrt-devel
chkdsk has quit [Quit: Page closed]
Slimey has joined #openwrt-devel
Rentong has quit [Ping timeout: 480 seconds]
Tapper has joined #openwrt-devel
Shiz has quit [Server closed connection]
Shiz has joined #openwrt-devel
<rsalvaterra> tohojo: Sent you a pull replacing which with command -v in sqm-scripts, as we're trying to eventually disable the which applet in BusyBox.
<tohojo> Alright, I'll take a look :)
<rsalvaterra> Great, thanks! :)
rejoicetreat has quit [Remote host closed the connection]
indy_ has quit [Ping timeout: 480 seconds]
abiliomarques has quit [Ping timeout: 480 seconds]
rsalvaterra has quit [Read error: No route to host]
rsalvaterra has joined #openwrt-devel
indy has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
rsalvaterra has quit [Quit: Leaving]
dwmw2_gone has quit [Server closed connection]
<mrkiko> May someone help me find a direct link for Netgear R6100 GPL tar from netgear? I know the page but can't get the link
<mrkiko> slh: thanks a lot. Really.
goliath has joined #openwrt-devel
<slh> plenty of older versions listed there as well
<mrkiko> slh: oh. I see things related to 2.6.3* kernel
<mrkiko> slh: but no help for ath79 porting I guess
<slh> probably not a while lot, yet
<mrkiko> slh: I am trying to understand where I might start from to dig deeper in the ethernet thing.
<slh> mrkiko: you can use the mach file for reference, otherwise it should be rather similar to the tl-wdr3600/ tl-wdr4300
Tapper has quit [Ping timeout: 480 seconds]
<mrkiko> slh: infact I started there. Even those devices use the internal switch of ar9344 ?? Jumping on the DTS of these devices right now!! :D
<slh> should br ar8327n
<slh> should be*
dwmw2_gone has joined #openwrt-devel
dwmw2_gone is now known as dwmw2
<slh> mrkiko: but the tl-wdr3500 shold only use the internal ar9344 switch (all 100 MBit/s ports)
<mrkiko> slh: netgear r6100 is 100m only as well, but I have an eth1 also
<mrkiko> might I try copying the qca,ar8327-initvals as-is?
<stintel> wb9688: oui!
<slh> mrkiko: target/linux/ath79/dts/ar9344_tplink_tl-wdr3500-v1.dts is probably more interesting to you
<mrkiko> slh: thanks a lot. I'm reading it
<mrkiko> slh: I am blind, so not defining leds for the moment, until I can test them
<mrkiko> slh: http://ix.io/3wjj
<slh> my dts foo isn't the best...
<mrkiko> slh: :D you're in good company in that case
<slh> I kind of understand what I'm looking at, but beyond that...
adschm has quit [Quit: ~ Trillian - www.trillian.im ~]
<mrkiko> let's see if I am able to exchange some packets with the device after flashing
<mrkiko> ok, I am in a situation I'm experiencing these days. I can exchange only 40-bytes packets with the device
<mrkiko> pll value should be ok
<mrkiko> slh: 200 packets transmitted, 200 received, 0% packet loss, time 824ms
<mrkiko> LOOL
<mrkiko> but 40 bytes sized packets :D
<mrkiko> not bigger
<slh> sorry, I really don't have an idea
<mrkiko> slh: thanks a lot for your help !! You gave me another point to start looking and that's precious.
goliath has quit [Quit: SIGSEGV]
<mrkiko> good night to all ! Or whatever ... depending on TZ :D
Tusker has joined #openwrt-devel
guifipedro__ has joined #openwrt-devel
guifipedro has quit [Read error: Connection reset by peer]
mrkiko has quit [Ping timeout: 480 seconds]
isak has quit [Remote host closed the connection]