**** BEGIN LOGGING AT Wed May 01 02:59:57 2019 May 01 10:51:48 Hi All. I am trying to get the version of OpenWRT (during build time). Is there an environment variable or a file that I can load this from? Thanks. May 01 10:52:12 git describe May 01 10:55:49 @abenz Hi. Was that in response to me? If so, I used `git describe` and it said `fatal: No names found, cannot describe anything`. Could it be because I am on my own branch? May 01 10:57:43 did you clone the repo fully? May 01 10:57:53 or used something like --depth ? May 01 10:58:57 I'm on own branch too and git describe works fine May 01 11:01:25 Someone else cloned the repo and pushed it to a local git server. May 01 11:01:46 Is there a file or environment variable which holds the info? May 01 11:02:01 For example, how does it get put in the OpenWRT banner on the firmware? May 01 11:05:08 ./scripts/getver May 01 11:05:16 *getver.sh May 01 11:12:40 This script doesn't exist for me May 01 11:16:02 it's been in the repo since 2007.... May 01 11:16:43 perhaps speak to your colleague who set up your repo. May 01 11:24:55 Oh my bad May 01 11:24:58 I've got it May 01 14:22:59 Hi all, has anyone compiled lynx with https support for OpenWRT 18.06.2 mipsel 24kc? May 01 16:02:08 hey guys. anyone experience with ipq40xx switches? on the QCA8075 one the Zyxel NBG6617 uses, the CPU is untagged by default May 01 16:02:51 when i set it to tagged (and LuCI changes eth0 in /etc/config/network to eth0.1 automatically, it seems) my router just hangs. May 01 16:04:05 that is, when i try adding extra vlans :) May 01 16:27:07 seems to work fine when i keep the CPU untagged in VLAN 0, yet tag it in an additional VLAN. May 01 16:33:25 Borromini: the extra vlans u added, what vids were u using? May 01 16:33:46 I don't have your device, I have the B1300 which only has 3 ports May 01 16:34:19 by default the WAN port is not added, I have to specifically add it in /e/c/network May 01 16:34:35 it uses vlan 2, hence why I asked what vids u were using May 01 17:03:14 abenz: just one extra vlan, VID 2 May 01 17:05:39 correction: the default VLAN is 1, not 0 May 01 17:18:40 I just uploaded a new 9984 CT firmware. It fixes a tx hang we could reproduce in certain scenarios, but I messed with some tricky code, so extra testing would be very welcome May 01 17:19:04 http://www.candelatech.com/ath10k-10.4.php (beta section) May 01 17:19:18 I can also build for other wave-2 targets if someone wants to test that May 01 17:23:45 Borromini: out of curiosity, could you sort out the issue with your ISP/ work around their fallback profile May 01 17:23:48 ? May 01 17:25:40 pkgadd: no May 01 17:25:50 they reset my line but i haven't had time to dig into it May 01 17:26:55 nor do i really feel for it at the moment. asked on a belgian ISP forum, no response so far there either. i know the DSL driver versions need to be whitelisted, no clue as to what else is checked May 01 17:27:29 Has anyone used a nginx reverse proxy server to convert https sites to http? In OpenWRT, of course May 01 17:28:17 pkgadd: 'deploying' the nbg6617 at my friend's tomorrow, hopefully :) May 01 17:28:56 have been fighting with the VLANs (and wrong info on the openwrt wiki page), took me a while to get it right >_> May 01 17:30:41 Borromini: that's why I would have tested the current OEM firmware with the 7362sl first (you can 'recover' it any time), just to rule out some hardware (MAC?) based identification May 01 17:32:24 I don't really have any ipq40xx devcies yet, but I know that the state of its switch drivers is a bit peculiar (jeffsf might be familiar with it, aside from chunkéèy or błogıc) May 01 17:32:48 ok May 01 17:33:06 at least the halved LAN still seems to work, i'd have to check for the second vlan May 01 17:33:21 but the CPU seems to allow tagged and untagged at the same time May 01 17:33:57 I've only been able to play with ipq4019 using the vendor firmware so far (not supported by OpenWrt yet - and they're not my devices, just sitting/ waiting here to be installed, allowing me to play with them, but not to break them ;) May 01 17:34:41 pkgadd: i can indeed test with the OEM firmware, but that will be for when i have more time. the 7490 doesn't really bother me, and the second you told me the 7362 SL would be a worse router than my dir-860l (which I should have assessed myself before) it became a lot less interesting May 01 17:35:56 Borromini: the attraction mostly lies in being able to use a dedicated modem and to terminate the PPPoE session on a suitable device running OpenWrt (avoiding dual-NAT) May 01 17:37:25 as current Fritz!OS versions don't support bridge-mode anymore May 01 18:30:01 yeah May 01 18:30:04 nope :( May 01 18:38:31 gotta go, ttyl. May 01 20:33:07 I have a number of Xirrus access points that seem to be based on the same Avaya buildroot as the Edgerouter lite, and I'm trying to get openwrt ported. From the ERLite, Octeon's already supported, I'm trying to track down anyone familiar with the architecture. May 01 20:33:34 more specifically, Cavium CN5020 OcteonPlus mips64 and it's siblings May 01 20:38:30 i've messed with them but not with butting openwrt on one May 01 20:39:24 b=p May 01 20:42:15 the ERLite, or xirrus in general? May 01 20:52:11 i've managed to get into a shell on the official firmware, and collected a lot of info; seems to be using ath9k/ath10k behind a PLX PCIe switch. May 01 20:52:57 so as far as I can tell; it should be straightforward to get things operating once I've managed to trick u-boot somehow May 01 21:34:49 ath79: while I see a couple Buffalo devices with dual SPI chips in their DTS, is it known if they work? May 01 21:35:15 (tracking down possible causes of SPI NAND detect, but strange problems during read) May 01 21:36:22 (NAND detected properly after patches, but thinks there are 992 bad blocks :( May 01 21:38:42 a friend of mine has a Buffalo wz-hp-g300h with dual-flash, it's working for him with ath79/ master May 01 21:39:22 likewise, I've got the same buffalo; but with quite an old build on it. May 01 21:39:47 think mine's the nh (north america specific) May 01 21:39:51 well, dual-flash isn't quite the right word here, two spi-nor flash chips combined to be used as a single entity May 01 21:40:03 two CEs on one bus May 01 21:41:02 mangix: you shoudl really be leaning on synopsis and the guys who submitted arc to fix their platform, or have it be removed. May 01 21:41:04 you' May 01 21:41:06 I've seen thinkpads with a 4MB+8MB=12MB in a spanning config; havn't seen anything offhand with split pages May 01 21:41:08 re just doing their work for them, May 01 21:41:17 unless you're getting paid for it all of a sudden :) May 01 21:42:53 sorry, s/wz-hp-g300h/WZR-HP-AG300H/ May 01 21:42:56 Thanks all -- two chips on ath79 SPI both working hopefully tells me that it isn't a CS problem of some sort where both chips are answering or some crazy thing May 01 21:43:29 depends on the kernel driver, jeffsf May 01 21:44:16 i know there's a specific mx25 kernel driver May 01 21:44:33 the module name's escaping me May 01 21:44:42 mx25p800 or something like that May 01 21:44:44 Yeah, backporting the gigadevice spi-nand detection from 5.x to 4.19, adding the new chip and its signature May 01 21:45:05 ah, sweet. I've been seeing gd flash show up a lot more often. May 01 21:45:17 that's because it's cheeeeeep May 01 21:45:24 yep, same with their stm32 clones May 01 21:45:30 I get through `spi-nand spi0.1: GigaDevice SPI NAND was found.` and can use nanddump, but the results aren't too cheery May 01 21:45:32 those aren't cheap enough... May 01 21:46:05 and there's a lot of overlap, but clone is pretty rough, there's still plenty of differences May 01 21:46:19 cheaper than USB-UART adapters (which is more or less what I abuse them as) May 01 21:46:31 linux-mtd confirmed/augmented my understanding of the chip's OOB layout, but I've still got something missing May 01 21:47:04 jeffsf: I've got that same itch when I've been taking apart this xirrus firmware; there's a 4 byte offset coming from somewhere and it's driving me nuts. May 01 21:47:59 Oh jeeze -- I though the one-byte shift when GigaDevice went from [0][MID][DID] to [MID][DID][DID] signatures was bad! May 01 21:48:20 At least that was in the spec cheats May 01 21:48:44 mm, I think they've messed with the uboot mkimage headers, cause mkimage -l flips me the bird May 01 21:49:12 (I don't think it's hw in my case, just annoying OEMs) May 01 21:49:14 is 18.06.2 the last to use ar71xx? May 01 21:52:45 probably 19.0x.0 May 01 21:54:43 Nightmares of "Oh, I can solder an SPI NAND into my DIR-TP-2003 and get 128 MB of flash" just ran through my head May 01 21:55:42 I can get along with soldering (normal soldering, not hot air or more evolved stuff), but I wouldn't quite get that idea ;) May 01 21:56:54 But you know we'll get "But why doesn't it boot? It's OpenWrt's fault!" May 01 21:58:53 replacing the 8 MB flash spi-nor chips (much easier to solder than NAND) on my tl-wdr4300 and tl-wdr3600 with 16 MB ones and putting the then spare 8 MB flash chips into my old tl-wr941nd v2 have always been on my mind... but, never actually ordered the 16 MB chips/ not started it (chips in signle quantity with shipping quickly gets more expensive than I'd be willing to spend, considering that a BT May 01 21:58:59 Home Hub 5 Type a with 128 MB NAND costs ~9 EUR + 11 EUR shipping - and then I'd need an external SPI writer/ coi8 clamp for ~15-20 EUR as well) May 01 21:59:37 (and putting a 8 MB flash chip into a router with 32 MB wouldn't really help that much either - but replacing the RAM is something I'm not going to try) May 01 22:02:51 eh, depends on how much you rely on an XIP build May 01 22:03:21 squashfs doesn't really play so well with that May 01 23:44:12 * mangix remembers the upgrades of those blue wrt54g from 2/8 to 4/16 May 01 23:44:47 8MB of RAM is so so bad May 01 23:46:14 I started with 640 KB (well, technically 64 KB on a Z80, but I don't count that pos), after all that ought to be enough for anybody - but, different times May 01 23:46:42 i don't think 8MB was ever enough May 01 23:51:14 only a couple of years ago did i upgrade to 32/32 on a wrt54gl, added usb too. mostly for the challenge, sadly it sits in a box with other unused routers May 02 00:09:29 yeah, hardware's so cheap today, doesn't really make a lot of sense to break out the hot air May 02 00:10:16 the sticker price on these xirrus units is insane; the used price off ebay's under a hundred bucks May 02 00:10:54 2 grand enterprise AP for $67 with four atheros pcie radios... now if only I can get the dang things working... I hate license keys. May 02 00:17:37 which atheros radios does it have, exactly? May 02 00:19:35 depends from unit to unit, the XR-2430 I'm dealing with has AR9390-AL1A 3x3s May 02 00:20:10 would have preferred BR1As, but eh, beggars can't be choosers. May 02 00:20:37 nothing special about the radios, I've popped one in my laptop and ath10k had no issue with it May 02 00:21:00 four ath10k's per ap? May 02 00:21:06 the two radio units don't have a PLX bridge, the four radio units do. May 02 00:21:27 i've got some 2x2s and some 3x3s May 02 00:21:39 some ACs, some Ns May 02 00:22:15 all atheros on cavium mips64, 2GB/4GB USB stick inside, 2MB/8MB mtd, 1.5MB used by u-boot May 02 00:22:37 and ram? May 02 00:22:41 seems like they were not able to get 2MB and 2GB stock anymore so they moved on May 02 00:22:52 SODIMM on this larger 4 radio, 1GB. May 02 00:23:11 DDR2, I think? May 02 00:23:18 800mhz, yeah, DDR2. May 02 00:23:22 single eth on each? May 02 00:23:48 depends, some have a single gigabit and a cisco console port, others have two gigabits; poe on one, bond possible on the other. May 02 00:24:00 the AC units mostly dropped the console port May 02 00:24:10 but no 4x4 units... May 02 00:24:26 aye, no 4x4, and a mix of wave1 and wave2 AC radios on the newer units May 02 00:25:15 https://www.4gon.co.uk/images/2000chasis.gif May 02 00:25:22 https://www.4gon.co.uk/images/chassis.gif May 02 00:25:27 4 slot, 2 slot. May 02 00:25:57 end of life'd when xirrus was bought out by riverbed May 02 00:26:12 scads of 'em in the wild on ebay May 02 00:26:39 the 4-slot ones are not 4x4? May 02 00:27:04 I havn't seen any 4x4 gear; probably not EoL yet. May 02 00:27:08 ah May 02 00:28:44 as I work for a end-of-life/takeback company, I've got a few pallet-loads of 'em that I'm trying to figure out what to do with. May 02 00:30:04 broken about a half dozen of 'em already, just messing around (deaths mostly due to losing the uboot env and not having any way to revive it) May 02 00:31:50 binwalked my way through, ripped their stock images apart by segmenting them with dd and stripping off the uimage headers, found the initramfs cpio, pulled all the kernel modules out, found it mounts the USB stick on /usr/bin so I have free reign over post-boot state already May 02 00:32:51 once I got into a shell on the units, I've dumped the mtdblock0 and poked around procfs and sysfs May 02 00:33:30 adding 'nocli' to the kernel boot parameters will get bin/sh invoked on the serial console instead of their annoying cisco-cli clone May 02 00:34:16 it's got an i2c compass, and the most recent units have a bluetooth low energy radio on the second uart May 02 00:37:29 my next step was probably gonna be pulling the 2GB stick in this out, resizing the two ext4 partitions to make room for a third, and unpacking openwrt for the ubiquiti edgerouter lite into sda3, and seeing if their firmware flips out when the partition table's changed. May 02 00:38:01 Kamilion heh i have a bunch of adtran waps im kinda doing the same with May 02 00:39:02 yeah, i've seen the octeon show up in a couple other designs as well; but I've always <3 atheros, and so I really wanna make sure this hardware doesn't end up scrapped for gold recovery May 02 00:39:26 i have these two huge cards i cant find anything they will fit in, https://imgur.com/a/J9JgcTz two qca9994 abgn+ac 4x4:4 came out of a adtran 3040 ap May 02 00:39:51 oh, god, the atheros SDK cards May 02 00:40:08 yeah, that's atheros' high power reference design PCB May 02 00:40:11 some students floored the apartment above where teh ap was mounted on the ceiling and ruined the mb on the ap May 02 00:40:28 flooded not floored May 02 00:40:40 the pinout is not normal PCI-E May 02 00:40:50 one of the pins has been repurpoused as the rfkill May 02 00:41:06 really May 02 00:41:24 you can mask it off with a bit of sharpie and in theory the cards should boot May 02 00:41:44 i cant find any info on these, got more details on what you mean with the pins? May 02 00:41:44 as for which one, offhand, I don't know. May 02 00:41:54 so tape might work also? May 02 00:42:12 yep May 02 00:42:21 Sounds so much of an resoin of old ibm wireless led thing :D May 02 00:42:23 check the minipcie slot spec on wikipedia for the 'real' pin layout May 02 00:42:35 Respin* May 02 00:42:51 match it against the pins you see on the card May 02 00:42:59 one of them that should be a ground will NOT go to the ground plane May 02 00:43:05 that's your rfkill May 02 00:44:29 Slimey: if I recall correctly, it was something I noticed in one of the FCC filings for one of the atheros radio modules May 02 00:44:53 http://pinoutguide.com/Slots/mini_pcie_pinout.shtml May 02 00:45:22 which listed three different PCB designs May 02 00:45:53 the small reference designs for laptops, the long reference design for APs, and the high power wide reference design for APs, specifically mikrotiks May 02 00:46:25 and I think pcengines apud2 had some note about it, perhaps May 02 00:46:43 might have been for one of the broadcom cards that has the same issue May 02 00:48:10 (semi-undocumented / poorly specified RFKill pin) May 02 00:48:36 you can probably track down some more specific info by using rfkill as a keywork in various google searches May 02 00:49:03 looks like pin 20 May 02 00:49:30 near the key? May 02 00:49:33 yeah, I think so. May 02 00:50:16 https://images-na.ssl-images-amazon.com/images/I/51EwrskFJfL.jpg May 02 00:50:35 http://puu.sh/DmEuL/6265042a00.jpg May 02 00:51:13 you can clearly see it leading off to a via May 02 01:04:35 aha May 02 01:04:37 Slimey: http://www.compexshop.com/product_info.php?currency=USD&products_id=463 May 02 01:04:59 the 9882 reference PCB May 02 01:05:50 knew I'd seen that PCB somewhere else recently May 02 01:07:06 https://openwrt.org/toh/compex/wpj344 is one of the boards that supposedly supports those reference modules May 02 01:12:04 yup that was it, it sorta fits into a laptop now bios and windows sees it May 02 01:12:33 sorta? May 02 01:12:50 it's uncommon for there to be enough room May 02 01:12:52 will just enough to see if it boots May 02 01:13:08 plus, power requirements are different May 02 01:13:11 Sweet. Glad to be of assistance. May 02 01:13:40 but yeah, those things can be power guzzlers, as the 'high power reference board' name implies May 02 01:17:28 well before one was detected the other was not May 02 01:19:36 the cards are 55 x 50 mm btw May 02 01:20:33 not quite this big but the specs are the same https://compex.com.sg/shop/wifi-module/wle1216v5-23/ May 02 01:23:00 yeah, checking the datasheet for that shows "CUS239 Reference Design" May 02 01:23:57 interesting, that compex module has it's own "UART/EJTAG and GPIO" header May 02 01:24:32 full system on chip design instead of atheros's sea of a thousand registers May 02 01:25:54 you should be able to jtag the units where you wiped the u-boot env May 02 01:28:20 DonkeyHotei you talking to me? May 02 01:28:52 [Wed 2019-05-01 05:30:04 PM PDT] broken about a half dozen of 'em already, just messing around (deaths mostly due to losing the uboot env and not having any way to revive it) May 02 01:28:58 oh May 02 01:29:45 iirc the octeon chips are well-supported for jtag May 02 01:30:15 suggest an adapter? May 02 01:30:28 (preferably not a FTDI2232) May 02 01:31:52 the one i use is old and no longer available, but it doesn't make a huge difference May 02 01:32:13 I've just got blackpill/bluepill BMPs around, and those are only useful for SWD :/ May 02 01:32:41 anything that urjtag supports May 02 01:40:06 any idea if this is the original altera, or the cypress clone? May 02 01:40:07 https://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&CategoryNo=74&No=46 May 02 01:44:54 digikey's got 'em for $50, which seems reasonable May 02 01:44:54 https://www.digikey.com/product-detail/en/terasic-inc/P0302/P0302-ND/2003484 May 02 01:52:49 hmm, looks like some jlink v9 clones with STM32F205 chips are buzzing around the ebays May 02 01:58:56 there appears to be something called usbtinyisp, cheap May 02 02:12:26 for JTAG? It looks like it's just AVR ISP and SPI... May 02 02:13:00 looks like my best bet is a segger jlink edu with the V10.1 hardware spec May 02 02:13:18 LPC4337 chip; mouser says it runs around $22 each May 02 02:14:47 Jlink V9's a STM32F205, jlink V8's a STM32F105 May 02 02:15:50 clone boards run around $35-40 May 02 02:16:15 or I can get the naggy-official edu for $60 **** ENDING LOGGING AT Thu May 02 02:59:57 2019