jeff___m has quit [Ping timeout: 480 seconds]
<russell--> can someone point me at where the '|' operator comes from in the various image makefiles? e.g. how to read KERNEL := kernel-bin | append-dtb | lzma | loader-kernel | uImage none | arcadyan-trx 0x746f435d | pad-to $$(KERNEL_SIZE) ?
<owrt-images-builds> Build [#66](https://buildbot.openwrt.org/images/#/builders/115/builds/66) of `master_x86/64` completed successfully.
filimonic has quit [Remote host closed the connection]
filimonic has joined #openwrt-devel
jeff___m has joined #openwrt-devel
jeff___m has quit [Ping timeout: 480 seconds]
jeff___m has joined #openwrt-devel
jeff___m has quit [Ping timeout: 480 seconds]
<Mangix> interesting that irssi logs are easier to grep than quassel logs
fakuivan has quit [Remote host closed the connection]
fakuivan has joined #openwrt-devel
xback has quit [Remote host closed the connection]
xback has joined #openwrt-devel
<owrt-images-builds> Build [#70](https://buildbot.openwrt.org/images/#/builders/45/builds/70) of `master_sunxi/cortexa7` completed successfully.
jeff___m has joined #openwrt-devel
tSYS has quit [Quit: *squeak*]
tSYS has joined #openwrt-devel
jeff___m has quit [Ping timeout: 480 seconds]
slingamn has quit [Quit: leaving]
<schmars[m]> russell-- pipe operator from shell. take the kernel-bin, then append the device tree binary to it, the lzma the result, etc.
<schmars[m]> ah. "where" it is in the codebase i don't know :-)
slingamn has joined #openwrt-devel
jeff___m has joined #openwrt-devel
Slimey has quit [Remote host closed the connection]
jeff___m has quit [Ping timeout: 480 seconds]
swalker has quit [Read error: No route to host]
swalker has joined #openwrt-devel
minimal has quit [Quit: Leaving]
rua has quit [Quit: Leaving.]
xback has quit [Ping timeout: 480 seconds]
xback has joined #openwrt-devel
rua has joined #openwrt-devel
rua has quit [Remote host closed the connection]
<russell--> ynezz: thank you!
jeff___m has joined #openwrt-devel
jeff___m has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
rua has quit [Remote host closed the connection]
rua has joined #openwrt-devel
goliath has joined #openwrt-devel
fakuivan has quit [Remote host closed the connection]
fakuivan has joined #openwrt-devel
<jow> russell--: split_args in include/image.mk
jeff___m has joined #openwrt-devel
jeff___m has quit [Ping timeout: 480 seconds]
floof58 has quit [Ping timeout: 480 seconds]
floof58 has joined #openwrt-devel
robimarko has joined #openwrt-devel
<nbd> robimarko: ping
<robimarko> nbd: pong
<nbd> so i just noticed again that we still have the two ath10k build variants and https://github.com/openwrt/openwrt/pull/11584 was never finished
<nbd> i'd like to get this sorted out soon, since the build variants are annoying
<robimarko> I agree
<nbd> in my opinion, dynamically modifying modules.d files in preinit is a bit weird. my preference would be to move forward with autoselecting the mode in the driver based on available system RAM, as long as the module parameter is at 0 (default)
<nbd> that way the user can override it via modules.conf if needed
<nbd> what do you think?
jeff___m has joined #openwrt-devel
<robimarko> I dont really have a hard opinion, basically whatever is the easiest
<robimarko> RAM size could be a good measure
<nbd> what is the current per-board selection of smallbuffers vs regular based on?
<nbd> is it just an ad-hoc case by case decision?
<robimarko> Its basically up to the developer adding the board
<nbd> ok
<robimarko> I think it was if RAM was less than 256MB then you want to use the smallbuffers
<nbd> makes sense
<nbd> should probably check for something like <230MB (to account for reserved memory)
<nbd> would you have some time to take care of this? i don't have any hw for testing available right now
<nbd> i can help reviewing it
<nbd> i'll take care of merging the mac80211 update soon
<robimarko> Maybe over the weekend, I retired all of my ath10k gear
<nbd> ok, thx
<robimarko> I will see if the original author wants to respin it
<nbd> thx
<robimarko> Thanks
jeff___m has quit [Ping timeout: 480 seconds]
<slh> e.g. the (ipq807x) xiaomi ax3600 uses kmod-ath10k-ct-smallbuffers for its qca9888 AIoT radio
<slh> (not really a very useful radio, but it's ath10k)
<robimarko> Yeah, it has only 512MB of RAM so that is why smallbuffers for the ath10k one
<robimarko> This kind of nukes the RAM size only idea
<nbd> do a mix of ram-size default + ship a default modules.conf in base-files on ipq807x
robimarko has quit [Remote host closed the connection]
robimarko has joined #openwrt-devel
<f00b4r0> why not check on <=128M? Anything >128M is going to be 256 or more, no? This avoids the guesstimate threshold
<robimarko> Because of cases like AX3600 which has 512M of RAM
<robimarko> But needs the smallbuffers version
Piraty has joined #openwrt-devel
<f00b4r0> well check for <230 would still not work there?
<robimarko> No, because it would have more RAM but needs the smallbuffers version
<f00b4r0> ok my argument was only about not using a guesstimate like 230. Not about combining with other checks :)
<f00b4r0> i.e. if you want to check for "256 or more", use "!<=128" instead of "!<230"
jeff___m has joined #openwrt-devel
<robimarko> I get what you want to say, that is fine
<robimarko> We will just need to override those checks for special cases like this
Borromini has joined #openwrt-devel
jeff___m has quit [Ping timeout: 480 seconds]
<slh> f00b4r0: the 'problem' with the ax3600 is not the ath10k radio, but with 512 MB being already rather tight for its two main ath11k radios (ath11k really eats RAM for breakfast), so anything that conserves RAM -such as ath10k-ct-smallbuffers for the not useless, but of little use AIoT radio- is needed
<Piraty> ` make -j16 target/linux/compile package/kernel/linux/compile ` results in some module packages (not empty) but kernel package is empty. which target is required?
<robimarko> There isnt a real kernel package AFAIK
rua has quit [Quit: Leaving.]
<Piraty> oh
<robimarko> make target/linux/compile
<robimarko> Will build the kernel and any kmod
jeff___m has joined #openwrt-devel
<jow> maybe the formula should be simply: if ((amount of total ram / number of phys) <= 256) thne use smallbuffers
jeff___m has quit [Ping timeout: 480 seconds]
<Borromini> robimarko: congrats on joining the team :)
<robimarko> Borromini: Thanks
<Habbie> robimarko, congrats!
castiel652 has joined #openwrt-devel
<castiel652> robimarko, congrats!
* Piraty throws confetti
<robimarko> Thanks everybody
jeff___m has joined #openwrt-devel
jeff___m has quit [Ping timeout: 480 seconds]
xback has quit [Remote host closed the connection]
xback has joined #openwrt-devel
jeff___m has joined #openwrt-devel
rua has joined #openwrt-devel
jeff___m has quit [Ping timeout: 480 seconds]
rua has quit [Quit: Leaving.]
dangole has joined #openwrt-devel
<rmilecki> can I encourage some ppl here to look at
<rmilecki> [PATCH] base-files: sysupgrade: include uci-defaults script disabling services
<rmilecki> it's a quesion whether we want to have "enabled" (or "disabled") UCI option for every configurable service?
<rmilecki> right now some services can be disabled only using /etc/init.d/foo disable
rua has joined #openwrt-devel
castiel652 has quit [Quit: Leaving]
SlimeyX has joined #openwrt-devel
Slimey has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
<f00b4r0> nbd: unfortunately we've got a crash. This time the backtrace is available, see end of http://sprunge.us/Cicovy
sa7mfo has joined #openwrt-devel
<sa7mfo> could someone please have a look and help me figure out why these test builds fails? I'm not sure if it is related to my change at all..
<f00b4r0> nbd: device is still up in case more forensics are needed
* f00b4r0 bbiab
minimal has joined #openwrt-devel
goliath has joined #openwrt-devel
jeff___m has joined #openwrt-devel
jeff___m has quit [Ping timeout: 480 seconds]
<mrkiko> svanheule: hi! I am back :)
<mrkiko> svanheule: the point was upstream wanted the limit be customizable in general, since the quality of manifacturing and other aspects may change what temperatures the chip might support. And that's why they suggested to implement reading the limits from the DTS.
<mrkiko> svanheule: this was the ideaI got from it, but maybe I am wrong and at the moment I don't have the link of the thread here. But I will check
Borromini has quit [Ping timeout: 480 seconds]
xback has quit [Remote host closed the connection]
cmonroe has quit [Read error: Connection reset by peer]
cmonroe has joined #openwrt-devel
xback has joined #openwrt-devel
<mrkiko> svanheule: ok, now I remembe rhings better. Yes, the only way might be to look at who the author is and ask them to try
<rmilecki> jow: i'm not much familiar with LuCI
<rmilecki> jow: do we have some generic UI module for displaying & managing service? using /etc/init.d/<service>
<rmilecki> i can't find anythig like that
<rmilecki> jow: could I add CBIService to form.js to manage /etc/init.d/<service> ?
Borromini has joined #openwrt-devel
jeff___m has joined #openwrt-devel
<sandberm> Hello. A PR for adding a mt7621 based device would require attention from reviewers. Also, if you can think of a neat alternative way for fetching ethaddr from u-boot env on ubi I am interested. https://github.com/openwrt/openwrt/pull/13798
cmonroe has quit [Ping timeout: 480 seconds]
jeff___m has quit [Ping timeout: 480 seconds]
<svanheule> mrkiko: makes sense to have DT-specified limits, I guess. Thermal settings are pretty device specific
<robimarko> mrkiko, svanheule: What device are you guys talking about?
<svanheule> robimarko: realtek switch (Zyxel XGS1250-12)
<robimarko> Oh the fan trips
<svanheule> I think I saw someone speak about "when these phys are eventually used on big endian devices". Been doing that for a while already on our (underpowered) BE MIPS devices B-)
<robimarko> Oh you hit the stupid AQR driver not clamping the temperature range
<svanheule> robimarko: yup. And apparently upstream not liking the suggestion of clamping like all other hwmon devices :-/
<Borromini> svanheule: o/
<svanheule> Borromini: \o
<svanheule> robimarko: congrats on making it on the team btw :)
<robimarko> Thanks
cmonroe has joined #openwrt-devel
minimal has quit [Quit: Leaving]
jeff___m has joined #openwrt-devel
jeff___m has quit [Ping timeout: 480 seconds]
dangole has quit [Ping timeout: 480 seconds]
<rmilecki> sandberm: u-boot env for MAC is still in plans
<rmilecki> sandberm: and it slowed down since Rob decided he doesn't like where we got with NVMEM layous
<rmilecki> ppl need some time to rest from it i'm afraid
<sandberm> rmilecki: okies, that's unfortunate but we'll just have to wait it out then. In the meantime, I guess ppl are not too keen on adding a new method to base-files/files/lib/functions/system.sh
<sandberm> rmilecki: one option is to hard code u-bootenv.conf in 02_network and use fw_getenv, but it's a bit clumsy.
Bayruth has joined #openwrt-devel
<Bayruth> Hi! I have some trouble understanding how DTBs are handled in OpenWrt. I'd like to add support for SP7021 (Banana Pi BPI-F2S). They have a custom U-Boot repository. Thus I've created a uboot-sunplus package for generating the U-Boot. https://github.com/tibbotech/plus1_uboot Only problem is that it expects me to define a DTB file.
<Bayruth> Other targets in OpenWrt do not append the DTB to the U-Boot, they append it somehow to the kernel image, correct?
<KanjiMonster> Bayruth: DTB files are usually included in the fitImage along the kernel
<Bayruth> Thanks! So there must be some option in U-Boot I need to disable so that it does not expect a DTB?
<Bayruth> It seems they have some custom layout for their U-Boot due to some custom signature verification... Thus I think the easiest way would be to just pass the DTB file to the U-Boot build process.
<Bayruth> Unfortunately I can't get the generation of the DTB to work... I've added the DTS file in target/linux/sunplus/files/arch/arm/boot/dts and it gets copied correctly to the kernel build directory. The kernel builds successfully, but only for the upstreamed sunplus-sp7021-demo-v3.dts board I get a dtb file...
<PaulFertser> Bayruth: U-Boot needs DTB to work on a board
<PaulFertser> DTB describes hardware, so U-Boot needs to know what's connected where, so it needs that information, as Linux does.
<Bayruth> Okay... So do I need to add the DTS file in arm/boot/dts/Makefile to generate a DTB? For other targets like ipq4xx I don't see any magic there.
<PaulFertser> You mean for U-Boot itself?
<PaulFertser> Its build system should be producing a binary from source on its own.
<Bayruth> I've assumed I need to build the kernel first to get the DTB... Unfortunately it doesn't. They (Sunplus) take the DTB from the kernel build process and pass it to the U-Boot make with EXT_DTB parameter
<PaulFertser> Now that explains why it's confusing.
robimarko has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<Bayruth> Thank you for the help so far. So I want to create the DTB file in U-Boot now... The problem is that these DTS files have includes which DTC can not resolve. So I need a combined DTS file first if I understand correctly. How do you do this in OpenWrt ordinarily? This combined DTS file needs to be added to U-Boot then, correct? This sounds like redundancy which I would not expect from a Linux project. Thus I assume I'm still misunderstanding it.
<KanjiMonster> Bayruth: dtc supports search paths for includes, you need to pass in-kernel dtc directories to it (assuming this is where they reside)
<Bayruth> Thanks for the hint... It seems fdt_util.py does that stuff ordinarily...
Borromini has quit [Quit: Lost terminal]
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
jeff___m has joined #openwrt-devel
tmn505 has quit [Remote host closed the connection]
jeff___m has quit [Ping timeout: 480 seconds]
fakuivan has quit [Ping timeout: 480 seconds]
minimal has joined #openwrt-devel
<owrt-images-builds> Build [#71](https://buildbot.openwrt.org/images/#/builders/52/builds/71) of `master_ramips/mt76x8` failed.