2021-05-28.log

- erlehmann (QUIT: Read error: Connection reset by peer) (~erle@dynamic-046-114-035-056.46.114.pool.telefonica.de)00:00
+ erlehmann (~erle@dynamic-046-114-033-133.46.114.pool.telefonica.de)00:02
- freakazoid333 (QUIT: Read error: Connection reset by peer) (~freakazoi@107.87.136.83)00:10
- artfwo (QUIT: Ping timeout: 252 seconds) (~artfwo@2a02:8109:8500:26d0:1398:e619:a0e4:9b0e)01:00
- ephase (QUIT: Quit: WeeChat 3.1) (~ephase@2a01:e0a:168:1211:be4c:890f:dab8:5b49)01:08
- Neelfyn (QUIT: Quit: Connection closed for inactivity) (uid180106@id-180106.stonehaven.irccloud.com)02:31
- adjtm_ (QUIT: Quit: Leaving) (~adjtm@188.26.199.222)02:52
+ adjtm (~adjtm@2a0c:5a80:1f13:a400:f557:172f:dd90:5513)02:54
- mtm (QUIT: Quit: ERC (IRC client for Emacs 27.1.91)) (~user@c-174-58-99-93.hsd1.fl.comcast.net)04:17
+ mtm (~mtm@c-174-58-99-93.hsd1.fl.comcast.net)04:29
- mtm (QUIT: Client Quit) (~mtm@c-174-58-99-93.hsd1.fl.comcast.net)04:31
+ mtm (~mtm@c-174-58-99-93.hsd1.fl.comcast.net)04:40
+ specing_ (~specing@APN-123-244-46-gprs.simobil.net)06:12
- specing (QUIT: Ping timeout: 264 seconds) (~specing@user/specing)06:15
+ artfwo (~artfwo@2a02:8109:8500:26d0:98dc:edef:3632:22d7)07:17
+ ysftaha (~ysftaha@d24-57-234-201.home.cgocable.net)07:18
ysftahadoes the reform run voidlinux?07:18
ysftahas/run/support07:19
- ysftaha (PART: !!unknown attribute: msg!!) (~ysftaha@d24-57-234-201.home.cgocable.net)07:22
+ adjtm_ (~adjtm@188.26.199.222)07:31
- adjtm (QUIT: Ping timeout: 264 seconds) (~adjtm@2a0c:5a80:1f13:a400:f557:172f:dd90:5513)07:34
- chartreuse (QUIT: Remote host closed the connection) (~chartreus@S0106f0f249dfd9c3.cg.shawcable.net)07:36
- Kooda (QUIT: Ping timeout: 272 seconds) (~kooda@natsu.upyum.com)09:54
+ Kooda (~kooda@natsu.upyum.com)09:54
- jryans (QUIT: Quit: node-irc says goodbye) (~jryansmat@2001:470:69fc:105::1d)11:48
+ jryans (~jryansmat@2001:470:69fc:105::1d)11:48
- emery (QUIT: Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) (~quassel@37.205.14.171)12:00
+ emery (~quassel@2a03:3b40:fe:ab::1)12:00
* sknebel -> sebsel12:36
* sebsel -> sknebel12:36
+ odnes (~odnes@109-178-166-252.pat.ren.cosmote.net)14:08
- artfwo (QUIT: Ping timeout: 264 seconds) (~artfwo@2a02:8109:8500:26d0:98dc:edef:3632:22d7)14:10
+ artfwo (~artfwo@2a02:8109:8500:26d0:ba2:ae05:73b3:a2a4)14:28
- artfwo (QUIT: Ping timeout: 248 seconds) (~artfwo@2a02:8109:8500:26d0:ba2:ae05:73b3:a2a4)15:21
+ mjw (~mjw_@2001:1c06:2488:200:9e5c:8eff:fe8f:a440)15:29
+ artfwo (~artfwo@172.98.75.220)15:34
- odnes (QUIT: Read error: Connection reset by peer) (~odnes@109-178-166-252.pat.ren.cosmote.net)16:05
+ odnes_ (~odnes@109-178-166-252.pat.ren.cosmote.net)16:05
- erlehmann (QUIT: Ping timeout: 265 seconds) (~erle@dynamic-046-114-033-133.46.114.pool.telefonica.de)16:15
+ erlehmann (~erle@dynamic-046-114-033-133.46.114.pool.telefonica.de)16:19
- artfwo (QUIT: Ping timeout: 248 seconds) (~artfwo@172.98.75.220)16:54
+ artfwo (~artfwo@172.98.75.220)17:07
- odnes_ (QUIT: Ping timeout: 264 seconds) (~odnes@109-178-166-252.pat.ren.cosmote.net)17:11
+ specing (~specing@user/specing)18:12
- specing_ (QUIT: Ping timeout: 248 seconds) (~specing@APN-123-244-46-gprs.simobil.net)18:14
bluerisemntmn: Personally I think an SDIO based ath10k would also be nice, we just don't yet have a driver for that in OpenBSD. I'm using bwfm(4) most of the time, since it's quite a bit faster as all the wifi stuff is happening on the chip itself, instead of in software.18:20
mntmnbluerise: interesting18:22
blueriseBut, I know that when you ship a product with a wireless chip on board, that's more effort for CE...18:22
mntmnbluerise: yep, that's one of 2 reasons why there are no radios included ;)18:22
blueriseOn the other hand, wireless chip vendors hand you their 'we did CE for the chip', so that helps18:22
blueriseyup18:22
- mjw (QUIT: Quit: Leaving) (~mjw_@2001:1c06:2488:200:9e5c:8eff:fe8f:a440)18:26
blueriseIf I were capable of building such stuff, I'd probably: switch to i.MX8MP (better silicon, less heat), use the additional third SD controller for Murata 1MW, route USB to the miniPCIe and add a SIM card slot18:26
blueriseah damn, MP only has 1 PCIe18:26
mntmnand worse GPU18:27
bluerisebut for LTE that'd be fine. if you wanted to improve the WiFi by adding a PCIe card, you'd lose out18:27
mntmnand also some difference regarding displays which i forgot18:27
bluerisethough the SDIO one is quite fast tbh18:27
bluerisePCIe bwfm(4) is faster though18:28
mntmnit would be possible to make a mPCIe card that has a usb controller + m.2 slot on it though18:28
mntmnto regain usb cap18:28
swiveldidn't they reel in the heat issues of the librem5 eventually through kernel fixes18:28
mntmnmostly yes swivel 18:28
mntmnreform doesn't really have heat issues18:28
blueriseif you ever see those fixes, let me know18:28
mntmni'm pretty sure it was the cpuidle stuff18:28
bluerisemight check if I can use those for $work product as well18:28
bluerisethough that one isn't running Linux18:29
mntmnbut at some point (a longer time ago), the temperature was much better18:29
mntmnlike, there was a change that made it better18:29
mntmnbut i don't remember exactly which patches18:29
mntmnbut more than a year ago18:30
blueriseactually, if space permitted, you could also just add another mPCIe slot and *only* route USB + SIM card slot to it18:35
blueriselike, get a USB hub with 2 more USB ports. one to the existing mPCIe slot for BT, another one to a new slot which only has USB+SIM for LTE18:36
bluerisebut, to be fair, I'm fine with it as it is, I don't need BT/LTE18:37
bluerisehaving trouble getting the sd2 card detect pin to work, hmhm18:49
mntmnbut i'm talking about not redesigning the motherboard ;)18:51
blueriseimxesdhc_card_detect:644: 018:52
blueriseI must be doing something wrong18:52
mntmni can say that card detection does work in linux18:53
bluerisehm, so on the hummingboard pulse, SD2_CD is connected directly to the SoC, which is why it adds a pullup. on the Reform it looks like the motherboard does the pullup to 3.3V19:02
bluerisemy mistake, there it is19:28
blueriseimxesdhc_card_detect:644: 119:28
bluerisescsibus2 at sdmmc1: 2 targets, initiator 019:28
bluerisesd2 at scsibus2 targ 1 lun 0: <SD/MMC, USD00, 0010> removable19:28
bluerisesd2: 30250MB, 512 bytes/sector, 61952000 sectors19:28
mntmnawesome!19:31
bluerisemntmn: any specific requirement for pull request branch names?19:40
mntmnbluerise: nope, whatever you like!19:48
mntmnbluerise: haha, 25$ coupon for you ;) https://twitter.com/crowd_supply/status/1398337735841050624?s=2020:02
mntmnbtw anyone who writes a field report for CS gets $25 credit from them20:03
blueriseHeh. :D20:04
bluerisemy 'mod' really isn't worth it a lot, I mean, I only added WiFi, NVMe, and a few uart wires to the outside... but I guess what people can see/touch can be more relatable20:05
blueriseshould do a field report once OpenBSD works fine ;)20:05
bluerisemailed Lucas in regards to PCIe20:06
blueriseWe really need those int/ext refclk bindings upstreamead20:07
mntmnindeed, thanks for poking20:09
mntmni posted a patch for it on the list in november (??) or so but it was just poking anatop directly to enable the refclk output, i guess lucas wanted some cleaner way20:10
mntmnbut idk how to integrate that into linux clk framework20:10
mntmnthat's above my paygrade as dave haynie would say20:11
bluerisehttps://github.com/openbsd/src/blob/master/sys/dev/fdt/dwpcie.c#L90020:11
blueriseWe also poke anatop directly...20:11
mntmnoh, openbsd has this already! :320:12
mntmnso the obvious solution is just to migrate to openbsd ;)20:12
bluerisemntmn: added by yours truly: https://github.com/openbsd/src/commit/6a2b914cbe70933ece2b56f73f6faa397374140020:12
blueriseNah, OpenBSD has other missing stuff. No MIPI-DSI, no etnaviv accel, no suspend/resume (on arm64)...20:13
bluerisebut not because of bikeshedding, but because of not enough developers ;)20:14
mntmnhehe20:14
blueriseI told you, I built two products based on i.MX8M (MQ, and MP). :) OpenBSD based, both.20:14
mntmnvery nice20:15
mntmndid you ever play with the "big" i.MX8?20:15
mntmn(asking because i never saw one)20:15
blueriseNope, never got those20:15
blueriseI have an LX2K here20:15
mntmnah yeah me too20:15
mntmnand the LS1028A of course...20:15
blueriseLooking forward to SolidRun's CN9K, especially the upgraded ClearFog line20:16
blueriseLess powerful than a LX2K, but nice little network appliances indeed20:16
bluerisepcie refclk for pcie2 is always powered on?20:21
blueriserefclk generator seems to have wifi kill switch as output, the the lpc seems to always turn that on?20:21
mntmnas output?20:25
blueriseinput to refclk generator is wifi kill switch out, and the switch has PCIE1_PWR_EN which comes from the LPC?20:26
mntmnbluerise: you probably mean PCIE1_PWR_EN20:26
mntmnthat is always on20:26
blueriseok20:26
mntmnit doesn't actually work to turn that off20:27
mntmnit crashes the imx20:27
blueriseheh20:27
mntmndoesn't like pcie cards going away20:27
mntmnmaybe a pcie driver thing20:27
blueriseI have an issue when I configure the pcie1...20:28
mntmnwhat's the issue?20:28
bluerisewell, we have different bindings, so without changing the device tree it'll try and use internal refclk for both pcie0 and pcie120:28
bluerisein that case pcie1 somehow works, but I have some 'trouble' with NVMe coherency on pcie1, might be something else though20:29
bluerisenow I changed the device tree to make sure that for pcie1 external refclk is configured20:29
mntmnpcie1 needs to be internal refclk and pcie2 external20:29
bluerisethe NVMe still shows up, but once I hit userland, where some more accesses happen, the machine just hangs20:30
- artfwo (QUIT: Ping timeout: 264 seconds) (~artfwo@172.98.75.220)20:30
mntmnbluerise: do you have it the right way around?20:30
blueriseaah, nah, found it, it's something else binding related20:31
blueriseold bindings had ctrl-id = <0> and ctrl-id = <1>20:31
blueriselinux code does..20:31
bluerise.#define IMX8MQ_PCIE2_BASE_ADDR                  0x33c0000020:31
bluerise                if (dbi_base->start == IMX8MQ_PCIE2_BASE_ADDR)20:32
bluerise                        imx6_pcie->controller_id = 1;20:32
mntmnah, i see20:33
blueriseso without ctrl-id set, the second pcie controller driver instance changed the settings of the first20:33
+ artfwo (~artfwo@2a02:8109:8500:26d0:1559:c14:3676:cb54)20:44
+ Neelfyn (uid180106@id-180106.stonehaven.irccloud.com)20:58
blueriseFunny how when you think it's gonna be easy, it's getting harder instead.  Both NVMe and SD card sometimes (too often) return zeroes on read.21:01
blueriseand, is it normal that one battery 'dies' first? battery status showed one at 0.9, rest at 3.*21:02
blueriseat 37% charge total21:02
mntmnkind of, but that sounds extreme21:10
mntmn0.9 is near death21:10
mntmnwhen did you last charge?21:10
mntmnalso, better charge soon!21:11
+ scops (~scops@p200300da3721c9000219b8fffe08ddc1.dip0.t-ipconnect.de)21:15
KoodaThe blinking low-battery icon is kind of confusing when you’re looking at the battery status, it shows the top right one as point-something because of the icon redraw ^^'21:15
KoodaIt might have been 3.9 here21:15
KoodaBut yeah I had some odd behaviour with the battery as well. Status showed me 20% battery remaining, but one battery was at 2.5V, I hastily plugged the charger in.21:17
blueriseKooda: Ah, that explains it then21:19
mntmnnormally it learns where "0%" is after one automatic shutdown when a cell is below <2.5V21:21
mntmnbluerise: ah yeah sorry. i really need to work on the UX on this. 21:21
mntmnunfortunately too many other mega important things to do ATM21:21
blueriseyeah, no worries21:22
KoodaSomeone else™ could patch it :)21:22
mntmnbluerise: lpc actually switches off when a cell goes below 2.5v21:22
mntmnKooda: haha yeah21:22
KoodaOk goo, next time I’ll let it run to auto shutdown then21:23
Koodagood*21:23
KoodaI was afraid it would not stop near 2.521:23
KoodaAlso, is it normal that I notice a little voltage drop at the end of a charge? I read a bit about that for some chemistry but I don’t know if it also applies to LiFePO21:24
mntmnKooda: see also https://source.mnt.re/reform/reform/-/blob/master/reform2-lpc-fw/src/boards/reform2/board_reform2.c#L88321:25
mntmnKooda: hmm not sure what you mean. maybe it's just the balancing in effect?21:25
KoodaAh, might be21:25
mntmni.e. LPC will drain off cell voltage above a certain limit21:26
KoodaI should try to worry a bit less about all that, since these cells are easy to replace. I had so many bad experiences with regular Li-ion that I’m over cautious ^^'21:28
blueriseYeah, it's really nice that those can just be replaced21:34
+ odnes (~odnes@109-178-166-252.pat.ren.cosmote.net)21:43
mntmnKooda: it's good to be cautious!21:44
mntmnbtw if your cells ever really go below 1V and reform doesn't want to charge them, you can probably revive them with a lab power supply (current limited)21:45
- artfwo (QUIT: Ping timeout: 264 seconds) (~artfwo@2a02:8109:8500:26d0:1559:c14:3676:cb54)21:48
* sknebel -> can21:50
* can -> sknebel21:50
Koodamntmn: just tried charging again: all cells climb to about 3.7V, then the charging stops and the screen shows all cells at 3.3V21:50
mntmnKooda: ah yeah that's fine21:50
KoodaAre they all getting discharged?21:50
mntmnKooda: no21:51
mntmnKooda: they can't actually hold this much charge21:51
KoodaI see21:51
mntmnKooda: so as soon as the charge voltage is released, they go to "normal"21:51
blueriseYeah, ack.21:51
KoodaAh so the supply’s voltage is taken into account when seeing 3.7V?21:51
mntmnKooda: the charge voltage yes, because when charging, that is the voltage that is measured on the cells...21:52
KoodaHeh indeed ^^21:52
KoodaThanks for all the infos :)21:52
mntmnwell, that's what this is all about!21:54
+ artfwo (~artfwo@2a02:8109:8500:26d0:cadc:4e6f:939a:4b59)22:00
- odnes (QUIT: Ping timeout: 264 seconds) (~odnes@109-178-166-252.pat.ren.cosmote.net)22:27
- Neelfyn (QUIT: Quit: Connection closed for inactivity) (uid180106@id-180106.stonehaven.irccloud.com)23:11
- jryans (QUIT: Quit: node-irc says goodbye) (~jryansmat@2001:470:69fc:105::1d)23:56
+ jryans (~jryansmat@2001:470:69fc:105::1d)23:56
* natalie- -> natalie23:58

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!