2022-06-28.log

NanoCodeBugthis dts entry was based on the reference one for the som. 00:53
NanoCodeBugi did learn that mapping to spidev changed at some point in 5.0+ kernel, which might have caused issues00:56
cinap_lenrekminute: doesnt the lpc also have a unidirectional serial connection to the imx8?00:57
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:20)00:57
minutecinap_lenrek: yeah01:20
+ mark_ (~mark@gnu.wildebeest.org)01:25
- mjw (QUIT: Ping timeout: 246 seconds) (~mark@gnu.wildebeest.org)01:25
- mark_ (QUIT: Quit: Leaving) (~mark@gnu.wildebeest.org)01:59
- Nulo (QUIT: *.net *.split) (~Nulo@user/nulo)02:00
- Gooberpatrol66 (QUIT: *.net *.split) (~Gooberpat@user/gooberpatrol66)02:00
- bluerise (QUIT: *.net *.split) (~bluerise@user/bluerise)02:00
- buckket (QUIT: *.net *.split) (~buckket@pdp8.buckket.org)02:00
- grubman (QUIT: *.net *.split) (~ufotofu@149.248.16.17)02:00
- ezequielg (QUIT: *.net *.split) (sid363064@id-363064.uxbridge.irccloud.com)02:00
+ bluerise (~bluerise@p5b0acfb5.dip0.t-ipconnect.de)02:00
+ Gooberpatrol66 (~Gooberpat@2603-8080-4540-7cfb-0000-0000-0000-113a.res6.spectrum.com)02:00
+ buckket (~buckket@pdp8.buckket.org)02:00
+ grubman (~ufotofu@149.248.16.17)02:00
+ ezequielg (sid363064@id-363064.uxbridge.irccloud.com)02:00
- Gooberpatrol66 (QUIT: Changing host) (~Gooberpat@2603-8080-4540-7cfb-0000-0000-0000-113a.res6.spectrum.com)02:01
+ Gooberpatrol66 (~Gooberpat@user/gooberpatrol66)02:01
+ Nulo (~Nulo@user/nulo)02:01
- mtm (QUIT: Ping timeout: 272 seconds) (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)02:04
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:20)02:14
- scops (QUIT: Ping timeout: 260 seconds) (~scopstchn@2001:470:69fc:105::8da)02:15
+ scops (~scopstchn@2001:470:69fc:105::8da)02:19
bkeysMan I hate docker so much02:40
bkeysNormally software takes 1 command to install, docker supposedly makes it so "easy"02:41
bkeyshttps://docs.funkwhale.audio/stable/installation/index.html02:41
bkeysHow the heck does it make this software easier to install? This is terrible02:41
bkeys</rant>02:41
- chomwitt (QUIT: Ping timeout: 268 seconds) (~chomwitt@2a02:587:dc1c:800:5b3a:daea:252e:ac17)02:44
klardotshbkeys: IMO it makes orchestrating complexity easier, but doesn't make _installing_ software that is otherwise a relatively easy fit for traditional unix package managers much easier. it's a shame folks tend to brand it as such.02:45
klardotshmy day job would be horrible trying to manage everything through sysvinit or systemd unit files, dpkg/apt/rpm/whatever, manual iptables forwarding, ruby version locking, etc. etc. etc.02:46
klardotshbut most stuff... isn't in that realm02:46
bkeysMy experience with it has been awful, I have spent days on and off trying to install funkwhale so my wife can maybe drop apple music but it forces me to use docker02:46
bkeysI'd have this up in less than a half hour if it weren't for docker02:46
klardotshthen again, a service like funkwhale that seems to document 5-6 required services just to do anything seems to be EXACTLY the type of thing Docker (and its ilk) + Compose, Swarm, Nomad, whatever, excels at and I would refuse to touch in almost any other system (except maybe NixOS)02:47
bkeysIt's a ppc64le server, 80% of docker packages don't even exist for my architecture02:47
flowybkeys: have you seen navidrome? funkwhale looked too complex for me to try.02:47
bkeysI already have navidrome at music.bkeys.org but it streams like crap02:47
flowyhm. using the web app?02:48
bkeysMusic will stutter and sometimes just stop playing all together02:48
bkeysPhone app02:48
flowywhich phone app02:48
bkeysI want my wife to stop using apple music, I have the music hoarded on a drive I just need a way to stream it02:48
bkeysI am using Subtracks which feels like a really solid app02:48
bkeysiPhone doesn't have nearly as good apps as android does; but even a guy like me who doesn't demand a super smooth experience found it unusable02:49
bkeysI'd be playing music while I ride my bike and it would just cut out for minutes at a time.02:49
klardotshhuh. my friend ran a navidrome server I was able to use just fine with dsub on android. wonder if that's a client-side issue. have you tried running a PC client of some sort to test?02:50
bkeysI can't ask my wife to cut off her apple music subscription if it does that on a regular basis02:50
flowybkeys: yeah... i'm honestly considering starting an iOS subsonic client as my next hobby project02:50
flowyplay:sub is acceptable though02:50
flowyonce you've figured out the bugs02:51
bkeysMy wife needs it more than I do and she is not as willing as I am to accept bad user experience02:51
bkeysThankfully we use Kodi and a hoard of videos and have cut out netflix and all the other streaming services, which saves good money.02:52
flowyamperfy might be worth a try. it looks good02:52
bkeysYeah, it'd be nice if I could use it but it's moreso for my wife02:52
flowyi would guess if your navidrome is up to date, the problems are not likely to be coming from there02:53
flowyit's getting pretty mature02:53
- GNUmoon (QUIT: Remote host closed the connection) (~GNUmoon@gateway/tor-sasl/gnumoon)02:59
bkeysI just pulled up subtracks on my phone and yeah it's already breaking03:00
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon)03:00
bkeysI found d sub on android but it says it requires google play services and a donation; I don't mind donating even if I end up not using it but not if it uses google play services03:01
bkeysFunkwhale looks really nice and cushy it's so unfortunate that they force the usage of docker03:01
klardotshthing is: objectively they don't. they recommend it for reasons I agree with (that's the type of app where it pays off), but they link to packages for Arch, NixOS, and I think I saw a couple others, if you want to DIY it up without Docker03:03
klardotsh(now, it having so many moving parts? that's an architectural discussion with potential merit :) )03:04
bkeysI'd be okay if I could follow their instructions and have docker actually work; it just never does03:11
bkeysLike there are these images that the funkwhale depends on, I try to run the docker up -d it mentions in their instructions and it just errors out so I have to manually install them03:12
bkeysEven then it still doesn't work03:12
bkeysIf I had to guess celeryworker and celerybeat don't have images for ppc64le03:13
- klardotsh (QUIT: Ping timeout: 255 seconds) (~klardotsh@172.56.104.172)03:21
- arminweigl (QUIT: Ping timeout: 255 seconds) (~arminweig@sourcehut/user/arminweigl)03:42
+ arminweigl (~arminweig@sourcehut/user/arminweigl)03:43
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:20)03:47
+ mtm (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)04:10
+ chomwitt (~chomwitt@2a02:587:dc1c:800:5c71:ba1b:727c:3afe)08:24
+ MajorBiscuit (~MajorBisc@86-88-79-148.fixed.kpn.net)08:30
+ Major_Biscuit (~MajorBisc@c-001-009-008.client.tudelft.eduvpn.nl)08:31
- MajorBiscuit (QUIT: Ping timeout: 276 seconds) (~MajorBisc@86-88-79-148.fixed.kpn.net)08:36
+ chartreuse (~chartreus@S0106f0f249dfd9c3.cg.shawcable.net)09:08
- bluerise (QUIT: Changing host) (~bluerise@p5b0acfb5.dip0.t-ipconnect.de)10:23
+ bluerise (~bluerise@user/bluerise)10:23
BoostisbetterIs hibernation something that could be implemented with the Reform? For me this seems like the easiest solution to the battery draining issue. 10:57
BoostisbetterGranted the status of every Reform user is not known. It would be better to only use hibernation when you are using an NVME drive and not just the SD card. 10:58
BoostisbetterStill I would LOVE it to be implemented on the Reform. It will be even more helpful on the Pocket Reform as it is even more portable than the Reform itself. 10:58
+ Christoph_ (~Christoph@p4fe73e14.dip0.t-ipconnect.de)11:47
- tinybronca[m] (QUIT: Ping timeout: 248 seconds) (~tinybronc@2001:470:69fc:105::2:1af6)12:04
- scops (QUIT: Ping timeout: 264 seconds) (~scopstchn@2001:470:69fc:105::8da)12:06
+ scops (~scopstchn@2001:470:69fc:105::8da)12:30
minuteBoostisbetter: how does hibernation solve battery drain of turned-off computer?12:31
+ tinybronca[m] (~tinybronc@2001:470:69fc:105::2:1af6)12:31
- iank (QUIT: Quit: ZNC 1.8.2+deb2+b1 - https://znc.in) (~iank@fsf/staff/iank)12:32
+ iank (~iank@fsf/staff/iank)12:32
Boostisbetterminute: it doesn't. The computer being completely shutdown is the best solution for power savings. However, I keep my Reform constantly on but in standby. This means I have to constantly keep track of battery status, which is no problem. I do this because it is a pain to constantly have to reopen things, etc. 12:44
BoostisbetterBut by being able to hibernate I can save my session, and resume it again later, without wasting battery power. 12:44
BoostisbetterGranted for many people it doesn't really make sense, because they don't really care about preserving a session. 12:45
BoostisbetterDoing so would provide a convenience that would save power and wear and tear though. 12:45
- iank (QUIT: Quit: ZNC 1.8.2+deb2+b1 - https://znc.in) (~iank@fsf/staff/iank)13:25
+ iank (~iank@fsf/staff/iank)13:27
minuteBoostisbetter: yeah, hibernation does theoretically work but there was some snag on resuming also13:48
sknebelminute: pocketreform article also at the top of HN13:49
minuteyeah, but old (updated though) article13:50
joschBoostisbetter: hibernation is currently disabled on systemd level. After enabling it and trying it I found that it (similar to suspend) only sometimes comes back successfully: https://mntre.com/reform-irc-logs/2022-06-20.log.html#t23:43:0613:57
minutei wonder if related to the wakeup issue. 14:00
minutealso, we should explore if we can use upstream TF-A instead of boundary/nxp TF-A14:00
minutecurrently we have a patch that adapts sleep/wake code in the kernel to nxp TF_A behavior14:01
minutethat is because back then, sleep/wake with upstream code did not work at all14:01
minutebut i don't know if the situation has changed perhaps14:01
- mtm (QUIT: Ping timeout: 246 seconds) (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)14:02
minuteanother related TF-A hack https://github.com/varigit/meta-variscite-imx/commit/ac9ba789ec9323de1087adfc8b0b2d8a47e2893b14:03
minuteah, this hack is already in imx-atf14:04
joschi'd be willing to shell out a few hundred bucks to get suspend and hibernate working -- maybe somebody can set up a code bounty thing or similar if it's just about somebody needing to get compensated for the time necessary to figure this out?14:05
minutefrom my POV it's cool to post a bounty on community.mnt.re. maybe others would chime in14:06
+ kuno (sid299442@id-299442.helmsley.irccloud.com)14:11
* wielaard -> mjw14:18
minutejosch: purism have similar issues https://source.puri.sm/Librem5/linux/-/merge_requests/60014:24
minutehttps://source.puri.sm/Librem5/linux/-/issues/42814:24
joschwell purism already got 600 EUR from me and even now three years later i got no hardware -- so in principle purism already got "a few hundred bucks" from me without giving me anything in return, maybe they should use it to fix suspend for us ;)14:29
minutewell well :D14:31
mjwACTION just got his librem, so they do eventually ship hardware14:52
mjwI ordered October 2017 though, so it does take 4+ years...14:54
minutemjw: how do you like it? does suspend/wake work?15:06
mjwminute, it is sturdy, like the mnt reform, it also seems as fast as my mnt reform, and it gets as hot as my mnt reform (which isn;t too hot and fine for the laptop, but somewhat too hot imho to keep it in my pocket)15:10
mjwminute, I don't think it does suspend/wake or has very good power settings, I can use if for a couple of hours on full battery, but I really need to plug it in whenever I can.15:12
minutemjw: so you can't put it in standby?15:27
mjwlet me see15:27
minutei mean, i'm outside right now with an android phone15:29
mjwyou people assume I am technical, I really am not. Looking at the settings15:29
minutei type some messages and press power button and have it in my pocket15:29
minuteno i mean just from a user perspective15:29
mjwI can turn on automatic suspend, which pops up a warning message that it is experimental15:29
minutei assume you can "lock" the phone and it kinda sleeps then?15:29
minuteisn't it like a normal smartphone in this regard?15:30
mjwACTION doesn't know what a normal smartphone is. My previous phone was a very simple nokia which they sell to seniors because it has big buttons.15:30
mjwI do own a pinephone now, which is somewhat similar to the librem.15:31
minuteoh15:31
minuteyou never used an iphone or an android phone?15:31
mjwIt doesn't get that hot and because I got the keyboard with it (which has a large battery) it works for ~24 hours, which is nice.15:32
minutewhat do you do when you want to put librem in your pocket? does the display just stay on?15:32
mjwno, although my children do have and make fun of me.15:32
mjwNo the screen turns off. But it always keeps running. That is why it is somewhat hot.15:33
minuteah.15:33
mjwIt is not unbearable. Just, aha, that is why the battery is draining so fast.15:35
mjwBasically I thought I wanted a "smart" phone. But now that I have seen the MNT Pocket Reform I think what I really want is that! :)15:36
minuteha!15:43
mjwActually it is nice to be able to make phone calls. But both the pinephone and the librem are not great at making phone calls. It works, but it echos or audio quality is meh. I'll often end the call shouting I'LL SENT YOU AN EMAIL!15:52
+ mtm (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)16:01
minutemjw: phonecalls without a headset?16:19
mjwheadset?16:21
mjwnever tried that, but it does have a headset plug. Maybe I should try that.16:21
mjwACTION is a bad phone person and a terrible computer user. But... o well.16:22
joschmjw: that reminds me a lot of my experience with the openmoko freerunner16:22
flowyminute: so yeah. it seems i can actually reliably hang my new keyboard if i shutdown overnight. 4/4 nights, also upgraded the LPC in between for good measure. newest kb firmware. i'm thinking my next steps will be swapping the old keyboard back in, and if the problem disappears, i'll figure out exactly which firmware it has and flash that to the new keyboard16:53
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:20)16:53
flowyif that doesn't help maybe i'll use this as an excuse to finally start learning how to debug electronics, maybe there's a difference between the boards that can be found16:54
flowymy old keyboard _never_ hung and i shutdown every night.16:54
minuteflowy: ok, the new one was from a standalone? does it have matte black soldermask?16:59
minutehm: # echo 0 > /sys/power/pm_async17:00
minuteThis option, which is normally enabled, causes Linux to suspend and resume all the devices in parallel to save time. Disabling async suspend/resume can be used to check if the suspend/hibernate failure is caused by some unknown device dependency issue. This can also be used to tune driver suspend/resume latency.17:00
NanoCodeBughmm yeah I've having a keyboard resume issue too, i flashed the latest firmware for it a few days ago, they keyboard refuses to wakeup. disconnecting the usb power to it resets it, but the reset button does not17:21
flowyNanoCodeBug: really? for me i can take the bezel off and hit the kb reset button. you're giving a solid push?17:23
NanoCodeBugyus it makes a click and everything17:24
NanoCodeBugi know its not the lpc either, triggering a reset of that doesn't bring the kb oled back17:24
minuteyeah, the keyboard doesn't need the lpc to work17:30
flowyNanoCodeBug: reminds me of this post: https://community.mnt.re/t/power-issues-and-lpc-wakeup/596/3717:30
minutei might sound like a broken clock, but does this workaround work for you? https://source.mnt.re/reform/reform/-/merge_requests/2617:31
minutebroken record i mean17:31
minuteidioms are hard17:31
flowyNanoCodeBug: does your reset button normally have issues? i.e. under normal circumstances17:32
NanoCodeBugneat! i'll flash that and see what happens17:32
NanoCodeBugno, it works fine for entering program mode17:32
flowyminute: i think both my boards have black masks? but i'm not sure exactly how to tell or what you mean :D17:33
flowyyes the new one is from standalone17:33
flowyand the old one came with my reform which is dated march 202117:34
minuteflowy: there's a newer board that has matte instead of shiny black mask17:36
minuteflowy: also it has a arduino style ISP header (but only the holes for it) and the old one does not have that17:36
minuteholes/pads17:37
flowyok i'll take it out and compare17:37
flowylater tonight17:38
flowyfrom the bit that is peeking out over the motherboard, from the backside, it looks matte17:38
flowyah yeah i see the holes too17:41
flowymy old board is shiny and doesn't have pads17:41
flowyi guess my new board is the newer board17:42
minuteaha!17:44
flowyi was also having the weirdest problem during first attempts at re-assembly after upgrading the keyboard and some otehr stuff where not only was the system unresponsive but the white LEDs were turning on immediately upon receiving battery power. but no boot. no idea if that was related, or even how i fixed it really.17:46
flowyi thought it was related to the OLED screens not being properly connected but i probably inadvertantly did something else like some other shaky connector17:46
flowyi don't particularly mind the keyboard hanging right now because i'm at home. but next time i travel it would be pretty inconvenient so i wanna figure it out. got some weeks to slowly debug. i'll try that patch after trying this other stuff i've mentioned first17:48
flowyi'd like to see if my old keyboard's firmware solves it17:49
flowyit would be interesting17:49
minuteflowy: did you already desolder the 3v3 ldo?17:50
flowyminute: ooh should i have done that :D17:51
flowyi only reflashed. i don't know much about electronics17:51
minutewell, it might cause the problem. a few days ago i think i wrote here about the difference of standalone vs internal version17:52
flowyyeah, you helped me clarify why i couldn't bring up my old keyboard externally.17:53
flowyok so you're not sure that would do something weird but it might17:53
flowyit's another thing to try17:53
flowyi guess it would be nice to transplant it anyways because i have all the parts for a working standalone and i could give it to someone or whatever.17:54
flowyok so debug path forwards is: try old firmware, desolder 3v3 ldo, then that patch17:56
flowyit will just take a while because my only way of reproducing the bug is by leaving it overnight haha17:56
flowymaybe i should see if some hours does it too.17:57
- mjw (QUIT: Quit: Leaving) (~mjw_@2001:1c06:2488:1400:9e5c:8eff:fe8f:a440)17:59
+ mjw (~mjw_@2001:1c06:2488:1400:9e5c:8eff:fe8f:a440)18:00
minuteflowy: in any case having the LDO there is not good. this way, you connect 2 slightly different 3v3 sources together.18:01
flowysorry for my kind of naive electronics questions but, can the keyboard somehow retain some state on its own (disconnected) for some time when it's in sleep mode? like, there must be a capacitor or two right?18:01
minuteflowy: not impossible18:01
flowyinteresting... i wonder if this could explain the weird issues i was experiencing at first.18:02
flowyhope i didn't fry anything. maybe i'll just do that next then, desoldering the ldo.18:04
NanoCodeBugkeyboard fw flashed!18:04
+ mark_ (~mark@gnu.wildebeest.org)19:11
- bkeys (QUIT: Ping timeout: 256 seconds) (~Thunderbi@static-198-54-135-69.cust.tzulo.com)19:14
- Major_Biscuit (QUIT: Ping timeout: 255 seconds) (~MajorBisc@c-001-009-008.client.tudelft.eduvpn.nl)19:21
kfxit's amazing how consistently the internet's response to mnt computers boils down to one group posting "finally" and another group posting "this is not a macbook, I am outraged"19:42
- mjw (QUIT: Killed (NickServ (GHOST command used by mark_!~mark@gnu.wildebeest.org))) (~mjw_@2001:1c06:2488:1400:9e5c:8eff:fe8f:a440)19:50
* mark_ -> mjw19:50
+ wielaard (~mjw_@2001:1c06:2488:1400:9e5c:8eff:fe8f:a440)19:50
Boostisbetterkfx, what do you mean? 19:58
minutekfx: very normal20:01
minutei think this is called "polarizing" ^^20:02
flowyunfortunately, i think open hardware might remain fringe and polarising unless very bad things continue happening in the world, making open hardware an eventual necessity (curbing e-waste, encouraging local technological innovation etc.)20:15
flowyBoostisbetter: a good example would be the comment thread at https://arstechnica.com/gadgets/2022/01/review-mnt-reform-laptop-has-fully-open-hardware-and-software-for-better-or-worse/, trigger warning lol20:25
Boostisbetteroh yeah I read that. 20:25
BoostisbetterThe problem is that the reviewer looked at from the wrong angle. 20:26
BoostisbetterFor one thing all that you get with the Reform is not something you get with other laptops. 20:26
BoostisbetterI mean Framework, which is great, is still not the same. The Reform is built like a tank, and I'm scared to squish the Framework laptop too hard. 20:26
flowyi think the comments would have been equally polarised regardless of the content of the review20:26
BoostisbetterBut the other thing, is that while they keep talking about how slow it is, they never stop to admit how capable it is. How it does nearly everything that you could want from a computer. 20:27
flowylooks like ars is also now featuring the pocket reform PR20:27
BoostisbetterThe populace are conditioned to look at benchmarks and only go with what is the fastest. 20:27
BoostisbetterNotwithstanding that most computer don't need the processing power they have. 20:28
Boostisbetterthe comments on that Pocket aren't nearly as bad or numerous yet20:29
flowythere's also just a lot of tech tribalism in general20:29
BoostisbetterI hope minute doesn't really pay these kinds of things too much attention. Built it and they will come. 20:29
BoostisbetterI can't wait for the Pocket. 20:29
flowyBoostisbetter: oh really ;)20:29
BoostisbetterYeah, I am basically foaming at the bit for one. 20:30
flowyhaha20:31
nockoIntrospective analysis isn't a socialized value in the global north. Most folks seem content to lash out a hundred times against something different before they'd give a minute of thought to their own actions.20:31
nocko"If we're all doing it it cannot be wrong, anyone who causes me the slightest doubt must be {dumb,crazy,&c}."20:32
BoostisbetterThe thing is, the Reform doesn't need to appeal to everyone. 20:33
BoostisbetterTo expect it to is not really logical. 20:33
BoostisbetterIt is different, but that difference is for a reason. 20:33
BoostisbetterI do think people using their Reform out in public will be the best thing for it. 20:33
BoostisbetterPeople seeing it be a laptop that people use is all you need. 20:34
flowyi need to fix mine first so that unscrewing the bezel and poking the reset button with a chopstick is not what people are seeing ;)20:38
sknebelheh, reminds me of the last months of my X220 thinkpad. the fan had a bearing failure and was really rattling20:38
BoostisbetterYeah, I kind of baby my electronics. I have not had any issues like that. I have taken the Reform with me to work and on vacation several times. I am an introvert though, and the idea of me sitting in a cafe with it is not going to happen. Hahaha20:38
sknebelbut on power-on the bios checks if the fan is spinning up, so I could just disconnect it20:39
sknebel*couldn't20:39
Boostisbettersknebel, wrong chat i am afraid20:39
sknebelnope20:39
Boostisbetteroh sorry, I didn't see your x220 thing20:39
Boostisbettermy bad20:39
sknebelso I had the keyboard screws removed, and every time I got it out and turned it on somewhere in public it was "get it out, lift keyboard, remove stick from fan, turn on, let fan spin up, put finger on fan to stop it, put stick back in to block it, cloe keyboard, use" :D20:40
BoostisbetterMy two favorite things about the Reform are the solid construction and the way the lid slots into the case which is better for the display and also act as a strain relief on the hinges when in transit. 20:41
sknebelit was surprisingly usable in fanless mode. just couldn't watch 1080p videos anymore20:41
BoostisbetterI still have a X220T 20:41
BoostisbetterI always hated how much bigger and bloated the case design on that was to the x220 itself. 20:41
sknebelthat was a bit weird, yeah20:42
flowysknebel: quite analogous to starting up an old car heh20:44
Boostisbetterand while I know that it is tricky I do think once we can get steam working on here, that is going to be nice. 21:03
BoostisbetterNot crucial thoughj21:03
+ bkeys (~Thunderbi@static-198-54-135-69.cust.tzulo.com)21:04
flowyit would be cooler if valve started targeting arm. it's not even such an out there idea, considering the culture at valve and what they've already done with linux21:15
flowywith the popularity of using pis for retro gaming and console emulation i could imagine this being profitable at a niche level. i.e. mini DIY steam machines21:16
minutei wonder if steam will be rewritten at some point to be less of a rube goldberg machine21:17
flowyi read that valve has a somewhat anarchist management structure where workers are free to start their own projects or join the ones they deem most stimulating21:17
minuteat least it was like that, yeah21:17
vkoskivI'd really appreciate a nice suspend on reform, but I feel bad just shouting from the rooftops for *someone* to do it :D21:17
vkoskivUsually I'd like to tackle the problem myself, but the whole linux ecosystem is way beyond my skillset, I think.21:18
kfxminute: I'm sure fixing steam is on the to-do list just after half-life 321:19
BoostisbetterI think the fact that Purism on their Librem 5 have yet to perfect suspend just speaks to the difficulty of it all. We are so close on the Reform though21:19
cinap_lenrekwhat kind of suspend?21:20
minutewell, someone could read purisms discussion and patches about this21:20
minuteand check if they apply to our situation21:20
cinap_lenreklike only refresh the dram and the cores being off?21:20
minutecinap_lenrek: suspend to ram21:20
minutecinap_lenrek: yeah 21:20
cinap_lenrekah21:21
cinap_lenrekisnt that handled by PSCI?21:21
minuteit's kind of wonky at the moment21:21
minutewell, psci ~and~ calling into wonky tf-a code21:21
cinap_lenreki guess PSCI wont cover the peripherals21:21
vkoskivI just want the same workflow as on my previous machine. No lid sensor, so I can just hit some keycombo to put it to sleep, and then wake it up again when I'm ready21:21
vkoskivI want to (almost) never reboot21:21
minutevkoskiv: sure, i want that too21:21
cinap_lenrekminute: how does it wake up?21:22
minuteit will be my one of my next topics after reviewing and merging the battery status driver21:22
vkoskivOooh battery status is already in the about to merge phase, exciting!21:22
cinap_lenrekhaha, or is the M4 still up?21:22
minutecinap_lenrek: can be done by UART from lpc or by gpio from LPC21:22
cinap_lenreki see, by an interrupt?21:23
minutethe imx8m arm things can wake by peripheral interrupt yep21:23
minutesince 5.18 the waking doesn't work at all anymore i think? at least not for me21:23
minutetried it earlier today21:23
minutecinap_lenrek: tf-a code will then get the dram into working state again21:24
minuteand then it returns to the kernel21:24
minutewe could probably do some printf debugging in tf-a...21:25
minuteassuming the cores come back up21:25
minutethere's also jtag but i never bothered to get a jlink and wire it up21:26
NanoCodeBugah i have a j-link, i could help with debugging that21:47
minutecool!21:51
NanoCodeBugjust pulled up the schematic, J19, i already have a cable for that jtag connector, noice21:54
- bkeys (QUIT: Ping timeout: 260 seconds) (~Thunderbi@static-198-54-135-69.cust.tzulo.com)21:54
minuteNanoCodeBug: oh great. i hope that connector is actually populated, but should be IIRC21:59
minutehmmmm there was a snag IIRC i think 2 signals are shared with ethernet LEDs21:59
minutemight need some resistor de-soldering on the SOM :(22:00
NanoCodeBugminute: yes, the header is populated, i should double check it matches the j-link pinout first though22:01
- grubman (QUIT: *.net *.split) (~ufotofu@149.248.16.17)22:01
- jfred (QUIT: *.net *.split) (sid534649@libera/sponsor/jfred)22:01
- qbit (QUIT: *.net *.split) (~qbit@h.suah.dev)22:01
- hl (QUIT: *.net *.split) (~hl@user/hl)22:01
- skalk (QUIT: *.net *.split) (~skalk@vond.sysret.de)22:01
- ggoes (QUIT: *.net *.split) (~gregf@fsf/staff/ggoes)22:01
- scops (QUIT: *.net *.split) (~scopstchn@2001:470:69fc:105::8da)22:01
- tinybronca[m] (QUIT: *.net *.split) (~tinybronc@2001:470:69fc:105::2:1af6)22:01
- chomwitt (QUIT: *.net *.split) (~chomwitt@2a02:587:dc1c:800:5c71:ba1b:727c:3afe)22:01
- robin (QUIT: *.net *.split) (~robin@user/terpri)22:01
- sinedeo_ (QUIT: *.net *.split) (~sinedeo@2a01:4f9:c010:2837::1)22:01
- jfred-linode_ (QUIT: *.net *.split) (quassel@libera/sponsor/jfred)22:01
- conky (QUIT: *.net *.split) (5fb0fe5593@2604:bf00:561:2000::10b)22:01
- patrick_ (QUIT: *.net *.split) (224fa09e8b@2604:bf00:561:2000::217)22:01
- frank2 (QUIT: *.net *.split) (~frank2@juicy.frank2.net)22:01
- _E (QUIT: *.net *.split) (~e@bsd.moe)22:01
- buckket (QUIT: *.net *.split) (~buckket@pdp8.buckket.org)22:01
- sbates (QUIT: *.net *.split) (sid451432@id-451432.ilkley.irccloud.com)22:01
- flowy (QUIT: *.net *.split) (~flowy@2a01:4f8:c0c:1a8f::1)22:01
- natalie (QUIT: *.net *.split) (~natalie@user/natalie)22:01
- piroko (QUIT: *.net *.split) (~piroko@104.225.216.16)22:01
- C-Keen (QUIT: *.net *.split) (cckeen@pestilenz.org)22:01
NanoCodeBugdon't want to fry the expensive debugger, i've already done that before22:01
NanoCodeBugah, yeah i see the eth part, i'll probably just cut the connections in a spare cable. 22:02
minutei think bluerise hit this problem before22:03
minuteNanoCodeBug: here are the SOM schematics https://dump.mntmn.com/SCH_Nit8MQ_SOM_2r8e_REV10_20190228.pdf22:04
minuteNanoCodeBug: on sheet 8 you see RN1 and RN2... i believe only RN1 is populated and you need to move it over to RN2 to use jtag22:05
NanoCodeBughuh, fascinating. yeah RN2 is not populated22:13
+ aliosablack (~chomwitt@2a02:587:dc1c:800:5c71:ba1b:727c:3afe)22:14
+ tinybronca[m] (~tinybronc@2001:470:69fc:105::2:1af6)22:14
+ scops (~scopstchn@2001:470:69fc:105::8da)22:14
+ chomwitt (~chomwitt@2a02:587:dc1c:800:5c71:ba1b:727c:3afe)22:14
+ grubman (~ufotofu@149.248.16.17)22:14
+ buckket (~buckket@pdp8.buckket.org)22:14
+ robin (~robin@user/terpri)22:14
+ jfred (sid534649@libera/sponsor/jfred)22:14
+ qbit (~qbit@h.suah.dev)22:14
+ sbates (sid451432@id-451432.ilkley.irccloud.com)22:14
+ hl (~hl@user/hl)22:14
+ flowy (~flowy@2a01:4f8:c0c:1a8f::1)22:14
+ skalk (~skalk@vond.sysret.de)22:14
+ sinedeo_ (~sinedeo@2a01:4f9:c010:2837::1)22:14
+ jfred-linode_ (quassel@libera/sponsor/jfred)22:14
+ conky (5fb0fe5593@2604:bf00:561:2000::10b)22:14
+ patrick_ (224fa09e8b@2604:bf00:561:2000::217)22:14
+ ggoes (~gregf@fsf/staff/ggoes)22:14
+ frank2 (~frank2@juicy.frank2.net)22:14
+ _E (~e@bsd.moe)22:14
+ natalie (~natalie@user/natalie)22:14
+ piroko (~piroko@104.225.216.16)22:14
+ C-Keen (cckeen@pestilenz.org)22:14
- tinybronca[m] (QUIT: Max SendQ exceeded) (~tinybronc@2001:470:69fc:105::2:1af6)22:14
- chomwitt (QUIT: Max SendQ exceeded) (~chomwitt@2a02:587:dc1c:800:5c71:ba1b:727c:3afe)22:14
minuteNanoCodeBug: do you have soldering equipment+skills to move it?22:17
+ tinybronca[m] (~tinybronc@2001:470:69fc:105::2:1af6)22:19
NanoCodeBugI've done 805 sized hot air and hot plate soldering before. the resistor net isn't too small. I think I can move it22:19
minuteNanoCodeBug: awesome22:22
minuteNanoCodeBug: on the motherboard, you will probably have to desolder 0-ohms R146, R147, R116. this is easy with a soldering iron+solder blob22:24
minutethen, JTAG should theoretically work22:25
NanoCodeBugyup I see them, makes sense, that could interfere since they share lines22:25
minuteyeah22:26
NanoCodeBugminute: hmm i'm not familiar with jtag_mod, it looks like it sets a security state that can enable/disable jtag entirely? 22:35
minutehere's a mirror of the reference manual https://dump.mntmn.com/IMX8MDQLQRMref2.pdf22:40
minutelets see22:40
minute> 4.12.1.5 JTAG topology22:41
minute> There is only one JTAG on the chip, and two JTAG modes are supported. Select via the22:41
minuteJTAG_MOD pin.22:41
minute>  Debug mode: JTAG_MOD == 0, DAP is the only TAP controller in the daisy chain. SJC will be attached to JTAG-AP of DAP.22:41
minute>  Test mode: JTAG_MOD == 1, SJC is the only TAP controller in the daisy chain. 1149.1-compliant, and support 1149.6 AC coupled test22:42
minutei think you want debug mode?22:42
NanoCodeBugnice, that matches the snippit i saw in the nxp forums. pretty sure I want 022:42
NanoCodeBugin the schematic it looks like its bridged to ground by default via R48, trying to find if its populated on the som now22:44
minuteok cool22:44
NanoCodeBugnice it is, lol its right next to RN2, i'm here looking at the other side with a magnifying glass22:46
minutehehe22:50
minuteso boundary devices probably used jtag in the lab22:50
+ bkeys (~Thunderbi@static-198-54-135-69.cust.tzulo.com)23:43
- Christoph_ (QUIT: Remote host closed the connection) (~Christoph@p4fe73e14.dip0.t-ipconnect.de)23:48
- vkoskiv (QUIT: Ping timeout: 272 seconds) (~vkoskiv@89-166-62-97.bb.dnainternet.fi)23:49
+ vkoskiv (~vkoskiv@89-166-62-97.bb.dnainternet.fi)23:56

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