**** BEGIN LOGGING AT Sun May 31 02:59:57 2020 May 31 03:25:18 uhm ... quick question: I'm fiddling around trying to create a new luci app (JS API). but ... how do I make luci reload the menu.d entries? they are cached somewhere, but where? May 31 03:25:46 rm -r /tmp/luci-* does not do the trick. May 31 03:26:15 oh. wait. they are cached client-side? duh. May 31 03:26:28 disregard please. May 31 03:29:06 build #408 of pistachio/generic is complete: Failure [failed defconfig dltar] Build details are at http://buildbot.openwrt.org/master/images/builders/pistachio%2Fgeneric/builds/408 blamelist: Vladislav Grishenko May 31 03:30:35 build #401 of tegra/generic is complete: Failure [failed defconfig dltar] Build details are at http://buildbot.openwrt.org/master/images/builders/tegra%2Fgeneric/builds/401 blamelist: Vladislav Grishenko May 31 11:55:37 suchst du was neues ?*yawn* May 31 11:55:44 *yawn* May 31 11:56:23 i just spent 2 hours looking for a bug that turned out to be 2 enum vals swapped in order, not much fun ... May 31 12:01:21 i spent a day why my ported python app doesn't work on openwrt - turns out, a plugin only loads *.py files, ignores everything else (incl. *.pyc/*.pyo) - no exception, no errors - just "blank" May 31 12:06:43 YaY May 31 13:37:40 build #409 of pistachio/generic is complete: Success [build successful] Build details are at http://buildbot.openwrt.org/master/images/builders/pistachio%2Fgeneric/builds/409 May 31 13:45:22 build #402 of tegra/generic is complete: Success [build successful] Build details are at http://buildbot.openwrt.org/master/images/builders/tegra%2Fgeneric/builds/402 May 31 16:24:36 Hi, is it possible to run an old kernel (3.10.y) with latest packages and feature ? May 31 16:25:47 basically I want to enable 3.10 kernel into 19.07 or master ? will it compile fine for daily usage ? May 31 16:33:12 ador, no because openwrt does not run vanilla kernel so you might have to backport patches depending on your target May 31 16:33:39 also since openwrt does use newer compilers there might be breakage due to that May 31 16:33:50 ya, i have backports for my specific target..will it possible ? May 31 16:34:19 the number of patches you have to backport might also depend on your target platform May 31 16:34:36 ya..i will use 4.6 gcc and 2.21 binutils toolchain May 31 16:34:38 this begs the question: why would you want to do that to begin with? May 31 16:34:45 too much time May 31 16:34:50 probably May 31 16:35:07 for a obsolete mips arch...last support r from kernel 3.10.y May 31 16:35:33 define obsolete mips arch? May 31 16:35:41 porting into new is a lot of work..could take whole year May 31 16:35:47 Lexra May 31 16:36:11 Lexra mips May 31 16:37:11 uh. No unaligned accesses May 31 16:37:14 neat. May 31 16:37:24 tho I start working new port but I'm almost giving up..too much work May 31 16:37:25 https://github.com/shibajee/linux-rtl8196e May 31 16:37:31 https://github.com/shibajee/binutils May 31 16:37:37 https://github.com/shibajee/gcc May 31 16:37:40 with older toolchain you will also have lots of breakage with newer packages May 31 16:37:49 https://github.com/shibajee/uclibc-ng May 31 16:38:13 trying to run modern openwrt with such an old kernel seems like a no-go. My understanding is that the system relies on recent kernel APIs May 31 16:38:54 out of curiosity, how much mem and storage would your device have? May 31 16:39:36 one with 4/32 and one with 8/64 May 31 16:40:05 4/32 will need heavily tailored image to "work" May 31 16:40:50 even wifi module probably won't load in 32MB May 31 16:40:59 i assume this is very ancient hardware? Probably 802.11b, maybe g? May 31 16:41:55 150Mbps b/g/n other one is 1200mbps b/g/n/ac May 31 16:42:07 o_O May 31 16:42:25 ah yes Lexra May 31 16:42:33 instead of using openwrt you could use sth. like buildroot project because there are less hacks involved there May 31 16:42:44 check https://buildroot.org/ May 31 16:42:55 less kernel patches May 31 16:43:12 less wireless patches May 31 16:43:47 ya..buildroot also in my mind May 31 16:44:19 problem with stock firmware that they a loads of vulnerability May 31 16:44:43 u can literally access to root with some ssh hacks May 31 16:44:44 I'm confused. Lexra went under in 2003. 802.11ac went out in 2014 May 31 16:44:59 who would be mad enough to use cores from a defunct company 10 years after? :) May 31 16:45:09 Realtek bought lexra arch named it RLX May 31 16:45:43 This r all realtek SoCs I'm working with May 31 16:45:47 ah May 31 16:46:18 Yep; the cheapest of the cheap usually use these realtek lexra socs May 31 16:46:30 my understanding is, "good luck with that" ;P May 31 16:46:35 works better as a paperweight May 31 16:46:38 ^ May 31 16:47:08 realtek wireless drivers are really bad in kernel because basically nobody from their side cares about proper integration May 31 16:47:41 loads of different github repos with different drivers trying to compile on various mainline kernel versions May 31 16:48:05 https://openwrt.org/docs/techref/hardware/soc/soc.realtek May 31 16:48:07 yum May 31 16:48:10 0 upstream sources from there side...most of them r ancient codes I don't even understand May 31 16:48:16 *their May 31 16:48:25 "The first big problem is that the Lexra CPU core found in these chips isn't one of the platforms directly selectable in gcc. So these third-party projects use a hacked up old version of gcc. And everything kind of falls apart from there. Also open-source drivers for Realtek wifi chips are limited." May 31 16:49:07 just reading that page I'd say you really only want to go that way if you have a gun to your head and absolutely no other hardware option available :) May 31 16:49:12 one driver code is around 234KB and I think 80% of them r useless comments inside the code May 31 16:51:56 oh that brings up painful memories... last year I got hold of very interesting devices, but they had this realtek SoC, so it's just a no-go on OpenWrt... May 31 16:52:12 the manufacturer just uses the SDK provided by Realtek May 31 16:52:16 well adding new arch for gcc isnt impossible - ARC ppl seemed to use openwrt too a while ago and the probably are in gcc mainline with their hardware May 31 16:52:24 check https://lists.openwrt.org/pipermail/openwrt-devel/2017-February/007096.html for that small series May 31 16:52:46 from my notes: May 31 16:52:46 Linux version 2.6.30.9 (compile@96d8dd53b16e) (gcc version 4.4.6 (Realtek RSDK-1.5.6p2) ) #2 Tue Mar 26 12:41:29 UTC 2019 [luna SDK V1.6.2] May 31 16:52:57 2.6.30 in 2019, that's right May 31 16:53:01 mmm. gcc and binutils could certainly be taught lexra, *good luck* getting that upstream though May 31 16:53:05 plntyk: it's not impossible except you probably missed the key point which is the patent situation around software emulation for unaligned accesses isn't resolved. May 31 16:53:13 nobody is going to want to touch that with a 10ft pole. May 31 16:53:36 Redfoxmoon: indeed :P May 31 16:53:53 Even if you didn't have any legal problems, nobody would want to maintain the support May 31 16:54:00 that too May 31 16:55:41 zorun, at least it isn't 2.4 :P May 31 16:55:50 https://www.linux-mips.org/wiki/Lexra speaks somethink of a license - but unaligned accesses are a different issue and with Realtek since Lexra as company technically does not exist because they were bought by realtek May 31 16:55:58 ? May 31 16:56:26 :D May 31 16:56:46 I am sure I have devices with 2.4 on them somewhere here May 31 16:56:52 plntyk: tl;dr: "Which means it isn't clear if Linux can or cannot legally emulate the instructions." May 31 16:57:07 although the patent expired May 31 16:57:22 ^ well that solves the issue May 31 16:57:28 still, Redfoxmoon pointed out that nobody is going to want to assume the maintenance burden May 31 16:57:36 :D May 31 16:57:45 u can disable unaligned access in gcc and binutils, it's not that hard for minimum support May 31 16:57:46 https://github.com/shibajee/binutils/commit/b7c72786dc848b81b2754ddff2c1aee3317bb531 May 31 16:57:54 https://github.com/shibajee/gcc/commit/97b07747754831050ac72b629099665b2cc03dd0 May 31 16:58:23 so just wait till the patents expire May 31 16:58:24 ^^ May 31 16:58:51 it works for mp3, ac3, dts, mpeg2 so far didnt it? May 31 16:59:21 Yes, once the patents expire, it's full steam ahead, in any case May 31 17:01:15 hm... kernel seem to have some basic lexra like support since 2018 according to lkml / git history https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch/mips/Kconfig?id=932afdeec18b137b1f9c940bf18ca90338cb3f96 May 31 17:02:22 question if there are now 2 people working on the same thing May 31 17:03:53 2018 doesn't really elicit present tense imho ;) May 31 17:04:01 well kernel support doesn't matter if your tools don't support it May 31 17:04:08 and that. May 31 17:19:22 damn those github rate limit per http since MS took over May 31 17:19:35 clicking around a larger source tree is impossible May 31 22:16:55 updated openwrt/upstream, https://sdwalker.github.io/uscan/index.html Jun 01 02:07:51 mt7915 came in master. hmmm... **** ENDING LOGGING AT Mon Jun 01 02:59:57 2020