<lipnitsk> mangix: okay, the refresh finished - doing the build checks now
<owrt-1907-builds> build #236 of octeon/generic is complete: Success [build successful] Build details are at http://buildbot.openwrt.org/openwrt-19.07/images/builders/octeon%2Fgeneric/builds/236
Borromini has quit [Quit: Lost terminal]
eliasmagn has joined #openwrt-devel
<eliasmagn> Hi do i have to set permissions for cbi FileUpload ( /usr/lib/lua/luci/cbi.lua) pass acl restrictions?
adrianschmutzler has quit [Quit: ~ Trillian - www.trillian.im ~]
kontaxis has quit [Remote host closed the connection]
pine127 has quit [Remote host closed the connection]
kontaxis has joined #openwrt-devel
pine127 has joined #openwrt-devel
valku has joined #openwrt-devel
valku has quit [Client Quit]
lnslbrty has quit [Read error: Connection reset by peer]
lnslbrty has joined #openwrt-devel
<owrt-1907-builds> build #219 of x86/generic is complete: Success [build successful] Build details are at http://buildbot.openwrt.org/openwrt-19.07/images/builders/x86%2Fgeneric/builds/219
eliasmagn has quit [Ping timeout: 240 seconds]
luke-jr has quit [Read error: Connection reset by peer]
<mangix> alright. time to test how broken 5.10 really is
<mangix> oh wait, my build system is messed up. AGH
luke-jr has joined #openwrt-devel
lnslbrty has quit [Read error: Connection reset by peer]
lnslbrty has joined #openwrt-devel
Tapper has quit [Ping timeout: 240 seconds]
hbug has joined #openwrt-devel
hbug___ has quit [Ping timeout: 268 seconds]
<owrt-1907-builds> build #217 of at91/sama5 is complete: Success [build successful] Build details are at http://buildbot.openwrt.org/openwrt-19.07/images/builders/at91%2Fsama5/builds/217
tobleminer-tSYS has quit [Quit: AS4242423214]
tobleminer-tSYS has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
<mangix> lipnitsk: merged. let's see is anyone complains
<lipnitsk> haha, I like it. people are already complaining about refresh
<lipnitsk> The merge should make it easier at least for non-patch changes
<mangix> i did not lock it
<stintel> I did
<stintel> as I couldn't reopen it anymore because github is poop
<mangix> I wonder if anyone has an opinion on removing uClibc++
<stintel> nuke it already
<stintel> less is more
<mangix> It's much smaller (60.9 KB) than libstdcpp(278.1 KB) but buggier and dead development upstream
<stintel> 4MB devices are dead anyway
<hurricos> Anyone have any experience with OpenWrt misidentifying the quantyt of RAM on a board?
<hurricos> specifically Mediatek soc's doing so?
<mangix> Some have told me that it's possible to link statically and use LTO to reduce the size
<mangix> haven
<hurricos> MT7620 in a Newifi Y1 sees only 32MB
<mangix> 't tested
<stintel> hurricos: I believe there has been some talk about this recently. but I have no experience with it. I'd suggest to read ML/IRC archives
<hurricos> Thanks stintel, I'll dig
<rsalvaterra> Ok, building a new image for the Omnia… let's see if kab-el patch fixes my IRQ storm… :)
<stintel> rsalvaterra: up late, or early? :P
<mangix> rsalvaterra: link?
<rsalvaterra> stintel: still up… :P
<rsalvaterra> Now tor failed to build, fml…!
<stintel> you're best to rm build_dir and staging_dir every time you build, otherwise something will creep in :P
<mangix> rsalvaterra: also enable ccache
<mangix> speeds up compilation after nuking build_dir
<mangix> ...why are there x32 patches?
<mangix> who uses x32?
<rsalvaterra> mangix: I would LOVE to use x32…
<mangix> why?
<rsalvaterra> Because 32-bit pointers with a 64-bit address space?
<rsalvaterra> Smaller i$ footprint?
<lipnitsk> how to get kernel_oldconfig/kernel_menuconfig to modify target/linux/generic/config-5.{4,10}?
<rsalvaterra> The x32 ABI was actually suggested by Knuth himself.
<lipnitsk> or is it only editable by hand?
<mangix> rsalvaterra: Sounds horrible. But then so is mips16
<rsalvaterra> mangix: You can't compare MIPS16 with x32… MIPS16 is a hardware feature, x32 is a pure software ABI.
<rsalvaterra> Aw, WTF…!
<rsalvaterra> src/lib/crypt_ops/crypto_openssl_mgt.c:256:15: warning: implicit declaration of function 'ENGINE_by_id' [-Wimplicit-function-declaration]
<rsalvaterra> 256 | ENGINE *e = ENGINE_by_id("dynamic");
<rsalvaterra> | ^~~~~~~~~~~~
<mangix> which package?
<rsalvaterra> It's tor.
<mangix> you're building without engines
<rsalvaterra> Yes, as I always have.
<rsalvaterra> Hm… probably some dirty build, as stintel suggested.
<rsalvaterra> I'm going to bed, before the birds start to sing… :P
<stintel> I had to make package/foo/clean 4 or 5 different packages
<stintel> before my rpi build wanted to build
<stintel> it's incredibly annoying
<owrt-1907-builds> build #218 of ath79/generic is complete: Success [build successful] Build details are at http://buildbot.openwrt.org/openwrt-19.07/images/builders/ath79%2Fgeneric/builds/218
_whitelogger has joined #openwrt-devel
dorf_ has quit [Ping timeout: 260 seconds]
<hurricos> No dice in IRC logs. I did see https://forum.openwrt.org/t/ram-flash-variables/30912/7
<hurricos> Smells like U-boot doing something fucky
<hurricos> Sadly there are no serial pads onboard
<hurricos> Bootlod here suggests I can 'user define' the RAM: https://openwrt.org/toh/qihoo/c301
<hurricos> Oh, wait. It's U-boot. o_O
<hurricos> s/U-boot/Breed/.
<mangix> "While looking into it, I discovered that btrfs can't currently handle
<mangix> mounting a filesystem that was created on a system with a different
<mangix> page size." <--- wtf is this
<hurricos> btrfs is very broken :\
<hurricos> * can't grow it without mounting it
<hurricos> it breaks a lot of filesystem expectations
<mangix> it's perfectly fine in my experience
<hurricos> It's kind of like OpenWrt. Lot more hands-on than other filesystems
<stintel> eek
<stintel> thats reallt insultinf
<hurricos> I love OpenWrt to death but I'm glad I understand it
<hurricos> It's a lot less situational than filesystems too. You can't just copy openwrt from one router to another.
<stintel> because no router is the same
LoopHoldYoaBrown has joined #openwrt-devel
<mangix> lolwut?
<stintel> you can however restore a backup from apu2 to erl for example
<mangix> you can move a btrfs volume from one computer to another
<stintel> because they happen to have the same interface layout
<hurricos> mangix: Not if it was created on a system with a different page size
<hurricos> :^)
<mangix> hahaha good point
<hurricos> and don't get me wrong. Like 99 times out of 100 if you swap your entire main router out
<mangix> to be fair, most platforms have a 4K pagesize
<hurricos> you can restore a sysupgrade -b dump
<hurricos> and the config will "just work"
<mangix> still weird
<hurricos> which is really the equivalent.
<owrt-snap-builds> build #796 of layerscape/armv8_64b is complete: Success [build successful] Build details are at http://buildbot.openwrt.org/master/images/builders/layerscape%2Farmv8_64b/builds/796
danitool has quit [Ping timeout: 272 seconds]
<owrt-1907-builds> build #215 of samsung/s5pv210 is complete: Success [build successful] Build details are at http://buildbot.openwrt.org/openwrt-19.07/images/builders/samsung%2Fs5pv210/builds/215
_whitelogger has joined #openwrt-devel
hgl has quit [Quit: Bye]
hgl has joined #openwrt-devel
hgl has joined #openwrt-devel
hgl has quit [Changing host]
hgl has quit [Remote host closed the connection]
<owrt-1907-builds> build #210 of mpc85xx/p2020 is complete: Success [build successful] Build details are at http://buildbot.openwrt.org/openwrt-19.07/images/builders/mpc85xx%2Fp2020/builds/210
hgl has joined #openwrt-devel
hgl has joined #openwrt-devel
damex has joined #openwrt-devel
<hurricos> I am very confused. The RAM issue solved itself somehow after multiple reboots.
<hurricos> I should have thrown this guy away long ago, probably, to avoid just this situation :thinking:
<Grommish> It's a Cavium. I see hard-locks on a classy reboot where the watchdog just goes nuts. I had to power cycle to reset
<owrt-1907-builds> build #217 of brcm63xx/smp is complete: Success [build successful] Build details are at http://buildbot.openwrt.org/openwrt-19.07/images/builders/brcm63xx%2Fsmp/builds/217
<damex> Grommish: cavium3 should not have that happening unless something goes completely wrong. what exactly is going wrong with watchdog?
<Grommish> dunno, but every once in a while I get that register dump from the watchdog when it attempts to reboot, never consistently though
<Grommish> which requires a full power pull to clear
Tapper has joined #openwrt-devel
<Pepe> lipnitsk: That's not about complaining. My opinion about refreshing patches is that it should not be mandatory. We are adding more bricks into the wall against contributors. Which is bad. If we are fixing typo, the build should proceed and should not says: "Ehm... patches are wrong.". Even we do tree wide commit where we fixes patches, I think that refreshing patches should be opt-in.
<Pepe> Even these days there is lack of contributors in PRs. They can not do Signed-off-by, then dont do compile either run test and so on. Sometimes it is stalled or they are getting angry if they should write commit message. :(
<lipnitsk> alternatively, we could add infrastructure to refresh them more easily (without having to clone openwrt). But yeah, if there is evidence that it impedes contributions you have a point. Nothing wrong with teaching proper commit etiquette though. Being friendly is one thing, accepting unmaintainable or messy changes is another.
<olmari> Exactly... keeping up maintainability and thus general quality of coding etc should be kept up to high standards... ways to achieve that more easily is then again very welcomed... in mine opinion :)
<Pepe> But doing refresh can lead to some issues, so its better to get it run tested again even small changes can go badly. Someone does not want to do that don't know why in case of php packages, but anyway. In CI there is no possible to skip patches step and thus force you to do that, which was my point. Others projects have possibility to skip some of those tests, we don't have it. But I agree with you on
<Pepe> this guys, but as I said there are not many contributors these days and we are making it harder and harder for someone
<lipnitsk> refresh is just commiting what quilt already does every time it prepares a package for build, we are just commiting the truth into the repo. If it's broken the patch needs to be fixed
<Grommish> What if you don't use quilt?
<lipnitsk> there is argument about the superfluous changes, but it's more about getting into the habit of refreshing, or making that a more easy process somehow?
<lipnitsk> how do you test your changes then? You need to at least compile it with openwrt, right? Or just rely on CI? :)
<Grommish> I meant for patch creation, sorry. Don't mind me
<Grommish> I realized after the fact I'm wandering into an argument ;p
<Pepe> The truth is that a lot package maintainers are rely on CI these days. :(
<lipnitsk> ya you can create the patch however you want, just run make package/feeds/packages/<your_pkg>/refresh. But if that last step is difficult for a lot of contributors then we do have a problem
<lipnitsk> Maybe we should at least put the command into the PR template
<Grommish> Sadly, I'm on of the ones Pepe referenced earlier regarding Commit messages. But, I freely admit I got pissy about the situation, but he was right in the situation
<lipnitsk> maybe a cool web app to refresh your patches? LOL
<Grommish> I'd rather have standards than not, because I rely on people with more knowledge making the decisions on what get's committed
<lipnitsk> I think the main point is achieving a balance that makes maintainers as well as contributors happy
<Pepe> This. +1
<lipnitsk> so discussion should continue and the change can be easily turned off if needed.
<Grommish> Discussion should always continue.. If nothing else, it'll show why it won't work - at least for now, or why it should be done. Info is good, more is better
<lipnitsk> Grommish: it's very humbling working with a large FOSS community - I know it's a learning for me because I haven't really been brewing in these circles much
<lipnitsk> good learnings, but time needs to be invested. And time is what a lot of people don't have..
<Grommish> I know I started very upset with adrianschmutzler because I thought he was being overly anal-retentive about commits ;p
<Grommish> Unti I saw what happens when you aren't ;/
<Grommish> (I also took it as a personal attack, wrongfully because I was of the mindset I tested this already.. ahem.. Not a bright spot for me)
<Grommish> In any case, I don't understand the CI stuff anyway, except my package breaks it due to space limitations, but I'm all for standards
<lipnitsk> ultimately, whatever gets more users onto the platform is probably the right way to proceed
<lipnitsk> btw github is a blessing, at least for the package repo
<Grommish> Not if the quality drops *shrug* I could run Tomato on my R8000 if I wanted to settle for the 3.x kernel to use the cts.ko mob, but I want something that isn't going to cause me to wonder
<Grommish> Costs me half my paid for throughput to do go
<lipnitsk> trying out matrix, let's see.
<Grommish> Besides, nothing stops anyone who doing their own thing. The target I commited for my device only covers 1/3rd of the device space, I locally maintain the other 2 slot functionality
<Grommish> doesn't mean it should be part of the repo
ivanich has joined #openwrt-devel
lipnitsk[m] has joined #openwrt-devel
<Grommish> but I can host it as a fork, I can and have run forks of the packages defined for the custom cpu arch setting
bala has joined #openwrt-devel
<Grommish> CONFIG_ALL takes forever ;p
lipnitsk has quit [Quit: Leaving.]
lipnitsk[m] is now known as lipnitsk
<mangix> what i miss?
feriman has joined #openwrt-devel
<owrt-1907-builds> build #220 of ramips/mt7620 is complete: Success [build successful] Build details are at http://buildbot.openwrt.org/openwrt-19.07/images/builders/ramips%2Fmt7620/builds/220
<ynezz> what about just refreshing the patches in the CI, providing the diff output as downloadable artifact with copy&paste instructions in curl|git am format? Some projects are doing similar for failed code style checks for example
<ynezz> so even if the CI check fails, author has relatively easily actionable fix in hand
<mangix> sounds pointless
<mangix> you can just run make package/x/refresh
<mangix> much easier than git am
<Grommish> If the CI check fails, they've got the logs, no?
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_ar71xx.html has been updated. (99.1% images and 98.4% packages reproducible in our current test framework.)
rmilecki has joined #openwrt-devel
rmilecki has quit [Read error: Connection reset by peer]
Acinonyx_ has joined #openwrt-devel
Acinonyx has quit [Ping timeout: 260 seconds]
black_ant has joined #openwrt-devel
black_ant has quit [Changing host]
black_ant has joined #openwrt-devel
zkrx has quit [Ping timeout: 272 seconds]
bala has quit [Quit: WeeChat 2.8]
zkrx has joined #openwrt-devel
danitool has joined #openwrt-devel
Borromini has joined #openwrt-devel
<owrt-1907-builds> build #213 of ramips/mt7621 is complete: Success [build successful] Build details are at http://buildbot.openwrt.org/openwrt-19.07/images/builders/ramips%2Fmt7621/builds/213
<mangix> aparcar[m]: hahaha well played. The reason the treewide patch missed it is because there's a different directory for patches based on BUILD_PATENTED.
<aparcar[m]> mangix: uhm?
<aparcar[m]> tell me more
<aparcar[m]> is make refresh always "safe"?
<Borromini> hey guys. i set the DTS to extract the MAC from the device's ART partition, a dump shows it's there, but ag71xx tells me 'invalid mac' and uses a random one. what am i doing wrong? https://paste.debian.net/plain/1186293/
<Borromini> 00 22 3f 0d 06 12 is what the MAC is
<mangix> It is safe yes.
<mangix> aparcar[m]: those patches are used when BUILD_PATENTED is disabled. I'm guessing lipnitsk has it enabled locally.
<mangix> fdk-aac is one of those problematic packages
<aparcar[m]> okay anything I should do?
<mangix> No.
<mangix> The PR is fine
<aparcar[m]> great fftm
feriman has quit [Quit: WeeChat 3.0.1]
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
<aparcar[m]> mangix: refresh on openssl doesn't look right: package/libs/openssl/patches/430-e_devcrypto-make-the-dev-crypto-engine-dynamic.patch | 2646 +++++++++++++++++++++++++++++++++++++++---
<plntyk> Borromini, <&art 0x0>; <- art at 0x0 offset instead of 1000 ?
<plntyk> Borromini, examples: grep -R "mtd-mac-address" target < -in source tree
black_ant has quit [Ping timeout: 246 seconds]
<Borromini> plntyk: so it should try 0x1000? ar71xx mach file has this: https://paste.debian.net/plain/1186295
<Borromini> i assume ksegaddr 0x1fff1000 translates to 0x1000?
danitool has joined #openwrt-devel
<mangix> aparcar[m]: the problem is that quilt cannot handle file renames. It interprets it as a file deletion and rename
<aparcar[m]> yea I guess the patch is just garbage
<svanheule> Borromini: I assume you have the art partition at a base address of 0xff0000 (and size 0x10000) in your flash layout?
<svanheule> Borromini: the number in mtd-mac-address = <&art ...> is the offset inside that partition, so 0x1000 as your hexdump shows
<plntyk> what svanheule said
<plntyk> just did some sunbathing ... really sunny in Berlin
<Borromini> ok thanks guys
* Borromini is for sure gonna read a bit on his east/south balcony today
<Borromini> svanheule: art is 0x0000003f0000-0x000000400000
<Borromini> so base addr 0x3f0000
<svanheule> ok, but the mac address is still at offset 0x1000, right?
<Borromini> yes that's a dump of that art partition
<Borromini> i don't know why i thought it was 0x0 when it clearly shows 1000
<svanheule> :P
<Borromini> :P
<owrt-1907-builds> build #234 of layerscape/armv7 is complete: Success [build successful] Build details are at http://buildbot.openwrt.org/openwrt-19.07/images/builders/layerscape%2Farmv7/builds/234
<rsalvaterra> 'morning!
<Borromini> aloha.
<Borromini> i gotta say i am appreciating the blessings of git commit --amend
<rsalvaterra> Borromini: How have you lived until now without it? :)
<Borromini> rsalvaterra: lots of git resets and wondering why :P
<rsalvaterra> My greatest epiphany was when I discovered git rebase -i. :)
<Borromini> what does that do
<Borromini> interactive rebase?
<rsalvaterra> Oh, my…!
<rsalvaterra> Yes, interactive rebase.
<Borromini> ok. i'll try that one time :P
<rsalvaterra> Borromini: No. You will understand what it does, then you will do it all the time, especially when iterating patch series. ;)
<rsalvaterra> It's so incredibly powerful it almost feels like magic.
<Borromini> ok
Tapper has quit [Ping timeout: 240 seconds]
<rsalvaterra> And now to try and build my Omnia image again… hopefully make clean solved my tor/openssl errors…
<Borromini> ;)
<Borromini> seems eth0 is coming up but no mac, eth1 isn't, but wiphy is detected
<Borromini> not too bad for my first own dts i'd say :P
feriman has joined #openwrt-devel
<ldir> interactive rebase with the 'fixup' command - perfect commits first time
gladiac133779 has quit [Quit: k thx bye]
<Borromini> neat
Acinonyx has joined #openwrt-devel
<PaulFertser> Borromini: the trick used by old ar71xx code is to use a big offset, so no matter what the flash size is, the extra top bits will be ignored, and you'll end up referencing 0x10000 before the end of the flash. And 0x1000 into it.
<Borromini> PaulFertser: ok, thanks
gladiac133779 has joined #openwrt-devel
<Borromini> i'll need some help getting eth1 up but one step at a time :)
Acinonyx_ has quit [Ping timeout: 240 seconds]
<rsalvaterra> mangix: Hm… even after make clean, tor-basic fails to build. :/
blb4393 has joined #openwrt-devel
<owrt-1907-builds> build #210 of ath79/tiny is complete: Success [build successful] Build details are at http://buildbot.openwrt.org/openwrt-19.07/images/builders/ath79%2Ftiny/builds/210
<rsalvaterra> mangix: Something's really wrong. I can't build tor without openssl engine support.
<rsalvaterra> I wasn't a problem in the previous stable version.
<rsalvaterra> *It
goliath has joined #openwrt-devel
csrf has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
csrf has joined #openwrt-devel
<Pepe> rsalvaterra: Can you create an issue in packages feed? My colleague is updating it regularly and having some log output would be nice. I will ask him to take a look at it anyway.
<rsalvaterra> Pepe: Will do. I was registering to create an issue in the Tor project itself. :P
<Pepe> That's will do as well!
<rsalvaterra> Done for the packages feed.
<rsalvaterra> Yeah, but registration is moderated, so it could take a while before it's even approved… :/
guimo has quit [Remote host closed the connection]
Night-Shade has quit [Read error: Connection reset by peer]
Night-Shade has joined #openwrt-devel
guimo has joined #openwrt-devel
black_ant has joined #openwrt-devel
black_ant has joined #openwrt-devel
black_ant has quit [Changing host]
Darkmatter66 has quit [Ping timeout: 265 seconds]
blb4393 has quit [Ping timeout: 264 seconds]
csrf has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
blb4393 has joined #openwrt-devel
blb4393 has quit [Client Quit]
csrf has joined #openwrt-devel
Tapper has joined #openwrt-devel
eliasmagn has joined #openwrt-devel
blb4393 has joined #openwrt-devel
urjaman has quit [Read error: Connection reset by peer]
urjaman has joined #openwrt-devel
PaulFertser has quit [Ping timeout: 260 seconds]
PaulFertser has joined #openwrt-devel
Strykar has quit [Quit: /quit]
<eliasmagn> Does someone know if it is possible to download file from http/s with cgi-io.
<plntyk> there is small wget -> uclient-fetch for that
<eliasmagn> thank you
Tapper has quit [Quit: Instantbird 1.6a1pre -- http://www.instantbird.com]
valku has joined #openwrt-devel
pine127_ has joined #openwrt-devel
kontaxis has quit [Ping timeout: 268 seconds]
pine127 has quit [Ping timeout: 268 seconds]
kontaxis has joined #openwrt-devel
kontaxis has quit [Remote host closed the connection]
pine127_ has quit [Remote host closed the connection]
kontaxis has joined #openwrt-devel
pine127 has joined #openwrt-devel
_whitelogger has joined #openwrt-devel
<zorun> Hauke: yes, good catch
<zorun> I don't remember the details but I hadn't found a clean solution that would work on any branch
<zorun> so for now a similar change is needed for each branch
Tost has joined #openwrt-devel
kontaxis has quit [Remote host closed the connection]
pine127 has quit [Remote host closed the connection]
pine127 has joined #openwrt-devel
Tapper has joined #openwrt-devel
kontaxis has joined #openwrt-devel
<Borromini> had to do something similar yes for 21.02
Tapper has quit [Read error: Connection timed out]
Tapper has joined #openwrt-devel
Darkmatter66 has joined #openwrt-devel
<zorun> Hauke, Borromini: I have just pushed it to openwrt-21.02
black_ant has quit [Ping timeout: 246 seconds]
<Borromini> ty
<Hauke> zorun: thanks
Strykar has joined #openwrt-devel
rmilecki has joined #openwrt-devel
jmv95 has joined #openwrt-devel
lechner has quit [Quit: Lost terminal]
<KGB-1> https://tests.reproducible-builds.org/openwrt/openwrt_ath79.html has been updated. (99.1% images and 98.4% packages reproducible in our current test framework.)
<owrt-2102-builds> build #9 of layerscape/armv8_64b is complete: Success [build successful] Build details are at http://buildbot.openwrt.org/openwrt-21.02/images/builders/layerscape%2Farmv8_64b/builds/9
jmv95 has quit [Ping timeout: 240 seconds]
<rsalvaterra> Hauke: ping
Acinonyx_ has joined #openwrt-devel
Acinonyx has quit [Ping timeout: 256 seconds]
Robby has quit [Quit: leaving]
jmv13 has joined #openwrt-devel
Robby has joined #openwrt-devel
shibboleth has joined #openwrt-devel
<Borromini> hey guys. trying to port a wnr2000 v1 from ar71xx to ath79. it's an ar9132 device according to what i could find, with an ar8126 switch. ar71xx had a ath79_eth0_data.has_ar8216 setting that i'm not finding an ath79/dts equivalent for?
<Borromini> network setup code from mach-wnr2000.c is https://paste.debian.net/1186352/ and my dts so far is https://paste.debian.net/1186351/
<plntyk> the eth0_data.has_ar... might only mean that the "eth0" port on the SOC is attached to an ar8216 (or compatible) switch
<plntyk> post 5
<plntyk> Borromini, some tplink archer devices that are afaik already ported have ar8337 which is similar to 8216
<Borromini> plntyk: ok, take a look. grepping master for 8216 isn't returning anything though
noltari_ has joined #openwrt-devel
<plntyk> archer C7 v1 has ath79/dts/qca9558_tplink_archer-c.dtsi included
finsternis has joined #openwrt-devel
noltari has quit [Ping timeout: 272 seconds]
<Borromini> ok seeing some mdio stuff there
<swalker> updated openwrt/upstream, https://sdwalker.github.io/uscan/index.html
<Borromini> it doesn't look like there's lots of ar9132 stuff ported.
dedeckeh has joined #openwrt-devel
Night-Shade has quit [Ping timeout: 240 seconds]
Night-Shade has joined #openwrt-devel
Risk64 has joined #openwrt-devel
<Hauke> rsalvaterra: pong
Night-Shade has quit [Ping timeout: 256 seconds]
<rsalvaterra> Hauke: Finishing a v3 for mvebu 5.10. Correct me if I'm wrong, but device tree patches should have a prefix index of 3xx, right?
<rsalvaterra> After all, they're arch-specific.
<Hauke> rsalvaterra: for the targets we do not really use these rules
<Hauke> if they are backports from a more recent kernel I would prefer low numbers
<Hauke> so 0xx
<rsalvaterra> Well… are the rules written anywhere? :)
<Hauke> I think nobody folows these for the targets ;-)
<Hauke> I think there is a rule about backports
<rsalvaterra> Newcomers can only read rules which are written somewhere… :)
<Hauke> are these device tree changes backports from more recnt kernel versions or new patches?
Night-Shade has joined #openwrt-devel
<rsalvaterra> It's a mix of backports and a new patch, (finally!) fixing the IRQ storm on the Omnia.
<rsalvaterra> Anyway, it's probably two or three patches. I'll reindex them from 0xx, as you suggested.
<Hauke> The file in target/linux/generic/PATCHES says that upstream backports should get a 0x prefix
<Hauke> and code which is already send upstream and is probably getting merged soon should get 1xx
<rsalvaterra> Ok, in that case, the IRQ fix will be 1xx, since it was sent upstream for review yesterday evening.
Night-Shade has quit [Read error: Connection reset by peer]
Tsesarevich has quit [Ping timeout: 260 seconds]
arnd has quit [Ping timeout: 256 seconds]
Tsesarevich has joined #openwrt-devel
arnd has joined #openwrt-devel
Night-Shade has joined #openwrt-devel
blb4393 has quit [Quit: ChatZilla 0.9.93 [Waterfox 56.3/MOZ_BUILDID]]
kontaxis has quit [Remote host closed the connection]
pine127 has quit [Remote host closed the connection]
kontaxis has joined #openwrt-devel
pine127 has joined #openwrt-devel
shibboleth has quit [Quit: shibboleth]
<rsalvaterra> Hauke: Build-testing the A{53,72} targets…
Sebastiii has joined #openwrt-devel
<lipnitsk> mangix: yeah, I didn't disable BUILD_PATENTED. Probably should fix the CI script to look for 'patches*' dirs, not just 'patches'
<rsalvaterra> Heh… Looks like I'm still not done. The ESPRESSObin build is screaming bloody murder. :P
<zx2c4> Hauke: got a chance to review lipnitsk's patchset and merge it?
<zx2c4> Pretty significant amount of work there
Borromini has quit [Quit: leaving]
bkallus has joined #openwrt-devel
Strykar has quit [Remote host closed the connection]
Strykar has joined #openwrt-devel
Night-Shade has quit [Ping timeout: 240 seconds]
dedeckeh has quit [Quit: Connection closed]
Night-Shade has joined #openwrt-devel
rmilecki has quit [Read error: Connection reset by peer]
rmilecki has joined #openwrt-devel
feriman has quit [Ping timeout: 240 seconds]
rmilecki has quit [Ping timeout: 246 seconds]
kontaxis has quit [Remote host closed the connection]
pine127 has quit [Remote host closed the connection]
kontaxis has joined #openwrt-devel
pine127 has joined #openwrt-devel
<bkallus> I have a BCM63xx router to which i'm trying to port openwrt. the stock firmware doesn't have any tools to dump the nand, and i'd like to make a backup. I have it booting from initramfs images over tftp, but openwrt can't see the mtd partitions. How do I tell the boot process where the mtd partitions are?
<bkallus> i have a root shell on the stock fw, so i am able to read /proc/mtd.
<lipnitsk> bkallus: off the top of the head - check your devicetree config, nand driver.
<PaulFertser> bkallus: but is it able to see the NAND at all? Because if you just need to dump all of it probably you do not need partitions. Sometimes the layout is hardcoded, sometimes there's some kind of partition table, depends on the vendor.
<zx2c4> lipnitsk: im trying to repro that guy's issue...
<lipnitsk> yeah I'm having no luck. iperf fail is probably a red herring, but maybe not - 5.10 support is still in early stages. There are a lot of things enabled in his config and a lot of variables - which SHA is he building from, at what SHA are his packages, etc..
kontaxis has quit [Remote host closed the connection]
pine127 has quit [Remote host closed the connection]
<lipnitsk> That said, the WireGuard makefile changes are completely independent of linux 5.10 and a minimal build with luci-app-wireguard for his target works just fine
<zx2c4> So seems like just noise
pine127 has joined #openwrt-devel
<lipnitsk> and he confirms that the minimal build with wireguard works in his comment https://github.com/openwrt/openwrt/pull/3885#issuecomment-782920797 (first paragraph)
<zx2c4> but then he says
<zx2c4> "If that is directed at me, my presumption is that what I am seeing directly related to this PR. if I did not think that I would not be posting here. But if you think that a real config failing just by enabling what this PR targets..."
<zx2c4> so :shrug:
<lipnitsk> I'll spend a bit of time on it just to cover our bases and maybe to report some new unrelated issue.
kontaxis has joined #openwrt-devel
<zx2c4> lipnitsk: so far so good
<zx2c4> mine built iperf successfully too
<lipnitsk> good. you took his config and disabled ccache?
<zx2c4> i checked out your branch
<zx2c4> `git-am`'d those patchwork patches onto it
<zx2c4> copied his config to .config
<zx2c4> enabled wireguard
<zx2c4> hit make
<lipnitsk> okay, I'm gonna try the same but without wireguard first to see if I can get to where he got in the second paragraph, then enable luci-app-wireguard and try again.
<rsalvaterra> tmn505: ping
jlsalvador has quit [Remote host closed the connection]
jlsalvador has joined #openwrt-devel
<rsalvaterra> I'm completely baffled by the fact that one file in the 5.10.16 kernel we download differs from the one in gregkh's 5.10.16 tagged commit. This is pre-quilt patching, obviously. Can someone enlighten me, please?
<lipnitsk> we download it from kernel.org and validate the hash, so you should ask there :)
SwedeMike has quit [Ping timeout: 272 seconds]
<rsalvaterra> I do make target/linux/{clean,prepare} V=s QUILT=1. The armada-3720-espressobin-v7.dts is different. What gives…? o_O
jlsalvador has quit [Remote host closed the connection]
jlsalvador has joined #openwrt-devel
jlsalvador has quit [Remote host closed the connection]
jlsalvador has joined #openwrt-devel
victhor has joined #openwrt-devel
Risk64 has quit [Quit: Risk64]
<zx2c4> lipnitsk: i managed to repro!
<bkallus> PaulFertser, lipnitsk: Thanks. It's not able to see the nand at all yet. I'll get that working first.
<lipnitsk> zx2c4: good job! how?
<zx2c4> lipnitsk: https://א.cc/pUfQNQ0J
<lipnitsk> some weirdness with kpp then? I'm still building the no-wg version, will add luci-app-wireguard and try to get it here too
<lipnitsk> it sort of makes sense then, since the minimal build probably needs no KPP, but when it is needed things break
<zx2c4> DEPENDS+=+CRYPTO_KPP:kmod-crypto-kpp
<zx2c4> i wonder if that's working
SwedeMike has joined #openwrt-devel
<lipnitsk> well you could try removing 'CRYPTO_KPP:' to force it
<Hauke> rsalvaterra: it would be very strange if they are different
<rsalvaterra> This is even at 5.10
<Hauke> rsalvaterra: how does it look like in the tar.xz?
<rsalvaterra> And this is my file: https://paste.debian.net/1186371/
<rsalvaterra> I'm refreshing all the patches again, because it seems I can't trust the kernel tree… :/
pine127_ has joined #openwrt-devel
<tmn505> rsalvaterra: check the files
<tmn505> directory
<tmn505> You have to delete some of the dts which are upstream
<rsalvaterra> *facepalm*
kontaxis has quit [Ping timeout: 268 seconds]
<rsalvaterra> sigh…
<Hauke> it overwrites the file with target/linux/mvebu/files/arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7.dts
<Hauke> rsalvaterra:
pine127 has quit [Ping timeout: 268 seconds]
<tmn505> that's why I said they have to be split for 5.4 and 5.10
kontaxis has joined #openwrt-devel
<rsalvaterra> Yeah, I obviously understand the problem now.
<rsalvaterra> Sorry for the noise… :/
<tmn505> np
<lipnitsk> zx2c4: still having package build failures... though not iperf anymore. did you run ./scripts/feeds update -a && ./scripts/feeds install -a ? It's either some package discrepancy or my host system is just too bleeding edge and some issue there (I'm running Arch)
Tapper has quit [Ping timeout: 240 seconds]
<zx2c4> lipnitsk: yea, i did
Night-Shade has quit [Read error: Connection reset by peer]
<lipnitsk> getting "/usr/lib/libpython3.9.so: file not recognized: file format not recognized" while building uwsgi now... maybe because it's a symlink on my system?
<lipnitsk> /usr/lib/libpython3.9.so: symbolic link to libpython3.9.so.1.0
<lipnitsk> $ file /usr/lib/libpython3.9.so
<lipnitsk> why is it even trying my system python? It should be using ./staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/usr/lib/libpython3.9.so
<lipnitsk> ugh, I'll try and get past this..
ivanich has quit [Quit: Konversation terminated!]