dgcampea has joined #openwrt-devel
minimal has quit [Quit: Leaving]
Daanct12 has joined #openwrt-devel
tSYS has quit [Quit: *squeak*]
tSYS has joined #openwrt-devel
rua has quit [Quit: Leaving.]
dgcampea has quit [Remote host closed the connection]
dgcampea has joined #openwrt-devel
cmonroe has quit [Ping timeout: 480 seconds]
cmonroe has joined #openwrt-devel
tohojo has joined #openwrt-devel
xes has quit [Ping timeout: 480 seconds]
xes has joined #openwrt-devel
iocampomx has joined #openwrt-devel
<iocampomx> I've finally a working image of a custom-build OpenWRT build for a Mediatek SOC, a couple of times, the WIFI connection got lost (SSID disappeared) without any strange message on the kernel. I've seen some posts around the quality of the wifi driver. Anyone here can provide any advice on how to improve? Not sure if there are more than two drivers and/or if there is anything I have to fine-tune on the kernel menu.
rua has joined #openwrt-devel
<russell--> stintel: having trouble flashing a new m300: http://sprunge.us/opyqyk
slh64 has joined #openwrt-devel
floof58 has quit [Ping timeout: 480 seconds]
floof58 has joined #openwrt-devel
tidalf has quit [Ping timeout: 480 seconds]
<russell--> or, booting. flashing to sd card is not challenging except for popping the case
xavifr has joined #openwrt-devel
iocampomx has quit [Ping timeout: 480 seconds]
robimarko has joined #openwrt-devel
<T-Bone> russell--: have you updated the boot parameters?
T-Bone is now known as f00b4r0
philipp64 has quit [Quit: philipp64]
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_tegra.html has been updated. (100.0% images and 100.0% packages reproducible in our current test framework.)
rua has quit [Quit: Leaving.]
raenye has joined #openwrt-devel
<raenye> anyone familiar with the Makefile system? I was trying to create a kmod package for the upstream hd44780 auxdisplay driver, and I needed unreasonable hacks to make it compile
<raenye> specifically note the ugly way of converting package config to KCONFIG
Daanct12 has quit [Ping timeout: 480 seconds]
<raenye> I also guess it makes sense to create separate kmod packages for charlcd (shared between multiple drivers) and for other drivers (e.g., lcd2s) but I only needed hd44780, so I put everything inside
<linusw> raenye: it looks perfectly fine to me. Good job!
<raenye> linusw: Thanks. but the annoying point is that there are quite a few displays in the kernel, and once CONFIG_AUXDISPLAY is set, it seems I must explicitly set all to no (as done in the commit above with lcd2s and the other one), or otherwise make/linux/compile will ask for them (and fail if it's make V=s)
<raenye> So on my platform there were only two available drivers (others did not have the dependencies), and I don't want to manually set n to 20 others (nor to add kmod packages for everything)
<linusw> raenye: Aha, have you tried to set it all explicitly to "# CONFIG_FOO is not set" in target/linux/generic/config-[5.15|6.1]?
<linusw> Usually when we bring in a completely unselected new subsystem we have to set everything to default to n in those configs in order to not confont 6 million config ops.
<raenye> linusw: that is indeed the missing point
<raenye> I'll try that, thanks
<raenye> how can I make sure I'm not missing any option?
<raenye> (besides compiling on my platforms)
<raenye> linusw: also, does it make sense to have everything under a single "auxdisplay" option?
<raenye> similar to how kmod-sound works
<raenye> you first enable general sound support, then all are beneath it
<linusw> raenye: makes cognitive sense to me, that's how I'd do it.
<raenye> but how to create the hierarchy?
<raenye> no kernel module does it
<linusw> I would even create a new auxdisplay.mk if I felt ambitious.
Tapper has joined #openwrt-devel
<raenye> interesting
<raenye> still I couldn't understand how kmod-sound does it
<linusw> Looking at it
<linusw> Looks like you use the SUBMENU:= directive with a defined menu (string) simply?
<linusw> And add that to everything you want under that submenu? Maybe you tried that already.
<raenye> that'll place it under the submenu
<linusw> Ah you mean like that
<raenye> and DEPENDS make it only visible when the base package is active
<linusw> So you wanna do like kmod-sound-hda-core does with a subsubmenu?
<raenye> exactly
<raenye> or how ac97 is under sound-core
<linusw> I've never done it but did you notice e.g.: $(call AddDepends/sound,kmod-sound-hda-core)
<raenye> not sure when DEPENDS means "hide this unless that" and when it means "activate that"
<linusw> Notice no "+" in front of sound,kmod-sound-hda-core...
<linusw> Is it such that depends that does not use a + creates a hierarchy?
<raenye> AddDepends/sound is just a shorthand AFAICT
<raenye> hmm, maybe that's the thing
<raenye> good catch
<linusw> That's the only differing thing I could see ...
<linusw> Otherwise I'm clueless :/
<raenye> I'll try without a plus
rua has joined #openwrt-devel
<raenye> Indeed it now only displays hd44780 if auxdisplay is set
<raenye> but without hierarchy
<raenye> but alphabetically
<raenye> linusw: moreover, I can remove auxdisplay after activating hd44780, which makes little sense
<linusw> Neat
<linusw> Hm....
<linusw> Yeah I don't know who dreamed up the OpenWrt Kconfig-in-Makefile idea, I guess that comes from good old buildroot...
<raenye> I'm not sure what the $(1) does in AddDepends/sound
<raenye> maybe it's for the use AddDepends/sound,kmod-sound-hda-core
<raenye> OK, in a completely separate menu (auxdisplay.mk) it does work as expected
torv has quit [Quit: torv]
torv has joined #openwrt-devel
rua has quit [Quit: Leaving.]
raenye has quit [Ping timeout: 480 seconds]
tidalf has joined #openwrt-devel
goliath has joined #openwrt-devel
rua has joined #openwrt-devel
raenye has joined #openwrt-devel
tidalf has quit [Ping timeout: 480 seconds]
<owrt-images-builds> Build [#102](https://buildbot.staging.openwrt.org/images/#/builders/91/builds/102) of `openwrt-23.05_mediatek/filogic` completed successfully.
tidalf has joined #openwrt-devel
mentalow has quit [Quit: :]]
mentalow has joined #openwrt-devel
xavifr has quit [Ping timeout: 480 seconds]
tidalf has quit [Ping timeout: 480 seconds]
raenye has quit []
goliath has quit [Quit: SIGSEGV]
robimarko has quit [Remote host closed the connection]
skorpy[m] has joined #openwrt-devel
tidalf has joined #openwrt-devel
<Mangix> alright so Firefox thinks OpenWrt forums are Banking
Slimey has quit [Remote host closed the connection]
Slimey has joined #openwrt-devel
<Habbie> what
<Mangix> hrm it's gone now
danitool has joined #openwrt-devel
<Habbie> heh
<hitech95> Any way to see why a package is not showing in make menuconfig? if I search for its name its there. Starting to think I'm blind
<hitech95> ok my bad I'm blind :D
tidalf has quit [Ping timeout: 480 seconds]
tidalf has joined #openwrt-devel
rz has quit [Remote host closed the connection]
rz has joined #openwrt-devel
tidalf has quit [Ping timeout: 480 seconds]
rz has quit [Ping timeout: 480 seconds]
rz has joined #openwrt-devel
rmilecki has quit [Quit: Konversation terminated!]
rmilecki has joined #openwrt-devel
Borromini has joined #openwrt-devel
Borromini has quit [Quit: Lost terminal]
rmilecki has quit [Quit: Konversation terminated!]
rmilecki has joined #openwrt-devel
<hitech95> what image should I use to sysupgrade on filologic? The update doesn't apply :(
<hitech95> No error in serial or in Luci
<owrt-images-builds> Build [#135](https://buildbot.staging.openwrt.org/images/#/builders/21/builds/135) of `master_sunxi/cortexa8` completed successfully.
robimarko has joined #openwrt-devel
goliath has joined #openwrt-devel
robimarko has quit [Remote host closed the connection]
<linusw> raenye: good work BTW it's quite appropriate use case for OpenWrt so it's nice you fixed this!
<Mangix> wonder if someone has tested mt76 wireless on big endian systems
<Mangix> sounds like a horrible idea.
<jakllsch> sounds like a awesome idea!
<slh> I seem to remember someone in here who tested mt7915 on powerpc
<Mangix> I have an open archer c7v2 with serial hooked up right now. minipcie card is replaceable
<slh> two major concerns, 10 watts on 3.3V and getting cooling right (that was iirc also the issue on that powerpc system, the card was cooking itself and crashing <-- heatsink and ventilation needed)
<Mangix> which card?
<slh> don't ask me for the last details (I just remember it from ~half a year ago in here), but afaik AsiaRF mt7915
<Mangix> right. that comes in dbdc and non
dgcampea has quit [Remote host closed the connection]
dgcampea has joined #openwrt-devel
filimonic has joined #openwrt-devel
<dwfreed> more like year and a half ago
<slh> I remember facts, not dates ;)
<dwfreed> heh
<slh> in case of the archer c7-v1 I wouldn't bother, I don't think the voltage regulators would handle +10watts on 3.3V - and the case most certainly doesn't have decent enough ventilation (same case as my tl-wdr4300, there's pretty much none) - and if 720 MHz mipq 74Kc can take care of servicing the interrupts for mt7915 is very questionable as well
<Mangix> interesting. the turris hardware works fine apparently
<slh> new pigtails probably requierd as well (mhf4)
<slh> I'd call that good luck (and much higher end hardware with more magrins as well)
<Mangix> yeah turris hardware is engineered well
<Mangix> huh interesting. no support for Turris Mox
<Mangix> no turris 1 support either
<linusw> Can we merge this helpful patch from Rani? https://github.com/openwrt/openwrt/pull/13577
lucenera has quit [Quit: The Lounge - https://thelounge.chat]
lucenera has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
f00b4r0 has quit [Quit: Textual IRC Client: www.textualapp.com]
<Mangix> slh: got any other ath79 devices?
goliath has joined #openwrt-devel
<slh> Mangix: tl-wr941nd v2, tl-wr1043nd v1, tl-wdr3600, tl-wdr4300, everything else uses different targets
<Mangix> tl-wr1043nd v1...is that even supported by recent OpenWrt?
<slh> yes'ish, 8/32
<Mangix> I had one before. It was running out of RAM frequently
<slh> I haven't powered it up in a while though (nor the tl-wr941nd v2)
<Mangix> ah yes I also remember I overclocked mine too much and bricked it.
<slh> the tl-wr941nd will go the road to the recycling bin 'soon', I can't really get myself to throw out the tl-wr1043nd v1 yet (and have a faint hope for it to learn DSA via realtek_smi)
<Mangix> hrm the devices uses non qca switches are all old on ath79
<Mangix> /s/uses/that use
<slh> apparently QCA wasn't able to deliver anything early during their ath79 SOC cycle
<Mangix> makes sense
<slh> the tl-wr1043nd v1 was a good router back then (the tl-wr941nd v2 less so), its wireless side with draft-n wifi has never been great though - and sadly only 32 MB RAM
<Mangix> anyway, seems that with https://github.com/openwrt/openwrt/pull/13589 there's a way forward with DSA
<slh> yeah, would be great
<Mangix> kernel size will increase though
<Mangix> which gives an excuse to give the axe to these old devices
<slh> my old stack of bcm47xx devices (wrt-54gl, wl-500gx, wl-500gP/ath5k, wrt610nv1) will probably also meet the gauntlet, when I find them again (still boxed up somewhere)
<slh> then almost everything will be on DSA for me (except ipq807x and the tl-wr1043ndv1)
<Mangix> ipq807x is not DSA?
<slh> nope, very similar situation as on ipq40xx-before-DSA
<slh> very basic switchdev driver
<dwfreed> I just update my nbg
<dwfreed> it's still on 19.07
<dwfreed> s/just/should/
<slh> dwfreed: r23990-4145ff4d8a (main/2023-09-20) with DSA works well on mine
<slh> err, sorry, that one didn't have DSA yet, the DSA build is on another computer - but it works
<dwfreed> ah, that is new-new
<dwfreed> like, last week new
<slh> the nbg6817 is great in the sense that it's trivial to recover - and the dual-firmware allows retaining the working/ fully configured old firmware (ideally on the second partition set, as recovering with always rewrite the first)
<dwfreed> pretty sure my second partition is still factory firmware at the moment :D
<dwfreed> actually first
<dwfreed> I'm running off the second
<dwfreed> I also want to resize the root partitions, that'll be fun
<dwfreed> ooh, that fake-rootfs flag looks handy
<slh> yep, works well
<dwfreed> oh nope, both 19.07 now
<dwfreed> I think I remember now, I flashed the same image back again to make it switch back to first partition, so that one day when I was brave enough I could resize the second partition
<slh> 'should work', but... risky the ZyXEL pre-uboot loader has some means to rewrite the eMMC, but undocumented/ no idea how exactly
<dwfreed> yeah, I was going to do it at first, and then while mucking around, I saw the ZyXEL loader and was scared I'd brick the whole thing, so wanted to have serial capability first
<dwfreed> then never bought a serial adapter
<dwfreed> now I have one, just haven't done it
<slh> same here, I didn't strictly need it so far
<dwfreed> same
<dwfreed> worst case I could always extroot to the big partition
<slh> 4 MB for the kernel is more of a constraint long term than the 64 MB for rootfs+overlay
<slh> not great, considering the 3.2 GB unused space, but well, it's still a router, not a server
<dwfreed> if I try it, I might try growing that too
<dwfreed> make it like 8 or 16 MB for kernel, so there's lots of room to grow
<slh> I always had a dream to use the unused space on the 4 MB spi-nor flash for an initramfs recovery system - but that's veeeery small
<dwfreed> heh
<Mangix> I did something similar on a Pogoplug 4 I had once
<Mangix> that was with Arch Linux ARM
<slh> 2'162'688 KB...
<dwfreed> slh: is your script packaged at all? eg if I want to burn it into an image, short of just dropping it in /bin manually
<slh> dwfreed: no, but there is https://github.com/pkgadd/owrt-feed-pkgadd/tree/master/utils/nbg6817-tools - I always include it into my builds
<dwfreed> your own feed is fine too
<dwfreed> what's the kvalo firmware?
<dwfreed> that explains nothing :P
<slh> apart from being the wireless driver maintainer, he's employed by QCA - and that's the 75%-official firmware repo for ath10k, getting newer firmware earlier than linux-firmware
<slh> when it works, the new versions will (eventually) pushed to linux-firmware
<slh> right now, both are on 10.4-3.9.0.2-00157 (https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/log/ath10k/QCA9984) for qca9984, so no difference (anymore - and ath10k firmware development isn't that active anymore)
<slh> back then, kvalo updated it once or twice a month with newer versions (while linux-firmware lagged behind quite considerably)
<slh> looking through all the chipsets I care about (qca4019, qca9887, qca9888, qca988x, qca9984), linux-firmware now is on exactly on the same versions for those - and with the very infrequent updates for ath10k we're seeing now, I'll probably drop it soon
hitech95 has quit [Ping timeout: 480 seconds]
goliath has quit [Quit: SIGSEGV]
Tapper has quit [Quit: Tapper]
iocampomx has joined #openwrt-devel