**** BEGIN LOGGING AT Mon Mar 22 02:59:56 2021 Mar 22 03:50:48 Code_pattern not match: magic='V▒▒(&`VZ`, should be GOLF! Mar 22 03:50:50 huh Mar 22 04:00:03 very strange. i get output on serial but I can't seem to do any input Mar 22 04:06:10 oh nice. got it working Mar 22 04:06:18 now to generate a proper image... Mar 22 04:19:33 mangix ynezz aparcar[m]: I build on Ubuntu 20 and it's been mostly painless... Mar 22 04:24:41 philipp64: i mean image that the router would accept Mar 22 04:25:06 trying and failing to add support for a linksys device Mar 22 04:25:19 i'll need to bust out hexdump tomorrow. Mar 22 04:25:40 was chipping in on the "Debian 10" bashing above... there is an alternative... Mar 22 04:43:27 ubuntu is debian without the licensing fascism. Mar 22 04:43:45 oh, and the bi-annual update cadence doesn't hurt, either. Mar 22 04:47:16 what licensing fascism? Mar 22 04:50:17 Firefox vs Iceweasel, case in point. Mar 22 04:50:59 ah. I don't use either debian nor ubuntu on the desktop Mar 22 04:51:14 Back when flash was a thing, iirc Debian didn't offer that, either. Mar 22 04:51:43 mangix: you got a 8450? Mar 22 04:51:55 aparcar[m]: e7350 Mar 22 04:52:18 ¯\_(ツ)_/¯ Mar 22 04:52:22 Okay cool Mar 22 04:52:50 it's a ramips ax router Mar 22 04:57:25 >KGB-0< https://tests.reproducible-builds.org/openwrt/openwrt_mediatek.html has been updated. (62.5% images and 98.2% packages reproducible in our current test framework.) Mar 22 08:26:48 mangix: eh, why mt7621? why not mt7622? Mar 22 08:27:45 ynezz: what do you mean? Mar 22 08:28:21 'morning! Mar 22 08:29:01 rsalvaterra: it's 1:30 AM here Mar 22 08:29:03 mangix: Joined the MT7621 club, I see. :) Mar 22 08:29:06 mangix: why do you bother with 7350 if there is much better 8450? :) Mar 22 08:29:21 mangix: 8:29 AM here. :) Mar 22 08:30:18 mangix: AFAIK 7350 is mt7621, right? Mar 22 08:30:20 ynezz: cheaper. I don't get the mt7622 equipment. It seems like it's all b/g/n on 2.4 ghz Mar 22 08:30:58 how much did you paid? Mar 22 08:31:22 $89 . Mar 22 08:31:25 I've got mine Belkin RT3200 for 90EUR from amazon Mar 22 08:31:45 which is essentially rebranded Linksys 8450 Mar 22 08:31:56 That Belkin was available for $96 here. Mar 22 08:32:25 Used of course. I don't buy new routers anymore. Mar 22 08:32:36 I've bought used one as well Mar 22 08:32:48 it's for testbed anyway Mar 22 08:33:45 I like the MT7621 because it's SMT MIPS. Not really a usual feature in the MIPS world. :) Mar 22 08:34:05 pff. Overrated. Mar 22 08:34:29 mangix: I didn't get it for the performance. If I need performace, I have the Omnia. :P Mar 22 08:34:30 mips74kc is faster per clock Mar 22 08:34:57 mangix: The 1004Kc has a higher clock. And dual cores. Mar 22 08:35:16 And the 1074Kc is vapourware. Mar 22 08:35:55 Doesn't make up for it. I remember WireGuard benchmarks showing the C7v2 having faster performance. Mar 22 08:36:14 Plus the C7 can be overclocked to 1Ghz Mar 22 08:36:43 Stable too. Mar 22 08:37:31 mangix: The C7 v2 faster? At factory clock rates? I'd have to see it to believe it. Mar 22 08:38:03 I have a C6 v2 (775 MHz 74Kc) and the 1004Kc is faster. Mar 22 08:39:05 at WireGuard? That I find hard to believe :) Mar 22 08:40:02 mangix: At SQM, at least. I can't see why WireGuard would be any different. Mar 22 08:40:34 I think there's a page on the wiki with some VPN benchmarks… Mar 22 08:41:17 mangix: Found it… https://openwrt.org/docs/guide-user/services/vpn/wireguard/performance Mar 22 08:41:57 https://forum.openwrt.org/t/comparative-throughput-testing-including-nat-sqm-wireguard-and-openvpn/44724 is what I have bookmarked Mar 22 08:42:00 The Archer C6 v2 is a QCA9563. Mar 22 08:43:02 mangix: There's no MT7261 in that forum post. ;) Mar 22 08:43:20 Yeah I seem to remember wrong. Mar 22 08:54:59 Hmm running out of space on my NAS. Wonder if I should get rid of clang. Mar 22 09:00:43 300MB freed Mar 22 09:00:49 wow Mar 22 09:01:07 Uhh… Is clang that fat? Mar 22 09:01:20 * rsalvaterra never used it… Mar 22 09:01:55 It's LLVM mostly Mar 22 09:02:59 mangix: Hmm… I have LLVM on all computers… because mesa. Mar 22 09:04:05 some Belkin RT3200 porn https://gist.github.com/ynezz/0cac6334e456a491e93db00441182621 Mar 22 09:04:50 ynezz: Oooh, the antennas aren't soldered, nice! Mar 22 09:05:21 but not clued either, so got one u.fl disconnected on arrival... Mar 22 09:05:25 s/clued/glued/ Mar 22 09:06:03 Ouch, that must have been a rough bump. Mar 22 09:06:39 I've bought it used, so who knows :P Mar 22 09:06:52 I don't think I've ever shown my Archer C7v3 Mar 22 09:07:09 That thing is insane. Mar 22 09:08:00 Same SoC as v2 but comes with heatsinks stock. Also a bigger wifi card. Mar 22 09:08:34 mangix: Pictures, please! :) Mar 22 09:09:17 I wonder what qualcomm's rationale for making it was Mar 22 09:09:17 . Well Qualcomm Crack Addicts I guess. Mar 22 09:10:34 Thanks to those drugs you can replace its nasty QCA9880 card… :P Mar 22 09:12:26 Build [#13](https://buildbot.openwrt.org/master/images/#builders/69/builds/13) of `zynq/generic` failed. Mar 22 09:12:53 Hmm what's a good image hosting place? Mar 22 09:13:12 Oh this one I can't. You'll see. Mar 22 09:14:41 github? :p Mar 22 09:15:04 you can have images in your gist Mar 22 09:16:48 Didn't know that. Mar 22 09:16:52 Archer C7v3 https://imgur.com/a/O4M8YWs  Mar 22 09:18:07 mangix: That's pretty standard mini-PCIe. Yes, the card is wider, but the screws are in the standard location (for a long card, of course). Mar 22 09:18:41 The card is wider than on the v2, which is already wide. Mar 22 09:18:57 Note how ALL the anten as connect to it. Mar 22 09:19:43 Also note that serial connector came stock. Mar 22 09:19:51 Erm pins. Mar 22 09:20:49 rsalvaterra, mangix, i remember putting 2 ath9 mini-pcie cards in the wrt1900ac v1 instead of the crappy mwlwifi ones, best single device i had at the time Mar 22 09:21:39 unfortunately, all other wrt devices came with soldered radio chips :( Mar 22 09:21:46 nitro shift: I remember seeing that frankencard. One PCB two pcie connectors. Mar 22 09:21:50 mangix: So, you have an on-board 2,4 GHz ath9k and a QCA9880 for 5 GHz only. The card contains signal mixers to combine the 2,4 and 5 GHz signals in a single antenna. Not usual, but not really weird either. Mar 22 09:22:33 brb, work :| Mar 22 09:23:49 rsalvaterra: ...wow. I didn't realize there were no extra metal antenas like on the v2. Mar 22 09:24:13 Makes sense now. Mar 22 09:26:12 mangix: You could always get some signal mixers like the Omnia has… if they sold them separately. :P Mar 22 09:26:44 Funny. I tried to find those online. Failed. Mar 22 09:27:08 mangix: I believe everyone has. They're incredibly useful on their own. Mar 22 09:27:25 They really should manufacture and sell them separately. Mar 22 09:27:52 Maybe I should ask them :) Mar 22 09:28:22 (Yes, the schematics are open, but I don't really have a PCB manufacturing plant in my bedroom. Yet.) Mar 22 09:28:58 I'm sure they have extras :) Mar 22 09:29:28 mangix: Last time I checked, to buy them you had to prove you owned a Turris Omnia. Mar 22 09:30:14 And they were insanely expensive (about 15 € each, excluding shipping). Mar 22 09:30:36 ...wow Mar 22 09:32:35 It's crazy, I know. CZ.NIC would make a fortune just selling signal mixers at a fair price (say, less than 5 € each). Mar 22 09:32:55 rsalvaterra, arent most ppl using those cheap jlcpcp stuff ? youtubers like https://www.youtube.com/watch?v=PCB8nv4fatc Mar 22 09:33:25 i always see those cheap pcp ads on those electronic vids Mar 22 09:33:25 I think the linksys 8450 got more LEDs than the belkin one, also the websites describes the former to cover a larger area. Is that just marketing? Mar 22 09:33:32 *pcb* Mar 22 09:33:35 not the drug Mar 22 09:34:44 Hmm… Yeah, I've seen ads for PCBWay… I have no idea how much it would cost, though. Mar 22 09:35:00 These guys… https://www.pcbway.com/ Mar 22 09:40:30 "A 750 MHz to 3 GHzTunable Narrowband Low-Noise Amplifier" interesting tech - but one probably has to do evaluation etc. Mar 22 09:40:56 and probably re-certification for FCC/EU Mar 22 09:46:16 i can vouch for JLCPCB. Been very happy with them Mar 22 10:10:45 * russell-- just rebased his tplink wdr3600 hack for 16MB flash and ... it's not finding the data in the art partition Mar 22 10:11:07 i can dd it by hand, but that's a little awkward Mar 22 10:13:31 aha, /etc/hotplug.d/firmware/ Mar 22 10:13:43 russell--: 16 MiB flash hack for the WDR3600? That might interest me… :P Mar 22 10:13:50 Where can I see the diff? :) Mar 22 10:16:51 well, a long time ago i email'd it to openwrt-devel, but it was rejected because openwrt doesn't support mod'd hardware Mar 22 10:18:07 2019-03-14 was the email Mar 22 10:19:29 russell--: Of course it was, and I fully agree. It doesn't make any sense to officially support modified hardware. :) Mar 22 10:24:41 http://lists.openwrt.org/pipermail/openwrt-devel/2019-March/021944.html Mar 22 10:24:57 not quite the same today Mar 22 10:28:23 somehow lost the change to the hotplug script during the rebase, fixed up and works again Mar 22 15:17:31 Hello everyone, question for the more experienced developers here: does anyone have any pointers about how to port OpenWrt to a new CPU architecture and SoC? I have a GNU toolchain setup, but I can't find any info about the modifications needed to add a new target to the image builder. Mar 22 15:20:17 luxim: you start with OpenWrt git tree, not the image builder. The IB is not even compiling anything. Mar 22 15:20:59 luxim: so clone the repo, look inside target/ ; then you can pick one that was recently added and check git log for it. Mar 22 15:22:09 luxim: e.g. cb07269988cd3be7cbbd3278081c5688ae8d7616 Mar 22 15:22:51 That's to get an overview of what it takes. And you should be using current code if you need more specific examples. Mar 22 15:26:21 PaulFertser: Awesome, this is a really helpful starting point, thank you Mar 22 15:33:47 luxim: good luck, hope you enjoy OpenWrt Mar 22 15:51:19 luxim what device and CPU? Mar 22 15:51:33 Just out of intrest Mar 22 15:51:56 He left already. I wa going to ask the same :) Mar 22 15:52:36 lol Mar 22 19:01:22 Awfully quiet in here... Mar 22 20:07:24 mangix: can you review this DPIC fPIC thing? Mar 22 20:38:05 seems this device uses FIT images... Mar 22 20:57:02 hi, let me try here and on mailing list, since i didn't get a lot of response on forum and in the github pull request Mar 22 20:58:09 while working on support for mikrotik rb2011, the NAND issue on ath79 mikrotiks was brought up, which was discussed multiple times already, here, on the forum and in pull requests Mar 22 20:59:36 so i was able to re-add support for yaffs2, limited to mikrotik subtarget, and it appears to be working fine, but some testing by people who have such devices with bad blocks would be needed, and a word from maintainers if this approach would be acceptable Mar 22 20:59:56 IMO, this is the best we can do with not a lot of effort Mar 22 21:00:14 i won't repeat too much here, i sent a more detailed message on the mailing list: http://lists.openwrt.org/pipermail/openwrt-devel/2021-March/034414.html Mar 22 21:17:38 mangix: https://github.com/openwrt/openwrt/pull/4006 Mar 22 22:04:44 aparcar[m]: looks fine. Mar 22 22:09:55 No volunteers for bumping 5.10? :P Mar 22 22:15:20 rsalvaterra: what do you mean? Mar 22 22:15:28 Isn't it there already? Mar 22 22:18:04 aparcar[m]: Still at 5.10.23, but gregkh is already at 5.10.25 (and 5.10.26 at -rc1). Mar 22 22:19:02 I'll probably do it, if no one gets to it before, but it takes forever on this machine. Mar 22 22:19:49 rsalvaterra: want ssh access to mine? Mar 22 22:20:39 rsalvaterra: when I need compile resources I rent someting in the hetzner cloud Mar 22 22:20:52 mangix: Thanks, but too much responsibility. :) Besides, I'm switching to the Haswell when I get the external drive case (still in transit, AliExpress takes forever). Mar 22 22:21:11 why Haswell? Mar 22 22:21:48 mangix: It's my fastest machine, at the moment. Mar 22 22:22:06 This: https://www.gigabyte.com/Mini-PcBarebone/GB-BXi7-4770R-rev-10#ov :P Mar 22 22:22:12 oh you have it. ok. Mar 22 22:24:21 if you need a shared machine to build something on: https://cfarm.tetaneutral.net/ Mar 22 22:24:33 I make sure all dependencies are there to build openwrt :) Mar 22 22:25:32 zorun: Good to know, thanks! :) Mar 22 22:26:47 Anyway, I have the little cube just sitting here, for now… I don't want to stress the internal SSD with builds, so I'll use an external drive. Mar 22 22:27:04 that website looks...quite useful. Mar 22 22:27:56 zorun: is the M1 device the only macOS device? Mar 22 22:28:51 mangix: yes, it's the first one, and frankly it's a pain to manage (it doesn't integrate well) Mar 22 22:30:05 but having a M1 machine is nice Mar 22 22:30:44 rsalvaterra: I've built with 5.10.25 yesterday (ath79/ ath79-tiny, ipq806x), the trivial way of not rebasing the patch sets - worked fine Mar 22 22:32:10 pkgadd: You haven't refreshed the patches? You're brave! :P Mar 22 22:32:41 that works often enough Mar 22 22:33:28 I'm sure refreshing will fix up some newly gained fuzz, but GNU patch is smart enough to deal with that on its own (in this case) Mar 22 22:34:07 zorun: Can't wait to see that M1 running Linux… ;) Mar 22 22:34:15 admittedly, I did look at the pending 5.4.106/ 5.4.107 PRs before to confirm that those only had to deal with some fuzz as well Mar 22 22:38:18 rsalvaterra: well, you saw this, right? https://corellium.com/blog/linux-m1 Mar 22 22:42:44 zorun: Forget Corellium work. It's too hacky and ugly to live. Mar 22 22:43:26 zorun: https://asahilinux.org/2021/03/progress-report-january-february-2021/ Mar 22 22:47:21 zorun: aparcar[m] was curious about an M1 device Mar 22 22:50:03 What worries me the most about the M1 is its inability to boot from external media… if the (soldered) internal SSD dies, it's the end. Mar 22 22:51:35 that's a reality apple device owners have dealt with for a long time. Mar 22 22:51:45 it's not just the m1 Mar 22 22:51:58 https://appleinsider.com/articles/21/01/03/how-to-boot-an-apple-silicon-mac-from-an-external-drive ? Mar 22 22:55:34 Nick_Lowe: The boot process starts by copying the kernel to the internal SSD. Mar 22 22:58:52 Ouch Mar 22 22:59:13 Good to learn Mar 22 22:59:26 Nick_Lowe: Yeah, nasty surprise. Mar 22 22:59:44 (I'm still looking for the source where I read this…) Mar 22 23:00:46 https://twitter.com/marcan42/status/1348169762468110338 Mar 22 23:01:26 But i've seen a more detailed explanation, don't remember where. Mar 22 23:02:32 I'm holding out with a 2015 and 2019 MBP, the older Macs are 3x3:3, the new 2x2:2 Mar 22 23:02:37 There's also loads of driver bugs Mar 22 23:03:20 https://www.intuitibits.com/2021/02/05/whats-going-on-apple-part-2/ Mar 22 23:04:03 Heh… I hate Apple and all that it represents with a passion. But I'm a sucker for non-x86 architectures. Mar 22 23:05:37 rsalvaterra: I feel ya Mar 22 23:05:50 can' Mar 22 23:06:23 can't wait for all this covid bs to relax a bit, so I can get my Sparc in my parents' place and throw it in my rack, close to the Power8 :) Mar 22 23:06:24 stintel: I know you do. :) Mar 22 23:06:52 and I'm really loooking forward to play with the HiFive Unmatched Mar 22 23:07:10 stintel: POWER8…! Mar 22 23:07:23 * rsalvaterra cries in PowerPC 970 Mar 22 23:08:00 I was looking at Itanium systems on ebay at some point but damn these cost a ton still Mar 22 23:09:46 stintel: I've been drooling over the Itaniums for years, but they're a complete dead-end. They've been dropped from GCC, I believe. Mar 22 23:10:10 And they're still obscenely expensive. Mar 22 23:10:26 I believe even from the kernel Mar 22 23:10:39 Even POWER7 is cheaper and would run rings around the Itanium. Mar 22 23:12:06 POWER8 stuff also seems rather expensive on ebay :P Mar 22 23:12:09 compared to what I paid Mar 22 23:12:18 I knew I should have ordered 2! Mar 22 23:12:20 Hey all Mar 22 23:12:32 rsalvaterra: Do you have a PPC device? :D Mar 22 23:12:48 genis Mar 22 23:13:03 ccache caches at $HOME/.ccache by defau;t Mar 22 23:13:33 Grommish: I have an iBook G4 and a Power Mac G5 (half dead, boots, but hangs after a while, haven't powered it on since last July). Mar 22 23:14:06 Ah, I just patched rust to allow for powerpc toolchains but I've not heard of a PPC device Mar 22 23:14:31 So I perked up whe n I saw you say that LD Mar 22 23:15:56 Grommish: Speaking of which, no hangs on your EdgeRouter? :) Mar 22 23:16:26 No but then I only ran it a few days with no real load Mar 22 23:17:39 Grommish: My RM2100 also has no issues, and I push it quite a bit, now and then (BitTorrent). Mar 22 23:18:48 I've been focusing on Suricata 6 and rust. both of which I think are mostly finished :) Mar 22 23:19:19 if you feel like a 5-6 hour compile, you would make the rust toolchain :D Mar 22 23:19:25 err could Mar 22 23:19:46 And I still had no comments on my jffs2 zstd patch… I wonder how long I should wait before pinging…? Mar 22 23:19:58 (Upstream patch, not OpenWrt, of course.) Mar 22 23:20:45 Upstream is just some nebulous scary place where everyone knows more than I do.. and I"m not wearing shoes for some reason Mar 22 23:21:06 Grommish: 5-6 hours, that's… awful. :P Mar 22 23:21:19 Well.. On your machine it'll probably be that long Mar 22 23:21:23 but it only has to be done once ;p Mar 22 23:21:26 I've been running suricata before but the APU2 is way to slow for that :P Mar 22 23:22:08 I'm wondering what that CAVIUM CN6640-SNIC10E-1.1-G can handle Mar 22 23:22:12 stintel: i'm not sure how practical any of it is, for sure.. i wanted it on my Shield, but that required rust, etc etc Mar 22 23:22:21 I run it fine on the CN7020AAP1.2 Mar 22 23:22:36 Grommish: yeah I stopped working on it when I read about the rust requirement Mar 22 23:22:52 stintel: *nod* I wasn't smart enough to know better ;p Mar 22 23:23:22 but I've got Surcata 6.0.2 running on the ER10x Mar 22 23:23:28 what device is that CN7020AAP1.2? Mar 22 23:23:28 which just sounds odd all around haha Mar 22 23:23:30 ah, ER10x ? Mar 22 23:23:37 Itus Networks Shield Mar 22 23:23:41 Grommish: I don't find upstream scary at all. Yes, everyone there is way smarter than I'll ever be, but they're also nice and supportive, from my experience. :) Mar 22 23:23:48 The ER10x is a ramips Mar 22 23:24:12 and wulfy on the Forum is testing aarch64 on a Rpi4 for me Mar 22 23:24:27 I built the rust toolchain and compiled the ipk without issue, they are going to see if it actually runs Mar 22 23:24:27 dualcore 1GHz, probably even slower than the APU2 Mar 22 23:24:39 now that I've upgraded from 200/120 to 1000/600, I really need something beefier Mar 22 23:24:57 Dualcore 1Ghz mips64, 1GB Ram, more than enough storage.. I get 920/245 down/up throughput on it Mar 22 23:25:08 and I keep failing to get the WatchGuard Firebox M300 running OpenWrt Mar 22 23:25:12 but I don't have a switch chip to deal with either, it's just 3 straight ethernet ports Mar 22 23:25:43 the APU2 can handle 1000/600 fine but not at all with SQM, which I definitely need on this connection Mar 22 23:25:47 was an amazing box, but they only made a few hundred Mar 22 23:28:33 the M300 is a quadcore 1.5GHz PPC64 Mar 22 23:29:03 it actually boots OpenWrt but I fail to get any of the network interfaces working Mar 22 23:31:58 My only outstandign issues right now are dsa driver fore rtl8367rb, or getting the swconfig to work with all the ports on the rtl8367rb, rather than only 4 of the 5 Mar 22 23:32:17 and getting the LEDs on the switch section to work Mar 22 23:37:22 maybe I should try harder to convince WatchGuard to supply the source code Mar 22 23:37:37 What is WatchGuard? Mar 22 23:37:53 the company that built the Firebox M300 I'm talking about Mar 22 23:39:29 Ah Mar 23 01:41:12 Silly question, but does make clean just basically cycle thru the packages Build/Clean and Host/Clean? or does it do something monolithic on it's own? Mar 23 01:54:13 Build [#14](https://buildbot.openwrt.org/master/images/#builders/69/builds/14) of `zynq/generic` completed successfully. **** ENDING LOGGING AT Tue Mar 23 02:59:56 2021